I am using ffmpeg to stream to an RTMP server. I am using the option to provide ffmpeg a text file with a list of files to stream. My file looks like this:
ffconcat version 1.0
file 'stream_file1.flv'
file 'stream_file2.flv'
file 'stream_file3.flv'
It loops through these files while streaming. Is there a way to programmatically find out when ffmpeg switches between each file? Either from ffmpeg dumping some logs that I can injest, or by using python to check the state of the stream every second?
from How to find currently streaming file in ffmpeg stream that uses a file list
No comments:
Post a Comment