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-19-2012, 08:39 AM
mferris77 mferris77 is offline
Junior Member
 
Join Date: Feb 2012
Posts: 4
mferris77 is on a distinguished road
Default

Anyone know how RTMPExplorer actually works?


I don't mean "how do I use it" (it works fine for me) but how does it actually hook into rtmpsrv/rtmpsuck?

I have a fairly unique situation in which i'm trying to grab a few seconds of video from a set of live video streams in a scheduled/automated fashion. I can get by with the usual methods if I have to, but being able to hook into rtmpsuck and have my FLV automatically saved would be a big time saver. I'm guessing the "EasyHook" dlls are a key element but I'm not sure where to start.

Why not just use RTMPExplorer, you say? Well, because I don't actually need the browser element (or at least I don't need/want it to be visible) since the feeds will be accessed every 'n' seconds/minutes and I don't want the RTMPExplorer app popping up continuously. Not only that, but because these are live feeds, RTMPSRV doesn't work, I need to use RTMPSUCK.

Like I said, I can get by with the standard methods if I have to, but if anyone on these forums has a little nugget of knowledge regarding the inner workings of RTMPExplorer/hooking into rtmpsuck they can throw my way it would certainly help with my little project.

Thanks in advance!
Reply With Quote
  #2  
Old 02-19-2012, 09:01 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Anyone know how RTMPExplorer actually works?


RtmpExplorer hooks two functions of winsock send and recv. if any of the packet's destination port is 1935 it redirects it to localhost where rtmpsrv or rtmpsuck is listening.
Reply With Quote
  #3  
Old 02-21-2012, 05:11 PM
Sk1px Sk1px is offline
Junior Member
 
Join Date: Feb 2012
Posts: 7
Sk1px is on a distinguished road
Default

Re: Anyone know how RTMPExplorer actually works?


I have decompiled RTMPexplorer and created a project with full source code in C# a while ago (I wanted to modify the UI). If you want I can give it to you but only if you promise me to give your tool when you have finished.
Reply With Quote
  #4  
Old 02-22-2012, 07:43 AM
mferris77 mferris77 is offline
Junior Member
 
Join Date: Feb 2012
Posts: 4
mferris77 is on a distinguished road
Default

Re: Anyone know how RTMPExplorer actually works?


Thanks for the offer but I'm not familiar with C# code. I'm somewhat embarrassed to say that I'm programming in AutoIt, which is a derivative of Visual Basic. Since I made this post I actually found a way to do what I wanted to (in theory, I haven't started programming it yet). Using tshark, which is a command line version of Wireshark (and comes with the wireshark install), I can capture the packet information to a text file and then parse that for the appropriate information. If there's any interest in that I could post the program when it's done.
Reply With Quote
  #5  
Old 02-22-2012, 07:55 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Anyone know how RTMPExplorer actually works?


Yeah I would like to see it.
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 01:39 AM.


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