rtmpdump (Mac) Need Help with CompilingI have a mac version 10.8.2 mountain lion.
I downloaded the RTMPDump source tarball from http://rtmpdump.mplayerhq.hu/ and got the rtmpdump-2.3 I read the instrucitons on this website http://trick77.com/2010/07/31/captur...dump-mac-os-x/ but I don't understand it since this is my first time using terminal. What i did so far is cd desktop/ and then cd rtmpdump-2.3 ...and i pretty much don't know what to do next since i don't understand. Can anybody help me with the instruction that is written on that website? http://trick77.com/2010/07/31/captur...dump-mac-os-x/ And What I should write on the terminal? |
Re: rtmpdump (Mac) Need Help with CompilingHi,
I'm not goot at English, but let me explain. I'm using 10.8.2, too. Have you installed Xcode and Command Line Tools? If not, install Xcode from App Store, then launch Xcode, go to "Preferences... > Downloads" and install Command Line Tools first. You should download the latest rtmpdump source code by following the instruction on the home page: Code:
git clone ... Code:
cd rtmpdump Then type this line: Code:
sudo make install SYS=darwin mandir='$(prefix)/share/man' rtmpdump will be installed under the /usr/local directory. As to how to use rtmpdump, read the README, manual page "man rtmpdump" or rtmpdump.1.html, and many threads on this forum. |
Re: rtmpdump (Mac) Need Help with CompilingThank you Kikuyan!
The RMTPDump is in my /usr/local directory. But I still have a problem...when I opened the RMTPDump, it says this... RTMPDump 2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname logout [Process completed] I can't type or do anything with the RMTP Dump...is there anything that i can do to solve this? |
Re: rtmpdump (Mac) Need Help with CompilingHi,
How did you open rtmpdump? It looks like you double clicked the icon or used command-O in Finder. You should run rtmpdump in Terminal, something like: Code:
cd ~/Desktop Code:
rtmpdump -r rtmp://hostname/app/playpath -o ~/Desktop/output.flv |
Re: rtmpdump (Mac) Need Help with CompilingI typed in the following two commands in terminal
cd ~/Desktop rtmpdump -r rtmp://hostname/app/playpath -o output.flv rtmpdump -r rtmp://hostname/app/playpath -o ~/Desktop/output.flv I got an error and can't seem to do anything.Is there something I missed or made a mistake? I'm very confused RTMPDump 2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... ERROR: Problem accessing the DNS. (addr: hostname) |
Re: rtmpdump (Mac) Need Help with CompilingQuote:
|
Re: rtmpdump (Mac) Need Help with CompilingHi,
Those were just usage examples, minimal set of parameters to run rtmpdump. You have to replace "rtmp", "hostname", "app" and "playpath" with actual values according to the flvs you want to download. "Desktop" and "output" can be replaced with any directory and file names you prefer. Please look around other threads in this forum to see working examples. |
Re: rtmpdump (Mac) Need Help with CompilingI looked around the forum and saw the working examples...but it's a bit confusing.
Here is one of the examples i looked. http://stream-recorder.com/forum/use...als-t8911.html I got the following information of the video that i want to download by pressing Cmd U. How do i put these info into the rtmpdump and get the video download? <script type='text/javascript' src='/jwplayer/jwplayer.js'></script> <div id='mediaplayer'></div> <script type='text/javascript'> jwplayer('mediaplayer').setup({ 'flashplayer': '/jwplayer/player.swf', 'autostart': 'true', 'file': 'Session1-opt.mp4', 'streamer': 'rtmp://s3t9g44q94vhqw.cloudfront.net/cfx/st', 'controlbar': 'bottom', 'width': '720', 'height': '432', 'skin': '/jwplayer/glows.zip' }); </script> |
Re: rtmpdump (Mac) Need Help with CompilingCode:
rtmpdump -o a.flv -r rtmp://s3t9g44q94vhqw.cloudfront.net/cfx/st -a cfx/st -y |
Re: rtmpdump (Mac) Need Help with Compilingsvnpenn2
What is the code that you posted for? I tried out the code rtmpdump -o a.flv -r rtmp://s3t9g44q94vhqw.cloudfront.net/cfx/st -a cfx/st -y mp4:Session1-opt When I typed in this code i got the rtmpdump parameters Code: --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 What do i do next in order to download the online video that i want? |
All times are GMT -6. The time now is 02:48 PM. |