Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-07-2011, 04:47 AM
cb24 cb24 is offline
Junior Member
 
Join Date: Jan 2011
Location: Bangalore
Posts: 1
cb24 is on a distinguished road
Default

How to use rtmpdump for rtmp url coming from FMS?


Hi All,

This is my first post .

I was using rtmpdump to download rtmpurls under Linux. But ...
Currently, one of my friend is encoding Live stream using FMLE (Flash Media Live Encode), and pushing to FMS (Flash media sever).

FMS is streaming the same using rtmp.
I am confirmed that using, JWPlayer Wizard .

There it played well, The url looks like this,

rtmpserver : rtmp://192.168.1.12/live
Streamname: livestream

Equivalent Javascript code to play is
Code:
<script type='text/javascript' src='swfobject.js'></script>
 
<div id='mediaspace'>This text will be replaced</div>
 
<script type='text/javascript'>
  var so = new SWFObject('player.swf','mpl','470','290','9');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','livestream');
  so.addVariable('streamer','rtmp://192.168.1.12/live');
  so.write('mediaspace');
</script>
.

Also,



Code:
C:\Users\Owner\Downloads\rtmpdump-2.3>rtmpdump.exe -r "rtmp://192.168.1.12/live" -o sample.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a playpath (--playpath) or url (-r "rtmp://host[:port]/playpath") containing a playpath

C:\Users\Owner\Downloads\rtmpdump-2.3>
When i only used application Name,
Code:
C:\Users\Owner\Downloads\rtmpdump-2.3>rtmpdump.exe -r "rtmp://192.168.1.12/live/livestream" -o sample.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound

C:\Users\Owner\Downloads\rtmpdump-2.3>
When i used both app, stream name i got above error.

Code:
C:\Users\Owner\Downloads\rtmpdump-2.3>rtmpdump.exe -r "rtmp://192.168.1.12/live/_definst_/livestream" -o sample.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound

C:\Users\Owner\Downloads\rtmpdump-2.3>rtmpdump.exe -r "rtmp://192.168.1.12/live/_definst_" -o sample.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.StreamNotFound

C:\Users\Owner\Downloads\rtmpdump-2.3>rtmpdump.exe -r "rtmp://192.168.1.12/_definst_/live" -o sample.flv
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

C:\Users\Owner\Downloads\rtmpdump-2.3>
.

Can anybody tell me what should be the actual URL to be given to rtmpdump?

Thanks
Reply With Quote
  #2  
Old 01-07-2011, 06:40 AM
Stream Recorder
 
Posts: n/a
Default

Re: How to use rtmpdump for rtmp url coming from FMS?


When you download live streams, you need to use the following switch:
Code:
--live|-v               Save a live stream, no --resume (seeking) of live streams possible
Another problem is that 192.168.0.0 – 192.168.255.255 IP addresses are common in home and office local area networks (LANs). These addresses are private because they are not globally delegated, meaning they aren't allocated to a specific organization. If such a private network needs to connect to the Internet, it must use either a network address translator (NAT) gateway, or a proxy server. So if you are trying to use rtmpdump outside your LAN, you will fail.

rtmpdump comes with rtmpsrv and rtmpsuck that can be used for finding RTMP parameters that are needed to be used with rtmpdump. So just try to use them.
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:51 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons