[FFmpeg-user] How to capture an RTMP stream

Deron deron at pagestream.org
Sat Jul 25 02:09:13 CEST 2015


I'm trying to record some of this stream: 
rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662

VLC will play this, so I thought it would be easy :-)

ffmpeg -i "rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662" 
-rtmp_live live test.mp4

ffmpeg version N-73907-gc169243 Copyright (c) 2000-2015 the FFmpeg 
developers
   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
   configuration: --enable-shared --enable-gpl --enable-nonfree 
--enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libvorbis 
--enable-libfaac --enable-libopenjpeg --enable-librtmp
   libavutil      54. 28.100 / 54. 28.100
   libavcodec     56. 50.101 / 56. 50.101
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 25.100 /  5. 25.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
Closing connection: NetStream.Play.StreamNotFound
rtmp://cp258849.live.edgefcs.net/live/SonLife0616@327662: Unknown error 
occurred


Where can I learn more about how to decipher the RTMP url into parts 
that ffmpeg needs?

Thanks,

Deron


More information about the ffmpeg-user mailing list