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

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

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

streamuser 10-10-2014 06:35 PM

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?

hasomaso 10-10-2014 06:39 PM

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


 
login:
pass:

streamuser 10-10-2014 06:43 PM

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


 
Quote:

Originally Posted by hasomaso (Post 71398)
login:
pass:

I PMed you mate.

hasomaso 10-10-2014 06:52 PM

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


streamuser 10-10-2014 07:12 PM

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?

hasomaso 10-10-2014 07:26 PM

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


 
Quote:

Originally Posted by streamuser (Post 71401)
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]


All times are GMT -6. The time now is 02:37 PM.