2008-09-16, 06:47 PM
zehd Wrote:ZProcess is still at the mercy of available command lines switches from mplayer/mencoder or ffmpeg.
If someone knows the switches, I could add that feature...
Hope I unterstand you right and you ask for the switch for ffmpeg for audiostream selecting.
Well, I tested my Vids with ffmeg and the Audio-Streams.
When I let me show ffmepg the info of the avi, it say me this:
Input #0, avi, from 'test.avi':
Duration: 00:47:07.2, start: 0.000000, bitrate: 1185 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 512x384, 25.00 fps®
Stream #0.1: Audio: mp3, 48000 Hz, mono, 40 kb/s
Stream #0.2: Audio: mp3, 48000 Hz, mono, 32 kb/s
Ok, stream 0.1 is the german one and 0.2 the english one.
Now, without changing everthing in the commandline of config.xml it look like this:
ffmpeg -y -i "test.avi" -b 2400k -ar 48000 -ac 2 -ab 128 -r 25 -s 352x288 -f svcd "test2.avi"
It select the 0.0 stream as Video and the 0.1 stream as Audio. (german one)
As default, the first audio stream would select.
If I want now the second stream, I use the parameter -map.
First, I must say which is the video stream, second which one is the audio stream.
The commandline look now like this:
ffmpeg -y -i "test.avi" -map 0:0 -map 0:2 -b 2400k -ar 48000 -ac 2 -ab 128 -r 25 -s 352x288 -f svcd "test2.avi"
It select the 0.0 stream as Video and the 0.2 stream as Audio (english one)