FFmpeg: NetStream.Play.StreamNotFound for RMTP stream

I want to take snapshots of the RTMP video stream periodically. I see the rtmp video stream using VLC. This is the rtmp url:

rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1 

I use the following command to capture snapshots, according to the official FFmpeg website here :

 ffmpeg -i rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1 -f image2 -vf fps=fps=1 out%d.png 

The command produces the following output:

 ffmpeg version N-64667-gd595361 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 14 2014 22:09:48 with gcc 4.8.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzl libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amr enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --ena libavutil 52. 92.100 / 52. 92.100 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 47.100 / 55. 47.100 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 10.100 / 4. 10.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 HandShake: client signature does not match! Closing connection: NetStream.Play.StreamNotFound rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1: Unknown error occurred 

I tried this with other rmtp streams, but I still get the same error.

What could be the problem? Thanks!

+8
ffmpeg rtmp live-streaming
source share
1 answer

I just tried your command and it worked for me. Maybe this is something in your FFMPEG installation? I am using version 2.4 on Mac (tessus build).

I know that other / older versions used "librtmp" for rtmp connections, which require additional options for the stream url. See ffmpeg docs here: ffmpeg librtmp documentation

And librtmp docs here: librtmp documentation

For an unprotected live stream, you can try specifying the stream URL and adding "live = 1" in quotation marks:

 ffmpeg -i "rtmp://antena3fms35livefs.fplive.net/antena3fms35live-live/stream-antena3_1 live=1" -f image2 -vf fps=fps=1 out%d.png 
+12
source share

All Articles