Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-26-2012, 09:41 PM
mickymouse mickymouse is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
mickymouse is on a distinguished road
Default

rtmpdump (Mac) Need Help with Compiling


I 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?
Reply With Quote
  #2  
Old 11-27-2012, 09:24 AM
kikuyan kikuyan is offline
Junior Member
 
Join Date: Jul 2011
Posts: 5
kikuyan is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


Hi,
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 ...
Then type, or copy and paste, these 2 lines:
Code:
cd rtmpdump
make SYS=darwin
You'll see a lot of warning messages with "make", but you don't need to care about them, I think.

Then type this line:
Code:
sudo make install SYS=darwin mandir='$(prefix)/share/man'
You may see some warning-like message with "sudo" and will see the "Password:" prompt, there you need to type the administrator password. The password you type can't be seen on the terminal, so please don't worry about that.

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.
Reply With Quote
  #3  
Old 11-27-2012, 09:39 PM
mickymouse mickymouse is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
mickymouse is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


Thank 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?
Reply With Quote
  #4  
Old 11-27-2012, 11:08 PM
kikuyan kikuyan is offline
Junior Member
 
Join Date: Jul 2011
Posts: 5
kikuyan is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


Hi,
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
or
Code:
rtmpdump -r rtmp://hostname/app/playpath -o ~/Desktop/output.flv
You may also need to add -W for swfurl, -p for pageurl, and other options depending on host and/or flv you want to download.
Reply With Quote
  #5  
Old 12-04-2012, 07:45 PM
mickymouse mickymouse is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
mickymouse is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


I 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)
Reply With Quote
  #6  
Old 12-04-2012, 09:16 PM
svnpenn2 svnpenn2 is offline
Banned
 
Join Date: Nov 2012
Location: Dallas
Posts: 55
svnpenn2 is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


Quote:
Originally Posted by mickymouse
I 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)
Wow... just wow.
Reply With Quote
  #7  
Old 12-05-2012, 01:04 AM
kikuyan kikuyan is offline
Junior Member
 
Join Date: Jul 2011
Posts: 5
kikuyan is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


Hi,

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.
Reply With Quote
  #8  
Old 12-05-2012, 08:49 PM
mickymouse mickymouse is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
mickymouse is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


I 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>
Reply With Quote
  #9  
Old 12-05-2012, 10:13 PM
svnpenn2 svnpenn2 is offline
Banned
 
Join Date: Nov 2012
Location: Dallas
Posts: 55
svnpenn2 is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


Code:
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%)
Reply With Quote
  #10  
Old 12-06-2012, 05:44 AM
mickymouse mickymouse is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
mickymouse is on a distinguished road
Default

Re: rtmpdump (Mac) Need Help with Compiling


svnpenn2
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?
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:03 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons