[Kwiver-users] KWIVER Docker Usage: KWIVER_PLUGIN_PATH

David Stoup david.stoup at kitware.com
Fri Sep 4 12:45:30 EDT 2020


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.

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.

On Fri, Sep 4, 2020 at 11:07 AM Matt Leotta via Kwiver-users <
kwiver-users at public.kitware.com> wrote:

> Bane,
>
> 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.
>
> 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.
>
> --Matt
>
> On Fri, Sep 4, 2020 at 10:51 AM Bane Sullivan via Kwiver-users <
> kwiver-users at public.kitware.com> wrote:
>
>> Hi all, I am attempting to use the KWIVER Docker image published here
>> <https://hub.docker.com/r/kitware/kwiver/tags> to extract KLV meta data
>> from the public VIRAT FMV data set hosted here
>> <https://data.kitware.com/#collection/56f56db28d777f753209ba9f/folder/56f57fa48d777f753209c713>.
>> 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.
>>
>> 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?
>>
>> Here is the error I get when running `kwiver dump-klv
>> 09152008flight2tape1_1.mpg” (the first video
>> <https://data.kitware.com/#item/56f57fa48d777f753209c714> in that data
>> folder):
>>
>> INFO: Could not load default logger factory. Using built-in logger.
>>
>> 2020-09-04 14:33:28.58 WARN registration.cxx(123): Ignore Python
>> Exception:
>>
>> 2020-09-04 14:33:28.58 WARN registration.cxx(123): ModuleNotFoundError:
>> No module named 'vital'
>>
>> 2020-09-04 14:33:28.136 WARN registration.cxx(123): Ignore Python
>> Exception:
>>
>> 2020-09-04 14:33:28.136 WARN registration.cxx(123): ModuleNotFoundError:
>> No module named 'vital'
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(189): Could not find
>> implementation "ffmpeg" for "video_input"
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): Implementation 'ffmpeg'
>> for algorithm type video_reader:type could not be found.
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): Make sure
>> KWIVER_PLUGIN_PATH is set correctly. Available implementations are:
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): vidl_ffmpeg
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): filter
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): image_list
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): pos
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): splice
>>
>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): split
>>
>> Invalid video_reader config
>>
>>
>> *Bane Sullivan*
>> *R&D Engineer*
>> *Kitware Inc.*
>> *https://www.kitware.com/bane-sullivan/*
>> <https://www.kitware.com/bane-sullivan/>
>> _______________________________________________
>> Kwiver-users mailing list
>> Kwiver-users at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/kwiver-users
>>
> _______________________________________________
> Kwiver-users mailing list
> Kwiver-users at public.kitware.com
> https://public.kitware.com/mailman/listinfo/kwiver-users
>


-- 
David Stoup
Principal Engineer

Kitware, Inc.

1712 Route 9, Suite 300
Clifton Park, NY 12065-3104
518-881-4949 (W)
518-312-3946 (M)
518-371-4573 (F)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/kwiver-users/attachments/20200904/9c914411/attachment.htm>


More information about the Kwiver-users mailing list