Export as video, mux audio to video, work like ffmpeg gui

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
Locked
vin
Posts: 8
Joined: Thu Nov 06, 2014 12:45 am
Operating System: Please select

Export as video, mux audio to video, work like ffmpeg gui

Post by vin » Thu Nov 06, 2014 12:59 am

Suggestion at evaluation that would be great for video-audio editing

-export as video file feature: when use ffmpeg plugin, audacity option for directly save audio to video file using ffmpeg.exe, in other words muxing feature working like ffmpeg gui.
feature with "export as video" with option for select output video container format supported by ffmpeg (mkv, mov, mp4, avi, ..), simply take video stream from loaded source file and mux audio track loaded in audacity,
and additional feature for mux loaded audio to a selected video file (not from video source file)

-muxing feature change/add audio to video (erase and overwrite audio track if present): feature for add audio track and for change current audio track with loaded in Audacity

-feature add audio to a video like second audio stream, without erase/overwrite current audio stream on video

This feature make all in one video-audio editor working fast and easy without need other tools and muxers, without working from command line, using ffmpeg integrated "gui" in export options

kozikowski
Forum Staff
Posts: 69357
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Export as video, mux audio to video, work like ffmpeg gu

Post by kozikowski » Thu Nov 06, 2014 2:31 am

Will you be here on the forum supporting all those formats? Keeping in mind that Audacity runs on and is supported for all three popular computing platforms.

"My Audacity video export will not open in Apple Final Cut Pro. What could be wrong?"

It's all we can do to support sound services, but it is an interesting idea.

Koz

vin
Posts: 8
Joined: Thu Nov 06, 2014 12:45 am
Operating System: Please select

Re: Export as video, mux audio to video, work like ffmpeg gu

Post by vin » Thu Nov 06, 2014 12:26 pm

No it's a different way to work, It's only a ffmpeg muxing using ffmpeg features, nothing new to implement in Audacity core is needed or new formats to add, this feature dont' really open video stream in Audacity, but only work mux-remux audio when export using only ffmpeg command line like a generic ffmpeg GUI, ffmpeg exist for all platforms and think command line are exactly the same and compatible for all versions.

For add these features I think will be necessary only add "video export/muxing options" that use probably only 2-3 ffmpeg command line (copy audio stream and muxing), so probably it's fast and easy to add this feature/gui for export/muxing.

Thanks for evaluation

vin
Posts: 8
Joined: Thu Nov 06, 2014 12:45 am
Operating System: Please select

Re: Export as video, mux audio to video, work like ffmpeg gu

Post by vin » Fri Nov 07, 2014 10:51 am

Add this, for already made suggestion for add video playback feature (for easily edit/synch audio with video), this great feature maybe can be added more easily using multiplatform libavcodec libs

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Export as video, mux audio to video, work like ffmpeg gu

Post by Gale Andrews » Fri Nov 07, 2014 11:18 am

If you know the FFmpeg muxing commands to use, and it does not require having the video stream open, have you tried it? See Exporting to an External Program.

If it works, please show us the steps and the exact commands you use.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

vin
Posts: 8
Joined: Thu Nov 06, 2014 12:45 am
Operating System: Please select

Re: Export as video, mux audio to video, work like ffmpeg gu

Post by vin » Fri Nov 07, 2014 4:25 pm

Read a bit of documentation https://www.ffmpeg.org/ffmpeg-all.html then tried with this command line from Audacity Export External program, but don' know if it's a "clean" command line:

ffmpeg.exe -i c:test.avi -i - "%f" -map 0:v -map 1:a -codec copy c:out.mkv

The target file out.mkv is muxed correctly, take video stream from test.avi and audio stream from Audacity, so this test it worked.

But from Audacity Name file box is it necessary use a file name different from output file name used in ffmpeg command line or appear an error and no file(s) are generated.

So finally there are 2 files generated instead one, one by ffmpeg with correct results, and second file named from File Name audacity box that produce video file like original source file (same audio and video streams). dont' know if may depend from not correct ffmepg command line used or is it normal.

Finally add this feature with GUI seem simple, just seems really only add "Export to video" for mux audacity audio with source video stream file (source loaded video file), and "Mux to video" for mux audacity audio with another video stream selectable by user interface (not using loaded video file).

Unfortunately working from command line every time is boring and wastes time, so making a menu/gui feature for this would be great.

Certainly if in the future can be possible a basic video play in synch with audio will be icing on the cake.

Anyhow thanks for support and evaluation

Locked