WinFF / winff

Automatically exported from code.google.com/p/winff
213 stars 50 forks source link

wishlist: add possibility to use different source file for audio and video (muxing) #127

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Original part of bug 117 comment 4 and further:

It would be nice to use one source file for audio and one file for video.

Original issue reported on code.google.com by poipodec...@hotmail.com on 4 Sep 2011 at 3:46

GoogleCodeExporter commented 9 years ago
My suggestion would be to look at this one in a different way.

The current presets system has a single input file paramater and the job queue 
works the same way.

When we redesign presets ( near future, I hope ), we should look at this sort 
of thing, but also have the ability to make multi-track audio.  example 2 
soundtracks, etc.  I hope this is something that can easily be done with WinFF.

If somebody can help design this, I can hopefully code it!

Original comment by istoff@gmail.com on 5 Sep 2011 at 3:11

GoogleCodeExporter commented 9 years ago
Design wise I'd copy mp4ui. Add a bullet next to location that drops down at 
least 3 names one for video, audio and subtitles. X= Icon. Click Audio and 
press Add button or remove... etc.

+ X C:\Wildlife.mp4
=- X Video Track 1
=- X Audio Track 2
=- X No Subtitles 

Original comment by ifl...@gmail.com on 7 Sep 2011 at 1:08

GoogleCodeExporter commented 9 years ago
what would be the resultant command line options for each additional track?

Original comment by istoff@gmail.com on 18 Jan 2012 at 5:24

GoogleCodeExporter commented 9 years ago
In principle it should be:
[input1 options] -i INPUT1 [input2 options] -i INPUT2 [input3 options] -i 
INPUT3 [output options] OUTPUT -map 0:? -map1:? -map2:?

Where the ? are for the stream that you want to copy. If input 1 is video with 
the video stream as the first stream and input 2 is the audio with the audio 
stream you want to copy as the third stream it will be -map 0:0 -map 1:2.

Original comment by poipodec...@hotmail.com on 18 Jan 2012 at 7:39