[Ffmpeg-devel] ffmpeg DVD to iPod Audio Sync Problems

Anthony N. Frasso afrasso
Tue Jul 18 02:33:58 CEST 2006

I'm attempting to encode VOB files ripped from a DVD
into mp4 files that will play on an iPod.  I'm using a
Mac with OS X 10.3.9.  Unfortunately, when I encode
the video file, the audio is out of sync (by about 1.5
seconds).  Is this a known bug?  Or is there something
I'm doing wrong when I either configured ffmpeg or ran
the encoding?  I submitted this question a while back,
but didn't receive a response... if there's more
information I need to provide, I'd be happy to do so! 
Thanks in advance for all of the help.

Here is the output:

$ ffmpeg -vcodec xvid -acodec aac -i test1.vob
FFmpeg version SVN-r5591, Copyright (c) 2000-2004
Fabrice Bellard
  configuration:  --enable-mp3lame --enable-faac
--enable-xvid --enable-x264 --enable-a52 --enable-gpl
  libavutil version: 49.0.0
  libavcodec version: 51.9.0
  libavformat version: 50.4.0
  built on Jul  3 2006 02:13:45, gcc: 3.3 20030304
(Apple Computer, Inc. build 1666)
Input #0, mpeg, from 'test1.vob':
  Duration: 00:00:15.5, start: 0.191167, bitrate: 8999
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p,
720x480, 9800 kb/s, 29.97 fps(r)
  Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5:1, 448
  Stream #0.2[0x81]: Audio: ac3, 48000 Hz, stereo, 192
  Stream #0.3[0x82]: Audio: ac3, 48000 Hz, stereo, 192
  Stream #0.4[0x83]: Audio: ac3, 48000 Hz, stereo, 192
Output #0, mp4, to 'test1.mp4':
  Stream #0.0: Video: xvid, yuv420p, 720x480, q=2-31,
200 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: aac, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  467 q=31.0 Lsize=     989kB time=15.6 bitrate=
video:718kB audio:137kB global headers:0kB muxing
overhead 15.772950%

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the ffmpeg-devel mailing list