Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?

(http://stream-recorder.com/forum/showthread.php?t=8302)

Stream Recorder 01-25-2011 11:55 AM

What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
rtmpsuck works like a proxy server. Packets come through it to flash player, rtmpsuck saves (captures) them.

rtmpsrv allows to find RTMP/RTMPE parameters for rtmpdump. Also it can launch rtmpdump automatically.

placebo 01-25-2011 12:21 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
thanks!
do you have some guide lines (from experience) when we should use rtmpsuck and when rtmpdump?
so far i have only used rtmpdump: once you know its parameters, rtmpdump does the job (=saving/capturing the stream) flawlessly.

so i never needed rtmpsuck.

when do we employ rtmpsuck then? :confused:

Stream Recorder 01-25-2011 01:50 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
rtmpsuck allows you to stay undetected. It saves a stream while you watch it or listen to it.

Also some streaming servers do not allow you to reconnect, so this is where rtmpsuck can help.

The problem is that rtmpsuck allows to save one stream at a time only. Besides it records in real time.

So if you can record without rtmpsuck, then record without it unless you want to stay undetected.

placebo 01-25-2011 04:09 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
thanks! :)

[...]

Is there any REAL GOOD tutorial for the use of rtmpsuck on SRF, with a hands-on example (with example URL and step-by-step instructions)?

i cant find anything really good :(

Stream Recorder 01-25-2011 10:47 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Here are tutorials for Ubuntu Linux:
How to use rtmpsuck in Ubuntu 10.04 Lucid Lynx
How to use rtmpdump with rtmpsrv in Linux

If you use Windows then just install Linux ;) You can use dual boot or install it onto a virtual machine like free VirtualBox. And you can even use Wubi for your first installation which allows to install Ubuntu Linux right from your Windows.

placebo 01-26-2011 02:38 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by Stream Recorder (Post 24802)
If you use Windows then just install Linux ;) You can use dual boot or install it onto a virtual machine like free VirtualBox.

hehe. ;)

so.

rtmpsuck is for Linux only/mainly, isnt it? :)

(by the way, your link isnt a "true" tuturial. it doesnt feature any real example (test webpage, test url))

Stream Recorder 01-27-2011 12:47 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by placebo (Post 24812)
rtmpsuck is for Linux only/mainly, isnt it? :)

I know how to use it in Linux only.

Quote:

Originally Posted by placebo (Post 24812)
(by the way, your link isnt a "true" tuturial. it doesnt feature any real example (test webpage, test url))

Caught me ;) But this HowTo just works.

placebo 01-27-2011 01:26 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by Stream Recorder (Post 24851)
Caught me ;)

yeah. gotcha ;)

