plugin nvenc problem while building gstreamer 1.14.4 from source

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

plugin nvenc problem while building gstreamer 1.14.4 from source

Yawei Wang
Hi, I build gstreamer 1.14.4 plugin bad from source like below: 

NVENCODE_CFLAGS="-I/usr/local/cuda/include/" NVENCODE_LIBS="-L/usr/local/cuda/lib64/stubs/" \
    ./configure --prefix=/usr --enable-orc --enable-webrtc \
    --enable-nvenc --with-cuda-prefix=/usr/local/cuda
  time make -j$(nproc)
  make install
The configure is like below:
configure: *** Plug-ins without external dependencies that will be built:
accurip
adpcmdec
adpcmenc
aiff
asfmux
audiobuffersplit
audiofxbad
audiolatency
audiomixmatrix
audiovisualizers
autoconvert
bayer
camerabin2
coloreffects
compositor
debugutils
dvbsuboverlay
dvdspu
faceoverlay
festival
fieldanalysis
freeverb
frei0r
gaudieffects
gdp
geometrictransform
id3tag
inter
interlace
ivfparse
ivtc
jp2kdecimator
jpegformat
librfb
midi
mpegdemux
mpegpsmux
mpegtsdemux
mpegtsmux
mxf
netsim
onvif
pcapparse
pnm
proxy
rawparse
removesilence
sdp
segmentclip
siren
smooth
speed
stereo
subenc
timecode
videofilters
videoframe_audiolevel
videoparsers
videosignal
vmnc
y4m
yadif

configure: *** Plug-ins without external dependencies that will NOT be built:

configure: *** Plug-ins that have NOT been ported:

configure: *** Plug-ins with dependencies that will be built:
curl
dash
decklink
dtls
dvb
fbdevsink
gl
hls
ipcpipeline
kms
nvdec
nvenc
opus
rtmp
shm
smoothstreaming
srtp
vcdsrc
webrtc
webrtcdsp

configure: *** Plug-ins with dependencies that will NOT be built:
acm
androidmedia
aom
applemedia
assrender
avcsrc
bluez
bs2b
bz2
chromaprint
daala
dc1394
dfbvideosink 
direct3dsink
directsoundsrc
dtsdec
faac
faad
fdkaac
flite
fluidsynth
gme
gsmenc gsmdec
iqa 
kate
ladspa
lcms2
libde265
libmms
lv2
modplug
mpeg2enc
mplex
msdk
musepack
neonhttpsrc
ofa
openal
opencv
openexr
openh264
openjpeg
openmpt
openni2
opensl
resindvd
rsvg
sbc
sfdec sfenc
soundtouch
spandsp
spc
srt
teletextdec
tinyalsa
ttml
uvch264
vdpau
vo-aacenc
vo-amrwbenc
vulkan
wasapi
wayland 
webp 
wildmidi
winks
winscreencap
x265
zbar
after install, I run application and find some question:
walle@PC:/$ gst-inspect-1.0 nvenc
Plugin Details:
  Name                     nvenc
  Description              GStreamer NVENC plugin
  Filename                 /usr/lib/gstreamer-1.0/libgstnvenc.so
  Version                  1.14.4
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2018-10-02
  Binary package           GStreamer Bad Plug-ins source release
  Origin URL               Unknown package origin


  0 features:

walle@PC:/$ gst-inspect-1.0 nvh264enc
No such element or plugin 'nvh264enc'

Is there some question while I installing? Some one could help?


 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: plugin nvenc problem while building gstreamer 1.14.4 from source

Rand Graham-2

Hello,

 

I can give you two suggestions that you will have to adapt to your specific installation.

 

1)      IIRC, Nvidia provides documentation and instructions on how to build their plugins. Please check the Nvidia documentation.

2)      On one of my systems I had to specifically set the following environment variable in order for gstreamer to find third party plugins I built from source. Assuming you have compiled the nvidia plugin and gstreamer just needs to find the plugin. Set this appropriately for your system:

 

export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

 

 

From: gstreamer-devel [mailto:[hidden email]] On Behalf Of black
Sent: Tuesday, November 20, 2018 12:21 AM
To: [hidden email]
Subject: plugin nvenc problem while building gstreamer 1.14.4 from source

 

Hi, I build gstreamer 1.14.4 plugin bad from source like below: 

 

NVENCODE_CFLAGS="-I/usr/local/cuda/include/" NVENCODE_LIBS="-L/usr/local/cuda/lib64/stubs/" \

    ./configure --prefix=/usr --enable-orc --enable-webrtc \

    --enable-nvenc --with-cuda-prefix=/usr/local/cuda

  time make -j$(nproc)

  make install

