Opened 2 years ago

#9508 new defect

Split into multiple chunks of 4 seconds from a continuos stream creates almost infinite chunks after some hours

Reported by: jvilches Owned by:
Priority: important Component: ffmpeg
Version: 4.2.4 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.