Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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> 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> 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 |
#2
|
|||
|
|||
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 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. |
Tags: adobe, flash, flash media server, fmle, fms, live, rtmpdump, rtmpsrv, rtmpsuck |
Thread Tools | |
Display Modes | |
|
|