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 05-18-2018, 01:22 PM
everix1992 everix1992 is offline
Junior Member
 
Join Date: Feb 2014
Posts: 5
everix1992 is on a distinguished road
Default

[Request] Guide on how to compile rtmpdump for windows


I've got a change I want to make to RTMPDump - I want to watch for a string on STDIN and use that to trigger termination of the application. Currently, the only ways to exit seem to be Ctrl+C and the X button. However, I'm running this as a hidden window in C# and therefore can't send Ctrl+C to the application or Exit it normally. The changes themselves are easy enough to make, but for the life of me I cannot seem to get them compiled.

I've tried using Cygwin and MinGW on windows. I actually managed to get it compiled with Cygwin, but I got a "Problem accessing DNS" error when I tried to run it (plus it was dependent on all the Cygwin dlls). I couldn't even get it to compile on MinGW. Both of these options probably work, but I don't have the requisite knowledge to make them work apparently. I'm also open to using Linux (through a VM or running on my Raspberry Pi) if necessary. I tried compiling it on the Linux Subsystem on my Windows 10 PC, but got stuck there as well. So if anyone can guide me through how to do this, I'd really appreciate it.

I feel especially dumb because I work with C everyday at work...we just manage all of our projects in Visual Studio and so I usually don't have to worry much about all this. Any help is greatly appreciated. Thanks!
Reply With Quote
  #2  
Old 05-18-2018, 01:42 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: [Request] Guide on how to compile rtmpdump for windows


I know a person who can do it, Vangelis66.

Here is a link for your guidance:

http://stream-recorder.com/forum/sho...&postcount=446

You would be a gentleman to post a link for us to downoad your rtmpdump once it works,

or at least send me PM with a link if you are shy.

Cheers,

Johnny.
Reply With Quote
  #3  
Old 05-18-2018, 01:57 PM
everix1992 everix1992 is offline
Junior Member
 
Join Date: Feb 2014
Posts: 5
everix1992 is on a distinguished road
Default

Re: [Request] Guide on how to compile rtmpdump for windows


Quote:
Originally Posted by j_cool View Post
I know a person who can do it, Vangelis66.

Here is a link for your guidance:

http://stream-recorder.com/forum/sho...&postcount=446

You would be a gentleman to post a link for us to downoad your rtmpdump once it works,

or at least send me PM with a link if you are shy.

Cheers,

Johnny.
I don't see a Vangelis66 on these boards so I'm not 100% who's being referenced or how to get in contact with them.
Reply With Quote
  #4  
Old 05-18-2018, 07:28 PM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: [Request] Guide on how to compile rtmpdump for windows


I don't know C at all (This is not my language of choice), however, I don't have problems compiling rtmpdump in Windows.
Usually, I do following
  • Install MinGW
  • Download openSSL and zlib
  • Launch command prompt C:\MinGW\msys\1.0\msys.bat
  • Compile openSSL and zlib
  • Compile rtmpdump using command make SYS=mingw INC="-I/c/openssl-1.0.2o/include -I/c/zlib-1.2.11 -L/c/openssl-1.0.2o -L/c/zlib-1.2.11" LDFLAGS="-L/c/openssl-1.0.2o -L/c/zlib-1.2.11"


Quote:
Originally Posted by everix1992 View Post
I've got a change I want to make to RTMPDump - I want to watch for a string on STDIN and use that to trigger termination of the application. Currently, the only ways to exit seem to be Ctrl+C and the X button. However, I'm running this as a hidden window in C# and therefore can't send Ctrl+C to the application or Exit it normally. The changes themselves are easy enough to make, but for the life of me I cannot seem to get them compiled.

I've tried using Cygwin and MinGW on windows. I actually managed to get it compiled with Cygwin, but I got a "Problem accessing DNS" error when I tried to run it (plus it was dependent on all the Cygwin dlls). I couldn't even get it to compile on MinGW. Both of these options probably work, but I don't have the requisite knowledge to make them work apparently. I'm also open to using Linux (through a VM or running on my Raspberry Pi) if necessary. I tried compiling it on the Linux Subsystem on my Windows 10 PC, but got stuck there as well. So if anyone can guide me through how to do this, I'd really appreciate it.

I feel especially dumb because I work with C everyday at work...we just manage all of our projects in Visual Studio and so I usually don't have to worry much about all this. Any help is greatly appreciated. Thanks!
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 08:14 PM.


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