How to prevent the stream from falling when there is no picture?

Asked

Viewed 50 times

1

I am running a command line on ffmpeg so that it saves the input in the format I need, however, input stream has occasionally some faults, such as missing 5 seconds, and it occurs that the output comes out with problems, if I’m using VLC to see the result, and some failure occurs it stops, or it can stop flowing(the stream is stopped).

How could I get around this, so that when it happened, some frame without images would be displayed, not interrupting the stream flow?

Command ffmpeg:

ffmpeg -y -i "input_source" -loglevel verbose -vcodec copy -acodec copy  -hls_time 5 -hls_wrap 3 -f hls  -y "C:\teste\camera.m3u8"
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.