I’m trying to open a video using this line
like shown in the overview.
I tried with several video-container and codecs (I rendered several 1 sec videos to test them). Everytime
open() returned false. With further investigation into the cap.cpp I found,
CAP_DSHOW only has the mode
MODE_CAPTURE_BY_INDEX. When opening a video file the function
getAvailableBackends_CaptureByFilename() is called and as expected does not return
My question would be: Is
DSHOW no longer supported for opening video files or did I miss any build options which would set the mode to
In my opinion, if it is not supported, the overview as well as the documentation should reflect that.
The software I’m building has to run on a fresh Windows 10 N. Therefore MSMF and ffmpeg are not a viable option for me.