Building gstreamer + NVENC from source in windows using cerbero .... issues with building gst-plugins-bad

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Building gstreamer + NVENC from source in windows using cerbero .... issues with building gst-plugins-bad

new baby

HI all,

Currently I am able to generate two executables from gstreamer source code
(gstreamer-1.0-x86_64- &

But when I build gst-plugins-bad-1.0 with nvenc , nvdec and cuda .

 I was facing difficulty in assigning/setting  paths of cuda toolkit9.2 and
nvidia video sdk 8.2 with gst-plugins-bad-1.0 package . so I copied all
relevant .h & .lib in  below paths .



configure: *** checking feature: NVIDIA CUDA API ***
checking dynlink_cuda.h usability... yes
checking dynlink_cuda.h presence... yes
checking for dynlink_cuda.h... yes
checking cuda.h usability... yes
checking cuda.h presence... yes
checking for cuda.h... yes
checking cuda_runtime_api.h usability... yes
checking cuda_runtime_api.h presence... yes
checking for cuda_runtime_api.h... yes
checking for cudaGetErrorString in -lcudart... yes
checking for cuInit in -lcuda... yes

configure: *** checking feature: nvdec ***
configure: *** for plug-ins: nvdec ***
checking nvcuvid.h usability... yes
checking nvcuvid.h presence... yes
checking for nvcuvid.h... yes
checking dynlink_nvcuvid.h usability... yes
checking dynlink_nvcuvid.h presence... yes
checking for dynlink_nvcuvid.h... yes
checking for cuvidCtxLock in -lnvcuvid... yes
configure: *** These plugins will be built: nvdec

configure: *** checking feature: NVIDIA Encode API ***
configure: *** for plug-ins: nvenc ***
checking nvEncodeAPI.h usability... yes
checking nvEncodeAPI.h presence... yes
checking for nvEncodeAPI.h... yes
checking for NvEncodeAPICreateInstance in -lnvidia-encode... no
configure: WARNING: Could not find library nvidia-encode
configure: *** These plugins will not be built: nvenc

*Now I am able to detect the cuda & nvdec but not nvenc .*

nvenc is looking for nvidia-encode.dll but in  nvidia video sdk 8.2 , the
nvidia-encode.dll is missing but its present in Linux folder as .

Sent from:
gstreamer-devel mailing list
[hidden email]