c++ - Building WMF (Windows Media Foundation) mediadriver plugin for Qt on Windows 10 -
i've downloaded , installed msvc compiled qt 5.7 qt official download page via online installer windows 10.
i try create media player application uses qvideoprobe
. apparently there are 2 mediadriver plugins (or multimedia backends) windows. directstreamer , media foundation (mf or wmf). both has limitations. can capture video directstreamer qvideoprobe
not supported. on wmf side it's on contrary. can't use camera capture wmf qvideoprobe
supported.
my problem qt comes directstreamer default. can found @ <qt-install-path>\5.7\msvc2015_64\plugins\mediaservice\dsengine.dll
understand have build , deploy wmf plugin myself didn't find documentations or tutorials.
if 1 downloads qt source (also available in download page) source code of plugin can found in <qt-src-path>\qt-everywhere-opensource-src-5.7.0\qtmultimedia\src\plugins\wmf
directory.
my questions: how create plugin sorce existing qt install? need additional libraries or other stuff windows? can find tutorials this? did searching (media backend plugin building) seems white spot.
thanks help!
ok, apparently easier thought. here did:
- installed qt 5.7 online installer
- installed visual studio , debugging tools windows
- downloaded source qt 5.7 official download page
- downloaded , installed qtcreator official download page. if order correct ide automatically recognized kit (with compiler , debugger).
- copied source qt directory (into
<qt-install-path>\5.7\src
) - opened
qmultimedia
project qtcreator (located under<qt-install-path>\5.7\src\qtmultimedia
) - build
qmultimedia
- build
plugins/wmf
subproject separately
and under build directory (under <build-path>\plugins\
) wmfengine.dll
appeared.
Comments
Post a Comment