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

FFmpeg trac at avcodec.org
Thu Mar 28 16:02:53 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):

 Command line use with testsrc :
 ffmpeg -f lavfi -i testsrc -f s16le -i /dev/zero -s 640x360 -vcodec mpeg4
 -g 60 -vb 400000 -strict -2 -acodec aac -f segment -segment_time 1800 -map
 0 -map 1 /mnt/video/tests/test-mp4-%03dt.mp4

 Command line used in production:
 ffmpeg -i $MPEGTS_URL_UDP -map 0:0 -map 0:1 -s 640x360 -vcodec libx264 -g
 60 -vb 500000 -strict experimental -vf yadif -acodec aac -ab 96000 -ac 2
 -y -f segment -segment_format mp4 -segment_time 1800

 Duration is correct from testsrc, but with the one I use I cannot read the
 segmented file, I added the second pass :
 ffmpeg -i test-mp4-979t.mp4 -c copy test-979.mp4.
 And after this one duration file are incorrect.

 With testsrc it is the same on all files. With UDP source it happens only
 after the 024.

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

More information about the FFmpeg-trac mailing list