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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 
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 11:05 PM.


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