PDA

View Full Version : rtmpdump code not working, please help


SeaMonkey
02-13-2013, 04:53 AM
I am trying to access this League of Legends stream and it keeps saying:

The system cannot find the path specified.
'referer' is not recognized as an internal or external command, operable program or batch file.
'userAgent' is not recognized as an internal or external command, operable program or batch file.
'channel' is not recognized as an internal or external command, operable program or batch file.

This is what I entered:

C:\\temp\\rtmp\\rtmpdump.exe" -r "rtmp://justintvlivefs.fplive.net/justintv6live-live/stream_live_user_ongamenet" --swfVfy "http://www-cdn.jtvnw.net/widgets/live_embed_player.r9a56c40377d16693c53ab6ab5b11408 26e303073.swf?channel=ongamenet&referer=&userAgent=&channel=ongamenet" -v -o - | "C:\Program Files (x86)\VideoLAN\VLC.exe" -

This is the info I was given to access it:

CJ Entus vs. MVP
CJ Entus vs. LG-IM
MVP vs. LG-IM

English: http://www.twitch.tv/ongamenet/popout
Korean: http://dostream.lab.so/

1080p: "C:\\temp\\rtmp\\rtmpdump.exe" -r "rtmp://justintvlivefs.fplive.net/justintv6live-live/stream_live_user_ongamenet" --swfVfy "http://www-cdn.jtvnw.net/widgets/live_embed_player.r9a56c40377d16693c53ab6ab5b11408 26e303073.swf?channel=ongamenet&referer=&userAgent=&channel=ongamenet" -v -o - | "C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe" -
720p: "rtmp://justintvlivefs.fplive.net/justintv3live-live/stream_720p_user_ongamenet"
Place rtmpdump.exe in the directory listed/edit it to its location. Do the same with VLC. Copy + paste to notepad, save as .bat. Doubleclick.

Hopefully someone can help me out.

AmazingMatze
02-13-2013, 05:31 AM
The system cannot find the path specified.
'referer' is not recognized as an internal or external command, operable program or batch file.
'userAgent' is not recognized as an internal or external command, operable program or batch file.
'channel' is not recognized as an internal or external command, operable program or batch file.

Batch files require one command per line starting with the command!

pageUrl http://www.twitch.tv/ongamenet/popout
Use RTMPDumpHelper with RTMPSuck

RTMP Proxy Server v2.4 GIT-2012-11-09 (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 : app
flashVer : WIN 11,5,502,146
swfUrl : http://www-cdn.jtvnw.net/widgets/live_site_player.rcaed16db6e2dc530
d070665e03b3a9ee8c58e763.swf?&referer=http://de.twitch.tv/ongamenet/popout&userA
gent=Mozilla/5.0%20(Windows%20NT%206.1;%20rv:18.0)%20Gecko/20100101%20Firefox/18
.0
ERROR: RTMP_HashSWF: couldn't contact swfurl http://www-cdn.jtvnw.net/widgets/li
ve_site_player.rcaed16db6e2dc530d070665e03b3a9ee8c 58e763.swf (HTTP error 302)
tcUrl : rtmp://199.9.255.208/app
pageUrl : http://de.twitch.tv/ongamenet/popout
usherToken : 2058f18439e0e037b3d3d1bd33bdb372c70aa9d3:{"swfDomains": ["justin.tv
", "jtvx.com", "xarth.com", "twitchtv.com", "twitch.tv", "newjtv.com", "jtvnw.ne
t", "wdtinc.com", "imapweather.com", "facebook.com", "starcrafting.com"], "strea
mName": "jtv_4Ge26VWhaXfiDEuO", "expiration": 1360761269.879262, "server": "vide
o12-2.ams01"}
live : no
Playpath : jtv_4Ge26VWhaXfiDEuO
Saving as : jtv_4Ge26VWhaXfiDEuO
INFO: Metadata:
INFO: duration 0.00
INFO: width 640.00
INFO: height 360.00
INFO: videodatarate 500.00
INFO: framerate 30.00
INFO: videocodecid 7.00
INFO: audiodatarate 92.77
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: encoder Lavf54.59.106
INFO: filesize 0.00
WARNING: ignoring too small audio packet: size: 0

rtmpdump -r "rtmp://199.9.255.208/app" -a "app" -f "WIN 11,5,502,146" -W "http://www-cdn.jtvnw.net/widgets/live_site_player.rcaed16db6e2dc530d070665e03b3a9ee 8c58e763.swf" -p "http://de.twitch.tv/ongamenet/popout" --jtv "2058f18439e0e037b3d3d1bd33bdb372c70aa9d3:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\", \"newjtv.com\", \"jtvnw.net\", \"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \"streamName\": \"jtv_4Ge26VWhaXfiDEuO\", \"expiration\": 1360761269.879262, \"server\": \"video12-2.ams01\"}" -y "jtv_4Ge26VWhaXfiDEuO" -o "jtv_4Ge26VWhaXfiDEuO.flv"

RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl http://www-cdn.jtvnw.net/widgets/li
ve_site_player.rcaed16db6e2dc530d070665e03b3a9ee8c 58e763.swf (HTTP error 302)
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 0.00
INFO: width 640.00
INFO: height 360.00
INFO: videodatarate 500.00
INFO: framerate 30.00
INFO: videocodecid 7.00
INFO: audiodatarate 92.77
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: encoder Lavf54.59.106
INFO: filesize 0.00
951.506 kB / 12.22 sec