Re: [Encode2mpeg-users] DVP642 A/V sync problem with ac3 5.1 audio
Brought to you by:
encode2mpeg
From: JohnG <4p...@gm...> - 2008-02-08 23:04:23
|
> I have seen that mencoder's avi muxer has more than one problem. > You can try to use the libavformat muxer and see what kind of > results you have. Add to your command line the option "-lavf". > > Keep in mind the following when using -lavf: > - encode2mpeg 0.6.4 works ONLY with MPlayer1.0rc1 > - do not use bframes if you encode the video (add -bframes 0) > - the option -noodml does not work (do not exceed 1GB file size) > > The avi made using -lavf should play without desync on the DVP 642. > I have lost all interest in the DVP-642. I got nowhere with it despite two years passing. It is a sorry player. OTOH, I have had the Samsung ONE week today and I am re-transcoding and playing avi files already! I am having no problem with >1GB avi files. > Check about the Samsung. > A few minutes ago I posted a solution that I am using right now for files with ac3(3f+2r+lfe). The script was was used on a 4.4GB mkv file: VIDEO: [avc1] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s The output avi file is 1.3GB: VIDEO: [XVID] 720x480 12bpp 23.976 fps 1565.9 kbps (191.1 kbyte/s) AC3: 5.1 (3f+2r+lfe) 48000 Hz 224.0 kbit/s Note; the 224 rate is there because I had not yet added 320 to the script. It sounds fine, but I will re-encode it to 320 soon. I expect 1.5GB file size. My receiver autodetects the 5.1. In fact it automatically synthesizes surround-back so I end up with 6.1. Perhaps the audio is ES. I know the 5.1 channels are correct because I tested with a 'home theater setup & calibration' CD. > Let me know the results. > > Giacomo > > I have also used this script on a 6.6GB mkv file with dts: #!/bin/bash #transcodes DTS #mencoder cannot copy ac3: copy does NOT work!!!!! Got it? #mencoder borks the channel mapping, so the -af channel mapping! #also, fix video to play on xvid capable DVD Player - Samsung 1080P7 #-af channels=6:6:0:0:1:2:2:3:3:5:4:1:5:4 # and for AAC -af channels=6:6:0:4:1:0:2:1:3:2:4:3:5:5 #2008-02-08 jwg 6 ch dts decoding is currently broken -channels 6 \ #MPlayer 2:1.0~rc1-0ubuntu9.2 (C) 2000-2006 MPlayer Team FDATE=`date -I` INFILE=$1 ENDPOS=$2 OUTFILE=$3 EXTRA=$4 PROFILE='dxnhtntsc' #1.4GB = 1,400,000,000 VIDBITRATE=2000 echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo $0 $INFILE $ENDPOS $OUTFILE $FDATE $VIDBITRATE $PROFILE # mencoder -vf expand=aspect=16/9,scale=720:480\ -endpos $ENDPOS:00\ -oac lavc -lavcopts threads=2:acodec=ac3:abitrate=320\ -ovc xvid\ -xvidencopts threads=2:autoaspect:noqpel:nogmc:bitrate=$VIDBITRATE:profile=$PROFILE\ -o $OUTFILE.avi\ $INFILE echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" #mplayer -v -vo null -ao null -frames 0 *.avi --------------------------------- Since DTS seems also to be borked, I let the DTS downsample to 2-channel and then out as ac3(2.0). My receiver autodetects this as 2.0. This then plays as stereo plus subwoofer(2.1). If I select synthesize PL II Mov on the receiver, I get 5.1. I have no idea, however, if the channels are correct. Regards; John |