PDA

View Full Version : Recording rtmp stream. It's confusing me :/


dmbekker
06-30-2012, 01:01 PM
Hey!

I'm trying to record a video stream (JWplayer at http://slamtv.nl/) I've googled a bit around but everything I find is unclear to me or doesn't work. I hope one of you can help me out.

The rtmp stream url is rtmp://82.201.53.52:80/livestream and the url of the swf player is http://ipad.radio538.nl/slamfm/player.swf


<object type="application/x-shockwave-flash" data="http://ipad.radio538.nl/slamfm/player.swf" width="100%" height="100%" bgcolor="#000000" id="playertv1" name="playertv1" tabindex="0">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="seamlesstabbing" value="true">
<param name="wmode" value="opaque">
<param name="flashvars" value="netstreambasepath=http%3A%2F%2Fwww.slamfm.nl%2Fpag e%2Ftvhome&amp;id=playertv1&amp;file=slamtv&amp;streamer=rtmp% 3A%2F%2F82.201.53.52%3A80%2Flivestream&amp;autostart=t rue&amp;controlbar.position=bottom">
</object>


Sincerely,
David

hasomaso
06-30-2012, 01:31 PM
hello,

rtmpdump -v -r "rtmp://82.201.53.52:80/livestream/slamtv" -W "http://ipad.radio538.nl/slamfm/player.swf" -p "http://www.slamfm.nl/page/tvhome" -y "slamtv" -o "output.flv"

dmbekker
06-30-2012, 02:35 PM
Thank you. It works for some time (10 - 20 minuts) but then I get this

ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 2483
and it stops recording. I got this twice now.

how can I fix this error?

hasomaso
06-30-2012, 03:12 PM
Thank you. It works for some time (10 - 20 minuts) but then I get this

ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 2483
and it stops recording. I got this twice now.

how can I fix this error?


hi,

i have tested 40 minutes and runs without problems

dmbekker
06-30-2012, 04:22 PM
I've tested it on another server and indeed. It runs fine there..

But is there a way to fix the problem? I'd like to record it on that server.