streamio / streamio-ffmpeg

Simple yet powerful ruby ffmpeg wrapper for reading metadata and transcoding movies
MIT License
1.64k stars 411 forks source link

RTMP Input support broken in latest release #198

Open hernanrz opened 6 years ago

hernanrz commented 6 years ago

With v3.0.0 of the gem, one could do the following to get a screenshot of a RTMP stream

    ffmpeg_stream = FFMPEG::Movie.new "rtmp://piczel.tv:1935/live/1"
    ffmpeg_stream.screenshot path

But with the newer 3.0.2 version this is now broken and now we get the following error:

Errno::ENOENT: No such file or directory - the file 'rtmp://piczel.tv:1935/live/1' does not exist

This commit e9e11230c5419cdf904256074f5caad590c98cc5 in particular seems to be source of the problem, perhaps it should be reverted? Or just add rtmp to the regexp list in there.

cromulus commented 5 years ago

Yup. Same. Can't stream RTSPS streams.