<div dir="ltr">If you use Media Foundation you avoid most licensing issues. I haven't used it, but I found the ancient Video for Windows API to be straightforward. One issue with ffmpeg is that the API is still evolving, so year-to-year maintenance of software that uses it is a concern.<div><br></div><div> - David<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 20, 2018 at 9:21 AM Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 20, 2018 at 10:29:36 -0400, Ken Martin wrote:<br>
> I have a customer where we will need to decode video on windows in a VTK<br>
> based app. We can convert their video to whatever format we want offline.<br>
> Anyone here have experience with something like this? Is libvpx or ffmpeg<br>
> the way to go? Or use Microsoft Media Foundation?<br>
<br>
Using something like libvpx directly probably isn't the best. Are<br>
individual frames needed or is it just going to be rendered into an<br>
OpenGL context? If the former, I'd recommend ffmpeg (GPL with certain<br>
codecs enabled (namely x264 and x265), LGPL otherwise). If the latter,<br>
libmpv[1] might be a simpler API (with support for controls and the like<br>
already there). It has an LGPL flag to disable the GPL bits (they're in<br>
the process of relicensing[2]) which shouldn't affect the library too<br>
much.<br>
<br>
--Ben<br>
<br>
[1]<a href="https://github.com/mpv-player/mpv" rel="noreferrer" target="_blank">https://github.com/mpv-player/mpv</a><br>
[2]<a href="https://github.com/mpv-player/mpv/issues/2033" rel="noreferrer" target="_blank">https://github.com/mpv-player/mpv/issues/2033</a><br><br>
</blockquote></div></div></div>