Building rtmpsuck with MSVC toolchain
Any chance someone has an Makefile or two for building rtmpsuck under the MSVC toolchain? I'm trying to get to the bottom of why I cannot get an ffmpeg build to connect to a certain (what I believe to be an) RTMPS stream for interop reasons (bringing the stream to other mobile platforms), so I've recently been trying to get rtmpsuck to build under my preferred toolchain (MSVC) under MinGW (because doing so in VS 2013 seems a bridge too far) as the existing 2 year old binary from http://rtmpdump.mplayerhq.hu/ fails to handshake (the same issue I seem to be having with full ffmpeg in my own wrapping app)... and being able to directly debug against it in my preferred tools would be useful to try to get a few steps further. While I know there have been discussions in past over VC lacking C99 support, and so preventing building under the MSVC toolchain, that does seem to be something that's been supported for a while now (ffmpeg is buildable under MSVS 2013 for example)... so I must ask... does anyone have a functioning makefile to build the rtmpdump set of programs (including rtmpsuck) under MinGW & the MSVC toolchain? When last I dug into this issue a number of months back it was quite clear that the makefile was pretty hard coded for non MSVC systems, but that a few tweaks of CC and expected o/obj files could improve things... I seem to have not saved my attempts from then. Thanks, Brendan
As far as building under MSVC, I haven't a clue. I work with a project that builds both it and a number of other multimedia tools under MINGW/MSYS2 if it helps though. You can build static libs with it and use those in MSVC projects without any issue: https://github.com/jb-alvarado/media-autobuild_suite The handshake may not be an issue with the old binary though. If that ends up being the case, you can likely try https://github.com/K-S-V/Scripts/releases/tag/v2.4 to see if it resolves it. Is there a specific reason you want to build it under MSVC? On Fri, Jan 2, 2015 at 2:44 AM, Brendan Grant <grantb@dahat.com> wrote:
Any chance someone has an Makefile or two for building rtmpsuck under the MSVC toolchain?
I’m trying to get to the bottom of why I cannot get an ffmpeg build to connect to a certain (what I believe to be an) RTMPS stream for interop reasons (bringing the stream to other mobile platforms), so I’ve recently been trying to get rtmpsuck to build under my preferred toolchain (MSVC) under MinGW (because doing so in VS 2013 seems a bridge too far) as the existing 2 year old binary from http://rtmpdump.mplayerhq.hu/ fails to handshake (the same issue I seem to be having with full ffmpeg in my own wrapping app)… and being able to directly debug against it in my preferred tools would be useful to try to get a few steps further.
While I know there have been discussions in past over VC lacking C99 support, and so preventing building under the MSVC toolchain, that does seem to be something that’s been supported for a while now (ffmpeg is buildable under MSVS 2013 for example)… so I must ask… does anyone have a functioning makefile to build the rtmpdump set of programs (including rtmpsuck) under MinGW & the MSVC toolchain?
When last I dug into this issue a number of months back it was quite clear that the makefile was pretty hard coded for non MSVC systems, but that a few tweaks of CC and expected o/obj files could improve things… I seem to have not saved my attempts from then.
Thanks,
Brendan
_______________________________________________ rtmpdump mailing list rtmpdump@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
On Fri, 2 Jan 2015 07:44:26 +0000 Brendan Grant <grantb@dahat.com> wrote:
I've recently been trying to get rtmpsuck to build under my preferred toolchain (MSVC) under MinGW (because doing so in VS 2013 seems a
no clue. last i saw the makefile was very simple, it maybe running into the same problem that ffmpeg ran into on msvc, which means you can steal the c99 preprocessor from ffmpeg to use on rtmpdump for msvc ?
bridge too far) as the existing 2 year old binary from http://rtmpdump.mplayerhq.hu/ fails to handshake (the same issue I
did you try ksv's rtmpdump sources/binaries at stream-recorder forum (and github)? he has osme changes not merged that may fix some issues on some servers... -compn
participants (3)
-
Brendan Grant -
compn -
Matt Breedlove