well, maybe in future some experienced rtmp sucker can write a full-fledged tutorial (with example url's) for rtmpsuck FOR WINDOWS?... hopefully :)

i've seen other rtmpsuck tutorials for Linux on the inet floating around (e.g. on blogs).

Really. when i hear 'Linux', i already give up! :D

Stream Recorder 01-27-2011 02:39 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by placebo (Post 24854)
Really. when i hear 'Linux', i already give up! :D

I used to do that to. And the first time I tried Red Hat Linux in 2000, I didn't like it at all. But new Ubuntu is just awesome. While Windows 7 is as slow as a turtle on my Core2duo, Ubuntu works just fine. And I enjoy fast and secure web browsing now. After using Ubuntu I don't want to get back to Windows. I wish there were more software for Linux... but most things that I really need are already there.

And it is so easy to install Ubuntu. I had much more problems installing Windows 7 and Vista (of course they install just fine if you format your hard drive). And you can even install Ubuntu from Windows using WUBI. Although the latter is not a very good solution, but it is very easy for newbies.

After using Ubuntu successfully, I started thinking that Linux is great and M$ just has a huge marketing budget.
I can't imagine not only google, but even this web-site running on Windows servers :D

More:
Holy War: Windows vs. Linux, open source vs. propritary soft, command line vs. GUI

placebo 01-27-2011 03:15 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
i am going to delete rtmpsuck.exe now LOL!

hyc 02-24-2011 11:20 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
You can use rtmpsuck on Windows if you have a TCP/IP filter that handles connection redirects. I'm not aware of any free drivers for Windows that will do this. I have one for Windows XP that my company sells. If you want it, feel free to email sales@symas.com for a "TCPX For Windows" license.

Personally I detest Windows and have no desire to help its spread. That also means I don't help Windows users unless they pay for my time. There are plenty of companies out there writing and selling software for Windows, go use their stuff. I'm only interested in talking to people who actually do their homework, and demonstrate that they've carefully read all the documentation already. By and large, that excludes 99% of Windows users; it seems they're all allergic to reading...

placebo 02-25-2011 02:48 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by hyc (Post 25629)
You can use rtmpsuck on Windows if you have a TCP/IP filter that handles connection redirects. I'm not aware of any free drivers for Windows that will do this.

hyc, you are one of the folks behind rtmpdump or know rtmpdump extremely well? [...] You are mentioning "paying" (money), "time" and "work" in your posting (and dont give any practical help/info other than "write me an email if you want to buy"). Interesting that you're mentioning these aspects (of life). Maybe that's exactly what the original coder (author/creator) of the rtmpdump-package was thinking, too (who, too, doesnt want to address or deal with Windows users).

So well, okay then. And here is my response (representing some larger part of the Windows users, namely the "99%" ;) ):

From what is written on SRF (this website!) we can conclude that rtmpsuck could be used on Windows machines but, in practice, no single Windows user actually ever uses rtmpsuck. In fact, on SRF, i havent come across any boardie who uses rtmpsuck on a Windows system.

i (a forum moderator on SRF. and a hardcore Windows user. only willing to read the chapter headlines of manuals/documentation.) dont even use rtmpdump nor rtmpsrv other than for testing it for the sake of testing. in RL-practice, when i need to download a stream (audio/video), many Ch*nese software tools (freeware or shareware e.g. the ones designed by Terry Backer) for Windows are available which, by their GUI, do the download more comfortably and even though they lack noteworthy documentation too. so why would i want to waste my time with rtmpdump (or rtmpsrv or rtmpsuck or the documentation of rtmpdump or the documentation of rtmpsrv or the documentation of rtmpsuck)?? so there are three tools (rtmpdump+rtmpsrv+rtmpsuck) with their respective documentation and my sole aim is to download a single video? oh please. no thanks.

if i want to download a (protected) streaming video, i do this instead, which is the opposite of wasting time:
i launch GetFLV, surf to the video webpage, download the video with getflv's GUI, and done! No need to read any documentation!!

Let's summarize (and correct me if i am wrong):
  • rtmpdump.exe is for Windows. and it works.
  • rtmpsrv.exe is for Windows and works too. it facilitates the secure use of rtmpdump.exe.
  • rtmpsuck could be used on Windows but no Windows user uses it (because they dont need it or because they dont want to buy your software. like me. i am not going to buy your software, no thanks.). it primarily aims at Linux users.
  • the documentation of the rtmpdump-package s*cks (otherwise there wouldnt be any need to dedicate a whole forum section to the use of rtmpdump!). it is not a manual per se and does not compare at all to commercially written documentation (or manuals!) of successful commercial software. but this is quite natural or common: documentation of freeware usually lacks or s*cks. and it is even truer for freeware/documentation produced by non-English native speakers.
I am willing to pay for (little) software tools which come along with outstanding(!) practical manuals which make the usage of the tool a clear, secure, easy, concise, reproducible thing (experience, successful), including comprehensive FAQ's and helpful trouble shooting tips and tricks.

again. *imo*

the rtmpdump documentation really sucks. :)
(dont take this statement personally. unless you want to. in any case hopefully you enjoyed reading my response)

