Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
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 make SYS=darwin 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. |
#3
|
|||
|
|||
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[ort]/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? |
#4
|
|||
|
|||
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 rtmpdump -r rtmp://hostname/app/playpath -o output.flv Code:
rtmpdump -r rtmp://hostname/app/playpath -o ~/Desktop/output.flv |
#5
|
|||
|
|||
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) |
#6
|
|||
|
|||
Re: rtmpdump (Mac) Need Help with CompilingQuote:
|
#7
|
|||
|
|||
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. |
#8
|
|||
|
|||
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> |
#9
|
|||
|
|||
Re: rtmpdump (Mac) Need Help with CompilingCode:
rtmpdump -o a.flv -r rtmp://s3t9g44q94vhqw.cloudfront.net/cfx/st -a cfx/st -y mp4:Session1-opt RTMPDump v2.4-75-ge783798 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting download at: 0.000 kB INFO: Metadata: INFO: duration 3053.03 INFO: moovPosition 36.00 INFO: width 480.00 INFO: height 272.00 INFO: videocodecid avc1 INFO: audiocodecid mp4a INFO: avcprofile 77.00 INFO: avclevel 21.00 INFO: aacaot 2.00 INFO: videoframerate 23.98 INFO: audiosamplerate 44100.00 INFO: audiochannels 1.00 INFO: tags: INFO: ©too HandBrake 0.9.6 2012022800 INFO: trackinfo: INFO: length 274763238.00 INFO: timescale 90000.00 INFO: language und INFO: sampledescription: INFO: sampletype avc1 INFO: length 134638592.00 INFO: timescale 44100.00 INFO: language und INFO: sampledescription: INFO: sampletype mp4a 2830.569 kB / 40.79 sec (1.3%) |
#10
|
|||
|
|||
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[ort]/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[ort]/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? |
Tags: rtmpdump |
Thread Tools | |
Display Modes | |
|
|