[FFmpeg-trac] #13(FFmpeg:open): demuxing ogg track produces invalid ogg on 3rd pass

FFmpeg trac at avcodec.org
Mon Mar 21 00:15:50 CET 2011


#13: demuxing ogg track produces invalid ogg on 3rd pass
-----------------------+----------------------
Reporter:  gervin23    |       Owner:  michael
    Type:  defect      |      Status:  open
Priority:  important   |   Component:  FFmpeg
 Version:  git         |  Resolution:
Keywords:  regression  |  Blocked By:
Blocking:              |  Reproduced:  1
Analyzed:  0           |
-----------------------+----------------------
Changes (by cehoyos):

 * keywords:   => regression
 * status:  new => open
 * version:  0.6 => git
 * reproduced:  0 => 1


Comment:

 This looks like a regression, 0.5 does not reduce the file length below
 8.47 (and does not fail on several tries).

 {{{
 $ ffmpeg -i fate-suite/vorbis/rc1-test_small.ogg -acodec copy out.ogg
 FFmpeg version git-N-28533-g849f80f, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Mar 20 2011 23:17:05 with gcc 4.5.2
   configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc --enable-gpl --enable-
 libopencore-amrnb --enable-version3
   libavutil    50. 40. 0 / 50. 40. 0
   libavcodec   52.114. 0 / 52.114. 0
   libavformat  52.103. 0 / 52.103. 0
   libavdevice  52.  3. 0 / 52.  3. 0
   libavfilter   1. 76. 0 /  1. 76. 0
   libswscale    0. 12. 0 /  0. 12. 0
 Input #0, ogg, from 'fate-suite/vorbis/rc1-test_small.ogg':
   Duration: 00:00:08.86, start: 0.000000, bitrate: 90 kb/s
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16, 128 kb/s
 Output #0, ogg, to 'out.ogg':
   Metadata:
     encoder         : Lavf52.103.0
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, 128 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop encoding
 size=      94kB time=8.47 bitrate=  90.7kbits/s
 video:0kB audio:90kB global headers:0kB muxing overhead 3.681001%
 $ ffmpeg -i out.ogg -acodec copy out2.ogg
 FFmpeg version git-N-28533-g849f80f, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Mar 20 2011 23:17:05 with gcc 4.5.2
   configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc --enable-gpl --enable-
 libopencore-amrnb --enable-version3
   libavutil    50. 40. 0 / 50. 40. 0
   libavcodec   52.114. 0 / 52.114. 0
   libavformat  52.103. 0 / 52.103. 0
   libavdevice  52.  3. 0 / 52.  3. 0
   libavfilter   1. 76. 0 /  1. 76. 0
   libswscale    0. 12. 0 /  0. 12. 0
 Input #0, ogg, from 'out.ogg':
   Duration: 00:00:08.47, start: 0.000000, bitrate: 90 kb/s
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16, 128 kb/s
     Metadata:
       ENCODER         : Lavf52.103.0
 Output #0, ogg, to 'out2.ogg':
   Metadata:
     encoder         : Lavf52.103.0
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, 128 kb/s
     Metadata:
       ENCODER         : Lavf52.103.0
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop encoding
 size=      94kB time=6.68 bitrate= 115.1kbits/s
 video:0kB audio:90kB global headers:0kB muxing overhead 3.681001%
 $ ffmpeg -i out2.ogg -acodec copy out3.ogg
 FFmpeg version git-N-28533-g849f80f, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Mar 20 2011 23:17:05 with gcc 4.5.2
   configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc --enable-gpl --enable-
 libopencore-amrnb --enable-version3
   libavutil    50. 40. 0 / 50. 40. 0
   libavcodec   52.114. 0 / 52.114. 0
   libavformat  52.103. 0 / 52.103. 0
   libavdevice  52.  3. 0 / 52.  3. 0
   libavfilter   1. 76. 0 /  1. 76. 0
   libswscale    0. 12. 0 /  0. 12. 0
 Input #0, ogg, from 'out2.ogg':
   Duration: 00:00:06.67, start: 0.000000, bitrate: 115 kb/s
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16, 128 kb/s
     Metadata:
       ENCODER         : Lavf52.103.0
 Output #0, ogg, to 'out3.ogg':
   Metadata:
     encoder         : Lavf52.103.0
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, 128 kb/s
     Metadata:
       ENCODER         : Lavf52.103.0
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop encoding
 [ogg @ 0x11ecac0] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 11838 >= 11838
 av_interleaved_write_frame(): Operation not permitted

 }}}

-- 
Ticket URL: <http://avcodec.org/trac/ffmpeg/ticket/13#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list