[MPlayer-users] non-standard fps causes mencoder to lose a/v sync

Jon Drukman jdrukman at gmail.com
Wed Dec 17 02:36:38 CET 2008


i shot a video with my apple mac's built in camera using the "photo 
booth" application.  the resulting file has the following properties:

ID_VIDEO_ID=0
ID_AUDIO_ID=1
ID_FILENAME=/Users/jsd/Pictures/Photo\ Booth/Movie\ 4.mov
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=mp4v
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=14.833
ID_VIDEO_ASPECT=1.3333
ID_AUDIO_FORMAT=255
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=18.34
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffodivx
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=faad

i tried to convert it to flash with the following command:

/usr/local/bin/mencoder 'Photo Booth/Movie 4.mov' -o ginger.flv -of lavf 
-ovc lavc -oac mp3lame -lameopts q=7 -noskip -mc 0 -lavcopts 
vcodec=flv:vbitrate=350:autoaspect:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:precmp=2:cmp=2:subcmp=2:preme=2:turbo 
-vf scale=320:-10:noup=1,harddup -srate 22050 -af lavcresample=22050 
-ofps 14.833

However the audio and video are out of sync.  Am I doing something 
wrong?  I can post a sample file if necessary.

-jsd-




More information about the MPlayer-users mailing list