PDA

View Full Version : ESPN3: Rtmpdump Error Downloading RTMP stream


stevelaw18
03-25-2011, 06:13 AM
I am trying to download an ESPN3 rtmp stream.

I used rtmpsrv to intercept the connection, which gave me the below rtmp command

rtmpdump -r "rtmp://cp88998.edgefcs.net:1935/ondemand?auth=da.b2aZaOc0cpdhaNcPbBbZdgd6dgcsdsa9-bnJibj-O-6xunwLFEv-q8sgk3rVlbq8s6phsjrdkaook8komnporls4k8qclnpbr5pbrf rckcn2lkkolapsq2sglprqkfqpr8p7r8sllnolkekkl4o9qes9 k4q8kbpcr6p9r6rek6&aifp=v0001&slist=88998/espn/2011/03/24/176-8799/web-encodes/146713_espn3&ct5=25-Mar-11&ct6=192.234.2.90&ct7=13265035:FMS_CLOUD&ct8=39&ct1=espn_us&ct3=espn:%7B84E3CBBB-26A3-4776-AC3F-9EF7C000BCB9%7D&ct4=espn_us" -a "ondemand?auth=da.b2aZaOc0cpdhaNcPbBbZdgd6dgcsdsa9-bnJibj-O-6xunwLFEv-q8sgk3rVlbq8s6phsjrdkaook8komnporls4k8qclnpbr5pbrf rckcn2lkkolapsq2sglprqkfqpr8p7r8sllnolkekkl4o9qes9 k4q8kbpcr6p9r6rek6&aifp=v0001&slist=88998/espn/2011/03/24/176-8799/web-encodes/146713_espn3&ct5=25-Mar-11&ct6=192.234.2.90&ct7=13265035:FMS_CLOUD&ct8=39&ct1=espn_us&ct3=espn:%7B84E3CBBB-26A3-4776-AC3F-9EF7C000BCB9%7D&ct4=espn_us" -f "WIN 10,1,85,3" -W "http://assets.espn.go.com/[[IMPORT]]/livepassdl.conviva.com/ver/2.23.1.40793/LivePassModuleMain.swf" -p "http://espn.go.com/espn3/player?id=146713&league=South%20American%20U17&size=condensed" -y "mp4:88998/espn/2011/03/24/176-8799/web-encodes/146713_espn3_1200k/146713_espn3_1200k.mp4" -o 146713_espn3_1200k.flv

but when I run it, I get the following error:

ERROR: RTMP_HashSWF: swfurl http://assets.espn.go.com/[[IMPORT]]/livepassdl.conviva.com/ver/2.23.1.40793/LivePassModuleMain.swf not found
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Any thoughts on why the rtmpdump command does not work?

Thanks

Stream Recorder
03-25-2011, 07:49 AM
ERROR: RTMP_HashSWF: swfurl http://assets.espn.go.com/[[IMPORT]]/livepassdl.conviva.com/ver/2.23.1.40793/LivePassModuleMain.swf not found
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Any thoughts on why the rtmpdump command does not work?

Try to remove [[IMPORT]]/

Stream Recorder
03-25-2011, 07:50 AM
If you use Windows, you can also download RTMP streams with freeware StreamTransport (http://all-streaming-media.com/record-video-stream/StreamTransport-Download-HTTP-RTMP-RTMPE-streams.htm), CooJah + Blader (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm), shareware Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm),...

And you can capture RTMP streams in real time while you watch them using freeware CooJah (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm) (without Blader), Orbit Grab Pro, shareware Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm) 4.

