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

RTMPE stream recording/downloading/capturing/ripping/saving

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

Denn1s 09-26-2016 11:15 AM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Hello, before all, sorry for my bad english.
Since last week i am not able anymore to use rtmpdump with site "sportstream365.com". Before i was using RTMPdumphelper and I had no problem at all.

Now i get this



I read a lot of posts on the forum and I thought that the message "failed to read RTMP packet header" comes when there is a token to insert in RTMPdump. I saved the player swf (videoplayer.swf in this case) and i decompiled it with JPEXS Free Flash Decompiler. I looked for the securetoken inside the decomipled code but i could not find it...
but I am not sure if i did everything right... anyone who is more expert than me could help? To try is enough to pick any game in "sportstream365.com" Maybe the SWF is obfuscated? But i was able to read everything inside.... or maybe there is a different problem...

Thx to everyone who will help me :)

Denn1s 09-28-2016 04:41 AM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by Denn1s (Post 87803)
Hello, before all, sorry for my bad english.
Since last week i am not able anymore to use rtmpdump with site "sportstream365.com". Before i was using RTMPdumphelper and I had no problem at all.

Now i get this



I read a lot of posts on the forum and I thought that the message "failed to read RTMP packet header" comes when there is a token to insert in RTMPdump. I saved the player swf (videoplayer.swf in this case) and i decompiled it with JPEXS Free Flash Decompiler. I looked for the securetoken inside the decomipled code but i could not find it...
but I am not sure if i did everything right... anyone who is more expert than me could help? To try is enough to pick any game in "sportstream365.com" Maybe the SWF is obfuscated? But i was able to read everything inside.... or maybe there is a different problem...

Thx to everyone who will help me :)

I managed to solve! There was not a token, but the code was partially obfuscated so the -W in rtmpdump calculates wrong informations :) I inserted the recalculated swfsize and the correct swfhash and it worked at third try... no idea why it didn't work the first 2 tough :D

serhii 10-12-2016 08:49 AM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by Denn1s (Post 87826)
I managed to solve! There was not a token, but the code was partially obfuscated so the -W in rtmpdump calculates wrong informations :) I inserted the recalculated swfsize and the correct swfhash and it worked at third try... no idea why it didn't work the first 2 tough :D

Denn1s How did you recalculate swfsize and swhash? Can you provide a full command line for rtmpdump?

interman_1 10-14-2016 04:59 AM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Can anyone help me with this rtmpe? I can't find the path to the stream.
http://freehdsport.com/bt2.html

Denn1s 10-16-2016 01:38 PM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by serhii (Post 88072)
Denn1s How did you recalculate swfsize and swhash? Can you provide a full command line for rtmpdump?

I had to use JPEXS Free Flash Decompiler. JPEXS was able to see the bytecode which was obfuscated and it gave me the right size. FLASM was not able to decompress the SWF. Then with JPEXS i saved the decompressed SWF, and i calculated the hash on the decompressed SWF with OPENSSL

Denn1s 10-16-2016 01:42 PM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by interman_1 (Post 88121)
Can anyone help me with this rtmpe? I can't find the path to the stream.
http://freehdsport.com/bt2.html

What's the problem, i used RTMPDumpHelper and it worked at first try.

serhii 10-16-2016 07:28 PM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by Denn1s (Post 88163)
I had to use JPEXS Free Flash Decompiler. JPEXS was able to see the bytecode which was obfuscated and it gave me the right size. FLASM was not able to decompress the SWF. Then with JPEXS i saved the decompressed SWF, and i calculated the hash on the decompressed SWF with OPENSSL

I've calculated hash for decompressed swf file and use this command line:
rtmpdump -r "rtmpe://93.189.62.10/xlive/298624" -a xlive --playpath 298624 -p "http://sportstream365.com/viewer?game=95823507" --swfhash "042af76145f3e90bca539aa9287545988921c41d4b566139a c5dc5a63c48a5df" --swfsize 550665 --swfUrl "http://sportstream365.com/swf/VideoPlayer.swf" -f "WIN 23,0,0,162" -C S:client -C S:3.1.0.10 -C S:en -o test

And have:
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


Resuming download at: 0.000 kB
0.000 kB / 0.00 sec
Download complete

interman_1 10-17-2016 01:24 AM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by Denn1s (Post 88164)
What's the problem, i used RTMPDumpHelper and it worked at first try.

I got it too:
Code:

rtmpe://80.82.78.21/live?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMTcvMjAxNiA3OjE3OjQ5IEFNJmhhc2hfdmFsdWU9M0FvaWhPeGVFOC9IQmF4VGNyOGxoZz09JnZhbGlkbWludXRlcz0xMA==/wQkRfG8ebJ_1116
But when I try playing the stream with JWplayer in my website it's not working.

Edit: I got it working. I had to try another server ip for some reason.

Denn1s 10-17-2016 10:20 AM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by serhii (Post 88172)
I've calculated hash for decompressed swf file and use this command line:
rtmpdump -r "rtmpe://93.189.62.10/xlive/298624" -a xlive --playpath 298624 -p "http://sportstream365.com/viewer?game=95823507" --swfhash "042af76145f3e90bca539aa9287545988921c41d4b566139a c5dc5a63c48a5df" --swfsize 550665 --swfUrl "http://sportstream365.com/swf/VideoPlayer.swf" -f "WIN 23,0,0,162" -C S:client -C S:3.1.0.10 -C S:en -o test

And have:
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
INFO: Connection timed out, trying to resume.


Resuming download at: 0.000 kB
0.000 kB / 0.00 sec
Download complete

Not sure what you did but hash and size are wrong.
You should replace with this: -w "acce61a32c381bdf1f5c00b699aa094643c20aa6f7a14fde1 d3c457e121b0014" -x "534984"

Anyway, if you want to get the result for your satisfaction, you have to do what i said before: decompress with jpexs and save it. and the calculate the hash with openssl :)

serhii 10-17-2016 02:27 PM

Re: RTMPE stream recording/downloading/capturing/ripping/saving


 
Quote:

Originally Posted by Denn1s (Post 88185)
Not sure what you did but hash and size are wrong.
You should replace with this: -w "acce61a32c381bdf1f5c00b699aa094643c20aa6f7a14fde1 d3c457e121b0014" -x "534984"

Anyway, if you want to get the result for your satisfaction, you have to do what i said before: decompress with jpexs and save it. and the calculate the hash with openssl :)

Thank you for your advice. I could start to save stream . But I can save only 2-3 seconds.


All times are GMT -6. The time now is 03:33 PM.