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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-06-2014, 04:40 PM
nostromo nostromo is offline
Junior Member
 
Join Date: Oct 2014
Posts: 9
nostromo is on a distinguished road
Default

ERROR: RTMP_ReadPacket, failed to read RTMP packet header


I'm trying to receive live stream video from a site of a regional TV company.
I run
Code:
rtmpdump -v -r rtmp://ntk-origin2.cdn.ngenix.net:1935/live/_definst_/9tv-orb_ -W http://kuban24.tv/bundles/frontend/js/flowplayer-3.2.5.swf -p http://kuban24.tv/tv/ -z
with -z option and I get ERROR: RTMP_ReadPacket, failed to read RTMP packet header.
What's wrong?
Attached Files
File Type: txt rtmpdump.txt (11.6 KB, 0 views)
Reply With Quote
  #2  
Old 10-06-2014, 05:11 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Your datas are wrong.Also your playpath is not complete.Try this below.
Code:
-v
-r "rtmp://ntk-live.cdn.ngenix.net/slive/_definst_/" 
-a "slive/_definst_/"
-W "http://kuban24.tv/bundles/frontend/js/flowplayer-3.2.5.swf" 
-y "mp4:9tv-orb?t=1412632809&h=wHR0kJM1683OpDp8ZLxV4Q=="
-o "out.flv"
greetz
Reply With Quote
  #3  
Old 10-06-2014, 05:31 PM
nostromo nostromo is offline
Junior Member
 
Join Date: Oct 2014
Posts: 9
nostromo is on a distinguished road
Default

Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Quote:
Originally Posted by troller12 View Post
Your datas are wrong.Also your playpath is not complete.Try this below.
Code:
-v
-r "rtmp://ntk-live.cdn.ngenix.net/slive/_definst_/" 
-a "slive/_definst_/"
-W "http://kuban24.tv/bundles/frontend/js/flowplayer-3.2.5.swf" 
-y "mp4:9tv-orb?t=1412632809&h=wHR0kJM1683OpDp8ZLxV4Q=="
-o "out.flv"
greetz
Another error: Closing connection: NetStream.Play.StreamNotFound
Attached Files
File Type: txt rtmpdump_1.txt (14.3 KB, 0 views)
Reply With Quote
  #4  
Old 10-06-2014, 05:41 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Yes you need to refresh the playpath which is dynamic.Just reload the site to get the new session playpath.
Code:
-y "mp4:9tv-orb?t=1412635103&h=/p3er68fn+zbn9wbschbxg=="
This part below...
Code:
?t=1412635103&h=/p3er68fn+zbn9wbschbxg==
...before it was...
Code:
?t=1412632809&h=whr0kjm1683opdp8zlxv4q==
greetz
Reply With Quote
  #5  
Old 10-07-2014, 01:54 AM
nostromo nostromo is offline
Junior Member
 
Join Date: Oct 2014
Posts: 9
nostromo is on a distinguished road
Default

Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Thank a lot for your advice. It works. I add curl and grep subcommands on my Linux system for extract current dynamic part and it's successful:
Code:
rtmpdump -v -r "rtmp://ntk-live.cdn.ngenix.net/slive/_definst_/" -a "slive/_definst_/" -W "http://kuban24.tv/bundles/frontend/js/flowplayer-3.2.5.swf" -y "$(curl -s http://kuban24.tv/tv/ | grep -o "mp4:9tv-orb[^\"]*")"
Could you help me again with other site? I use the same way with dynamic part detection,
Code:
rtmpdump -v -r "rtmp://ua4.parom.tv:1935/stream/" -a "stream/" -W "http://ru.parom.tv/player.swf" -p "http://ru.parom.tv/ru/1tv" -y "$(curl -s http://ru.parom.tv/ru/1tv | grep -Po "file=\K[^\&]*")"
but I get the same error RTMP_ReadPacket, failed to read RTMP packet header. What's wrong?
P.S. Sorry for my bad English.
Attached Files
File Type: txt rtmpdump_2.txt (10.2 KB, 0 views)
Reply With Quote
  #6  
Old 10-08-2014, 02:23 PM
nostromo nostromo is offline
Junior Member
 
Join Date: Oct 2014
Posts: 9
nostromo is on a distinguished road
Default

Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Quote:
Originally Posted by nostromo View Post
Could you help me again with other site? I use the same way with dynamic part detection,
Code:
rtmpdump -v -r "rtmp://ua4.parom.tv:1935/stream/" -a "stream/" -W "http://ru.parom.tv/player.swf" -p "http://ru.parom.tv/ru/1tv" -y "$(curl -s http://ru.parom.tv/ru/1tv | grep -Po "file=\K[^\&]*")"
but I get the same error RTMP_ReadPacket, failed to read RTMP packet header. What's wrong?
P.S. Sorry for my bad English.
I already decompiled http://ru.parom.tv/player.swf via ffdec, but there's not SecureToken in it. Other ideas how can I get this stream? What's wrong? Why I get ERROR: RTMP_ReadPacket, failed to read RTMP packet header? Please help me.
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 12:26 AM.


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