[FFmpeg-trac] #9508(ffmpeg:new): Split into multiple chunks of 4 seconds from a continuos stream creates almost infinite chunks after some hours

FFmpeg trac at avcodec.org
Fri Nov 12 12:00:34 EET 2021


#9508: Split into multiple chunks of 4 seconds from a continuos stream creates
almost infinite chunks after some hours
----------------------------------+-------------------------------------
             Reporter:  jvilches  |                     Type:  defect
               Status:  new       |                 Priority:  important
            Component:  ffmpeg    |                  Version:  4.2.4
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+-------------------------------------
 Split into multiple chunks of 4 seconds from a continuos stream creates
 almost infinite chunks after some hours

 Summary of the bug:
 How to reproduce:
 {{{
 % ffmpeg -loglevel error -threads 0.5 -stimeout 5000000 -rtsp_transport
 tcp -i rtsp://rtsp-server-1:8900/22de326b-2f8e-42c5-904c-d30263072d60
 -strftime 1 -c:v copy -c:a copy -f hls -hls_flags delete_segments
 -hls_time 4 -start_number 0 -hls_allow_cache 0 -hls_list_size 32
 -hls_segment_filename %Y-%m-%d_%H-%M-%S.ts playlist.m3u8
 }}}

 Currently we have a process recording continuously from a rtsp stream, we
 are splitting the input into 4 seconds chunks with a total of 32 chunks.
 After some hours the process stops rotating the chunks and creates an
 "infinite" file that consumes all the remaining space of the hard disk.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9508>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list