Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
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 Thank you for the help, oelk. |
Tags: rtmpdump, rtmpsuck |
Thread Tools | |
Display Modes | |
|
|