Re: nvcodec elements missing

Robert Ayrapetyan via gstreamer-devel <[email protected]> Thu, 5 Oct 2023 16:01:53 -0700
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <CAAboi9sVWdZzSpe5jJ2PkKPk0DW6K3Ox2Ptbtvp14BCcGF-ikQ@mail.gmail.com>
Add:

-Dugly=enabled -Dgst-plugins-ugly:x264=enabled

to `meson setup` for nvh264enc.

On Thu, Oct 5, 2023 at 3:54 PM Chris Del Guercio via gstreamer-devel
<[email protected]> wrote:
>
> I built libgstnvcodec on the 1.22.6 branch and only see cudadownload and cudaupload elements listed. In particular I'm looking to use the nvh264enc element. I've installed the latest nvidia drivers plus cuda on my system. I can't seem to find any docs that provide guidance on what I could be missing. Any help would be greatly appreciated.
>
> meson setup -Dauto_features=disabled -Dgstreamer:tools=enabled -Dbad=enabled -Dgst-plugins-bad:nvcodec=enabled builddir
> meson compile -C builddir
>
>
> gst-launch-1.0 --gst-version
> GStreamer Core Library version 1.22.5
>
>
> gst-inspect-1.0 nvcodec
>
> Plugin Details:
>   Name                     nvcodec
>   Description              GStreamer NVCODEC plugin
>   Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so
>   Version                  1.22.6
>   License                  LGPL
>   Source module            gst-plugins-:...skipping...
> Plugin Details:
>   Name                     nvcodec
>   Description              GStreamer NVCODEC plugin
>   Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvcodec.so
>   Version                  1.22.6
>   License                  LGPL
>   Source module            gst-plugins-bad
>   Documentation            https://gstreamer.freedesktop.org/documentation/nvcodec/
>   Source release date      2023-09-20
>   Binary package           GStreamer Bad Plug-ins source release
>   Origin URL               Unknown package origin
>
>   cudadownload: CUDA downloader
>   cudaupload: CUDA uploader
>
>   2 features:
>   +-- 2 elements
>
> --
> Chris C. Del Guercio
> [email protected]