Stream Recorder 02-25-2011 05:19 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by hyc (Post 25629)
You can use rtmpsuck on Windows if you have a TCP/IP filter that handles connection redirects. I'm not aware of any free drivers for Windows that will do this. I have one for Windows XP that my company sells. If you want it, feel free to email sales@symas.com for a "TCPX For Windows" license.

What kind of traffic needs to be redirected to rtmpsuck? TCP/IP coming to port 1935? Should this traffic be redirected to localhost:1935?

And what about RTMPE protocol? Do you think a TCP/IP filter that handles connection redirects for RTMPE streams can be DMCA compliant?

What about rtmpsuck.exe on Windows? Can it be just launched or any tweaks are needed?

symas driver works in Windows XP only?

hyc 02-25-2011 06:40 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by placebo (Post 25636)
hyc, you are one of the folks behind rtmpdump or know rtmpdump extremely well?

I have written all of the rtmpdump releases from 1.8 to 2.3.

Quote:

[...] You are mentioning "paying" (money), "time" and "work" in your posting (and dont give any practical help/info other than "write me an email if you want to buy"). Interesting that you're mentioning these aspects (of life). Maybe that's exactly what the original coder (author/creator) of the rtmpdump-package was thinking, too (who, too, doesnt want to address or deal with Windows users).

So well, okay then. And here is my response (representing some larger part of the Windows users, namely the "99%" ;) ):

From what is written on SRF (this website!) we can conclude that rtmpsuck could be used on Windows machines but, in practice, no single Windows user actually ever uses rtmpsuck. In fact, on SRF, i havent come across any boardie who uses rtmpsuck on a Windows system.

i (a forum moderator on SRF. and a hardcore Windows user. only willing to read the chapter headlines of manuals/documentation.) dont even use rtmpdump nor rtmpsrv other than for testing it for the sake of testing. in RL-practice, when i need to download a stream (audio/video), many Ch*nese software tools (freeware or shareware e.g. the ones designed by Terry Backer) for Windows are available which, by their GUI, do the download more comfortably and even though they lack noteworthy documentation too. so why would i want to waste my time with rtmpdump (or rtmpsrv or rtmpsuck or the documentation of rtmpdump or the documentation of rtmpsrv or the documentation of rtmpsuck)?? so there are three tools (rtmpdump+rtmpsrv+rtmpsuck) with their respective documentation and my sole aim is to download a single video? oh please. no thanks.

if i want to download a (protected) streaming video, i do this instead, which is the opposite of wasting time:
i launch GetFLV, surf to the video webpage, download the video with getflv's GUI, and done! No need to read any documentation!!

Let's summarize (and correct me if i am wrong):
  • rtmpdump.exe is for Windows. and it works.
  • rtmpsrv.exe is for Windows and works too. it facilitates the secure use of rtmpdump.exe.
  • rtmpsuck could be used on Windows but no Windows user uses it (because they dont need it or because they dont want to buy your software. like me. i am not going to buy your software, no thanks.). it primarily aims at Linux users.
  • the documentation of the rtmpdump-package s*cks (otherwise there wouldnt be any need to dedicate a whole forum section to the use of rtmpdump!). it is not a manual per se and does not compare at all to commercially written documentation (or manuals!) of successful commercial software. but this is quite natural or common: documentation of freeware usually lacks or s*cks. and it is even truer for freeware/documentation produced by non-English native speakers.
I am willing to pay for (little) software tools which come along with outstanding(!) practical manuals which make the usage of the tool a clear, secure, easy, concise, reproducible thing (experience, successful), including comprehensive FAQ's and helpful trouble shooting tips and tricks.

again. *imo*

the rtmpdump documentation really sucks. :)
(dont take this statement personally. unless you want to. in any case hopefully you enjoyed reading my response)
I adopted rtmpdump after it was abandoned by its original author so that *I* could use it for the things I needed. Since you are a Windows user, you are NOT the target audience for this package. I already know there are umpteen-zillion downloaders available for Windows and I heartily encourage all Windows users to go and use their favorite.

