Log in

View Full Version : mpg to mpg, ac3 to pcm via cli using mencoder?


smok3
26th August 2008, 21:31
i'am trying to find a way to remux video (copy) and decode audio to pcm going from mpg to mpg, like:

original mpg = mpeg2 video + ac3 2ch audio
transcoded should be = mpeg2 video + PCM audio

i have a script that is working fine for ac3 to mp2, how about PCM?
mencoder.exe -ovc copy %%i -o "%%~di%%~pi%%~ni_.MPG" -twolameopts br=384 -oac twolame -of mpeg 2> nul