[MEncoder-users] mp4 audio slipping when played back in Quicktime

James Hastings-Trew jimht at shaw.ca
Mon Apr 7 04:35:49 CEST 2008


Erik Slagter wrote:
> If transcoding "weird" codecs is a requirement for you, then mencoder 
> probably is your best bet.
> I only transcode DVD (mpeg2video+ac3 in ps) and DVB (mpeg2video+mp2 in 
> ts), that's all. All of mplayer, mencoder and ffmpeg handle these well.
> It's only the subtitling that is a problem :-/
mencoder dvd://$title -dvd-device $source -aid $audiotrack -o $output 
-ofps 24000/1001 -of lavf -lavfopts format=mp4 -sws 9 -vf 
pullup,softskip,scale=848:480,dsize=848:480,harddup -af volnorm=1 -ovc 
x264 -x264encopts 
bitrate=3072:vbv_maxrate=6000:vbv_bufsize=1835:nocabac:me=umh:frameref=6:mixed_refs:subq=6:trellis=1:8x8dct:nofast_pskip:nocabac:global_header:level_idc=31:threads=2 
-oac faac -faacopts mpeg=4:object=2:br=160:raw -channels 2 -srate 48000 
-sid $subtitletrack -spuaa 4 -spugauss 0.5

 From a generic NTSC widescreen DVD with progressive content and 
subtitles, the above command line will produce a perfectly reasonable 
.mp4 file with no av desynch, and subtitles burned in. You'll need to 
supply the values of $title, $source, $audiotrack, $output, and 
$subtitletrack.




More information about the MEncoder-users mailing list