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 02-13-2010, 08:15 AM
macey macey is offline
Junior Member
 
Join Date: Feb 2010
Posts: 6
macey is on a distinguished road
Default

How to install rtmpsuck on Linux


Quote:
Originally Posted by hyc View Post
Use an OS that doesn't suck.
I use Ubuntu Linux.

Can you post a guide to using rtmpsuck/rtmpsrv please?
I want to stream this site:-

Code:
http://atdhe.net/watch-bbc-news.php
Am having difficulty extracting the rtmpdump parameters.
Help would be appreciated.
Reply With Quote
  #2  
Old 03-22-2010, 02:49 AM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

Re: How to install rtmpsuck on Linux


Quote:
Originally Posted by macey View Post
I use Ubuntu Linux.

Can you post a guide to using rtmpsuck/rtmpsrv please?
The basic steps, in plain English:
  1. Create a special user account that will be used solely for running rtmpsrv/rtmpsuck
  2. Set an iptables rule that redirects all outbound RTMP connections for every user except the special user
  3. Run rtmpsrv/rtmpsuck using the special user account
  4. Browse to the web page with the media you want to download, using your regular user account

If you don't know how to create user accounts, go read your system docs.

If you haven't read the README file yet, do that.

On BSD/MacOSX, you use ipfw instead of iptables. Examples for both are already in the README file.

Note - do not use an account with special system privileges to run any of this stuff. This code has been pretty carefully checked for security and correctness, but even so, it would be foolish to take unnecessary risks. And since Adobe Flash is full of so many already-known vulnerabilities, it's equally likely that some sites you try to connect to may be serving malicious data. The rtmp account should have a home directory that it can write to, access to the RTMP ports, and not much else.
Reply With Quote
  #3  
Old 03-24-2010, 05:43 AM
alex_stv alex_stv is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
alex_stv is on a distinguished road
Default

Re: How to install rtmpsuck on Linux


I have create a special user account names
rtmp
and run the following
iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner rtmp -j REDIRECT
But rtmpsuck didn't work for me. It says that i can't redirect.
can anybody please tell me what is wrong.
Btw. I'm using Ubuntu 9

Thanks for your help
Reply With Quote
  #4  
Old 04-06-2010, 07:46 AM
croques croques is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
croques is on a distinguished road
Default

Re: How to install rtmpsuck on Linux


If you are using Ubuntu part of the problem for me was that Ubuntu does not have a super user account that we can normally access all we can do is 'sudo'.

To overcome this become super user and then change the su password with the following

Code:
sudo su      
passwd
then this line works on Ubuntu Karmic
Code:
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner rtmp -j REDIRECT; su -c "/usr/bin/rtmpsuck -z "  rtmp
You can leave out the -z if you do not want debug output.
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:14 AM.


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