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

Dan Shoup deshoup at hotmail.com
Sun Sep 14 22:51:03 CEST 2008

Thanks for the suggestion...unfortunately, I did try the -channels 6 option and it still behaves the same way (5.1 audio is there, but no video players recognize it...only playable in mplayer forcing 6 channels).  Any other ideas?

> Date: Sun, 14 Sep 2008 16:30:41 +0200> From: waand at poczta.fm> To: mencoder-users at mplayerhq.hu> Subject: Re: [MEncoder-users] losing 5.1 audio on -oac copy transcode> > 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> >> >> > > Hello,> Did you try to add "-channels 6" option?> > Krzysiek> > ----------------------------------------------------------------------> Dzwon taniej na zagraniczne komorki!> Sprawdz >> http://link.interia.pl/f1f0e > > _______________________________________________> MEncoder-users mailing list> MEncoder-users at mplayerhq.hu> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.

More information about the MEncoder-users mailing list