View Single Post
  #8  
Old 03-31-2012, 12:15 PM
erbe erbe is offline
Junior Member
 
Join Date: Mar 2012
Posts: 1
erbe is on a distinguished road
Default

Re: Problem with rtmpdump+rtmpsrv


you simply need to remove the iptables reroute you put in there... I don't know how to do it so I just rebooted and ran the rtmpdump command rtmpsrv provided and it worked. if anyone knows the command for that I'd like to know

Quote:
Originally Posted by Eric C. View Post
Hi

I'm using rtmpsrv to get the stream url for this stream
http://ec.europa.eu/avservices/ebs/live.cfm?page=1

I'm on Linux so I first start rtmpsrv, then (as root) do a
Code:
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
Then load the above page

This gives me the stream URL
Code:
rtmpdump -r "rtmp://c14005-l.z.core.cdn.streamfarm.net/rtplive" -a "rtplive" -f "LNX 10,3,183,10" -W "http://ec.europa.eu/avservices/mediaplayer/player.swf" -p "http://ec.europa.eu/avservices/ebs/live.cfm?page=1" -y "14005dgcom/live/3916ebs/ebs_stream01.sdp" -o ebs_stream01.flv
running the above command fails with
Code:
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)
Adding -c 80 (which helped in the past for "connection refused" errors
then gives me an
Code:
ERROR: rtmp server sent error
ERROR: rtmp server requested close
What can I do?
Reply With Quote