Latest Video SDK and CUDA 11:
don@debian:~/VideoCodecSDK/Samples/build$ cmake -DCMAKE_BUILD_TYPE=Release ..
CUDA_CUDA_LIBRARY: /usr/lib/x86_64-linux-gnu/libcuda.so
CUDA_TOOLKIT_ROOT_DIR: /usr/local/cuda
-- Configuring done
-- Generating done
-- Build files have been written to: /home/don/VideoCodecSDK/Samples/build
don@debian:~/VideoCodecSDK/Samples/build$
don@debian:~/VideoCodecSDK/Samples/build$ make AppDec
Scanning dependencies of target AppDec
[ 33%] Building CXX object AppDecode/AppDec/CMakeFiles/AppDec.dir/AppDec.cpp.o
[ 66%] Linking CXX executable AppDec
[100%] Built target AppDec
don@debian:~/VideoCodecSDK/Samples/build$ cd AppDecode/AppDec
don@debian:~/VideoCodecSDK/Samples/build/AppDecode/AppDec$ ./AppDec -i plush1_720p_10s.m2v
GPU in use: NVIDIA GeForce RTX 2080 Ti
Decode with demuxing.
[INFO ][11:27:15] Media format: raw MPEG video (mpegvideo)
Session Initialization Time: 6 ms
[INFO ][11:27:15] Video Input Information
Codec : MPEG-2
Frame rate : 30000/1001 = 29.97 fps
Sequence : Progressive
Coded size : [1280, 720]
Display area : [0, 0, 1280, 720]
Chroma : YUV 420
Bit depth : 8
Video Decoding Params:
Num Surfaces : 4
Crop : [0, 0, 0, 0]
Resize : 1280x720
Deinterlace : Weave
Total frame decoded: 329
Saved in file out.native in NV12 format
Session Deinitialization Time: 10 ms
don@debian:~/VideoCodecSDK/Samples/build/AppDecode/AppDec$
:belly-laugh:
Again, ran into lots of dependencies and non-obvious environment variable settings. Definitely not for your average moose!
Next, I will try to bring up
DG's stripped down decoder that served as the basis for all the CUVID work. That will prove that everything is in place to bring up DGSource(). We'll also need to install Avisynth+ and Vapoursynth. But first, it's backup time.
It's encouraging that things have gone so well.
[posted using Chrome on the linux machine]