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

Reindl Harald h.reindl at thelounge.net
Fri Jul 8 18:54:40 EEST 2022



Am 08.07.22 um 12:24 schrieb jb:
> 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

PrivateTmp=no


More information about the ffmpeg-user mailing list