[FFmpeg-trac] #735(undetermined:new): Incorrect DTS sync in OGG codec

FFmpeg trac at avcodec.org
Mon Dec 12 17:18:28 CET 2011


#735: Incorrect DTS sync in OGG codec
----------------------------------+----------------------------------------
             Reporter:  zvi       |                    Owner:
                 Type:  defect    |                   Status:  new
             Priority:  normal    |                Component:  undetermined
              Version:  0.8.7     |               Resolution:
             Keywords:  ogg sync  |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------------

Comment (by zvi):

 Hi,

 I have attached the files I tried (this has been reproduced repeatedly on
 various source files from various sources - though I always started with
 MP4).
 I haven't tried the git HEAD yet, I will try it later on.

 You can view the attached files. Noticed that the last one "out2.ogv" gets
 the audio completely out of sync by the end of the clip (I view it using
 VLC).

 Here are the commands I used to generate them:


 $ ffmpeg -i in.mp4 -vcodec libtheora -b 1000k -acodec libvorbis out.ogv

 ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers
   built on Dec 10 2011 09:05:52 with gcc 4.6.1
   configuration: --prefix=/opt/ffmpeg-0.8.7 --cpu=core2 --enable-zlib
 --enable-libxvid --enable-libx264 --enable-libvpx --enable-libvorbis
 --enable-libspeex --enable-librtmp --enable-libopenjpeg --enable-
 libmp3lame --enable-libfreetype --enable-libfaac --enable-libdirac
 --enable-libtheora --enable-bzlib --enable-nonfree --enable-gpl --enable-
 version3 --enable-shared
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  8. 0 / 53.  8. 0
   libavformat  53.  5. 0 / 53.  5. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 1969-12-31 22:00:00
     encoder         : Lavf53.18.0
   Duration: 00:00:14.25, start: 0.000000, bitrate: 876 kb/s
     Stream #0.0(und): Video: h264 (High), yuv420p, 720x592 [PAR 257:240
 DAR 771:592], 771 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Metadata:
       creation_time   : 1969-12-31 22:00:00
     Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 107 kb/s
     Metadata:
       creation_time   : 1969-12-31 22:00:00
 [buffer @ 0x88b3c20] w:720 h:592 pixfmt:yuv420p tb:1/1000000 sar:257/240
 sws_param:
 Output #0, ogg, to 'out.ogv':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 1969-12-31 22:00:00
     encoder         : Lavf53.5.0
     Stream #0.0(und): Video: libtheora, yuv420p, 720x592 [PAR 257:240 DAR
 771:592], q=2-31, 1000 kb/s, 25 tbn, 25 tbc
     Metadata:
       creation_time   : 1969-12-31 22:00:00
     Stream #0.1(und): Audio: libvorbis, 48000 Hz, stereo, s16, 64 kb/s
     Metadata:
       creation_time   : 1969-12-31 22:00:00
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1


 $ ffmpeg -i out.ogv -vcodec copy -acodec copy out2.ogv


 Thanks,
    TZvi.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/735#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list