<div dir="ltr">Bane,<div><br></div><div>He was referring to turning on FFmpeg in CMake at build time.  So I think a new Docker image needs to be built to fix this.</div><div><br></div><div>I'm not sure if it's worth the trouble, but my last TeleSculptor release may have a working kwiver with ffmpeg in it.  I know I have FFMPEG, but haven't tested the kwiver tool.  There are binaries built for Ubuntu 18.04.  They were built in a Docker container but are not distributed that way (because it's mostly a Qt GUI).  The installer has all the binaries in it.  You could try this, but I wouldn't waste too much time on it if it doesn't work.</div><div><a href="https://github.com/Kitware/TeleSculptor/releases/tag/v1.1.1">https://github.com/Kitware/TeleSculptor/releases/tag/v1.1.1</a>  <br></div><div><br></div><div>Even more crazy: you might be able to take the plugin binary from the TeleSculptor package and drop it into your KWIVER Docker image</div><div>lib/kwiver/modules/kwiver_algo_ffmpeg_plugin.so</div><div><br></div><div>It's a long shot (library rpaths may not match), but it might work.  The Docker image likely has FFMPEG libraries, just not the KWIVER plugin.</div><div><br></div><div>--Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 1:08 PM Bane Sullivan <<a href="mailto:bane.sullivan@kitware.com">bane.sullivan@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection">
<div dir="auto">Thanks Matt and David, this route forward sounds good to me and I’ll look forward to a new release with ffmpeg set up and working in the coming days.<br>
<br>
In the meantime, is there a way I can fix this with the currently release Docker image? David, you mention that you typically need explicitly turn on ffmpeg, do you have instructions on how to do that?<br>
<br>
Thanks,<br>
<br>
Bane</div>
</div>
<div name="messageSignatureSection"><br>
<i><b><font color="#8B8B8B">Bane Sullivan</font></b></i>
<div dir="auto"><i><font color="#8B8B8B">R&D Engineer</font></i></div>
<div dir="auto"><i><font color="#8B8B8B">Kitware Inc.</font></i></div>
<div dir="auto"><a href="https://www.kitware.com/bane-sullivan/" target="_blank"><i>https://www.kitware.com/bane-sullivan/</i></a><i><font color="#8B8B8B"><br></font></i></div>
</div>
<div name="messageReplySection">On Sep 4, 2020, 11:01 AM -0600, David Stoup <<a href="mailto:david.stoup@kitware.com" target="_blank">david.stoup@kitware.com</a>>, wrote:<br>
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px">
<div dir="ltr">Yes, agree with everything you said here. I will (have someone) pull all this together in the next few days and try to get it done in an order to get Bane and others off the side of the road quickly Hopefully we can do something quickly for a start this afternoon.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 12:56 PM Matt Leotta <<a href="mailto:matt.leotta@kitware.com" target="_blank">matt.leotta@kitware.com</a>> wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Dave,
<div><br></div>
<div>That all makes sense to me.  The FFMPEG arrow is now stable and the preferred way to access video, so it should certainly be enabled by default if FFMPEG is available. </div>
<div><br></div>
<div>I think Docker is an increasingly important way of distributing and integrating KWIVER into other systems.  I'm in favor of more regular builds.</div>
<div><br></div>
<div>There have been several important bug fixes in KWIVER since the last release.  I'm thinking we should make a new patch release soon from the release branch.  I would argue that missing FFMPEG in Docker is a bug that we should back port to the release branch so that the next release of KWIVER has working tools.</div>
<div><br></div>
<div>--Matt</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 12:45 PM David Stoup <<a href="mailto:david.stoup@kitware.com" target="_blank">david.stoup@kitware.com</a>> wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>I think you're right Matt, we should update the Docker images. Also, FFmpeg is one of the few arrows that doesn't enable automatically when the package is found. I always need to explicitly turn that one on. I would argue that for consistency, that should be fixed as well.</div>
<div><br></div>
<div>I don't know that anyone is responsible/tasked for updating Docker containers per se, but Taylor has often done it for releases. We might consider a nightly 'master' flavor that gets pushed from a successful nightly dashboard run. I can look into making that happen as well if it makes sense to you. <br></div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 11:07 AM Matt Leotta via Kwiver-users <<a href="mailto:kwiver-users@public.kitware.com" target="_blank">kwiver-users@public.kitware.com</a>> wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Bane,
<div><br></div>
<div>Based on the fact that your error message is showing a list of alternate implementations, and "ffmpeg" is not in the list, I would say that the environment is probably set correctly.  Other plugins are being found.  The problem is mostly likely that the ffmpeg arrow is missing for some reason.</div>
<div><br></div>
<div>Can anyone who knows more about the Docker container comment on this?  It looks like maybe FFMPEG was only enabled in the Dockerfile in a commit that was merged to master a month ago.  Who is responsible for updating the Docker build?  Maybe we just need to rebuild it.</div>
<div><br></div>
<div>--Matt</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 4, 2020 at 10:51 AM Bane Sullivan via Kwiver-users <<a href="mailto:kwiver-users@public.kitware.com" target="_blank">kwiver-users@public.kitware.com</a>> wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div name="messageBodySection">
<div dir="auto">Hi all, I am attempting to use the KWIVER Docker image published <a href="https://hub.docker.com/r/kitware/kwiver/tags" target="_blank">here</a> to extract KLV meta data from the public VIRAT FMV data set hosted <a href="https://data.kitware.com/#collection/56f56db28d777f753209ba9f/folder/56f57fa48d777f753209c713" target="_blank">here</a>. I’m attempting to use the `kwiver dump-klv` command line tool with these videos but I am running into an issue where the ffmpeg video reader plugin isn’t found.<br>
<br>
Does anyone have tips on how to configure this Docker image so that `KWIVER_PLUGIN_PATH` is set and ffmpeg is available? Perhaps there is larger issue with the Docker image since `KWIVER_PLUGIN_PATH` is not set and `kwiver/build/bin` is not in the PATH on start?<br>
<br>
Here is the error I get when running `kwiver dump-klv 09152008flight2tape1_1.mpg” (<a href="https://data.kitware.com/#item/56f57fa48d777f753209c714" target="_blank">the first video</a> in that data folder):<br></div>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">INFO: Could not load default logger factory. Using built-in logger.</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.58 WARN registration.cxx(123): Ignore Python Exception:</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.58 WARN registration.cxx(123): ModuleNotFoundError: No module named 'vital'</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.136 WARN registration.cxx(123): Ignore Python Exception:</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.136 WARN registration.cxx(123): ModuleNotFoundError: No module named 'vital'</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(189): Could not find implementation "ffmpeg" for "video_input"</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): Implementation 'ffmpeg' for algorithm type video_reader:type could not be found.</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): Make sure KWIVER_PLUGIN_PATH is set correctly. Available implementations are:</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): vidl_ffmpeg</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): filter</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): image_list</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): pos</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): splice</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">2020-09-04 14:33:28.139 WARN algorithm.cxx(250): split</span></div>
</blockquote>
<blockquote style="border:medium none;margin:0px 0px 0px 40px;padding:0px">
<div><span style="font-family:"Andale Mono",monospace">Invalid video_reader config</span></div>
</blockquote>
</div>
<div name="messageSignatureSection"><br>
<i><b><font color="#8B8B8B">Bane Sullivan</font></b></i>
<div dir="auto"><i><font color="#8B8B8B">R&D Engineer</font></i></div>
<div dir="auto"><i><font color="#8B8B8B">Kitware Inc.</font></i></div>
<div dir="auto"><a href="https://www.kitware.com/bane-sullivan/" target="_blank"><i>https://www.kitware.com/bane-sullivan/</i></a><i><font color="#8B8B8B"><br></font></i></div>
</div>
</div>
_______________________________________________<br>
Kwiver-users mailing list<br>
<a href="mailto:Kwiver-users@public.kitware.com" target="_blank">Kwiver-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/kwiver-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/kwiver-users</a><br></blockquote>
</div>
_______________________________________________<br>
Kwiver-users mailing list<br>
<a href="mailto:Kwiver-users@public.kitware.com" target="_blank">Kwiver-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/kwiver-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/kwiver-users</a><br></blockquote>
</div>
<br clear="all">
<br>
--<br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><span><font color="#888888">David Stoup<br>
Principal Engi<span style="background-color:rgb(204,204,204)"><span></span></span>neer<br>
<span style="color:rgb(204,204,204)"><span style="background-color:rgb(255,255,255)"><br>
<span style="color:rgb(153,153,153)">Kitw<font size="2">are, Inc.<br></font></span></span></span></font></span>
<div>
<p class="MsoNormal"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="2" face="tahoma, sans-serif">1712 Route 9, Suite 300</font></span></span></p>
</div>
<div><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="2"><font face="tahoma, sans-serif">Clifton Park, NY 12065-3104</font><span></span><br>
<span></span></font></span></span></div>
<font size="2"><span><font color="#888888"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)">518-881-4949 (W)</span></span><br></font></span></font></div>
<font size="2"><span><font color="#888888">518-312-3946 (M)<br></font></span></font>
<div><span><font color="#888888"><font size="2">518-371-4573 (F)</font><br></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br clear="all">
<div><br></div>
--<br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><span><font color="#888888">David Stoup<br>
Principal Engi<span style="background-color:rgb(204,204,204)"><span></span></span>neer<br>
<span style="color:rgb(204,204,204)"><span style="background-color:rgb(255,255,255)"><br>
<span style="color:rgb(153,153,153)">Kitw<font size="2">are, Inc.<br></font></span></span></span></font></span>
<div>
<p class="MsoNormal"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="2" face="tahoma, sans-serif">1712 Route 9, Suite 300</font></span></span></p>
</div>
<div><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)"><font size="2"><font face="tahoma, sans-serif">Clifton Park, NY 12065-3104</font><span></span><br>
<span></span></font></span></span></div>
<font size="2"><span><font color="#888888"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)">518-881-4949 (W)</span></span><br></font></span></font></div>
<font size="2"><span><font color="#888888">518-312-3946 (M)<br></font></span></font>
<div><span><font color="#888888"><font size="2">518-371-4573 (F)</font><br></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>

</blockquote></div>