ERROR: RTMP_ReadPacket, failed to read RTMP packet header1 Attachment(s)
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 What's wrong? |
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerYour datas are wrong.Also your playpath is not complete.Try this below.
Code:
-v |
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header1 Attachment(s)
Quote:
|
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerYes 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==" Code:
?t=1412635103&h=/p3er68fn+zbn9wbschbxg== Code:
?t=1412632809&h=whr0kjm1683opdp8zlxv4q== |
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet header1 Attachment(s)
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[^\"]*")" 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[^\&]*")" P.S. Sorry for my bad English. |
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerQuote:
|
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerworks fine...!
Code:
rtmpdump -v -r "rtmp://ntk-live.cdn.ngenix.net/slive/_definst_/" -a "slive/_definst_/" -f "WIN 15,0,0,167" -W "http://kuban24.tv/bundles/frontend/js/flowplayer-3.2.5.swf" -p "http://kuban24.tv/tv/" -y "mp4:9tv-orb?t=1412796614&h=5r5M83V9SAfnxxcBx9/z4g==" -o "output.flv" Code:
RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV) ![]() |
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerQuote:
|
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerplaypath line change every seconds that is the problem..!
Code:
rtmpdump -v -r "rtmp://ua4.parom.tv:1935/stream/" -a "stream/" -f "WIN 15,0,0,167" -W "http://ru.parom.tv/player.swf" -p "http://ru.parom.tv/ru/1tv" -y "stream237?87" -o "output.flv" Code:
RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV) ![]() |
Re: ERROR: RTMP_ReadPacket, failed to read RTMP packet headerhasomaso,
It's intresting. When I watch network traffic via Wireshark I also see that the playpath (file) variable always changed, but it's always stream237?s=<big hex value (34 digits)>. You wrote -y "stream237?87". How you find it? Do you transform the big hex value after s= or do something else? |
All times are GMT -6. The time now is 07:58 PM. |