The only reason we provide builds of rtmpdump for Windows is because some people whined loudly enough that they wanted to use it but it was too hard for them to compile it on their own. I don't have any more Windows boxes in my place but I can still fire up a VM when I need to compile and test this code.

I provide builds of rtmpdump for Android because I use it on my Android phone. I don't provide builds of rtmpdump for MacOS because I don't use MacOS and don't have a VM that I can install it in and build under, and I have no interest in getting one set up.

So anyway - no, not taking this personally. But the simple fact is, if you read the provided documentation and it didn't make sense to you, then NO, this package isn't for you. You have tons of other options available, please go use one of them instead.

RTMPdump is important to me because there are NO other options on Linux. It is open source, to make it possible for other Linux programmers to extend it and enhance it with pretty push-button GUIs if they feel so inclined. It has only ever been intended as a vehicle for other programmers to build their own projects around. (In fact its functionality has now been integrated into what I see as the important projects on Linux - VLC, XBMC, mplayer, and ffmpeg - so its reason for existence as a standalone command line tool is greatly diminished.)

If you as a user are unhappy with what you got for free, that's not my problem. i gave this code to the world, what have you given?

hyc 02-25-2011 06:46 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by Stream Recorder (Post 25639)
What kind of traffic needs to be redirected to rtmpsuck? TCP/IP coming to port 1935? Should this traffic be redirected to localhost:1935?

Almost. You need to redirect traffic *going out to* port 1935, not "coming to". And of course, port 1935 is only a default; any particular server could be configured to use any other port arbitrarily. Moreover, you need the redirect to be done at the kernel level, so that the original destination address is preserved inside the kernel, and can be retrieved by the rtmpsuck program. When you edit the hosts.txt file, you can redirect a hostname to localhost, but the original destination address is lost. And of course, editing hosts.txt doesn't help you if the original RTMP destination was specified as a numeric IP address.

Quote:

And what about RTMPE protocol? Do you think a TCP/IP filter that handles connection redirects for RTMPE streams can be DMCA compliant?
The TCP/IP filter doesn't know (or care) what the data streams carry. It simply takes traffic bound for one destination and swaps in an alternate destination instead. DMCA is irrelevant.

Quote:

What about rtmpsuck.exe on Windows? Can it be just launched or any tweaks are needed?
Once the TCP/IP redirector is running, rtmpsuck needs no special tweaks.

Quote:

symas driver works in Windows XP only?
WinNT, Win2K, WinXP. I haven't tried it on Vista or Win7 but from what I've read in the developer's documentation, it probably will not work.

hyc 02-25-2011 06:59 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by placebo (Post 25636)
Let's summarize (and correct me if i am wrong):
  • rtmpdump.exe is for Windows. and it works.
  • rtmpsrv.exe is for Windows and works too. it facilitates the secure use of rtmpdump.exe.

The purpose of the rtmpsrv program is to intercept a connection from an RTMP client and extract its connection parameters so that they can be passed to rtmpdump. The intent is to provide an automated way to discover the parameters, which would otherwise have to be tediously extracted from various HTML, XML, or SWF files scattered across a web site. There's nothing that makes it any more or less secure.

Quote:

  • rtmpsuck could be used on Windows but no Windows user uses it (because they dont need it or because they dont want to buy your software. like me. i am not going to buy your software, no thanks.). it primarily aims at Linux users.

rtmpsuck was written for Linux, which has a complete TCP/IP networking stack that isn't brain-damaged by design. It relies on networking features that are generally present by default on any Linux machine. Its purpose is similar to rtmpsrv's - it intercepts an outgoing RTMP session. But instead of just collecting parameters that can later be used with rtmpdump, it runs in a passthru mode so that it can just save the data while the client is running. The main reason rtmpsuck is useful is because it should work regardless of whatever silly security token methods might be in use on a client or server. Since it just operates in passthru mode, it doesn't need to understand what those security methods are, it just has to pass them thru faithfully.

rtmpsuck can be made to work on Windows, if you add some 3rd party software to extend the TCP/IP stack to support connection redirection. There are many 3rd party products that can add this feature. I only commented that I am not aware of any free ones. I never implied that my company's was the only option.

