View Single Post
Posts: 164 | Thanked: 132 times | Joined on Dec 2007
#74
Originally Posted by photo_ted View Post
Any updates on the audio sync problem with mplayer on OS2008?

I transcode using the following script based on one written by Mark Waters:

RESIZE="-sws 9 -vf scale=400:225"
AUDIO="-oac mp3lame -lameopts cbr:br=96:vol=8"
VIDEO="-ovc lavc -lavcopts"
VIDOPTS1="vcodec=mpeg4:vbitrate=600:autoaspect:vpa ss=1 -ffourcc DIVX -idx"
VIDOPTS2="vcodec=mpeg4:vbitrate=600:autoaspect -ffourcc DIVX -idx"
SOURCE=$1
nice -n 15 mencoder $SOURCE $RESIZE $AUDIO $VIDEO $VIDOPTS1 $LOG -o /dev/null
nice -n 15 mencoder $SOURCE $RESIZE $AUDIO $VIDEO $VIDOPTS2 $LOG -o "$OUTPUT"

Video encoded this way worked well on OS2007, but the audio is ~0.25 sec delayed on OS2008. Would other settings work better? Any fixes in the works for mplayer? I am using the lastest version, maemo.23.
In this script, shouldn't LOG be set to something?