[FFmpeg-user] testing rtmp input

Ricardo Kleemann ricardo at americasnet.com
Fri Dec 2 20:46:28 EET 2016


Hi,

What would be the best way to test whether an rtmp stream is present?

I'm reading an rtmp stream as input and creating an mp4 as output.

But the stream isn't always present. I was thinking of doing a quick test
for stream presence, maybe reading 5 seconds of input as a test prior to
attempting the output.

thanks
Ricardo


More information about the ffmpeg-user mailing list