The configure is like below:

configure: *** Plug-ins without external dependencies that will be built:

  accurip

  adpcmdec

  adpcmenc

  aiff

  asfmux

  audiobuffersplit

  audiofxbad

  audiolatency

  audiomixmatrix

  audiovisualizers

  autoconvert

  bayer

  camerabin2

  coloreffects

  compositor

  debugutils

  dvbsuboverlay

  dvdspu

  faceoverlay

  festival

  fieldanalysis

  freeverb

  frei0r

  gaudieffects

  gdp

  geometrictransform

  id3tag

  inter

  interlace

  ivfparse

  ivtc

  jp2kdecimator

  jpegformat

  librfb

  midi

  mpegdemux

  mpegpsmux

  mpegtsdemux

  mpegtsmux

  mxf

  netsim

  onvif

  pcapparse

  pnm

  proxy

  rawparse

  removesilence

  sdp

  segmentclip

  siren

  smooth

  speed

  stereo

  subenc

  timecode

  videofilters

  videoframe_audiolevel

  videoparsers

  videosignal

  vmnc

  y4m

  yadif

 

configure: *** Plug-ins without external dependencies that will NOT be built:

 

configure: *** Plug-ins that have NOT been ported:

 

configure: *** Plug-ins with dependencies that will be built:

  curl

  dash

  decklink

  dtls

  dvb

  fbdevsink

  gl

  hls

  ipcpipeline

  kms

  nvdec

  nvenc

  opus

  rtmp

  shm

  smoothstreaming

  srtp

  vcdsrc

  webrtc

  webrtcdsp

 

configure: *** Plug-ins with dependencies that will NOT be built:

  acm

  androidmedia

  aom

  applemedia

  assrender

  avcsrc

  bluez

  bs2b

  bz2

  chromaprint

  daala

  dc1394

  dfbvideosink 

  direct3dsink

  directsoundsrc

  dtsdec

  faac

  faad

  fdkaac

  flite

  fluidsynth

  gme

  gsmenc gsmdec

  iqa 

  kate

  ladspa

  lcms2

  libde265

  libmms

  lv2

  modplug

  mpeg2enc

  mplex

  msdk

  musepack

  neonhttpsrc

  ofa

  openal

  opencv

  openexr

  openh264

  openjpeg

  openmpt

  openni2

  opensl

  resindvd

  rsvg

  sbc

  sfdec sfenc

  soundtouch

  spandsp

  spc

  srt

  teletextdec

  tinyalsa

  ttml

  uvch264

  vdpau

  vo-aacenc

  vo-amrwbenc

  vulkan

  wasapi

  wayland 

  webp 

  wildmidi

  winks

  winscreencap

  x265

  zbar

after install, I run application and find some question:

walle@PC:/$ gst-inspect-1.0 nvenc

Plugin Details:

  Name                     nvenc

  Description              GStreamer NVENC plugin

  Filename                 /usr/lib/gstreamer-1.0/libgstnvenc.so

  Version                  1.14.4

  License                  LGPL

  Source module            gst-plugins-bad

  Source release date      2018-10-02

  Binary package           GStreamer Bad Plug-ins source release

  Origin URL               Unknown package origin

 

 

  0 features:

 

walle@PC:/$ gst-inspect-1.0 nvh264enc

No such element or plugin 'nvh264enc'

 

Is there some question while I installing? Some one could help?

 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: plugin nvenc problem while building gstreamer 1.14.4 from source

Yawei Wang
I find nvidia documentation like: https://developer.nvidia.com/nvidia-video-codec-sdk

and I set 
export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

But I got the same error.




At 2018-11-20 22:40:15, "Rand Graham" <[hidden email]> wrote:

Hello,

 

I can give you two suggestions that you will have to adapt to your specific installation.

 

1)      IIRC, Nvidia provides documentation and instructions on how to build their plugins. Please check the Nvidia documentation.

2)      On one of my systems I had to specifically set the following environment variable in order for gstreamer to find third party plugins I built from source. Assuming you have compiled the nvidia plugin and gstreamer just needs to find the plugin. Set this appropriately for your system:

 

export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

 

 

From: gstreamer-devel [mailto:[hidden email]] On Behalf Of black
Sent: Tuesday, November 20, 2018 12:21 AM
To: [hidden email]
Subject: plugin nvenc problem while building gstreamer 1.14.4 from source

 

Hi, I build gstreamer 1.14.4 plugin bad from source like below: 

 

