Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Problem with rtmpdump+rtmpsrvHi
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 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 Code:
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused) then gives me an Code:
ERROR: rtmp server sent error ERROR: rtmp server requested close |
#2
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvadd "--live" :
Code:
rtmpdump -r "rtmp://46.18.240.72:80/rtplive/" -a "rtplive/" -W "http://ec.europa.eu/avservices/mediaplayer/player.swf" --live -y "14005dgcom/live/3916ebs/ebs_stream01.sdp" -o ebs_stream01.flv Code:
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Starting Live Stream INFO: Metadata: INFO: width 512.00 INFO: height 288.00 INFO: audiochannels 1.00 INFO: audiosamplerate 22050.00 60.878 kB / 0.64 sec |
#3
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvYour command works, but there's more difference than just the "--live".
My problem starts with the IP adress adress you used. How do you get this? When I ping "c14005-l.z.core.cdn.streamfarm.net", I get "46.18.244.31" not the "46.18.240.72" you have |
#4
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvAfter getting Verbose from command:
Code:
DEBUG: (object begin) DEBUG: Property: <Name: redirect, STRING: rtmp://46.18.240.44:80/rtplive> DEBUG: Property: <Name: code, NUMBER: 302.00> DEBUG: (object end) 46.18.240.44 |
#5
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvhow to using rtmpsrv to get the stream url for this stream ????
|
#6
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvHey again (I'm the OP)
I'm having problems again with the stream, url is http://ec.europa.eu/avservices/ebs/live.cfm?page=1 . The redirect seems to be gone, at least I don't see it in the verbose call The error message I get is Code:
ERROR: Closing connection: NetStream.Play.StreamNotFound Code:
rtmpdump -r "rtmp://x3916ebstdc14005.f.l.f.lb.core-cdn.net/14005dgcom" -a "14005dgcom" -f "LNX 11,1,102,63" -W "http://ec.europa.eu/avservices/mediaplayer/player.swf" -p "http://ec.europa.eu" -y "live/3916ebstd/ebs_or_500" -o ebs_or_500.flv |
#7
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvadd --live or -v:
Code:
rtmpdump -r "rtmp://x3916ebstdc14005.f.l.f.lb.core-cdn.net/14005dgcom" -a "14005dgcom" -W "http://ec.europa.eu/avservices/mediaplayer/player.swf" -p "http://ec.europa.eu" --live -y "live/3916ebstd/ebs_or_500" -o ebs_or_500.flv Code:
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Starting Live Stream INFO: Metadata: INFO: duration 0.00 INFO: width 512.00 INFO: height 288.00 INFO: videodatarate 0.00 INFO: framerate 90000.00 INFO: videocodecid 7.00 INFO: audiodatarate 31.25 INFO: audiosamplerate 48000.00 INFO: audiosamplesize 16.00 INFO: stereo FALSE INFO: audiocodecid 10.00 INFO: encoder Lavf54.1.100 INFO: filesize 0.00 0.370 kB / 0.00 sec |
#8
|
|||
|
|||
Re: Problem with rtmpdump+rtmpsrvyou 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:
|
Tags: rtmpdump, rtmpsrv |
Thread Tools | |
Display Modes | |
|
|