[FFmpeg-user] hls playlist got wiped out when ffmpeg runs as systemd child process

jb jonbae77 at gmail.com
Fri Jul 8 13:24:51 EEST 2022


Hello everybody,

I have a control program which running as a systemd service. This 
program spawns ffmpeg and that is writing to a HLS playlist. I use this 
flags:

    -hls_flags append_list+delete_segments+omit_endlist+program_date_time

The interesting thing is, when I stop the systemd process my HLS 
playlist got wiped out and when I start the service again ffmpeg will 
not continue the playlist, instead it writes a new one.

When I run my control program directly from shell, I don't have this 
behavior. I can stop the program and start it again and the HLS playlist 
will continue.

Does anybody notice this different behaviors? And has an idea why this 
is happen and what I can do here?

I use the current ffmpeg version from master.


Regards

Jonathan


More information about the ffmpeg-user mailing list