NVENCODE_CFLAGS="-I/usr/local/cuda/include/" NVENCODE_LIBS="-L/usr/local/cuda/lib64/stubs/" \

    ./configure --prefix=/usr --enable-orc --enable-webrtc \

    --enable-nvenc --with-cuda-prefix=/usr/local/cuda

  time make -j$(nproc)

  make install

The configure is like below:

configure: *** Plug-ins without external dependencies that will be built:

  accurip

  adpcmdec

  adpcmenc

  aiff

  asfmux

  audiobuffersplit

  audiofxbad

  audiolatency

  audiomixmatrix

  audiovisualizers

  autoconvert

  bayer

  camerabin2

  coloreffects

  compositor

  debugutils

  dvbsuboverlay

  dvdspu

  faceoverlay

  festival

  fieldanalysis

  freeverb

  frei0r

  gaudieffects

  gdp

  geometrictransform

  id3tag

  inter

  interlace

  ivfparse

  ivtc

  jp2kdecimator

  jpegformat

  librfb

  midi

  mpegdemux

  mpegpsmux

  mpegtsdemux

  mpegtsmux

  mxf

  netsim

  onvif

  pcapparse

  pnm

  proxy

  rawparse

  removesilence

  sdp

  segmentclip

  siren

  smooth

  speed

  stereo

  subenc

  timecode

  videofilters

  videoframe_audiolevel

  videoparsers

  videosignal

  vmnc

  y4m

  yadif

 

configure: *** Plug-ins without external dependencies that will NOT be built:

 

configure: *** Plug-ins that have NOT been ported:

 

configure: *** Plug-ins with dependencies that will be built:

  curl

  dash

  decklink

  dtls

  dvb

  fbdevsink

  gl

  hls

  ipcpipeline

  kms

  nvdec

  nvenc

  opus

  rtmp

  shm

  smoothstreaming

  srtp

  vcdsrc

  webrtc

  webrtcdsp

 

configure: *** Plug-ins with dependencies that will NOT be built:

  acm

  androidmedia

  aom

  applemedia

  assrender

  avcsrc

  bluez

  bs2b

  bz2

  chromaprint

  daala

  dc1394

  dfbvideosink 

  direct3dsink

  directsoundsrc

  dtsdec

  faac

  faad

  fdkaac

  flite

  fluidsynth

  gme

  gsmenc gsmdec

  iqa 

  kate

  ladspa

  lcms2

  libde265

  libmms

  lv2

  modplug

  mpeg2enc

  mplex

  msdk

  musepack

  neonhttpsrc

  ofa

  openal

  opencv

  openexr

  openh264

  openjpeg

  openmpt

  openni2

  opensl

  resindvd

  rsvg

  sbc

  sfdec sfenc

  soundtouch

  spandsp

  spc

  srt

  teletextdec

  tinyalsa

  ttml

  uvch264

  vdpau

  vo-aacenc

  vo-amrwbenc

  vulkan

  wasapi

  wayland 

  webp 

  wildmidi

  winks

  winscreencap

  x265

  zbar

after install, I run application and find some question:

walle@PC:/$ gst-inspect-1.0 nvenc

Plugin Details:

  Name                     nvenc

  Description              GStreamer NVENC plugin

  Filename                 /usr/lib/gstreamer-1.0/libgstnvenc.so

  Version                  1.14.4

  License                  LGPL

  Source module            gst-plugins-bad

  Source release date      2018-10-02

  Binary package           GStreamer Bad Plug-ins source release

  Origin URL               Unknown package origin

 

 

  0 features:

 

walle@PC:/$ gst-inspect-1.0 nvh264enc

No such element or plugin 'nvh264enc'

 

Is there some question while I installing? Some one could help?

 

 



 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: plugin nvenc problem while building gstreamer 1.14.4 from source

Michael Gruner
Hi

This is usually that you are missing a dependency. Can you attach your config.log file? 

Michael

On Nov 20, 2018, at 20:12, black <[hidden email]> wrote:

I find nvidia documentation like: https://developer.nvidia.com/nvidia-video-codec-sdk

and I set 
export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

But I got the same error.




At 2018-11-20 22:40:15, "Rand Graham" <[hidden email]> wrote:

Hello,

 

I can give you two suggestions that you will have to adapt to your specific installation.

 

1)      IIRC, Nvidia provides documentation and instructions on how to build their plugins. Please check the Nvidia documentation.

2)      On one of my systems I had to specifically set the following environment variable in order for gstreamer to find third party plugins I built from source. Assuming you have compiled the nvidia plugin and gstreamer just needs to find the plugin. Set this appropriately for your system:

 

export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

 

 

