[MEncoder-users] Xvid to h264 audio sync issue with mencoder

lists.mplayerhq.hu at spam.phoenixdigital.com lists.mplayerhq.hu at spam.phoenixdigital.com
Sat Oct 4 06:14:40 CEST 2008


Hi All,

I am trying to convert some xvid's to play on my iphone and currently 
use the following batch file (url below) but am getting some severe 
audio sync issues.
http://www.phoenixdigital.com/mp4_creation_with_mencoder/x360_encoder.bat

Basically it is a 2 pass encoding with the folowing settings

video
set mencoder_ovc=x264 -x264encopts 
bitrate=%mencoder_video_bitrate%:frameref=3:turbo=1:me=hex:subq=7:partitions=all:mixed_refs=1:fast_pskip=0:threads=auto:dct_decimate=0:nocabac:level_idc=30

audio
set mencoder_oac=faac -faacopts mpeg=4:br=%mencoder_audio_bitrate%:object=2

I then use mp4box to put it into a mp4 container.

Converting mpeg's using the above script works perfectly. I think it is 
a problem when trying to convert xvid's that have a variable bitrate audio..

Does anyone have any better solutions for encoding audio to ensure there 
is no sync issues?
Should I use another program apart from mencoder to do the audio then 
mux it together?

Thankyou








More information about the MEncoder-users mailing list