[FFmpeg-user] Confusion with recording RTMP stream

Deron deron at pagestream.org
Sat Dec 7 06:11:34 CET 2013


Seems like a simple thing. I would like to record a live stream from 
http://weathernationtv.com/OnTV (their on-air live stream), but I can't 
seem to get it to work.

Using some product on Windows called MediaBox, it gave me this info:

url: rtmp://cp77659.live.edgefcs.net/live/0_c6zkpyg0_1@2781
app: live
flashVer: WIN 11,9,900,152
pageUrl: http://weathernationtv.com/OnTV
swfUrl: 
http://cdnbakmi.kaltura.com/p/931702/sp/93170200/flash/kdp3/v3.9.4/kdp3.swf
tcUrl: rtmp://cp77659.live.edgefcs.net/live
playPath: 0_c6zkpyg0_1 at 2781


So I tried this simple command:

ffmpeg -i "rtmp://cp77659.live.edgefcs.net/live/0_c6zkpyg0_1@2781" temp.mp4

And got:

ffmpeg version N-55930-g4fa00c5 Copyright (c) 2000-2013 the FFmpeg 
developers
   built on Aug 31 2013 11:27:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
   configuration: --enable-shared --enable-gpl --enable-nonfree 
--enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libvorbis 
--enable-libfaac --enable-libopenjpeg --enable-librtmp
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 29.100 / 55. 29.100
   libavformat    55. 15.100 / 55. 15.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
Closing connection: NetStream.Play.StreamNotFound
rtmp://cp77659.live.edgefcs.net/live/0_c6zkpyg0_1@2781: Unknown error 
occurred


Any suggestions, or good tutorial on figuring this out? Thanks!

Deron



More information about the ffmpeg-user mailing list