From: gstreamer-devel [mailto:[hidden email]] On Behalf Of black
Sent: Tuesday, November 20, 2018 12:21 AM
To: [hidden email]
Subject: plugin nvenc problem while building gstreamer 1.14.4 from source

 

Hi, I build gstreamer 1.14.4 plugin bad from source like below: 

 

NVENCODE_CFLAGS="-I/usr/local/cuda/include/" NVENCODE_LIBS="-L/usr/local/cuda/lib64/stubs/" \

    ./configure --prefix=/usr --enable-orc --enable-webrtc \

    --enable-nvenc --with-cuda-prefix=/usr/local/cuda

  time make -j$(nproc)

  make install

The configure is like below:

configure: *** Plug-ins without external dependencies that will be built:

  accurip

  adpcmdec

  adpcmenc

  aiff

  asfmux

  audiobuffersplit

  audiofxbad

  audiolatency

  audiomixmatrix

  audiovisualizers

  autoconvert

  bayer

  camerabin2

  coloreffects

  compositor

  debugutils

  dvbsuboverlay

  dvdspu

  faceoverlay

  festival

  fieldanalysis

  freeverb

  frei0r

  gaudieffects

  gdp

  geometrictransform

  id3tag

  inter

  interlace

  ivfparse

  ivtc

  jp2kdecimator

  jpegformat

  librfb

  midi

  mpegdemux

  mpegpsmux

  mpegtsdemux

  mpegtsmux

  mxf

  netsim

  onvif

  pcapparse

  pnm

  proxy

  rawparse

  removesilence

  sdp

  segmentclip

  siren

  smooth

  speed

  stereo

  subenc

  timecode

  videofilters

  videoframe_audiolevel

  videoparsers

  videosignal

  vmnc

  y4m

  yadif

 

configure: *** Plug-ins without external dependencies that will NOT be built:

 

configure: *** Plug-ins that have NOT been ported:

 

configure: *** Plug-ins with dependencies that will be built:

  curl

  dash

  decklink

  dtls

  dvb

  fbdevsink

  gl

  hls

  ipcpipeline

  kms

  nvdec

  nvenc

  opus

  rtmp

  shm

  smoothstreaming

  srtp

  vcdsrc

  webrtc

  webrtcdsp

 

configure: *** Plug-ins with dependencies that will NOT be built:

  acm

  androidmedia

  aom

  applemedia

  assrender

  avcsrc

  bluez

  bs2b

  bz2

  chromaprint

  daala

  dc1394

  dfbvideosink 

  direct3dsink

  directsoundsrc

  dtsdec

  faac

  faad

  fdkaac

  flite

  fluidsynth

  gme

  gsmenc gsmdec

  iqa 

  kate

  ladspa

  lcms2

  libde265

  libmms

  lv2

  modplug

  mpeg2enc

  mplex

  msdk

  musepack

  neonhttpsrc

  ofa

  openal

  opencv

  openexr

  openh264

  openjpeg

  openmpt

  openni2

  opensl

  resindvd

  rsvg

  sbc

  sfdec sfenc

  soundtouch

  spandsp

  spc

  srt

  teletextdec

  tinyalsa

  ttml

  uvch264

  vdpau

  vo-aacenc

  vo-amrwbenc

  vulkan

  wasapi

  wayland 

  webp 

  wildmidi

  winks

  winscreencap

  x265

  zbar

after install, I run application and find some question:

walle@PC:/$ gst-inspect-1.0 nvenc

Plugin Details:

  Name                     nvenc

  Description              GStreamer NVENC plugin

  Filename                 /usr/lib/gstreamer-1.0/libgstnvenc.so

  Version                  1.14.4

  License                  LGPL

  Source module            gst-plugins-bad

  Source release date      2018-10-02

  Binary package           GStreamer Bad Plug-ins source release

  Origin URL               Unknown package origin

 

 

  0 features:

 

walle@PC:/$ gst-inspect-1.0 nvh264enc

No such element or plugin 'nvh264enc'

 

Is there some question while I installing? Some one could help?

 

 



 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re:Re: plugin nvenc problem while building gstreamer 1.14.4 from source

Yawei Wang
Hi Michael, thanks for your advise. But where could I find the config.log file?




At 2018-11-21 10:34:52, "Michael Gruner" <[hidden email]> wrote:
Hi

This is usually that you are missing a dependency. Can you attach your config.log file? 

Michael

On Nov 20, 2018, at 20:12, black <[hidden email]> wrote:

I find nvidia documentation like: https://developer.nvidia.com/nvidia-video-codec-sdk

and I set 
export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

But I got the same error.




