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-10-2014, 07:35 PM
streamuser streamuser is offline
Junior Member
 
Join Date: Oct 2014
Posts: 3
streamuser is on a distinguished road
Default

h*-streaming.tv 'failed to read RTMP packet header'


I'm a member of this site but their player can be poor when it encounters lag. I changed the buffer value to 30 seconds in the HTML, but even with a buffer if there's lag the steam will eventually stutter. I'm guessing that is the fault of RTMP. I'm hoping running it through VLC might fix this, but I can't even get it working!

Quote:
rtmpdump -r "rtmp-raw=rtmp://94.102.48.81:443/live?s=6hfu0" -w "rtmp://94.102.48.81:443/live/channel1%3Fs%3D6hfu0&controlBarAutoHideTimeout=1&s treamType=live&autoPlay=true" -y "channel1" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
Gives me this result

Quote:
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
0.000 kB / 0.00 sec
Any ideas?

Last edited by streamuser : 10-10-2014 at 10:34 PM. Reason: edits!
Reply With Quote
  #2  
Old 10-10-2014, 07:39 PM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: h*-streaming.tv 'failed to read RTMP packet header'


login:
pass:
Reply With Quote
  #3  
Old 10-10-2014, 07:43 PM
streamuser streamuser is offline
Junior Member
 
Join Date: Oct 2014
Posts: 3
streamuser is on a distinguished road
Default

Re: h*-streaming.tv 'failed to read RTMP packet header'


Quote:
Originally Posted by hasomaso View Post
login:
pass:
I PMed you mate.
Reply With Quote
  #4  
Old 10-10-2014, 07:52 PM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: h*-streaming.tv 'failed to read RTMP packet header'


u can use network and file caching on your parameter
i use 10000 is the best performens for me

--network-caching=10000 --file-caching=10000


Code:
rtmpdump -v -r "rtmp://5.63.145.149:443/live" -a "live?s=6hfu0" -f "WIN 15,0,0,167" -W "http://hd-streaming.tv/sites/default/modules/sitemodule/flash/player.swf" -p "http://hd-streaming.tv/watch/livehds" -y "channel1?s=6hfu0" | c:\progra~1\videolan\vlc\vlc - --network-caching=10000 --file-caching=10000
Code:
RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   Server                  NGINX RTMP (github.com/arut/nginx-rtmp-module)
INFO:   width                   1280.00
INFO:   height                  720.00
INFO:   displayWidth            1280.00
INFO:   displayHeight           720.00
INFO:   duration                0.00
INFO:   framerate               50.00
INFO:   fps                     50.00
INFO:   videodatarate           0.00
INFO:   videocodecid            7.00
INFO:   audiodatarate           250.00
INFO:   audiocodecid            10.00
8261.956 kB / 2925.77 sec
Reply With Quote
  #5  
Old 10-10-2014, 08:12 PM
streamuser streamuser is offline
Junior Member
 
Join Date: Oct 2014
Posts: 3
streamuser is on a distinguished road
Default

Re: h*-streaming.tv 'failed to read RTMP packet header'


hasomaso mate you're a star!!! Working perfectly.

I'm going to play around with some bandwidth restriction and different cache values. Hopefully that will fix the stutter.

--network-caching=10000 --file-caching=10000

Are these values for ms, bytes, bits?
Reply With Quote
  #6  
Old 10-10-2014, 08:26 PM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

Re: h*-streaming.tv 'failed to read RTMP packet header'


Quote:
Originally Posted by streamuser View Post
hasomaso mate you're a star!!! Working perfectly.

I'm going to play around with some bandwidth restriction and different cache values. Hopefully that will fix the stutter.

--network-caching=10000 --file-caching=10000

Are these values for ms, bytes, bits?

streamuser

[ms]
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 10:07 AM.


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