[MPlayer-users] -oac copy results in out of sync audio with mencoder ?

Ron Johnson ron.l.johnson at cox.net
Sun Feb 5 05:59:56 CET 2012


On 02/04/2012 03:10 PM, a a wrote:
> noskip doesn't seem to help - i used this command line:
>
>
> mencoder in.mkv -mc 0 -noskip -oac copy -ovc x264 -x264encopts preset=slow:tune=film:crf=15:frameref=15:fast_pskip=0:threads=auto:bitrate=2000 -nosub -vf scale=1280:-10 -of avi -o x.avi
>
> Appreciate any other suggestions you might have.
>

When converting MJPEG .mov files to DVD-compatible MPEG2 files, I was 
faced with a similar problem.  The solution was a 2-step conversion:


VCODEC="vcodec=mpeg2video:aspect=4/3:vbitrate=6000:trell:nr=100"
mencoder \
     *.mov \
     -o ${FOO}.avi \
     -ovc lavc -lavcopts $VCODEC \
     -oac pcm -channels 1 -srate 8000

ffmpeg -i ${FOO}.avi -target ntsc-dvd ${FOO}-0.0.mpeg

This example is tuned to my specific circumstance, but should be 
adjustable to yours.

-- 
How does being physically handicapped make me Differently-Abled?
What different abilities do I have?


More information about the MPlayer-users mailing list