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

videostream.dn - failed to read RTMP packet header

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

sinanksu 06-07-2017 02:47 AM

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 (Post 89971)
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



Denn1s 06-07-2017 01:34 PM

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


 
-s "http://sportstream365.com/getZone/VideoPlayerSportstream.swf"
-w "D42335EE990A4841D741C40525FD316E9FF96188FA062F684 03104463405B4F3"
-x "575927"

sinanksu 06-29-2017 04:45 AM

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


 
Quote:

Originally Posted by Denn1s (Post 92057)
-s "http://sportstream365.com/getZone/VideoPlayerSportstream.swf"
-w "D42335EE990A4841D741C40525FD316E9FF96188FA062F684 03104463405B4F3"
-x "575927"

Quote:

Originally Posted by mckv (Post 89971)
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

troller12 06-29-2017 09:50 AM

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

Gert11 08-15-2017 01:08 AM

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.

Gert11 08-15-2017 05:41 AM

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.


All times are GMT -6. The time now is 04:36 AM.