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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-21-2010, 03:46 AM
Stream Recorder
 
Posts: n/a
Default

How to use rtmpsuck in Ubuntu 10.04 Lucid Lynx


  1. Go to System -> Administration -> User ang Groups and create a new user. I have used the "rtmp" username for the new user, and didn't let the user to have any additional user privileges. The user will be used to monitor RTMP/RTMPE streams.
  2. Download the latest version of rtmpdump.
  3. Extract its content.
    I will use the following folder
    Code:
    /home/USER/Downloads/rtmpdump-2.3
  4. Open "/home/USER/Downloads/" with Nautilus. And right-click on the "rtmpdump-2.3" folder. Select the Share tab.
    Check "Share this folder", "Allow others to create and delete files in this folder", "Guest access (for people without a user account)".
    Hit the "Close" button.
    Note that sharing this folder is needed if you want to save videos with rtmpsuck. If you only need to get parameters, you can skip this step.
  5. Compile rtmpdump, rtmpsuck, rtmpsrv:
    In the Terminal
    Code:
    cd /home/USER/Downloads/rtmpdump-2.3
    make SYS=posix
  6. Redirect traffic from TCP port 1935 to the user created in Step 1. In the terminal:
    Code:
    sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner  \! --uid-owner rtmp  -j REDIRECT
    where rtmp is the user created in Step 1.
  7. Then the account created in Step 1 within the terminal
    Code:
    sudo su rtmp
  8. And finally launch rtmpsuck
    Code:
    ./rtmpsuck
  9. Now visit the site that has the stream or start playing the stream, rtmpsuck will begin saving (ONLY if the folder you are currently in is shared)
Reply With Quote
 
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:27 AM.


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