How to use rtmpdump to load this stream?

I am new to rtmpdump and am trying to learn. Any ideas how I could load this stream using rtmpdump?

<script type="text/javascript" src="http://castalba.tv/js/jwplayer.js"></script> <script type="text/javascript"> jwplayer("mediaspace").setup({ 'flashplayer': "http://static.castalba.tv/player.swf", 'width': '650', 'height': '400', 'allowfullscreen':'true', 'allowscriptaccess':'always', 'wmode':'opaque', 'controlbar':'over', 'dock':'true', 'dock.position':'left', 'mute':'false', 'stretching':'uniform', 'autostart': 'true', 'rtmp.subscribe': 'true', 'file': 'ChelTV_Ch01_1000k@26291', 'streamer': 'rtmpe://cp96798.live.edgefcs.net/live/', 'rtmp.tunneling': 'false', 'logo.file':'http://castalba.tv/images/playerlogo.png', 'logo.hide':'false', 'logo.position':'top-right', 'logo.link':'http://castalba.tv', 'abouttext':'CastAlba.TV - Stream Live Video', 'aboutlink':'http://castalba.tv', 'skin':'http://static.castalba.tv/bluez.zip' }); </script> 
+8
rtmp
source share
6 answers

Based on Emre's answer and for those who want to save mp4 files using ffmpeg (rather than flv), you can use the following command:

 ffmpeg -i "rtmp://domain.com/path/to/video.mp4" -vcodec copy -acodec copy out.mp4 
+9
source share

You can save live stream with ffmpeg, similar to rtmp dump. Download zeranoe ffmpeg for windows or linux. Go back to the directory with cmd.

 ffmpeg -i "stream_link" -y -f flv emre.flv 

where stream_link can be udp: // ... rtmp: // ... rtsp: // ... http: // ...

+6
source share

I was unable to pass the URL mentioned in the code snippet above, one way or another. As I do on my Ubuntu system:

$ sudo apt-get install rtmpdump

This installs rtmpdump. And then, to load the rtmp stream into the file 'loaded_file.mp4', I use:

$ rtmpdump -r rtmp://example.com/path/to/video -o downloaded_file.mp4

-r is followed by the rtmp stream, and -o is followed by the name of the file to which the stream will be saved.

+5
source share

For Google Chrome, I developed an extension that can help you capture any streaming link. This is a good helper, the name "Capture any media files" , I hope you can capture this link, on the main site you can find more video tutorials

+1
source share

Use rtmp explorer to view the page. http://www.videohelp.com/tools/RTMPExplorer

0
source share

If the stream is live , you need to use the -v switch

For example, if the sample URL is rtmp: // serverip / live / streamname, use the following rtmpdump command to start loading the live stream

 rtmpdump -r "rtmp://serverip/live/streamname" -o "anyfileNameforOutput.mp4" -v 

Note that you can view all the command line options for the rtmpdump part by entering the following command at the command prompt

 rtmpdump --help 

You can download RTMPDUMP using this link .

0
source share

All Articles