Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 06-07-2017, 03:47 AM
sinanksu sinanksu is offline
Junior Member
 
Join Date: Feb 2017
Posts: 18
sinanksu is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


Hello,

I have helped you swf hash and you in the matter before. You said the right values. Now the swf file on the opposite server has changed. I tried to get new values with your governance. The values I found were unsuccessful.

Can you take a look at it again?

My values are:
size:278423
hash:145efca9f051824fd7ff64d6acfdde05d8a56e93b7169 bc7280a58df3aeeccfd

Old values:
size:278423
hash:145efca9f051824fd7ff64d6acfdde05d8a56e93b7169 bc7280a58df3aeeccfd

Swf files 1:http://sportstream365.com//getZone/V...=1496826333444
Swf files 2:http://1xbahis8.com/getZone/VideoPlayer.swf
Swf files 3:http://sportstream365.com/swf/VideoPlayer.swf

Rtmpdump command:rtmpdump -r rtmpe://93.189.57.254/xlive -a xlive -f WIN 25,0,0,171 -s http://1xbahis8.com/getZone/VideoPlayer.swf -w 145efca9f051824fd7ff64d6acfdde05d8a56e93b7169bc728 0a58df3aeeccfd -x 278423 -p "http://sportstream365.com/viewer?game=107954793" -C S:client -C S:3.1.0.10 -C S:en --live -y raw:652864

output:
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Note: Live broadcast belongs to a sports encounter. So when you look at it, the raw value has passed, so the match may be over.



Quote:
Originally Posted by mckv View Post
librtmp failed to correctly calculate the hash of that swf file due to lzma compression so you need add it manually
Code:
--swfhash=5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4 --swfsize=585534
Code:
PS C:\Users\vm\Downloads> .\RABCDAsm_v1.18\swfdecompress.exe .\VideoPlayer.swf
PS C:\Users\vm\Downloads> $fileBytes = [io.File]::ReadAllBytes("C:\Users\vm\Downloads\VideoPlayer.swf")
PS C:\Users\vm\Downloads> $secret = 'Genuine Adobe Flash Player 001'
PS C:\Users\vm\Downloads> $hmacsha = New-Object System.Security.Cryptography.HMACSHA256
PS C:\Users\vm\Downloads> $hmacsha.key = [Text.Encoding]::ASCII.GetBytes($secret)
PS C:\Users\vm\Downloads> $signature = $hmacsha.ComputeHash($fileBytes)
PS C:\Users\vm\Downloads> -join ($signature | % {"{0:x2}" -f $_})
5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4
PS C:\Users\vm\Downloads> ls .\VideoPlayer.swf


    Directory: C:\Users\vm\Downloads


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       27.02.2017     19:40         585534 VideoPlayer.swf
Reply With Quote
  #12  
Old 06-07-2017, 02:34 PM
Denn1s Denn1s is offline
Junior Member
 
Join Date: Aug 2015
Posts: 29
Denn1s is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


-s "http://sportstream365.com/getZone/VideoPlayerSportstream.swf"
-w "D42335EE990A4841D741C40525FD316E9FF96188FA062F684 03104463405B4F3"
-x "575927"
Reply With Quote
  #13  
Old 06-29-2017, 05:45 AM
sinanksu sinanksu is offline
Junior Member
 
Join Date: Feb 2017
Posts: 18
sinanksu is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


Quote:
Originally Posted by Denn1s View Post
-s "http://sportstream365.com/getZone/VideoPlayerSportstream.swf"
-w "D42335EE990A4841D741C40525FD316E9FF96188FA062F684 03104463405B4F3"
-x "575927"
Quote:
Originally Posted by mckv View Post
librtmp failed to correctly calculate the hash of that swf file due to lzma compression so you need add it manually
Code:
--swfhash=5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4 --swfsize=585534
Code:
PS C:\Users\vm\Downloads> .\RABCDAsm_v1.18\swfdecompress.exe .\VideoPlayer.swf
PS C:\Users\vm\Downloads> $fileBytes = [io.File]::ReadAllBytes("C:\Users\vm\Downloads\VideoPlayer.swf")
PS C:\Users\vm\Downloads> $secret = 'Genuine Adobe Flash Player 001'
PS C:\Users\vm\Downloads> $hmacsha = New-Object System.Security.Cryptography.HMACSHA256
PS C:\Users\vm\Downloads> $hmacsha.key = [Text.Encoding]::ASCII.GetBytes($secret)
PS C:\Users\vm\Downloads> $signature = $hmacsha.ComputeHash($fileBytes)
PS C:\Users\vm\Downloads> -join ($signature | % {"{0:x2}" -f $_})
5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4
PS C:\Users\vm\Downloads> ls .\VideoPlayer.swf


    Directory: C:\Users\vm\Downloads


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       27.02.2017     19:40         585534 VideoPlayer.swf

Hi,

File change..

New hash and size problem..

New file; http://sportstream365.com//getZone/V...=1498731815823
Reply With Quote
  #14  
Old 06-29-2017, 10:50 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


Hi,

the old swf link / hash / size you can still use too.If you want to use the new one....
Code:
sportstream365.com//getZone/VideoPlayerSportstream.swf
50102110F085D9284D7F069E5E3A9150E4A241D7557D6D1F9E460FDF315875C8
611197
greetz
Reply With Quote
  #15  
Old 08-15-2017, 02:08 AM
Gert11 Gert11 is offline
Junior Member
 
Join Date: Aug 2017
Posts: 2
Gert11 is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


Has anyone been able to play cyber sport events? That is those game id's with prefixes "xgame4_". Like "xgame4_825730"

It just hangs there for me...

Code:
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:     Started playing xgame4_825730.>
DEBUG: Property: <Name:            details, STRING:     xgame4_825730>
DEBUG: Property: <Name:           clientid, STRING:     qAAmAkaA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
Starting Live Stream
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
Regular, non "xgame" streams play fine. However, cyber sports just hangs with "DEBUG: HandleCtrl, Stream BufferEmpty 1".

Any ideas? I feel like some additional -C might be missing.
Reply With Quote
  #16  
Old 08-15-2017, 06:41 AM
Gert11 Gert11 is offline
Junior Member
 
Join Date: Aug 2017
Posts: 2
Gert11 is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


Now even regular streams started stuttering with rtmpdump. They work fine via their swf though.

Code:
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
180.306 kB / 0.00 sec
DEBUG: ignoring too small video packet: size: 2
DEBUG: ignoring too small audio packet: size: 0
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
352.411 kB / 1.03 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
393.609 kB / 2.06 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
440.436 kB / 3.12 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
489.830 kB / 4.15 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
516.611 kB / 5.20 sec
What's even more confusing is that some sports work fine, while others don't. Like tennis is ok, but table tennis stutters from the same server.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons