Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

streamhq.tv - How to download rtmp:// stream with rtmpdump

(http://stream-recorder.com/forum/showthread.php?t=9732)

nullacht 09-16-2011 11:20 AM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
Quote:

Originally Posted by MaxMustermann (Post 32477)
Did they change something?

Code:

rtmpdump -r "rtmp://50.23.65.25/hdcaster/101324" -W "http://hdcaster.net/player.swf" -o 101324.flv --live -T "%Xr8e(nKa@#."

MaxMustermann 09-16-2011 11:37 AM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
That's it, I forgot the token. Thank you :)

MaxMustermann 09-16-2011 12:54 PM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
Another question. How did you get the token out of the swf? Wiicast seems to use one too. Is there a pattern I have to search for?

Code:

rtmp://live.wii-cast.tv/pub playpath=dfg5yrhhhh swfUrl=http://www.wii-cast.tv/player/wiicast.swf pageUrl=http://www.wii-cast.tv/embed.php?channel=dfg5yrhhhh&vw=610&vh=360&domain=www.wii-cast.tv live=true

matrixxx 09-16-2011 05:53 PM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
You may use a SWF Decompiler to find the token.

nullacht 09-17-2011 02:33 AM

Wii-Cast.tv


 
Code:

http://www.wii-cast.tv/player/player_secure.swf
Code:

("secureTokenResponse", null, TEA.decrypt(evt.info.secureToken, "#ed%h0#w@1"));
Code:

rtmpdump -r "rtmp://174.37.61.85/pub/dfg5yrhhhh" -W "http://www.wii-cast.tv/player/player_secure.swf" -p "http://www.wii-cast.tv/embed.php?channel=dfg5yrhhhh" -o dfg5yrhhhh.flv --live -T "#ed%h0#w@1"

MaxMustermann 09-17-2011 04:53 AM

Re: Wii-Cast.tv


 
Thank you very much :) You're great. I couldn't get the token from swf source. It's encoded in base64 and after decoding it, I had lots of python unicode trouble. It took me hours to get some readable text, but I couldn't detect the token.

MaxMustermann 09-17-2011 10:45 AM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
The token is wrong for this link:
Code:

rtmp://173.192.81.189/streamhq/108258 live=true swfUrl=http://streamhq.tv/player/player.swf pageUrl=http://streamhq.tv/player.php?channel_id=108258&width=700&height=480 token=%Xr8e(nKa@#.
Can you please help me again, nullacht?

mckv 09-17-2011 12:58 PM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
MaxMustermann, i'm not seeing any token in there.

you can also use RABCDAsm to decompile the swf https://github.com/CyberShadow/RABCDAsm/downloads
(using powershell)
.\abcexport.exe .\player.swf
.\rabcdasm.exe .\player-0.abc
cd .\player-0
dir -recurse | select-string -pattern "secureTokenResponse"
then check the files it finds

MaxMustermann 09-18-2011 06:57 AM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
Strange, I can download with rtmpsuck, but xbmc stops the stream after a few seconds.

This is how I open the stream with xbmc:
Code:

rtmp://173.192.81.189/streamhq/108512 live=true swfUrl=http://streamhq.tv/player/player.swf pageUrl=http://streamhq.tv/player.php?channel_id=108512&width=620&height=360
1.
Code:

14:54:30 T:1300  ERROR: RTMP_HashSWF: couldn't contact swfurl http://streamhq.tv/player/player.swf (HTTP error 302)
2. starts playing

3.
Code:

14:54:41 T:1300  ERROR: RTMP_ReadPacket, failed to read RTMP packet header
4. suddenly stops

karlo2105 09-19-2011 09:01 AM

Re: streamhq.tv - How to download rtmp:// stream with rtmpdump


 
Quote:

Originally Posted by matrixxx (Post 32559)
You may use a SWF Decompiler to find the token.

OK I get it how to obtain SWF Token with online SWF decompiler. You download source once you already decompiled SWF player and you look for "securetoken" in text file. It's like this "#ed%h0#w@1".
Online SWF Decompiler to get token


All times are GMT -6. The time now is 07:25 PM.