PDA

View Full Version : Extract rtmp url and video with rtmpdump


gallina94
04-13-2012, 06:26 AM
Hi all,
i'm trying to extract video from this url
http://www.web-tv.135.it/
the channel is italia2. I'm able to get all the parameters to pass to RTMPDUMP using rtmpsuck. The final command is the following

rtmpdump -r "rtmp://edge3.786cast.tv/live/italia22" -a "live/italia22" -f "MAC 11,1,102,55" -W "http://www.786cast.tv/jplayr.swf" -p "http://www.786cast.tv?u=italia2&vw=500&vh=500" -y "13338442377083" -o prova.flv

but i get this error

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl http://www.786cast.tv/jplayr.swf (HTTP error 302)
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)

Anyone can help me?

Thanks

Bahman
04-13-2012, 10:27 AM
No problem!!
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Fri Apr 13 11:36:44 2012
INFO: videodevice ManyCam Virtual Webcam
INFO: framerate 25.00
INFO: width 320.00
INFO: height 240.00
INFO: videocodecid avc1
INFO: videodatarate 300.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency2.00
INFO: audiodevice Line in (e2eSoft VAudio)
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 90.00
INFO: audiocodecid .mp3
INFO: audiodatarate 32.00
89.480 kB / 0.45 sec

Try to correct SWF error!! and add --live in the script!!;)

gallina94
04-13-2012, 03:53 PM
GREAT!!!! it works!