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 10-28-2010, 02:29 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

How to use rtmpdump with rtmpsrv in Linux


rtmpsrv allows you to get all parameters that are required by rtmpdump. You don't need packet sniffers or complex analysis to use rtmpdump when using rtmpsrv. The only problem you may have is when a video consists of several segments (chapters). In such cases just skip to the next chapter.

How to compile rtmpdump with rtmpsrv and rtmpsuck in Linux:
Code:
svn checkout svn://svn.mplayerhq.hu/rtmpdump/trunk rtmpdump
cd rtmpdump
make linux
How to use rtmpsrv in Ubuntu Linux:
Configure your firewall to redirect RTMP traffic through a local port:
Code:
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
Then just start rtmpsrv:
Code:
./rtmpsrv
rtmpsrv will be analyzing data from your local port. It will output an rtmpdump command that can be used to download videos.

When you get the rtmpdump command, press CTRL+C. This will stop rtmpsrv.

You may also delete the firewall redirect created above:
Code:
sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
Since rtmpsrv produces rtmpdump command, the only thing you need to do is copy-paste it to download the video. Simple as it is

Note: If you don't need the latest version, you can install rtmpdump, rtmpsrv, rtmpsuck in Ubuntu by running the following in the terminal
Code:
sudo apt-get install rtmpdump
Then you don't need to navigate to the rtmpdump directory to launch rtmpdump or rtmpsrv or rtmpsuck.
Reply With Quote
  #2  
Old 01-01-2011, 11:00 AM
notty notty is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
notty is on a distinguished road
Thumbs up

Re: How to use rtmpdump with rtmpsrv in Linux


I can't thank you enough. This guide worked flawlessly. No more CooJah in virtual box for this guy.
Reply With Quote
  #3  
Old 04-06-2011, 05:03 AM
IKnowNothing IKnowNothing is offline
Junior Member
 
Join Date: Mar 2011
Posts: 11
IKnowNothing is on a distinguished road
Default

Re: How to use rtmpdump with rtmpsrv in Linux


Thanks for the instructions they worked - to a point at least.

I can get rtmpsrv to give me a command but when I try run it I get a failure due to a type 9 header.

Any ideas if there is a workaround?
Reply With Quote
  #4  
Old 04-07-2011, 12:19 AM
Stream Recorder
 
Posts: n/a
Default

Re: How to use rtmpdump with rtmpsrv in Linux


Quote:
Originally Posted by IKnowNothing View Post
Thanks for the instructions they worked - to a point at least.

I can get rtmpsrv to give me a command but when I try run it I get a failure due to a type 9 header.

Any ideas if there is a workaround?
rtmpdump does not start & error: HandShake: Type mismatch: client sent 6, server answered 9.
Reply With Quote
  #5  
Old 05-05-2011, 11:58 PM
sam4037 sam4037 is offline
Howard FTW
 
Join Date: May 2010
Posts: 34
sam4037 is on a distinguished road
Thumbs up

Re: How to use rtmpdump with rtmpsrv in Linux


This looks rather tasty and simple most of all! Time to get myself acquainted with Linux! Will start off with the Desktop edition of Ubuntu as suggested by Stream Recorder in this post.
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 11:39 PM.


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