Can these images be used with the gstreamer
vaapi
plugin in a non-interactive shell?
#99
Labels
enhancement
New feature or request
Maybe I'm missing something obvious, but if I try to use this image without first initializing an interactive bash session, I cannot use the vaapi plugins. Compare the output of the following, executed on an Ubuntu 18 host:
Creating a container based on the
data_dev
image and directly runninggst-inspect-1.0
:Doing the same, but running the command within the context of an "interactive" bash shell:
As I understand it, using the
-i
flag when starting bash has many effects, including reading startup files. I can see in the output that[setupupvars.sh]
runs in the interactive session. However, there seems to be something more going on. I tried creating a new derived image with anENTRYPOINT
script that sources/opt/intel/openvino/setupvars.sh
(and/or.bashrc
or.profile
files), thenexec
ing the original command, but that is not sufficient to make thevaapi
plugin available (and this may just be my misunderstanding about how bash's environment propagates -- suggestions are welcome).Obviously, the command above (using
/bin/bash -i -c
) works around this issue, but it is not ideal. Is there a way to run agstreamer
command that uses thevaapi
plugin within a container based on this image without using an interactive bash session?Thanks!
The text was updated successfully, but these errors were encountered: