Page 1 of 1

Mux multiple audio tracks

Posted: 31 Jan 2012 13:43
by kerdale
Hi all,

I was going through this forum and know I'm confused. I there any way to mux multiple audio tracks (with different codec) in one MPEG TS file?
if yes, is it with this kind of following command line ?

% "PATH_TO_VLC" -vvv FILE1.EXT FILE2.EXT FILE3.EXT ETC.ETC --sout-keep --sout=#gather:transcode{vcodec=h264,vb=1024,scale=1,acodec=mp4a,ab=192,channels=6}:standard{access=file,mux=ts,dst=out.mpg} --sout-all

Thanks.

Re: Mux multiple audio tracks

Posted: 31 Jan 2012 14:49
by RĂ©mi Denis-Courmont
If the input has multiple tracks, you need to pass --sout-all to include all of them. I am not sure you can transcode them separately though (you could split them by PID and pass each PID to a different transcode stanza, but then I do not know how to merge back the results).

Re: Mux multiple audio tracks

Posted: 01 Feb 2012 11:19
by kerdale
thank you.
I'll be in touch if something is coming up.
I might use VLC for encoding and another tool for muxing...