I'm running a command line in ffmpeg so it saves the input in the format I need, but the input stream occasionally has some flaws, seconds, and it happens that the output exits with problems, if I am using VLC to see the result, and some failure occurs to it, or it may stop flowing. p>
How could I circumvent this, so that when it did, some frame without images would be displayed, not interrupting the flow of the stream?
ffmpeg command:
ffmpeg -y -i "input_source" -loglevel verbose -vcodec copy -acodec copy -hls_time 5 -hls_wrap 3 -f hls -y "C:\teste\camera.m3u8"