And as already noted - NO, IF YOU'RE ON WINDOWS YOU REALLY DON'T NEED ANY OF THIS. Please go and use GetFLV or StreamTransport or Jaksta or whatever else.

Quote:

  • the documentation of the rtmpdump-package s*cks (otherwise there wouldnt be any need to dedicate a whole forum section to the use of rtmpdump!). it is not a manual per se and does not compare at all to commercially written documentation (or manuals!) of successful commercial software. but this is quite natural or common: documentation of freeware usually lacks or s*cks. and it is even truer for freeware/documentation produced by non-English native speakers.

Well, professionally written documentation comes from professional documentation writers. This is an open source project, anyone is welcome to participate. I am a professional software engineer and I donate my coding skills. Any professional doc writer who wishes to donate their doc writing skills is welcome to participate in the project.

Stream Recorder 03-04-2011 11:50 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by hyc (Post 25649)
Almost. You need to redirect traffic *going out to* port 1935, not "coming to". And of course, port 1935 is only a default; any particular server could be configured to use any other port arbitrarily. Moreover, you need the redirect to be done at the kernel level, so that the original destination address is preserved inside the kernel, and can be retrieved by the rtmpsuck program. When you edit the hosts.txt file, you can redirect a hostname to localhost, but the original destination address is lost. And of course, editing hosts.txt doesn't help you if the original RTMP destination was specified as a numeric IP address.

Sorry, I don't understand what "going out to port 1935 means".
Does it mean that the server uses port 1935 and a PC can use any other port?

Also the developer of rtmpexplorer says that RTMPE and RTMPT don't use port 1935, so his program works with RTMP only
http://stream-recorder.com/forum/sho...84&postcount=6
So he doesn't know how to handle RTMPE and RTMPT streams. Other developers will probably face the same problem.

hyc 03-05-2011 02:24 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by Stream Recorder (Post 25783)
Sorry, I don't understand what "going out to port 1935 means".
Does it mean that the server uses port 1935 and a PC can use any other port?

Yes.

Quote:

Also the developer of rtmpexplorer says that RTMPE and RTMPT don't use port 1935, so his program works with RTMP only
http://stream-recorder.com/forum/sho...84&postcount=6
So he doesn't know how to handle RTMPE and RTMPT streams. Other developers will probably face the same problem.
If he was writing open source I could easily help him. Since he's not, too bad.

chap 03-05-2011 08:44 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

rtmpsuck FOR WINDOWS?... hopefully
Now, it already is.

sam4037 05-06-2011 04:03 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
I think it would be a great idea to somehow persuade the RTMPexplorer dev to open his code so that Howard can help him with rtmpe support for all the windows users.

How can this be done? Perhaps with a financial initiative or plain logic and reason?

Having had a good look at the mailing list as well as Howards CV I am sure not only the dev of rtmpexplorer but all of the rtmpdump users on Windows would greatly benefit.

That said, I have just started using Ubuntu Desktop and oh wow.. Thanks to rtmpdump I have finally made the move, well at least I am trying things out with rtmpsrv on Ubuntu now. This is so damn exciting!

Having come back to this thread month later I also now understand this pass through advantage of Linux compared to the Windows OS and the complicated way the traffic is handled there. Howard FTW!

Stream Recorder 05-06-2011 04:59 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
@sam
Personally I don't need RTMPexplorer.

rtmpsrv and rtmpsuck work fine in Linux. Let other users to explore how fast and secure Ubuntu is :)
If you play audio/video, surf the net only, you don't need Windows.

Stream Recorder 05-06-2011 09:24 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Moved Ubuntu questions into the following thread:
First time using Ubuntu: General Questions

greek33 09-08-2014 02:28 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by hyc (Post 25803)
Yes.



If he was writing open source I could easily help him. Since he's not, too bad.


