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

FFmpeg trac at avcodec.org
Wed Mar 27 10:52:01 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):

 I tried this evening with testsrc and I got strange behavior:

 Command used was :
 ffmpeg -f lavfi -i testsrc -f s16le -i /dev/zero -vcodec mpeg4 -vb 400000
 -strict -2 -acodec aac -f segment -segment_time 1800 -map 0 -map 1
 /mnt/video/tests/test-mp4-%03dt.mp4

 I got a file per minute instead of a file per 30 minutes (1800 seconds),
 but I have in the description of the file (true for all files), a 30
 minutes duration ???:

 ffmpeg -i /mnt/video/tests/test-mp4-998t.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-998t.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.63.104
   Duration: 00:30:00.00, start: 1796400.000000, bitrate: 406 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 320x240 [SAR 1:1 DAR 4:3], 399 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

 I'm going to test with -an

 Thanks,
 Denis

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


More information about the FFmpeg-trac mailing list