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 03-05-2013, 02:27 AM
vidyava vidyava is offline
Junior Member
 
Join Date: Mar 2013
Posts: 3
vidyava is on a distinguished road
Default

Multiple rtmpsuck instances?


Hello all,
I've been using rtmpsuck in linux to very handily capture rtmp streams, but I'm wondering if there's a way to capture multiple simultaneously running streams (each running in different tabs/windows).

As-is, I can capture one, and all of the others fail to load. I've tried crafting some rtmpdump commands, but I'm pretty new to this and apparently the server I'm trying it on is notoriously difficult to work with, so rtmpsuck would be preferable. Any help/guidance is appreciated.
Reply With Quote
  #2  
Old 03-05-2013, 03:17 AM
oelk oelk is offline
Member
 
Join Date: Nov 2011
Posts: 44
oelk is on a distinguished road
Default

Re: Multiple rtmpsuck instances?


Hello,

rtmpsuck will handle many connections at once for you. It's maybe a problem with the server. Are you able to play more than one stream in your browser simultaneously?

btw: It would be helpful to know, about which website you're talking about.
Reply With Quote
  #3  
Old 03-05-2013, 03:45 AM
vidyava vidyava is offline
Junior Member
 
Join Date: Mar 2013
Posts: 3
vidyava is on a distinguished road
Default

Re: Multiple rtmpsuck instances?


If I'm not running rtmpsuck (and not using iptables for routing), I can view as many streams as I want. If I am running it, I can run multiple at a time, but it only records the first one it picks up.

The websites I've tried:
http://rt.com/on-air/
http://www.ustream.tv/new
http://www.hulu.com/
http://www.myfreecams.com (which actually will only load one stream at a time, and must be the one rtmpsuck is recording first to even show in the browser)

I'm also using rtmpsuck 2.3 because when I've tried to compile 2.4 from git or svn, I get segfaults from rtmpsuck and rtmpsrv.

Side question: Is there a way to not overwrite files by default in 2.3? I see a patch for it in 2.4, but like I said, segfaults.
Reply With Quote
  #4  
Old 03-05-2013, 04:23 AM
oelk oelk is offline
Member
 
Join Date: Nov 2011
Posts: 44
oelk is on a distinguished road
Default

Re: Multiple rtmpsuck instances?


Maybe the problem is the old version.

I got segfaults with rtmpsuck, too. The solution was, that an old shared library was used.
There are two options to overcome this: Use a static build of rtmpdump or install the built librtmp.
I would advice to follow the instructions of KSV from here.

The last question wouldn't be relevant if this works for you.
Reply With Quote
  #5  
Old 03-05-2013, 03:04 PM
vidyava vidyava is offline
Junior Member
 
Join Date: Mar 2013
Posts: 3
vidyava is on a distinguished road
Default

Re: Multiple rtmpsuck instances?


That solved almost every issue, thanks! Unfortunately it still overwrites files (fix at the end of this post), and in my stress testing of opening and closing 6 different streams at random I managed to crash all of them, but it works far better than it did previously.

For anyone coming across this, on Fedora 17 x64 I had to install from git and patch as the link oelk posted says, then download the binary librtmp.so from later in the thread.
I had two "missing" static libraries, libcrypto and libssl, which were in my folders but with the wrong name, so I did
Code:
cd /usr/lib64
sudo ln -s libssl.so.1.0.0j libssl.so.1.0.0
sudo ln -s libcrypto.so.1.0.0j libcrypto.so.1.0.0
I then took this patch and attempted to patch it. When it failed, I had to go in and add the last part (/*check for duplicate...) manually, but now the files aren't automatically overwritten anymore.

Thank you for the help, oelk.
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 02:09 AM.


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