I don't know guys. It's all Greek to me, lol. Just seems like alot of work. It has been 15 yrs sinee i got my computer science degree. And i'm still a chef. You know what they say, and its very true, if you don't use it u lose it. I took the easy way out and downloaded getflv.

greek33 09-08-2014 02:41 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
I have since uninstalled getflv and installed replay media catcher 4 and that seems to be working out pretty good. fairly simple to use. you just have to configure the settings to get what u want and what you dont

greek33 09-08-2014 02:47 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
I go through the torrents. alot of people dont like to, but i dont havfe a problem. As a matter of fact i found a very good and fairly simple virus program called eset nod32 antivirus 7

greek33 09-08-2014 02:51 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Quote:

Originally Posted by hyc (Post 25803)
Yes.



If he was writing open source I could easily help him. Since he's not, too bad.


I don't know guys. It's all Greek to me, lol. Just seems like alot of work. It has been 15 yrs sinee i got my computer science degree. And i'm still a chef. You know what they say, and its very true, if you don't use it u lose it. I took the easy way out and downloaded getflv. I still have to add data into the settings of replay media catcher just to keep the trash out

greek33 09-08-2014 02:55 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
ok peeps, i'm out. gotta sleep sometime. have a good night, or morning wherever u are. as for me its time to get up and i haven't even slept.

j_cool 02-23-2016 05:21 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
Dear XYC,

if you still read this 5 years later on...

Once upon a time there was a w****r called Linus who wrote an OS..
This is how you write about "99%".
You gave a code to the world, but your character is next to
giving a code like throwing a bone to the dog.

Thank you KSV and Nir Sofer.

j_cool 02-25-2016 02:23 PM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
This thread is 5 years old with 27 posts only.

The most senior member on this forum, HYC, has given his contribution as well.
He gave something to the world in his own way.

I will give something to the world in my way by writing within this forum's thread about rtmpsuck,
rtmpsrv and rtmpdump in a less technical language.

I use rtmpdump on a DAILY basis to download rtmp streams.

To use rtmpdump you must be comfortable with the use of command line in windows ( cmd ) or in unix ( bash ).

Rtmpdump makes request to a server to download a stream, and server requests from rtmpdump to provide some data
( parameters ) before allowing download to happen.

Rtmpsuck and rtmpsrv are programs that provide me with those parameters that server wants.
It is beyond me how rtmpsrv and rtmpsuck work, they give me parameters that I use with rtmpdump on command line to make server happy, and I download the stream.

It is easy to use rtmpdump.
You type on command line rtmpdump with parameters, press enter, and off you go.

It is not so with rtmpsuck and rtmpsrv.
They have to be set up in OS to run how they are supposed to run and give you parameters.

I read it here and there about how to set up rtmpsrv in windows and failed every time.
Ideal setup would be running rtmpsrv on ubuntu, it would give you all parameters for rtmp download at any time.
I use windows today for one reason, I use today what I know better today.

There is program called rtmpdumphelper and it sets up rtmpsuk or rtmpsrv for you.

Here is output from rtmpdumphelper's rtmpsuk and rtmpsrv from a website:



RTMPSUCK output from cmd window:
________________________________

RTMP Proxy Server v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : cams/sophialocke
flashVer : WIN 20,0,0,306
swfUrl : http://lvs.streamray.com/images/cams...wer_3_2_21.swf
tcUrl : rtmp://208.88.181.237/cams/sophialocke
pageUrl : http://rude.com/main/live_private/view/SophiaLocke/
live : no
Playpath : sophialocke
Saving as : 2016-02-25_12-22-02_sophialocke.flv
WARNING: ignoring too small audio packet: size: 0


RTMPSRV output from cmd window:
_______________________________

