Closed HunterZ closed 3 years ago
I noticed that adlmidi2 has a CMake option ADLMIDI2_VIDEO_OUT_SUPPORT that enables support for piping video to ffmpeg, but that this isn't supported on Windows because of popen().
adlmidi2
ADLMIDI2_VIDEO_OUT_SUPPORT
ffmpeg
popen()
Turns out Visual C++ has a compatible implementation named _popen(), so I was able to get it working with a few additional minor tweaks: https://twitter.com/HunterZ0/status/1318735497951211521
_popen()
I will submit a pull request for consideration.
Thank you for the fix :fox_face:
I noticed that
adlmidi2
has a CMake optionADLMIDI2_VIDEO_OUT_SUPPORT
that enables support for piping video toffmpeg
, but that this isn't supported on Windows because ofpopen()
.Turns out Visual C++ has a compatible implementation named
_popen()
, so I was able to get it working with a few additional minor tweaks: https://twitter.com/HunterZ0/status/1318735497951211521I will submit a pull request for consideration.