PDA

View Full Version : h*-streaming.tv 'failed to read RTMP packet header'


streamuser
10-10-2014, 06:35 PM
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!

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&streamType=live&autoPlay=true" -y "channel1" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -

Gives me this result

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
login:
pass:

streamuser
10-10-2014, 06:43 PM
login:
pass:

I PMed you mate.

hasomaso
10-10-2014, 06:52 PM
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


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

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

http://i.imgur.com/qULpq5N.png

streamuser
10-10-2014, 07:12 PM
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
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]