[FFmpeg-trac] #2307(undetermined:new): Stream segmenter bug if total recorded length > 12 hours

FFmpeg trac at avcodec.org
Thu Mar 28 15:33:33 CET 2013


#2307: Stream segmenter bug if total recorded length > 12 hours
-------------------------------------+-------------------------------------
             Reporter:  dgillier     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  1.1.3        |  undetermined
             Keywords:  segment,     |               Resolution:
  duration                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by dgillier):

 '''Here is the result with one of the testsrc input file (not h264):'''

 [root at srv4 ~]# ffmpeg -i /mnt/video/tests/test-mp4-979t.mp4
 ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
   built on Mar 19 2013 15:08:09 with gcc 4.4.6 (GCC) 20120305 (Red Hat
 4.4.6-4)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      52. 18.100 / 52. 18.100
   libavcodec     54. 92.100 / 54. 92.100
   libavformat    54. 63.104 / 54. 63.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 42.103 /  3. 42.103
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/video/tests/test-
 mp4-979t.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.63.104
   Duration: 00:30:00.00, start: 1762200.000000, bitrate: 406 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 320x240 [SAR 1:1 DAR 4:3], 400 kb/s, 25 fps, 25 tbr, 12800 tbn,
 25 tbc
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 1 kb/s
     Metadata:
       handler_name    : SoundHandler
 At least one output file must be specified
 [root at srv4 ~]#

 '''With the second pass :'''

 ffmpeg -i /mnt/video/tests/test-mp4-979t.mp4 -c copy
 /mnt/video/tests/test-979.mp4
 ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
   built on Mar 19 2013 15:08:09 with gcc 4.4.6 (GCC) 20120305 (Red Hat
 4.4.6-4)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      52. 18.100 / 52. 18.100
   libavcodec     54. 92.100 / 54. 92.100
   libavformat    54. 63.104 / 54. 63.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 42.103 /  3. 42.103
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/video/tests/test-
 mp4-979t.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.63.104
   Duration: 00:30:00.00, start: 1762200.000000, bitrate: 406 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 320x240 [SAR 1:1 DAR 4:3], 400 kb/s, 25 fps, 25 tbr, 12800 tbn,
 25 tbc
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 1 kb/s
     Metadata:
       handler_name    : SoundHandler
 Output #0, mp4, to '/mnt/video/tests/test-979.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.63.104
     Stream #0:0(und): Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 400 kb/s, 25 fps, 12800 tbn, 12800 tbc
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono,
 1 kb/s
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame=45000 fps=30603 q=-1.0 Lsize=   89365kB time=00:30:00.00 bitrate=
 406.7kbits/s
 video:87919kB audio:308kB subtitle:0 global headers:0kB muxing overhead
 1.290589%
 [root at srv4 ~]#

 '''Result :'''

 [root at srv4 ~]# ffmpeg -i /mnt/video/tests/test-979.mp4
 ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
   built on Mar 19 2013 15:08:09 with gcc 4.4.6 (GCC) 20120305 (Red Hat
 4.4.6-4)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      52. 18.100 / 52. 18.100
   libavcodec     54. 92.100 / 54. 92.100
   libavformat    54. 63.104 / 54. 63.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 42.103 /  3. 42.103
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3140a20] Invalid SampleDelta in STTS
 -1081323008
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3140a20] Invalid SampleDelta in STTS
 -403608574
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/video/tests/test-979.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.63.104
   Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 320x240 [SAR 1:1 DAR 4:3], 400 kb/s, 25 fps, 25 tbr, 12800 tbn,
 25 tbc
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 1 kb/s
     Metadata:
       handler_name    : SoundHandler
 At least one output file must be specified
 [root at srv4 ~]#

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


More information about the FFmpeg-trac mailing list