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

Jorge Peixoto de Morais Neto please.no.spam.here at gmail.com
Sat Apr 5 06:40:47 CEST 2008


On Wed, Apr 2, 2008 at 8:21 PM, Nicolas Hesler
<nicolas.hesler at sheridanc.on.ca> wrote:
> I've successfully created an MP4 with mencoder using the following command line.  The file plays back normally using VLC but when played back in Quicktime, the audio slips by a couple of frames after about a minute. Any idea why this might be happening and how I might be change my command line options to make Quicktime happy?
>
>  Note: I'm frameserving from Premiere and so my source should not inherently have a sync issue. (or so i assume)
>  and my video source is only about a minute long, so the slippage is noticeable by the end of the video.
>
>  mencoder -of lavf -sws 9 -lavfopts format=mp4 -vf dsize=1280:720:0,scale=0:0,expand=1280:720,harddup -ovc x264 -x264encopts bitrate=5000:qcomp=0.7:qp_min=1:direct_pred=auto:keyint=48:partitions=all:me=umh:subq=7:frameref=8:trellis=2:global_header:pass=1:psnr -oac faac -faacopts mpeg=4:object=2:br=224:raw -channels 2 -srate 48000

1) Try encoding to .avi and then using an external tool for muxing to mp4
2) Why qp_min=1?
3) Why these faacopts?

-- 
Software is like sex: it is better when it is free - Linus Torvalds



More information about the MEncoder-users mailing list