RTMP Server v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://208.88.181.237/cams/sophialocke"
-a "cams/sophialocke"
-f "WIN 20,0,0,306"
-W "http://lvs.streamray.com/images/cams/flash/CamsViewer_3_2_21.swf"
-p "http://rude.com/main/live_private/view/SophiaLocke/"
-C O:1
-C NB:isBounty:0
-C NB:showChatGroupMessage:0
-C NB:isTarget:0
-C NS:encodedUser:ZnJlZWxvYWRlcg==?=
-C NB:partyChatAvailable:1
-C NN:chatType:1.000000
-C NB:inGroupshow:0
-C NS:encodedPass:Z3VpZC5leHBpcmVkLjE0NTAxNDEwMjEyNzI =?=
-C NB:isMobile:0
-C NS:realIp:
-C NS:streamName:SophiaLocke
-C NB:inMultiPrivate:0
-C NS:vsite:rude
-C NN:swfVersion:3.000000
-C NB:inTippingPrivate:0
-C NS:noSpam:undefined
-C NB:isInVoyMode:0
-C O:0
-y "sophialocke"
-o "2016-02-25_12-24-17_sophialocke.flv"

Closing connection... done!

RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
WARNING: Trying different position for client digest!
Duplicate request, skipping.
Closing connection... done!

Starting download at: 0.000 kB
1146.252 kB / 12.20 sec



COMMAND.TXT
____________________
This is file saved by rtmpdumphelper showing parameters like rtmpsrv does, Thank you, Nir Sofer.



Here I observe 2 things:

Rtmpsuck returns fewer parameters than rtmpsrv. Rtmpsuck parameters are with librtmp switches
with CONN switches never present, many times crucial to server without which connection will be rejected.


Rtmpsrv returns full list of parameters with rtmpdump switches.

There is program urlhelper which will return some or rtmp parameters,
and wireshark which will return everything if you are good at it.
RTMPDUMP package gives us rtmpsrv, so I stop here writing about other programs.



Now about :


***************************

RTMPDUMP

***************************

Here is the result of download of pre-recorded documentary film from AlJazeera, rtmp stream:

Intel i7-6700K, 20 mega bit wired broadband:


VLC - 47 min

FFMPEG - 47 min

RTMPDUMP - 3 min 20 sec ( KSV ? )


URL:

http://www.aljazeera.com/programmes/...231487582.html


RTMP parameters from URL Helper 3.42:

rtmp://ajenglishfs.fplive.net:1935/ajenglish?videoId=2275599890001&lineUpId=&pubId=66 5003303001&playerId=1422553060001&affiliateId=
<playpath>mp4:665003303001/665003303001_2276117462001_WEB-SSS-EP1-1124-04.mp4?videoId=2275599890001&lineUpId=&pubId=66500 3303001&playerId=1422553060001&affiliateId=
<swfUrl>http://admin.brightcove.com/viewer/u...=1456430479335
<pageUrl>http://www.aljazeera.com/programmes/...231487582.html




vlc rtmp://ajenglishfs.fplive.net:1935/ajenglish/mp4:665003303001/665003303001_2276117462001_WEB-SSS-EP1-1124-04.mp4 --sout="#duplicate{dst=std{access=file,mux=flv,dst=' c:\7 sisters - EPISODE 1.flv'},dst=nodisplay}"


ffmpeg -i "rtmp://ajenglishfs.fplive.net/ajenglish app=ajenglish playpath=mp4:665003303001/665003303001_2276117462001_WEB-SSS-EP1-1124-04.mp4" -c copy "c:\7 sisters - EPISODE 1.flv"


rtmpdump -r "rtmp://ajenglishfs.fplive.net" -a "ajenglish" -y "mp4:665003303001/665003303001_2276117462001_WEB-SSS-EP1-1124-04.mp4" -o "c:\7 sisters EPISODE 1.flv"



Enjoy the documentary.

j_cool 07-03-2016 05:33 AM

Re: What is rtmpsuck and rtmpsrv? When to use rtmpsuck and when rtmpsrv/rtmpdump?


 
I just found out that AlJazeera is no longer using RTMP for "talk to AlJazeera" documentary, this might lead to using RTMP less and less.

http://c.brightcove.com/services/mob...=5016295017001

However, RTMP is still good for PEEP-SHOW.

Cheers,

johnny cool


All times are GMT -6. The time now is 04:08 AM.