[Bug 781537] NVDEC - Nvidia Decoder plugin

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 25 09:18:38 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=781537

Snir <ssheribe at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssheribe at redhat.com

--- Comment #26 from Snir <ssheribe at redhat.com> ---
Hi

I was able to build and use the plugin on k620 and it works pretty well!!
i had some small issues but maybe i did something wrong while running\building
it.. 

-Sometimes it shows only the first frame and freezes, so i have to start it
again (i'm using gst-launch-1.0 filesrc location=/tmp/file.h264 ! nvh264dec !
glimagesink (or ! videoconvert ! xvimagesink))

-I tried to play two movies one had 1365*1024 resolution and the other one
2560*1450, both were encoded same way using Nvidia encoder, but the first one
gives:
gstnvh264dec.c:763:gst_nvh264dec_send_decoded_frame:<nvh264dec0> Cuda buffer
size: 2359296, not equal gstreamer buffer size: 2101248

-And one thing that i had to change is 
--- a/sys/nvdec/gstnvh264plugin.c
+++ b/sys/nvdec/gstnvh264plugin.c
@@ -35,7 +35,7 @@ plugin_init (GstPlugin * plugin)

 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
     GST_VERSION_MINOR,
-    nvh264dec,
+    nvdec,
     "Nvidia cuda decoder plugin",
otherwise the .so file is blacklisted

Did you encounter these issues?

Which Nvidia tools are needed in order to build it? currently my driver is
381.22 and i'm using cuda packages from non-official repo, but i would prefer
to use only Nvidia proprietary tools (maybe that's why i had this issues? i'm
not sure :/)

(btw I'm building on fedora, the cuda pkgs were called differently so i had to
change this too:
-    PKG_CHECK_MODULES([CUDA], [cuda-8.0 cudart-8.0],, [
+    PKG_CHECK_MODULES([CUDA], [cuda cudart],, [
)


Thank you!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list