gstreamer-vaapi
Nick Kallen
socialmediamaster9000 at gmail.com
Wed Jan 18 14:46:09 UTC 2017
Hi,
I miraculously got it to compile, replacing everywhere it said
# include <GL/gl.h>
with
# include <GL/gl.h>
# include <GL/glext.h>
"sudo make install" put the libraries in /usr/local/lib/gstreamer-1.0
however, simply copying the files libgstnvenc.la libgstnvenc.so into
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/
or /usr/lib/x86_64-linux-gnu doesn’t seem to install the plugin:
gst-launch-1.0 fakesrc ! nvenc
WARNING: erroneous pipeline: no element "nvenc"
On January 18, 2017 at 1:34:29 PM, Nick Kallen (
socialmediamaster9000 at gmail.com) wrote:
Hi
So you'd have to compile gst-plugins-bad yourself - it's enough to
configure it and then cd sys/nvenc; make; make install in there - no
need for all the other plugins.
Then by default the plugin will be installed into a different prefix,
so you either need to copy it into /usr/lib/../gstreamer-1.0/ manually
or set the GST_PLUGIN_PATH variable to where it was installed, so that
GStreamer finds it.
I’m stuck again, sorry :( . I configured with the nvidia libraries:
LDFLAGS="-L/usr/lib/nvidia-367" ./*configure*
--with-cuda-prefix='/usr/local/cuda’
But building nvenc fails when it tries to make the gl module. Here is the
error when I try to make gl directly:
*~/gst-plugins-bad-1.8.3/gst-libs/gst/gl*$ make
Making all in glprototypes
make[1]: Entering directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/glprototypes'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/glprototypes'
Making all in x11
make[1]: Entering directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/x11'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/x11'
make[1]: Entering directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl'
CC libgstgl_1.0_la-gstglcontext.lo
*gstglcontext.c:* In function ‘*gst_gl_context_get_current_gl_api*’:
*gstglcontext.c:607:22:* *error:* ‘*GL_CONTEXT_PROFILE_MASK*’ undeclared
(first use in this function)
GetIntegerv (GL_CONTEXT_PROFILE_MASK, &context_flags);
* ^*
*gstglcontext.c:607:22:* *note:* each undeclared identifier is reported
only once for each function it appears in
*gstglcontext.c:608:29:* *error:* ‘*GL_CONTEXT_CORE_PROFILE_BIT*’
undeclared (first use in this function)
if (context_flags & GL_CONTEXT_CORE_PROFILE_BIT)
* ^*
*gstglcontext.c:610:29:* *error:* ‘*GL_CONTEXT_COMPATIBILITY_PROFILE_BIT*’
undeclared (first use in this function)
if (context_flags & GL_CONTEXT_COMPATIBILITY_PROFILE_BIT)
* ^*
*gstglcontext.c:* In function ‘*_create_context_info*’:
*gstglcontext.c:990:23:* *error:* ‘*GL_SHADING_LANGUAGE_VERSION*’
undeclared (first use in this function)
if (!gl->GetString (GL_SHADING_LANGUAGE_VERSION)) {
* ^*
Makefile:1125: recipe for target 'libgstgl_1.0_la-gstglcontext.lo' failed
make[1]: *** [libgstgl_1.0_la-gstglcontext.lo] Error 1
make[1]: Leaving directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl'
Makefile:1403: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
For what it’s worth, there is a libGL.so in the /usr/lib/nvidia-367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170118/ba8241b9/attachment.html>
More information about the gstreamer-devel
mailing list