Related:
FAQ: How to record/download/capture/save Adobe Flash .FLV video RTMP stream from embedded player (http://all-streaming-media.com/faq/recording-media-stream/faq-record-download-capture-save-flash-flv-video-rtmp.htm)
How to record rtmp:// flash video .flv stream from embedded Adobe Flash Player

stevelaw18
03-25-2011, 07:58 AM
Try to remove [[IMPORT]]/

No luck. Same issue.

stevelaw18
03-25-2011, 07:59 AM
If you use Windows, you can also download RTMP streams with freeware StreamTransport (http://all-streaming-media.com/record-video-stream/StreamTransport-Download-HTTP-RTMP-RTMPE-streams.htm), CooJah + Blader (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm), shareware Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm),...

And you can capture RTMP streams in real time while you watch them using freeware CooJah (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm) (without Blader), Orbit Grab Pro, shareware Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm) 4.

I'll try those. Thanks

Stream Recorder
03-25-2011, 08:04 AM
No luck. Same issue.
Then just find the real URL of the SWF player. View the source or use a URL Finder (http://all-streaming-media.com/find-stream-URL/)

getflv
03-25-2011, 08:29 AM
No luck. Same issue.

Maybe GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) can help you. Please try latest version and give us your feedback.

nonsens3
04-29-2012, 08:47 AM
Have you managed to rip a stream from ESPN3 using rtmpdump? I can't manage to authenticate as well - I get Access Denied.


rtmpdump --rtmp "rtmp://cp88998.edgefcs.net:1935/ondemand" --playpath "mp4:88998/espn/2012/03/16/176-19796/web-encodes/415194_espn3_400k/415194_espn3_400k.mp4" --swfUrl "http://neulion.vo.llnwd.net/o37/espn/player/espnplayer/static/flex/console.swf" --auth "da.cYbJaqb5a0cXcVaobwdDawdwbtapbgbb-bpNt9W-O-2yynCKKCs-saqen3ldtp.lales5obpfkcj3o9pbqelfs4q8n6l9s5l5l6s6p op6k4kqpop9rmmotoqcnbl9sclfmqs2o8p6kfj4oep8q3lasdq 3n7lg" -o test.flv --verbose
RTMPDump 2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp88998.edgefcs.net
DEBUG: Port : 1935
DEBUG: Playpath : mp4:88998/espn/2012/03/16/176-19796/web-encodes/415194_espn3_400k/415194_espn3_400k.mp4
DEBUG: tcUrl : rtmp://cp88998.edgefcs.net:1935/ondemand
DEBUG: swfUrl : http://neulion.vo.llnwd.net/o37/espn/player/espnplayer/static/flex/console.swf
DEBUG: app : ondemand
DEBUG: auth : da.cYbJaqb5a0cXcVaobwdDawdwbtapbgbb-bpNt9W-O-2yynCKKCs-saqen3ldtp.lales5obpfkcj3o9pbqelfs4q8n6l9s5l5l6s6p op6k4kqpop9rmmotoqcnbl9sclfmqs2o8p6kfj4oep8q3lasdq 3n7lg
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 1444612941
DEBUG: HandShake: FMS Version : 3.5.7.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!>
DEBUG: (object end)
DEBUG: (object end)

svnpenn
04-29-2012, 09:17 AM
Have you managed to rip a stream from ESPN3 using rtmpdump? I can't manage to authenticate as well - I get Access Denied.

Put link

nonsens3
05-03-2012, 05:54 AM
rtmpdump -r " rtmpe://cp88998.edgefcs.net:443/ondemand" --swfVfy "http://neulion.vo.llnwd.net/o37/espn/player/espnplayer/static/flex/console.swf" --playpath "88998/espn/2012/04/30/176-21492/web-encodes/463203_espn3_1800k/463203_espn3_1800k.mp4" --auth "da.bBbtbBc2cBaZdVdNc4aXafdtb_c.bScb-bpOM7H-O-9yCoDLHEx-kbqhs4qptppotnnqmlndkfq3toq8ngrlk5rnsfqntmo5s7m8mm n9k3rqtpqgnbq8lnqgscqnsapqsfm4l8n7keq4sfq9n5q8keq6 s8pd" --port 443 -o out.mp4 --protocol 2 --verbose

Bahman
05-03-2012, 09:55 AM
put the page path/link in command and then try!

nonsens3
05-03-2012, 10:47 AM
Still can't make it...

rtmpdump -r " rtmp://cp88998.edgefcs.net:1935/ondemand" --swfVfy "http://neulion.vo.llnwd.net/o37/espn/player/espnplayer/static/flex/console.swf" --playpath "88998/espn/2012/04/30/176-21492/web-encodes/463203_espn3_1800k/463203_espn3_1800k.mp4" --auth "da.bvc1dWcnataUbraNcDbucZbxcnbMcRb6-bpORwF-O-3zwqELGCz-p9qes4sej8.kemfnorcnlsqk4mbsombtop3qctptmkmk3nomfr 8m7r3k8margm8scqqq8sdsfkokam7m3r9m6rek5mhr9m3s8pcq 3s8se" --port 1935 -o out.mp4 --protocol 1 --pageUrl "http://www.espnplayer.com/espnplayer/xgames" --verbose

let me know if you wish to try and i will send the credentials on PM.

thanks

Bahman
05-03-2012, 11:46 AM
The problem is that Auth string is valid only for few secs!! You should use sth instead of copy and pasting auth strings!! I tried rtmpsuck and worked:
rtmpdump -r "rtmp://cp88998.edgefcs.net:1935/ondemand" -a "ondemand?auth=da.cRaFdRc3aAbPbnaIbsd6cRdVa1aZdcaA-bpOSnY-O-5xuqzLICw-k9men3rerdmfqankkcmlpgm2k8mbocqmk3m5olrfrcm5q8malq mmp4m6kbnnpmpak8npoprhr7m8qam2kal5pfm3khm9o3p9kcm3 n7rg&aifp=v0001&slist=88998/espn/2012/04/30/176-21492/web-encodes/463203_espn3&ct5=03-May-12&ct6=208.92.36.18&ct7=21056843:FMS_CLOUD&ct8=39&ct1=espn_us&ct3=6675A4B9-047B-0A75-35DC-13BC42FE9005&ct4=espn_us" -f "WIN 11,2,202,228" -W "http://neulion.vo.llnwd.net/o37/espn/player/espnplayer/static/flex/console.swf" -p "http://www.espnplayer.com/espnplayer/xgames" --live -y "mp4:88998/espn/2012/04/30/176-21492/web-encodes/463203_espn3_400k/463203_espn3_400k.mp4" -o "463203_espn3_400k.mp4.flv"

RTMP Proxy Server v2.4 GIT-2012-02-24 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : ondemand?auth=da.cRaFdRc3aAbPbnaIbsd6cRdVa1aZdcaA-bpOSnY-O-5xuqzLIC
w-k9men3rerdmfqankkcmlpgm2k8mbocqmk3m5olrfrcm5q8malq mmp4m6kbnnpmpak8npoprhr7m8qa
m2kal5pfm3khm9o3p9kcm3n7rg&aifp=v0001&slist=88998/espn/2012/04/30/176-21492/web-
encodes/463203_espn3&ct5=03-May-12&ct6=208.92.36.18&ct7=21056843:FMS_CLOUD&ct8=3
9&ct1=espn_us&ct3=6675A4B9-047B-0A75-35DC-13BC42FE9005&ct4=espn_us
flashVer : WIN 11,2,202,228
swfUrl : http://neulion.vo.llnwd.net/o37/espn/player/espnplayer/static/flex/
console.swf
tcUrl : rtmp://cp88998.edgefcs.net:1935/ondemand?auth=da.cRaFdRc3aAbPbnaIbs
d6cRdVa1aZdcaA-bpOSnY-O-5xuqzLICw-k9men3rerdmfqankkcmlpgm2k8mbocqmk3m5olrfrcm5q8
malqmmp4m6kbnnpmpak8npoprhr7m8qam2kal5pfm3khm9o3p9 kcm3n7rg&aifp=v0001&slist=8899
8/espn/2012/04/30/176-21492/web-encodes/463203_espn3&ct5=03-May-12&ct6=208.92.36
.18&ct7=21056843:FMS_CLOUD&ct8=39&ct1=espn_us&ct3=6675A4B9-047B-0A75-35DC-13BC42
FE9005&ct4=espn_us
pageUrl : http://www.espnplayer.com/espnplayer/xgames
ERROR: Handshake failed
Closing connection... done!

live : yes
Playpath : mp4:88998/espn/2012/04/30/176-21492/web-encodes/463203_espn3_400k/4
63203_espn3_400k.mp4
Saving as : 463203_espn3_400k.mp4
WARNING: ignoring too small audio packet: size: 0
INFO: Metadata:
INFO: duration 11177.17
INFO: moovPosition 40.00
INFO: width 320.00
INFO: height 180.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 66.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 29.97
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: tags:
INFO: ©too Lavf52.84.0
INFO: trackinfo:
INFO: length 335314980.00
INFO: timescale 30000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 536504320.00
INFO: timescale 48000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 1005944940.00
INFO: timescale 90000.00
INFO: language und
INFO: sampledescription:
INFO: length 536509440.00
INFO: timescale 48000.00
INFO: language und
INFO: sampledescription:

;)

nonsens3
05-03-2012, 12:32 PM
I owe you a beer!!!

rtmpsrv - I couldn't start it on Mac OS X, but I installed Ubuntu on a VM, ran rtmpsrv - it gave me the URL.

I switched 400k to 1800k and now I am downloading the highest quality.

I am not sure why rtmpdump didn't run inside the VM though - I had to run rtmpdump from the host OS (Mac OS X), after getting the URL from the VM's rtmpsrv :)

Thanks man!

Have a good day/evening!