[MEncoder-users] avi->dvd: desync problem

Tomáš Bažant tomas.bazant at rozhlas.cz
Wed Nov 16 10:26:14 CET 2005


i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 
30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio 
track as is. my command is following:

#!/bin/bash
mencoder galaxy.avi \
-oac copy \
-mc 0 \
-of mpeg \
-mpegopts format=dvd:telecine \
-ovc lavc \
-lavcopts 
vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: 
\
-ofps 30000/1001 \
-vf scale=720:-10,expand=720:576 \
-o galaxy.mpg

but then the result MPEG2 is desync (audio is earlier than video). to 
tell the truth, i expected this result, but is there any way how to 
produce such mpeg2 stream which is ok?

thanks




More information about the MEncoder-users mailing list