Building gstreamer from source in windows using cerbero .... issues with building gst-libav-1.0

new baby mdamirraza at gmail.com
Thu Jun 14 10:11:19 UTC 2018


Yeah , currently I am able to generate two executables
(gstreamer-1.0-x86_64-1.15.0.1.exe & 
gstreamer-1.0-devel-x86_64-1.15.0.1.exe). 

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 .

C:\MinGW\msys\1.0\home\aasim\cerbero\build\dist\windows_x86_64\include
C:\MinGW\msys\1.0\home\aasim\cerbero\build\dist\windows_x86_64\lib

configure.log

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
 

ISSUE:
*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
nvidia-encode.so .








-----
adi
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list