[MEncoder-users] losing 5.1 audio on -oac copy transcode

Waand Van Sol waand at poczta.fm
Sun Sep 14 16:30:41 CEST 2008

Dan Shoup pisze:
> I have an mpg file that uses AC3 5.1 surround sound.  I am trying to transcode, but having a difficult time getting 5.1 sound in the output file.  My transcoding settings are:
> Mencoder.exe -i "E:\GBPVR\Dir\filename.mpg” -of avi -oac copy -ovc xvid -xvidencopts fixed_quant=4 -vf scale=1024:576 -o “E:\GBPVR\Dir\filename.avi”
> This workes (file transcodes and is playable play), but the file plays with 2-channel audio in most players.  If I play it with mplayer, it also plays with 2-channel audio by default, but I can get 5.1 if  I force it with -afm hwac3 -channels 6.  The original file does not have any problems playing in 5.1 on any audio player (except mplayer, but will work if I specify -afm hwac3 -channels 6), so it seems something in the transcoding process is causing this problem.  I’m guessing it simply has the wrong header information (Mencoder identifies the original file as AC3 2 channel when it starts transcoding despite the fact that the 6 channels are actually there…so it is probably passing this misinformation to the transcoded file).  
> Can anyone suggest a way to solve this problem (e.g., is there a way to force mencoder to identify the audio stream as 6-channel ac3)?
> _________________________________________________________________
> Get more out of the Web. Learn 10 hidden secrets of Windows Live.
> http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Did you try to add "-channels 6"  option?


Dzwon taniej na zagraniczne komorki!
Sprawdz >>  http://link.interia.pl/f1f0e 

More information about the MEncoder-users mailing list