jace89
05-03-2009, 07:59 AM
How to use rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm)? I don't understand it. Can someone post instructions?
Stream Recorder
05-03-2009, 11:27 PM
In Windows Run Command Prompt, go to the directory with rtmpdump.exe using cd command and run rtmpdump.exe .
rtmpdump basic usage
rtmpdump -r "rtmp://host/dir/file.flv" -o filename.flv
rtmpdump parameters
--help|-h Prints this help screen.
--rtmp|-r url URL (e.g. rtmp//hotname[:port]/path)
--host|-n hostname Overrides the hostname in the rtmp url
--port|-c port Overrides the port in the rtmp url
--protocol|-l Overrides the protocol in the rtmp url (0 - RTMP, 3 - RTMPE)
--playpath|-y Overrides the playpath parsed from rtmp url
--swfUrl|-s url URL to player swf file
--tcUrl|-t url URL to played stream (default: "rtmp://host[:port]/app")
--pageUrl|-p url Web URL of played programme
--app|-a app Name of player used
--swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes)
--swfsize|-x num Size of the decompressed SWF file, required for SWFVerification
--auth|-u string Authentication string to be appended to the connect string
--flashVer|-f string Flash version string
--live|-v Save a live stream, no --resume (seeking) of live strems possible
--flv|-o string FLV output file name, if the file name is - print stream to stdout
--resume|-e Resume a partial RTMP download
--timeout|-m num Timeout connection num seconds
--buffer|-b Buffer time in milliseconds, this option makes only sense in stdout mode
--skip|-k num Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails
SWF Verification
Download the swf player you want to use for SWFVerification, unzip it using
$ flasm -x file.swf
It will show the decompressed filesize, use it for --swfsize
Now generate the hash
$ openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" file.swf
and use the --swfhash "01234..." option to pass it. e.g.
$ ./rtmpdump --swfhash "123456..." --swfsize 987...
jace89
05-04-2009, 02:45 AM
Run Command Prompt, go to the directory with rtmpdump.exe using cd command and run rtmpdump.exe .
i know that. Im talking about how can i download a rtmp stream.
Do i need any other programs to find the links or anything.
Stream Recorder
05-04-2009, 10:19 AM
Yes, you need other programs to find RTMP URLs, find RTMPE stream URLs.
You may also need to find additional parameters. Sometimes you can find them from the source of the web-page. You can also use two additional server programs, rtmpsrv and rtmpsuck that come with rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 2.1:
rtmpsrv is a stub for a server; it logs the connect and play parameters from a regular client that connects to it. These parameters can then be used with rtmpdump to retrieve a stream.
rtmpsuck is a transparent proxy; it intercepts connections from a client and then makes an outbound connection to the real server. After all handshaking is complete and encryption keys with both sides are negotiated, it records the cleartext stream data into files while relaying the data from the server to the client.
jace89
05-04-2009, 11:50 AM
Yes, you need other programs to find RTMP URLs.
i have the urls now what?
Also i found a new program called flazr (http://all-streaming-media.com/record-video-stream/Flazr-freeware-open-source-RTMP-recorder.htm)
I don't know how to use that either maybe you can help.
Stream Recorder
05-04-2009, 02:43 PM
i have the urls now what?
Tutorial on using rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm):
Today I attended a lecture/demo session on "hacking" various media sites like YouTube, Hulu, last.fm. Essentially it was a practical demonstration of the cat and mouse game hackers play with content pedlars on the internet....
One of the tools mentioned was rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) ...
I decided to compile it myself from the most recent development version. If you're lazy and brave enough to trust compiled binaries and packages from third parties, go to LinuxCentre (http://linuxcentre.net/getiplayer/download) and install flvstreamer for your operating system. These programs were once one and so far they use the same commands. Read: they work the same.
(Editor's note: flvstreamer doesn't support RTMPE secure streams)
These instrucitons work on Ubuntu (http://www.ubuntu.com/) 9.10 (karmic) but please be aware things change rapidly so the following might not work forever.
First of all install the tools needed for accessing the code and compilation.
sudo apt-get install build-essential gcc make subversion libssl0.9.8 libssl-dev libssl0.9.8Now check out the latest code from the Subversion (http://subversion.tigris.org/) repository:
svn co svn://svn.mplayerhq.hu/rtmpdump rtmpdumpIf you prefer a stable version, run this instead:
wget http://rtmpdump.mplayerhq.hu/rtmpdump-1.9.tgz
tar xfz rtmpdump-1.9.tgz
mv rtmpdump-1.9 rtmpdumpI'm sure the impatient are looking forward to completing this ASAP so here's the final step in setting up rtmpdump on your computer:
cd rtmpdump
make linuxThe program now lies in the same folder and you can only run it by telling your shell (like bash) exactly where it is. If you're in the same folder, running it is as simple as ./rtmpdump but ./ is only short for the current folder and it gets expanded to (in my case) /home/jasa/rtmpdump/rtmpdump.
Great! Now we need a media site which uses a Adobe's RTMP (http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol) server. I think I won't get in trouble if I use VideoLectures.net as an example. :)
Lets say I'm interested in probability and statistics (http://videolectures.net/bootcamp07_keller_bss/). And I want to watch these lectures offline, on a train or wherever.
Unfortunately this isn't a straightforward process and quite a bit of work is required. It is derived from a mailing list thread (http://lists.mplayerhq.hu/pipermail/rtmpdump/2009-November/000053.html).
I need to see the source code of the web page above, not the rendered output of the web browser. In Firefox press Ctrl+U. Now I need some hard data to pass to rtmpdump. Search for a javascript section which launches the flash video player. For the statistics video this is the interesting section:
var flashvars = {
streamer: "rtmp://oxy.videolectures.net/video",
file: "2007/pascal/bootcamp07_vilanova/keller_mikaela/bootcamp07_keller_bss_01.flv",
height: '288',
autostart: "true",
bufferlength: '5',
image: "http://media.videolectures.net/play.png",
id: "FlvPlayer" // last line, no colon ',' !
};
swfobject.embedSWF("http://media.videolectures.net/jw-player/player.swf", "video_embed", "384", "307", "9.0.0", "http://media.videolectures.net/swfobject/expressInstall.swf", flashvars, params, attributes);Generally searching (Ctrl+F) for flashvars should get you near the required data. The line swfobject.embedSWF(...) causes the video player to load inside your browser and display the correct media. This media rests on a different server than the webpage and I will use rtmpdump to connect to that server instead of the flash player. Now Adobe has put some roadblocks into the process but lucky for me I have a flying car. :)
I'll just give you the final command now and explain later!
./rtmpdump -r rtmp://oxy.videolectures.net/video/ -y 2007/pascal/bootcamp07_vilanova/keller_mikaela/bootcamp07_keller_bss_01 -a video -s http://media.videolectures.net/jw-player/player.swf -w ffa4f0c469cfbe1f449ec42462e8c3ba16600f5a4b311980bb 626893ca81f388 -x 53910 -o test.flvThe -r switch requires an argument which is the URL of the media server and is found in the variable streamer in the JavaScript source code above.
The -y switch needs the playpath and that is found in the JavaScript variable file, (minus the extension .flv or .mp4).
The -a switch is the name of the used player and usually automatically inferred from the URL. Defining it manually works by copying the part after the server name in the streamer.
The -s switch defines the flash video player which normally connects to the media server. In the example it is the first argument of the function embedSWF.
Here's where things get even more complicated. The media server wants some extra data about this player, specifically its sha256 hash-sum (http://en.wikipedia.org/wiki/Hash_function) and size in bytes. So lets get them:
wget http://media.videolectures.net/jw-player/player.swf
sha256sum player.swf
ls -l player.swfSupply the sha356sum to switch -w and the file size to the -x switch.
Anything else? Yeah, I need to specify where to save the video with -o.
Run the longest command ever and get yourself a beer (you've earned it)! :)
I admit that doing this for every video gets time consuming but unfortunately it is a procedure specific to every site. Look at the mailing list thread link again to see different javascript:
For anyone curious, I found that wisevid is using plain RTMP with SWF
verification.
This invocation works for me:
rtmpdump -r rtmp://stream1.wisevid.com/flvs -s http://wisevid.com/player.swf -y 82330 -a flvs -z -o xxx -w e09b300f1f1e2cc75878ab11258ba4c17f28a315ea9df26f67 b37c7f59332737 -x 110543Starting from this web page
http://www.wisevid.com/view_video.php?viewkey=0052slrjt6n74lz84848The relevant information from that page is in this bit of javascript
<script type="text/javascript">
var player = null;
function playerReady(thePlayer) { player = window.document[thePlayer.id]; }
var so = new SWFObject('player.swf','mpl','570','340','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('wmode','transparent');
so.addParam('flashvars','&file=82330.flv&streamer=rtmp://stream1.wisevid.com/flvs&skin=http://wisevid.com/modieus1.swf&stretching=exactfit&autostart=true&abouttext=WiseVid.com&aboutlink=http://wisevid.com');
so.write('player');
</script>
compn
07-26-2009, 07:34 AM
here is a command line using mtv's website as an example:
rtmpdump.exe --swfhash 1155163cece179766c97fedce8933ccfccb9a553e47c1fabbb 5faeacc4e8ad70 --swfsize 563963 --swfUrl "http://media.mtvnservices.com/player/release/?v=3.14.0" -r rtmp://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv.com/onair/the_stew/comp_reel/mt_71824_stew_26_320.flv -o mt_71824_stew_26_320.flv
to find the rtmp url i used URL Snooper (http://all-streaming-media.com/find-stream-URL/Project-URL-Snooper-Find-the-actual-stream-URL-Free-download.htm)
the swfhash and swfsize were generated by:
Download the swf player you want to use for SWFVerification, unzip it using
$ flasm -x file.swf
It will show the decompressed filesize, use it for --swfsize
Now generate the hash
$ openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" file.swf
and use the --swfhash "01234..." option to pass it.
e.g. $ ./rtmpdump --swfhash "123456..." --swfsize 987...
rtmpe
08-13-2009, 02:34 AM
For rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) users,
New RTMPE and SWF Auth method was released from Adobe.
Does anyone can get this hyper protected flv by using rtmpdump ?
www.dai2ntv.jp: How to download RTMPE stream with SWF Authentication (Adobe Flash)
any ANONYMOUS forum user
01-09-2010, 03:47 AM
How to download flash video RTMP/RTMPE streams with freeware rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) and URL Snooper (http://all-streaming-media.com/find-stream-URL/Project-URL-Snooper-Find-the-actual-stream-URL-Free-download.htm).
Start URL Snooper select the the "General Options" tab and click "Auto Determine Network Adapter Now" or choose the Network Adapter manually.
http://img196.imageshack.us/img196/5470/urlsnooper.gif
Select the "Search" tab and paste the url to your video page at the bottom. Then press the "Download" button.
Search for RTMP or RTMPE in the "Protocol" column.
Right click on the URL and select "Copy selected URL (Strip all args)".
http://img196.imageshack.us/img196/286/urlsnooper2.gif
If you don't find any RTMP streams then click on the "Sniff Network" button in the URL Snooper and start playing your video stream in your browser. Wait until you see an RTMP link.
After you copying the RTMP/RTMPE URL, use the RTMPDump command line tool. Download rtmpdump.exe and save it into the C:\rtmpdump folder, for example. Then start the "Command Prompt" (Start->Programs->Accessories->Command Prompt) and in the command line type:
"C:\rtmpdump\rtmpdump.exe" -r "rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20091027/geose_PG-1131239-010A-TRUEBLOOD1" -o "c:\downloads\video.flv"
and replace the "rtpme://"-stream with the one you copied from URLSnooper. Right click in the command prompt to Paste.
http://img196.imageshack.us/img196/4295/rtmpdump.gif
If it works, RTMPDump will start downloading the RTMP/RTMPE video stream and will save it as "c:\downloads\video.flv"
http://img43.imageshack.us/img43/865/rtmpdump2.gif
Please note that RTMP/RTMPE streams that use SWF Verification are supported by rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm), but you need to provide some additional parameters.
Related:
FLV Players: How to play captured .FLV videos
Stream Recorder
01-15-2010, 06:51 AM
rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 2.1 parameters
--help|-h Prints this help screen.
--rtmp|-r url URL (e.g. rtmp//hotname[:port]/path)
--host|-n hostname Overrides the hostname in the rtmp url
--port|-c port Overrides the port in the rtmp url
--socks|-S host:port Use the specified SOCKS proxy
--protocol|-l Overrides the protocol in the rtmp url (0 - RTMP, 3 - RTMPE)
--playpath|-y Overrides the playpath parsed from rtmp url
--swfUrl|-s url URL to player swf file
--tcUrl|-t url URL to played stream (default: "rtmp://host[:port]/app")
--pageUrl|-p url Web URL of played programme
--app|-a app Name of player used
--swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes)
--swfsize|-x num Size of the decompressed SWF file, required for SWFVerification
--swfVfy|-W url URL to player swf file, compute hash/size automatically
--auth|-u string Authentication string to be appended to the connect string
--flashVer|-f string Flash version string (default: "LNX 10,0,22,87")
--live|-v Save a live stream, no --resume (seeking) of live streams possible
--subscribe|-d string Stream name to subscribe to (otherwise defaults to playpath if live is specifed)
--flv|-o string FLV output file name, if the file name is - print stream to stdout
--resume|-e Resume a partial RTMP download
--timeout|-m num Timeout connection num seconds (default: 120)
--start|-A num Start at num seconds into stream (not valid when using --live)
--stop|-B num Stop at num seconds into stream
--token|-T key Key for SecureToken response
--hashes|-# Display progress with hashes, not with the byte counter
--buffer|-b Buffer time in milliseconds (default: 36000000), this option makes only sense in stdout mode (-o -)
--skip|-k num Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0)
--quiet|-q Supresses all command output.
--verbose|-V Verbose command output.
--debug|-z Debug level command output.
If you don't pass parameters for swfUrl, pageUrl, app or auth these propertiews will not be included in the connect packet.
SWF Verification and rtmpdump 2.1
Unlike previous versions, rtmpdump 2.1 can compute hash/size of an SWF player automatically. You don't need to download the player, unpack it and compute its hash anymore. Just provide the URL to the SWF player by using the -W parameter:
--swfVfy|-W url URL to player swf file, compute hash/size automatically
rtmpdump 2.2 now includes a formatted manual page...
RTMPDUMP(1)RTMPDUMP(1)
NAME
rtmpdump - RTMP streaming media client
SYNOPSISrtmpdump -r url [-n hostname] [-c port] [-l protocol] [-S host:port] [-a app] [-t tcUrl] [-p pageUrl] [-s swfUrl] [-f flashVer] [-u auth] [-C conndata] [-y playpath] [-v] [-d subscription] [-e] [-k skip] [-A start] [-B stop] [-b buffer] [-m timeout] [-T key] [-w swfHash] [-x swfSize] [-W swfUrl] [-X swfAge] [-o output] [-#] [-q] [-V] [-z]
rtmpdump -h
DESCRIPTIONrtmpdump is a tool for dumping media content streamed over RTMP.
rtmpdump makes a connection to the specified RTMP server and plays the media specified by the given url. The url should be of the formrtmp[t][e]://hostname[:port][/app[/playpath]]
Plain rtmp, as well as tunneled and encrypted sessions are supported.
OPTIONS
Network ParametersThese options define how to connect to the media server.
--rtmp -r urlURL of the server and media content.
--host -n hostnameOverrides the hostname in the RTMP URL.
--port -c portOverrides the port number in the RTMP URL.
--protocol -l numberOverrides the protocol in the RTMP URL.
0 = rtmp
1 = rtmpt
2 = rtmpe
3 = rtmpte
5 = rtmps
--socks -S host:portUse the specified SOCKS4 proxy.
Connection ParametersThese options define the content of the RTMP Connect request packet. If correct values are not provided, the media server will reject the connection attempt.
--app -a appName of application to connect to on the RTMP server. Overrides the app in the RTMP URL. Sometimes the rtmpdump URL parser cannot determine the app name automatically, so it must be given explicitly using this option.
--tcUrl -t urlURL of the target stream. Defaults to rtmp[e]://host[:port]/app/playpath.
--pageUrl -p urlURL of the web page in which the media was embedded. By default no value will be sent.
--swfUrl -s urlURL of the SWF player for the media. By default no value will be sent.
--flashVer -f versionVersion of the Flash plugin used to run the SWF player. The default is "LNX 10,0,32,18".
--auth -a stringAn authentication string to be appended to the Connect message. Using this option will append a Boolean TRUE and then the specified string. This option is only used by some particular servers and is deprecated. The more general --conn option should be used instead.
--conn -C type:dataAppend arbitrary AMF data to the Connect message. The type must be B for Boolean, N for number, S for string, O for object, or Z for null. For Booleans the data must be either 0 or 1 for FALSE or TRUE, respectively. Likewise for objects the data must be 0 or 1 to end or begin an object, respectively. Data items in subobjects may be named, by prefixing the type with 'N' and specifying the name before the value, e.g. NB:myFlag:1. This option may be used multiple times to construct arbitrary AMF sequences. E.g.
-C B:1 -C S:authMe -C O:1 -C NN:code:1.23 -C NS:flag:ok -C O:0
Session ParametersThese options take effect after the Connect request has succeeded.
--playpath -y pathOverrides the playpath parsed from the RTMP URL. Sometimes the rtmpdump URL parser cannot determine the correct playpath automatically, so it must be given explicitly using this option.
--live -vSpecify that the media is a live stream. No resuming or seeking in live streams is possible.
--subscribe -d streamName of live stream to subscribe to. Defaults to playpath.
--resume -eResume an incomplete RTMP download.
--skip -k numSkip num keyframes when looking for the last keyframe from which to resume. This may be useful if a regular attempt to resume fails. The default is 0.
--start -A numStart at num seconds into the stream. Not valid for live streams.
--stop -B numStop at num seconds into the stream.
--buffer -b numSet buffer time to num milliseconds. The default is 36000000.
--timeout -m numTimeout the session after num seconds without receiving any data from the server. The default is 120.
Security ParametersThese options handle additional authentication requests from the server.
--token -T keyKey for SecureToken response, used if the server requires SecureToken authentication.
--swfhash -w hexstringSHA256 hash of the decompressed SWF file. This option may be needed if the server uses SWF Verification, but see the --swfVfy option below. The hash is 32 bytes, and must be given in hexadecimal. The --swfsize option must always be used with this option.
--swfsize -x numSize of the decompressed SWF file. This option may be needed if the server uses SWF Verification, but see the --swfVfy option below. The --swfhash option must always be used with this option.
--swfVfy -W urlURL of the SWF player for this media. This option replaces all three of the --swfUrl, --swfhash, and --swfsize options. When this option is used, the SWF player is retrieved from the specified URL and the hash and size are computed automatically. Also the information is cached in a .swfinfo file in the user's home directory, so that it doesn't need to be retrieved and recalculated every time rtmpdump is run. The .swfinfo file records the URL, the time it was fetched, the modification timestamp of the SWF file, its size, and its hash. By default, the cached info will be used for 30 days before re-checking.
--swfAge -X daysSpecify how many days to use the cached SWF info before re-checking. Use 0 to always check the SWF URL. Note that if the check shows that the SWF file has the same modification timestamp as before, it will not be retrieved again.
Miscellaneous
--flv -o outputSpecify the output file name. If the name is - or is omitted, the stream is written to stdout.
--hashes -#Display streaming progress with a hash mark for each 1% of progress, instead of a byte counter.
--quiet -qSuppress all command output.
--verbose -VVerbose command output.
--debug -zDebug level output. Extremely verbose, including hex dumps of all packet data.
--help -hPrint a summary of command options.
EXIT STATUS0Successful program execution.
1Unrecoverable error.
2Incomplete transfer, resuming may get further.
ENVIRONMENTHOMEThe value of $HOME is used as the location for the .swfinfo file.
FILES$HOME/.swfinfoCache of SWF Verification information
SEE ALSOrtmpgw(8)
AUTHORSAndrej Stepanchuk, Howard Chu, The Flvstreamer Team
<http://rtmpdump.mplayerhq.hu>
RTMPDump v2.2a2010-03-10RTMPDUMP(1)
rv123
04-02-2010, 10:22 AM
Anyone have or can provide a tutorial for a Mac OS user? Not a complete newb (or maybe I am!) but some of the windows command stuff doesn't translate over so well...or at least I can't get it.
Really just the basics of actually running RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) in the terminal
any ANONYMOUS forum user
06-05-2010, 10:41 AM
rtmpdump -r "rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=bbc7/secure_auth/modem/RBN2_bbc7_-_saturday_1000_b0085hk0_2010_06_05_12_28_08.mp4,bb c7/secure_auth/RBN2_bbc7_-_saturday_1000_b0085hk0_2010_06_05_12_27_46.mp4&et=1275766361&fmta-token=d0c7ff443c9b8eb935df30bc2dd8a2b87e5479b15a30 0c661bba5a928a17d368" -a "a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=bbc7/secure_auth/modem/RBN2_bbc7_-_saturday_1000_b0085hk0_2010_06_05_12_28_08.mp4,bb c7/secure_auth/RBN2_bbc7_-_saturday_1000_b0085hk0_2010_06_05_12_27_46.mp4&et=1275766361&fmta-token=d0c7ff443c9b8eb935df30bc2dd8a2b87e5479b15a30 0c661bba5a928a17d368" -f "WIN 9,0,260,0" -W "http://www.bbc.co.uk/emp/9player.swf?revision=18182_20020" -p "http://www.bbc.co.uk/iplayer/console/b0085hk1" -y "mp4:bbc7/secure_auth/RBN2_bbc7_-_saturday_1000_b0085hk0_2010_06_05_12_27_46.mp4" -o RBN2_bbc7_-_saturday_1000_b0085hk0_2010_06_05_12_27_46.mp4
5peaker
08-29-2010, 01:49 AM
Tutorial on using rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm):
hello.
I have a question of swfsize. What is the swfsize?
is that hashdata of sha256? like a "e2436d6201f4265a0a0ad974165a3b26a6f302ba8e7cfebd6d fad2cac28105e1" ?
I can't figure out the sha256num of a flash player.
http://img829.imageshack.us/img829/9329/5peaker01.jpg
Ed999
09-12-2010, 12:23 PM
The -W switch in rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) is included for the purpose of calculating the swf size and hash values for you.
All you really need do is include the -f switch giving details of the Flash version installed in your computer, and the -W switch giving the URL of the swf file specified in the webpage which serves the Flash file you want.
Example (for the Windows browser plugin, i.e. for Internet Explorer, where you have the Flash Player 9 release 260 plugin installed):
-f "WIN 9,0,260,0"
-W "http://www.bbc.co.uk/emp/9player.swf?revision=18269_21576"
Cristianovic
10-27-2010, 01:33 PM
It is said that the rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) can also be used for Mac, but I've only seen for windows and for Android. Is the other one for mac? How to use it as I'm not quite familiar with the Mac command
Tks:o
Stream Recorder
12-23-2010, 01:57 PM
To install rtmpdump, rtmpsuck, rtmpsrv in Ubuntu 10.10 Maverick, just type the following in the terminal:
sudo apt-get install rtmpdump
RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) is a command line application. you can't run it by double clicking. easiest way for you will be to create a batch file and then run it.
1. Open up Notepad in Windows.
2. Go to File > Save As...
3. Choose your rtmpdump folder as the location to save.
4. Click on the dropdown box "Save as type:" and select "All files" instead of Text (*.txt).
5. Add .bat to the end of your file name before you save. For example, you would type Commands.bat.
6. Click on Save. If you did this correctly, you should see your file name in the title bar of Windows Notepad. Make sure that it reads as Commands.bat not Commands.bat.txt.
now put your command eg:
rtmpdump -r "rtmpe://cp40493.edgefcs.net:1935/ondemand?ovpfv=2.1.4" -a "ondemand?ovpfv=2.1.4" -f "WIN 10,2,159,1" -W "http://media.mtvnservices.com/player/prime/mediaplayerprime.1.7.0.swf" -p "http://www.southparkstudios.com/full-episodes/s15e01-humancentipad" -y "mp4:mtvnorigin/gsp.comedystor/com/sp/season-15/1501/acts/sp_1501_act1_1280x720_1200.mp4" -o sp_1501_act1_1280x720_1200.flv
into the batch file, then save and run this batch file to start downloading.
Hi!
I want to record an ongoing live event that runs for weeks. So I need to record it in segments, like one hour. And I would like this to run automatically so that rtmpdump keeps recording hour long files like file1.flv, file2.flv, file3.flv and so on. Is it possible to do this with the commant line tool? Thanks for any help w this!
cndymn
07-22-2012, 06:00 PM
hey guys,
i have a list of 109 rtmp streams
i'm running mac os x 10.8
now i wrote a shell with this code
rtmpdump -r rtmp://file1.mp4 -o ../1.flv
rtmpdump -r rtmp://file2.mp4 -o ../2.flv
...
The problem is after the first dumping the terminal do not continue with the second line of code.
Another thing: i noticed that the streams got meta data in form of
INFO: ©nam VIDEO_TITLE
INFO: ©alb WHO_MADE_THIS
INFO: ©gen TUTORIAL
Is there a way to use this meta data espacially "©nam" for my filename?
Ed999
07-25-2012, 04:38 AM
Don't use a shell, that won't work.
You need to use a batch file instead, as rtmpdump will execute successive batch commands.
http://www.aumha.org/a/batches.php
http://en.wikipedia.org/wiki/List_of_DOS_commands
Don't use a shell, that won't work.
You need to use a batch file instead, as rtmpdump will execute successive batch commands.
http://www.aumha.org/a/batches.php
http://en.wikipedia.org/wiki/List_of_DOS_commands
I think the guy uses Mac or Linux so he uses BASH(shell) not BATCH. :)
PayNow
07-29-2012, 06:47 AM
how to give a end to a livestream ? ctrl + v ?
Ed999
08-05-2012, 06:34 AM
how to give a end to a livestream ? ctrl + v ?
If you are running Windows, and rtmpdump is running in a Console window (i.e. a "Command Prompt" window), you can end the recording of a live stream by closing the Window using any standard method.
If you click on the window's CLOSE button, for example, the recording of the live stream will end without corrupting the recorded file.
Ed999
01-26-2013, 05:08 AM
Anyone reading this thread might also find the following threads useful -
RTMPDump v2.1d and BBC iPlayer for Windows 7 -
http://stream-recorder.com/forum/showthread.php?p=31800#post31800
Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 build for Windows 7 -
http://stream-recorder.com/forum/successful-download-rtmpe-handshake-9-stream-using-t9771.html?p=31422
SonhadorPR
05-14-2013, 03:07 PM
I followed the instructions on how to install rtmpdump in linux...not easy for a nooB like me, but I was able to do it, and then I tried using the command, and the link I had:
~ $ rtmpdump -r rtmp://s1gteugew2m1bz.cloudfront.net:80/cfx/st -o test.flv
But the response I get is:
RTMPDump v2.4 df6c518~git
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Segmentation fault
Now, I do not know if this is an error msg, or what.
What does it mean?
Thank you all!!
forlan38
08-09-2013, 03:11 PM
maybe a simple question but how can i copy the text on rtmpsuck or rtmpsrv? :D
kuasd
08-11-2013, 12:25 AM
How can I find out swfurl, page url, and play path given only rtmp stream?
Rancher
11-27-2013, 10:21 PM
How can I find out swfurl, page url, and play path given only rtmp stream?
I just wanted to ask the same question! Can somebody answer?
moneymaker
02-24-2014, 12:35 PM
How can I dump something like this:
file=test.mp4
streamer=rtmp://5.34.56.21/live/%2F%3Fusername%3Dtest%26password%3Dtest24
With username and password function. Nothing I can find in the faq.
Thanks
jz5968
03-12-2014, 06:33 PM
You can play RTMP streams in your browser.
This program will generate the code for you.
http://www.4shared.com/get/fQcSSEFMba/RTMP_pplayer.html
Ed999
03-18-2014, 04:07 PM
This is a working link -
http://search.4shared.com/q/CCAD/1/RTMP_player?suggested
You must first sign-in / log-in to your 4Shared account, before the sire will let you download any files.
jz5968
03-24-2014, 03:35 PM
You can play RTMP streams in your browser.
This program will generate the code for you.
Much easier than RTMP Dump.
**** Updated link below:
http://www.4shared.com/zip/pHFvejTlba/RTMP_pplayer.htmll
Ed999
04-14-2014, 02:55 PM
You can play RTMP streams in your browser.
This program will generate the code for you.
Much easier than RTMP Dump.
**** Updated link below:
http://www.4shared.com/zip/pHFvejTlba/RTMP_pplayer.htmll
RTMP_pplayer.zip is unavailable. Site 4shared.com says this file was deleted.
flpmchd
02-04-2015, 09:59 AM
Hi!
Someone can help me to build the sentence to download this video from this sentence:
('Servidor 1 (BR)','player_alfacon.swf','rtmp','rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s','aula/lilian_novakoski/ate/ln_ate_00001.mp4','100/lilian_novakoski/ate/ln_ate_00001.mp4','200/lilian_novakoski/ate/ln_ate_00001.mp4','http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/playlist.m3u8')
I tried a number of ways, but none worked.
Please!!!! Help!!! :(
biezom
02-04-2015, 11:10 AM
Hi!
Someone can help me to build the sentence to download this video from this sentence:
('Servidor 1 (BR)','player_alfacon.swf','rtmp','rtmps://51a31bcacc912.streamlock.net/alfaconcursos2s','aula/lilian_novakoski/ate/ln_ate_00001.mp4','100/lilian_novakoski/ate/ln_ate_00001.mp4','200/lilian_novakoski/ate/ln_ate_00001.mp4','http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/playlist.m3u8')
I tried a number of ways, but none worked.
Please!!!! Help!!! :(
livestreamer hlsvariant://http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/chunklist_w788361268.m3u8 best -o lilian_novakoski.ts
or
livestreamer hls://http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/chunklist_w788361268.m3u8 best -o lilian_novakoski.ts
flpmchd
02-06-2015, 08:47 AM
livestreamer hlsvariant://http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/chunklist_w788361268.m3u8 best -o lilian_novakoski.ts
or
livestreamer hls://http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/chunklist_w788361268.m3u8 best -o lilian_novakoski.ts
Thanks for your help, but didn't work....
This video is a class-video and requires a key to access... I don't know if this information could change the tag...
biezom
02-06-2015, 11:49 AM
Thanks for your help, but didn't work....
This video is a class-video and requires a key to access... I don't know if this information could change the tag...
Sorry there was an error with the first code "livestreamer hlsvariant://htpp://......."
but the second "livestreamer hls://http://......." is good and works
so the fisrt code is
livestreamer hlsvariant://http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/playlist.m3u8 best -o lilian_novakoski.ts
i use the livestreamer the latest development version of livestreamer
flpmchd
02-06-2015, 02:16 PM
Sorry there was an error with the first code "livestreamer hlsvariant://htpp://......."
but the second "livestreamer hls://http://......." is good and works
so the fisrt code is
livestreamer hlsvariant://http://51a31bcacc912.streamlock.net:1935/alfaconcursos2s/_definst_/mp4:200/lilian_novakoski/ate/ln_ate_00001.mp4/playlist.m3u8 best -o lilian_novakoski.ts
i use the livestreamer the latest development version of livestreamer
Yes, but just download a few seconds of the video, however the video is almost 30 minutes. Appears a timeout error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/dist-packages/livestreamer/stream/segmented.py", line 153, in run
result = future.result(timeout=0.5)
File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 404, in result
return self.__get_result()
File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 356, in __get_result
raise self._exception
ReadTimeoutError: HTTPConnectionPool(host='51a31bcacc912.streamlock. net', port=1935): Read timed out.
[cli][error] Error when reading from stream: Read timeout
[cli][info] Stream ended
biezom
02-07-2015, 01:18 AM
the m3u8 url is no longer valid
maybe you can post the original page URL of your video in a new thread to find the new m3u8 url
Because this thread is "rtmp dump tutorials"
idontexist
04-19-2015, 09:38 AM
rtmpdump used in conjunction with url snooper is not working for me. Please help.
I have tried using all the rtmp results that url snooper showed in the rtmpdump command and all I get are error messages from rtmp.
Here is the website that contains the video I want to download. It is a video about rebuilding a Ford 460 engine from Powerblock tv. Roughly two advertisement videos are shown first and then the video I want about the engine. The video I want runs for about 17 minutes.
http://www.powerblocktv.com/episode/HP2009-04/budget-460-big-block#.VTNryJOzkgJ
I am running Firefox 37.0.1 to watch that video under Windows 7.
When I run url snooper while the video I want is playing, it has only listed 3 results that begin with rtmp. All the rest of its results begin with http or maybe https. I had already clicked the "autodetermine network adapter now" button. I had entered the url of the webpage I listed above into the box at the bottom of url snooper in its "search" window and then clicked the "download" button.
I ran the rtmpdump command 3 times, once with each of the rtmp results shown by url snooper and the video never downloaded. In url snooper, I selected "copy selected urls to clipboard (strip all args)".
I ran the rtmpdump command in this form:
rtmpdump -r "rtmp://URL-SNOOPER-RESULT" - o video.flv
I know nothing more about any of this than what I have mentioned. I have no idea what a swf file is or anything else.
I am new at this so please, if it is not too much trouble, completely list all the steps and commands that work for you to get this video.
Help!!! Please!!!
hasomaso
04-19-2015, 11:09 AM
rtmpdump -r "rtmp://brightcove-04.fcod.llnwd.net:1935/a500/v1/uds/rtmp" -a "a500/v1/uds/rtmp?videoId=1217326897001&lineUpId=&pubId=1105443286001&playerId=2013714279001&affiliateId=" -f "WIN 17,0,0,169" -W "http://admin.brightcove.com/viewer/us20150326.1403/federatedVideoUI/BrightcovePlayer.swf" -p "http://www.powerblocktv.com/episode/HP2009-04/budget-460-big-block" -C B:0 -C "S:mp4:1105443286001/201502/706/1105443286001_4035609429001_HP0904-Webshow-H264-1920-AAC.mp4&1429470000000&4f50c6304b15ab14d261ee4925359958" -y "mp4:1105443286001/201502/706/1105443286001_4035609429001_HP0904-Webshow-H264-1920-AAC.mp4?videoId=1217326897001&lineUpId=&pubId=1105443286001&playerId=2013714279001&affiliateId=" -o "outfile.flv"
RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 1069.67
INFO: moovPosition 48.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 100.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 29.97
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: tags:
INFO: ┬®too Lavf53.24.2
INFO: trackinfo:
INFO: length 3205500.00
INFO: timescale 2997.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 47172608.00
INFO: timescale 44100.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
4868.013 kB / 44.95 sec (4.2%)
http://i.imgur.com/HgxIIZX.png
idontexist
04-22-2015, 03:58 PM
Thank you for posting that information.
I am shocked at the amount of data that had to be entered into the command.
Is there a step-by-step tutorial anywhere that would show me how to do whatever you did to generate the command line you posted?
I have read some of the earlier postings here and for someone new like myself, they are not very clear in some places and seem to assume I know some things I do not know and it seems that a lot of the tutorials say there is some guesswork as to which strings get put into which command line arguments.
After I made my post here, I tried about a dozen tools I found with Google. One of them worked and downloaded this video for me and I did not have to know anything more than how to cut and paste the website url of the webpage containing the video into a text box in this tool. The tool that worked is "rtmpexplorer". To make it work on my pc, I simply copied it plus two dll files that came with it along with rtmpdump and rtmpsrv, both downloaded from the rtmpdump site, to the same folder.
I have been using two video downloading tools which almost always work ("download flash & video" and "video download helper"), but both of those tools would not download the engine building video I mentioned in my OP. One other time, this also happened.
I have no idea why a very small number of videos fail to be downloaded by these tools when so many other videos are downloaded with no problems.
Maybe now the addition of this third tool, rtmpexplorer, will fix this problem.
In any event, based on my own experience downloading flash videos for a few years, I do recommend the 3 tools I mentioned here.
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.