At 2018-11-20 22:40:15, "Rand Graham" <[hidden email]> wrote:

Hello,

 

I can give you two suggestions that you will have to adapt to your specific installation.

 

1)      IIRC, Nvidia provides documentation and instructions on how to build their plugins. Please check the Nvidia documentation.

2)      On one of my systems I had to specifically set the following environment variable in order for gstreamer to find third party plugins I built from source. Assuming you have compiled the nvidia plugin and gstreamer just needs to find the plugin. Set this appropriately for your system:

 

export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0/

 

 

From: gstreamer-devel [mailto:[hidden email]] On Behalf Of black
Sent: Tuesday, November 20, 2018 12:21 AM
To: [hidden email]
Subject: plugin nvenc problem while building gstreamer 1.14.4 from source

 

Hi, I build gstreamer 1.14.4 plugin bad from source like below: 

 

NVENCODE_CFLAGS="-I/usr/local/cuda/include/" NVENCODE_LIBS="-L/usr/local/cuda/lib64/stubs/" \

    ./configure --prefix=/usr --enable-orc --enable-webrtc \

    --enable-nvenc --with-cuda-prefix=/usr/local/cuda

  time make -j$(nproc)

  make install

The configure is like below:

configure: *** Plug-ins without external dependencies that will be built:

  accurip

  adpcmdec

  adpcmenc

  aiff

  asfmux

  audiobuffersplit

  audiofxbad

  audiolatency

  audiomixmatrix

  audiovisualizers

  autoconvert

  bayer

  camerabin2

  coloreffects

  compositor

  debugutils

  dvbsuboverlay

  dvdspu

  faceoverlay

  festival

  fieldanalysis

  freeverb

  frei0r

  gaudieffects

  gdp

  geometrictransform

  id3tag

  inter

  interlace

  ivfparse

  ivtc

  jp2kdecimator

  jpegformat

  librfb

  midi

  mpegdemux

  mpegpsmux

  mpegtsdemux

  mpegtsmux

  mxf

  netsim

  onvif

  pcapparse

  pnm

  proxy

  rawparse

  removesilence

  sdp

  segmentclip

  siren

  smooth

  speed

  stereo

  subenc

  timecode

  videofilters

  videoframe_audiolevel

  videoparsers

  videosignal

  vmnc

  y4m

  yadif

 

configure: *** Plug-ins without external dependencies that will NOT be built:

 

configure: *** Plug-ins that have NOT been ported:

 

configure: *** Plug-ins with dependencies that will be built:

  curl

  dash

  decklink

  dtls

  dvb

  fbdevsink

  gl

  hls

  ipcpipeline

  kms

  nvdec

  nvenc

  opus

  rtmp

  shm

  smoothstreaming

  srtp

  vcdsrc

  webrtc

  webrtcdsp

 

configure: *** Plug-ins with dependencies that will NOT be built:

  acm

  androidmedia

  aom

  applemedia

  assrender

  avcsrc

  bluez

  bs2b

  bz2

  chromaprint

  daala

  dc1394

  dfbvideosink 

  direct3dsink

  directsoundsrc

  dtsdec

  faac

  faad

  fdkaac

  flite

  fluidsynth

  gme

  gsmenc gsmdec

  iqa 

  kate

  ladspa

  lcms2

  libde265

  libmms

  lv2

  modplug

  mpeg2enc

  mplex

  msdk

  musepack

  neonhttpsrc

  ofa

  openal

  opencv

  openexr

  openh264

  openjpeg

  openmpt

  openni2

  opensl

  resindvd

  rsvg

  sbc

  sfdec sfenc

  soundtouch

  spandsp

  spc

  srt

  teletextdec

  tinyalsa

  ttml

  uvch264

  vdpau

  vo-aacenc

  vo-amrwbenc

  vulkan

  wasapi

  wayland 

  webp 

  wildmidi

  winks

  winscreencap

  x265

  zbar

after install, I run application and find some question:

walle@PC:/$ gst-inspect-1.0 nvenc

Plugin Details:

  Name                     nvenc

  Description              GStreamer NVENC plugin

  Filename                 /usr/lib/gstreamer-1.0/libgstnvenc.so

  Version                  1.14.4

  License                  LGPL

  Source module            gst-plugins-bad

  Source release date      2018-10-02

  Binary package           GStreamer Bad Plug-ins source release

  Origin URL               Unknown package origin

 

 

  0 features:

 

walle@PC:/$ gst-inspect-1.0 nvh264enc

No such element or plugin 'nvh264enc'

 

Is there some question while I installing? Some one could help?

 

 



 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel