View Single Post
  #8  
Old 06-05-2017, 08:27 AM
Denn1s Denn1s is offline
Junior Member
 
Join Date: Aug 2015
Posts: 29
Denn1s is on a distinguished road
Default

Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.


Quote:
Originally Posted by troller12 View Post
Hi,

Code:
--swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32 bytes)
so if I see your SHA256 hash paramter then I see you didnt use 64 puts.A SHA256 hash has a lenght of 32 bytes = 64 puts.Your string dosent have 64 puts.Just check this hash again and use the right lenght / puts.If this paramter is needed in your case (Size of the decompressed SWF file too in hex) and its wrong then it can happens that the stream only works for some seconds only.You can also have a look into the swfinfo file if rtmpdump did created it already in the past (call any stream with -W "swf link" instead with -s ) there you can also find the hashes infos & swf sizes like this...
Code:
url: http://flowplayer.blacktrash.org/flowplayer-3.2.18.swf
ctim: Wed, 26 Apr 2017 16:20:12 GMT
date: Fri, 21 Aug 2015 21:46:43 GMT
size: 0003e1de
hash: 87a5f556a8b9e1861aea553cb1e1ab635c5a687ea0d59cc2acb8e32495478c0e
So in your case just try it again with the right lenght for your sportstream365 site. So I did check this site and did choose any channel and the hash you do use is also wrong but the size if right.Below a example of a working stream.
Code:
-r "rtmpe://93.189.57.254/xlive" 
-a "xlive" 
-s "http://sportstream365.com/swf/VideoPlayer.swf" 
-w "5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4"
-x "585534"
-p "http://sportstream365.com/" 
-C S:client 
-C S:3.1.0.10 
-C S:en 
--live 
-y "raw:571195"
PS: Next time just post also the stream infos where you did grab the stream so then I dont need to check my stream logs.

greetz

Hi, about sportstream365, how did you calculate the size? I guess that it's changed something, because before i was able do download from that site... they changed SWF (http://sportstream365.com/getZone/Vi...portstream.swf) but i guess that i do something wrong with hash (using openssl) and with size (using JPEXS).

This was what worked to me until last week

Quote:
rtmpdump -r "rtmpe://93.189.57.254/xlive" -a "xlive" -f "WIN 23,0,0,162" -s "http://sportstream365.com/swf/VideoPlayer.swf" -w "5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6 a932643554ccbb4" -x "585534" -p "http://sportstream365.com/viewer?game=116000031" -C S:client -C S:3.1.0.10 -C S:en --live -y "raw:593492" -o "2017.flv"
I recalculated hash and size, changed the swf url but i cant make it work again... any suggestion?
Reply With Quote