Pre-compiled python wheels / pip install #35
-
Hi, It would be great to be able to simply pip install this project, ideally by simply getting pre-compiled wheels from pypi. Is this on the roadmap? I tried to simply call: !pip install -v git+https://github.com/RomanArzumanyan/VALI.git#egg=PyNvCodec on google colab but this failed with the following output: Using pip 23.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Collecting PyNvCodec
Cloning https://github.com/RomanArzumanyan/VALI.git to /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945
Running command git version
git version 2.34.1
Running command git clone --filter=blob:none https://github.com/RomanArzumanyan/VALI.git /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945
Cloning into '/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945'...
Updating files: 1% (2/109)
Updating files: 2% (3/109)
Updating files: 3% (4/109)
Updating files: 4% (5/109)
Updating files: 5% (6/109)
Updating files: 6% (7/109)
Updating files: 7% (8/109)
Updating files: 8% (9/109)
Updating files: 9% (10/109)
Updating files: 10% (11/109)
Updating files: 11% (12/109)
Updating files: 12% (14/109)
Updating files: 13% (15/109)
Updating files: 14% (16/109)
Updating files: 15% (17/109)
Updating files: 16% (18/109)
Updating files: 17% (19/109)
Updating files: 18% (20/109)
Updating files: 19% (21/109)
Updating files: 20% (22/109)
Updating files: 21% (23/109)
Updating files: 22% (24/109)
Updating files: 23% (26/109)
Updating files: 24% (27/109)
Updating files: 25% (28/109)
Updating files: 26% (29/109)
Updating files: 27% (30/109)
Updating files: 28% (31/109)
Updating files: 29% (32/109)
Updating files: 30% (33/109)
Updating files: 31% (34/109)
Updating files: 32% (35/109)
Updating files: 33% (36/109)
Updating files: 34% (38/109)
Updating files: 35% (39/109)
Updating files: 36% (40/109)
Updating files: 37% (41/109)
Updating files: 38% (42/109)
Updating files: 39% (43/109)
Updating files: 40% (44/109)
Updating files: 41% (45/109)
Updating files: 42% (46/109)
Updating files: 43% (47/109)
Updating files: 44% (48/109)
Updating files: 45% (50/109)
Updating files: 46% (51/109)
Updating files: 47% (52/109)
Updating files: 48% (53/109)
Updating files: 49% (54/109)
Updating files: 50% (55/109)
Updating files: 51% (56/109)
Updating files: 52% (57/109)
Updating files: 53% (58/109)
Updating files: 54% (59/109)
Updating files: 55% (60/109)
Updating files: 56% (62/109)
Updating files: 57% (63/109)
Updating files: 58% (64/109)
Updating files: 59% (65/109)
Updating files: 60% (66/109)
Updating files: 61% (67/109)
Updating files: 62% (68/109)
Updating files: 63% (69/109)
Updating files: 64% (70/109)
Updating files: 65% (71/109)
Updating files: 66% (72/109)
Updating files: 67% (74/109)
Updating files: 68% (75/109)
Updating files: 69% (76/109)
Updating files: 70% (77/109)
Updating files: 71% (78/109)
Updating files: 72% (79/109)
Updating files: 73% (80/109)
Updating files: 74% (81/109)
Updating files: 75% (82/109)
Updating files: 76% (83/109)
Updating files: 77% (84/109)
Updating files: 78% (86/109)
Updating files: 79% (87/109)
Updating files: 80% (88/109)
Updating files: 81% (89/109)
Updating files: 82% (90/109)
Updating files: 83% (91/109)
Updating files: 84% (92/109)
Updating files: 85% (93/109)
Updating files: 86% (94/109)
Updating files: 87% (95/109)
Updating files: 88% (96/109)
Updating files: 89% (98/109)
Updating files: 90% (99/109)
Updating files: 91% (100/109)
Updating files: 92% (101/109)
Updating files: 93% (102/109)
Updating files: 94% (103/109)
Updating files: 95% (104/109)
Updating files: 96% (105/109)
Updating files: 97% (106/109)
Updating files: 98% (107/109)
Updating files: 99% (108/109)
Updating files: 100% (109/109)
Updating files: 100% (109/109), done.
Running command git rev-parse HEAD
7a32f406720d6b617366eb39e53a9d4fb10eb392
Resolved https://github.com/RomanArzumanyan/VALI.git to commit 7a32f406720d6b617366eb39e53a9d4fb10eb392
Running command git submodule update --init --recursive -q
Running command git rev-parse HEAD
7a32f406720d6b617366eb39e53a9d4fb10eb392
Running command pip subprocess to install build dependencies
Using pip 23.1.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Collecting setuptools>=42
Using cached setuptools-69.5.1-py3-none-any.whl (894 kB)
Collecting scikit-build
Downloading scikit_build-0.17.6-py3-none-any.whl (84 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.3/84.3 kB 1.3 MB/s eta 0:00:00
Collecting numpy
Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 17.8 MB/s eta 0:00:00
Collecting cmake>=3.21
Downloading cmake-3.29.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.7/26.7 MB 9.6 MB/s eta 0:00:00
Collecting ninja
Downloading ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.2/307.2 kB 4.7 MB/s eta 0:00:00
Collecting distro (from scikit-build)
Downloading distro-1.9.0-py3-none-any.whl (20 kB)
Collecting packaging (from scikit-build)
Downloading packaging-24.0-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB 1.9 MB/s eta 0:00:00
Collecting tomli (from scikit-build)
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting wheel>=0.32.0 (from scikit-build)
Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
Installing collected packages: ninja, wheel, tomli, setuptools, packaging, numpy, distro, cmake, scikit-build
Creating /tmp/pip-build-env-ign8bzef/overlay/local/bin
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/ninja to 755
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/wheel to 755
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/f2py to 755
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/distro to 755
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/cmake to 755
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/cpack to 755
changing mode of /tmp/pip-build-env-ign8bzef/overlay/local/bin/ctest to 755
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ipython 7.34.0 requires jedi>=0.16, which is not installed.
Successfully installed cmake-3.29.2 distro-1.9.0 ninja-1.11.1.1 numpy-1.26.4 packaging-24.0 scikit-build-0.17.6 setuptools-69.5.1 tomli-2.0.1 wheel-0.43.0
Installing build dependencies ... done
Running command Getting requirements to build wheel
<string>:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
running egg_info
creating src/PyNvCodec.egg-info
writing src/PyNvCodec.egg-info/PKG-INFO
writing dependency_links to src/PyNvCodec.egg-info/dependency_links.txt
writing requirements to src/PyNvCodec.egg-info/requires.txt
writing top-level names to src/PyNvCodec.egg-info/top_level.txt
writing manifest file 'src/PyNvCodec.egg-info/SOURCES.txt'
reading manifest file 'src/PyNvCodec.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/PyNvCodec.egg-info/SOURCES.txt'
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)
<string>:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
running dist_info
creating /tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info
writing /tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/dependency_links.txt
writing requirements to /tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/requires.txt
writing top-level names to /tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-modern-metadata-4i2es4d1/PyNvCodec.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-4i2es4d1/PyNvCodec-2.1.3.dist-info'
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from PyNvCodec) (1.25.2)
Building wheels for collected packages: PyNvCodec
Running command Building wheel for PyNvCodec (pyproject.toml)
<string>:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
--------------------------------------------------------------------------------
-- Trying 'Ninja' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja' generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build
Command:
/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/cmake/data/bin/cmake /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945 -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/ninja/data/bin/ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-install/src -DPYTHON_VERSION_STRING:STRING=3.10.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPYTHON_LIBRARY:PATH=/usr/lib/x86_64-linux-gnu/libpython3.10.so -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPython_NumPy_INCLUDE_DIRS:PATH=/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPython3_NumPy_INCLUDE_DIRS:PATH=/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found CUDAToolkit: /usr/local/cuda/targets/x86_64-linux/include (found suitable version "12.2.140", minimum required is "11.2")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.6") found components: Interpreter Development Development.Module Development.Embed
-- Populating pybind11
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/_deps/pybind11-subbuild
[1/9] Creating directories for 'pybind11-populate'
[1/9] Performing download step (download, verify and extract) for 'pybind11-populate'
-- Downloading...
dst='/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/pybind/pybind11/archive/v2.10.0.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 4% complete]
-- [download 6% complete]
-- [download 10% complete]
-- [download 13% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 28% complete]
-- [download 47% complete]
-- [download 49% complete]
-- [download 58% complete]
-- [download 83% complete]
-- [download 96% complete]
-- [download 100% complete]
-- verifying file...
file='/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz'
-- Downloading... done
-- extracting...
src='/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz'
dst='/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/_deps/pybind11-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[2/9] No update step for 'pybind11-populate'
[3/9] No patch step for 'pybind11-populate'
[5/9] No configure step for 'pybind11-populate'
[6/9] No build step for 'pybind11-populate'
[7/9] No install step for 'pybind11-populate'
[8/9] No test step for 'pybind11-populate'
[9/9] Completed 'pybind11-populate'
CMake Deprecation Warning at _skbuild/linux-x86_64-3.10/cmake-build/_deps/pybind11-src/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- pybind11 v2.10.0
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- PROJECT_ROOT_DIRECTORY: /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/PyNvCodec/../..
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libavcodec'
-- Found libavcodec, version 58.134.100
-- Checking for module 'libavformat'
-- Found libavformat, version 58.76.100
-- Checking for module 'libavdevice'
-- No package 'libavdevice' found
-- Checking for module 'libavutil'
-- Found libavutil, version 56.70.100
-- Checking for module 'libavfilter'
-- No package 'libavfilter' found
-- Checking for module 'libswscale'
-- Found libswscale, version 5.9.100
-- Checking for module 'libpostproc'
-- No package 'libpostproc' found
-- Checking for module 'libswresample'
-- Found libswresample, version 3.9.100
-- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so;/usr/lib/x86_64-linux-gnu/libswresample.so
-- The CUDA compiler identification is NVIDIA 12.2.140
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done (10.4s)
-- Generating done (0.1s)
-- Build files have been written to: /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build
[1/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyBufferUploader.cpp.o
[2/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyCudaBufferDownloader.cpp.o
[3/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyFFMpegDecoder.cpp.o
[4/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyFrameUploader.cpp.o
[5/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyFFMpegDemuxer.cpp.o
[6/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyNvCodec.cpp.o
[7/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyNvEncoder.cpp.o
[8/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyNvDecoder.cpp.o
[9/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PySurface.cpp.o
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/PyNvCodec/src/PySurface.cpp: In function ‘DLManagedTensor* DLManagedTensor_Make(std::shared_ptr<VPF::SurfacePlane>)’:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/PyNvCodec/src/PySurface.cpp:207:24: warning: converting to non-pointer type ‘CUdeviceptr’ {aka ‘long long unsigned int’} from NULL [-Wconversion-null]
207 | CUdeviceptr dptr = NULL;
| ^~~~
[10/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PySurfaceConverter.cpp.o
[11/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PySurfaceDownloader.cpp.o
[12/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PySurfaceRemaper.cpp.o
[13/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/MemoryInterfaces.cpp.o
[14/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PySurfaceResizer.cpp.o
[15/37] Building CXX object src/PyNvCodec/CMakeFiles/_PyNvCodec.dir/src/PyFrameConverter.cpp.o
[16/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskRemapSurface.cpp.o
[17/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskDemuxFrame.cpp.o
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp: In constructor ‘FFmpegDemuxer::FFmpegDemuxer(const char*, const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&)’:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp:488:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
488 | av_init_packet(&pktSrc);
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30,
from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/FFmpegDemuxer.h:19,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp:14:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here
488 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp:491:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
491 | av_init_packet(&pktDst);
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30,
from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/FFmpegDemuxer.h:19,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp:14:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here
488 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp:494:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
494 | av_init_packet(&pktSei);
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30,
from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/FFmpegDemuxer.h:19,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskDemuxFrame.cpp:14:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here
488 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
[18/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskNvdecDecodeFrame.cpp.o
[19/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskConvertSurface.cpp.o
[20/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskCudaUploadFrame.cpp.o
[21/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskCudaDownloadSurface.cpp.o
[22/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskDownloadCudaBuffer.cpp.o
[23/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskUploadBuffer.cpp.o
[24/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskNvencEncodeFrame.cpp.o
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskNvencEncodeFrame.cpp: In member function ‘void NvEncoder::CreateEncoder(const NV_ENC_INITIALIZE_PARAMS*)’:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskNvencEncodeFrame.cpp:409:40: warning: ‘NV_ENC_PRESET_DEFAULT_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
409 | NV_ENC_PRESET_DEFAULT_GUID,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/TaskNvencEncodeFrame.cpp:14:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:210:37: note: declared here
210 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_DEFAULT_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
[25/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskResizeSurface.cpp.o
[26/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskFfmpegDecodeFrame.cpp.o
[27/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/TaskConvertFrame.cpp.o
[28/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/NppCommon.cpp.o
[29/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/tc_dlopen_unix.cpp.o
[30/37] Building CXX object src/TC/TC_CORE/CMakeFiles/TC_CORE.dir/src/Task.cpp.o
[31/37] Building CXX object src/TC/TC_CORE/CMakeFiles/TC_CORE.dir/src/Token.cpp.o
[32/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/Utils.cpp.o
FAILED: src/TC/CMakeFiles/TC.dir/src/Utils.cpp.o
/usr/bin/c++ -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/inc -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/extern/dlpack/include/dlpack -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/src/TC -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/TC_CORE/inc -I/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build/src/TC/TC_CORE -isystem /usr/local/cuda/targets/x86_64-linux/include -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT src/TC/CMakeFiles/TC.dir/src/Utils.cpp.o -MF src/TC/CMakeFiles/TC.dir/src/Utils.cpp.o.d -o src/TC/CMakeFiles/TC.dir/src/Utils.cpp.o -c /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/Utils.cpp
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/Utils.cpp:148:24: error: ‘AV_PIX_FMT_RGBF32LE’ was not declared in this scope; did you mean ‘AV_PIX_FMT_RGBA64LE’?
148 | {RGB_32F, AV_PIX_FMT_RGBF32LE},
| ^~~~~~~~~~~~~~~~~~~
| AV_PIX_FMT_RGBA64LE
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/Utils.cpp:155:42: error: no matching function for call to ‘std::vector<std::pair<VPF::Pixel_Format, AVPixelFormat> >::vector(<brace-enclosed initializer list>)’
155 | {GRAY12, AV_PIX_FMT_GRAY10}});
| ^
In file included from /usr/include/c++/11/vector:67,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/Utils.cpp:2:
/usr/include/c++/11/bits/stl_vector.h:653:9: note: candidate: ‘template<class _InputIterator, class> std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
653 | vector(_InputIterator __first, _InputIterator __last,
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:653:9: note: template argument deduction/substitution failed:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/Utils.cpp:155:42: note: candidate expects 3 arguments, 1 provided
155 | {GRAY12, AV_PIX_FMT_GRAY10}});
| ^
In file included from /usr/include/c++/11/vector:67,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/Utils.cpp:2:
/usr/include/c++/11/bits/stl_vector.h:625:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
625 | vector(initializer_list<value_type> __l,
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:625:43: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::initializer_list<std::pair<VPF::Pixel_Format, AVPixelFormat> >’
625 | vector(initializer_list<value_type> __l,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_vector.h:607:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
607 | vector(vector&& __rv, const allocator_type& __m)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:607:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:589:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&, std::false_type) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::false_type = std::integral_constant<bool, false>]’
589 | vector(vector&& __rv, const allocator_type& __m, false_type)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:589:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:585:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&, std::true_type) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::true_type = std::integral_constant<bool, true>]’
585 | vector(vector&& __rv, const allocator_type& __m, true_type) noexcept
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:585:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:575:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&, const allocator_type&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
575 | vector(const vector& __x, const allocator_type& __a)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:575:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:572:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
572 | vector(vector&&) noexcept = default;
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:572:14: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<std::pair<VPF::Pixel_Format, AVPixelFormat> >&&’
572 | vector(vector&&) noexcept = default;
| ^~~~~~~~
/usr/include/c++/11/bits/stl_vector.h:553:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
553 | vector(const vector& __x)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:553:28: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::vector<std::pair<VPF::Pixel_Format, AVPixelFormat> >&’
553 | vector(const vector& __x)
| ~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_vector.h:522:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::pair<VPF::Pixel_Format, AVPixelFormat>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
522 | vector(size_type __n, const value_type& __value,
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:522:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:510:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
510 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:510:24: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<std::pair<VPF::Pixel_Format, AVPixelFormat> >::size_type’ {aka ‘long unsigned int’}
510 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_vector.h:497:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
497 | vector(const allocator_type& __a) _GLIBCXX_NOEXCEPT
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:497:36: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const allocator_type&’ {aka ‘const std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >&’}
497 | vector(const allocator_type& __a) _GLIBCXX_NOEXCEPT
| ~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_vector.h:487:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = std::pair<VPF::Pixel_Format, AVPixelFormat>; _Alloc = std::allocator<std::pair<VPF::Pixel_Format, AVPixelFormat> >]’
487 | vector() = default;
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:487:7: note: candidate expects 0 arguments, 1 provided
[33/37] Linking CXX static library src/TC/TC_CORE/libTC_CORE.a
[34/37] Building CXX object src/TC/CMakeFiles/TC.dir/src/NvCodecCliOptions.cpp.o
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp: In lambda function:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:202:36: warning: ‘NV_ENC_PRESET_DEFAULT_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
202 | {"default", PresetProperties(NV_ENC_PRESET_DEFAULT_GUID, false, false)},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:210:37: note: declared here
210 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_DEFAULT_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp: In function ‘std::string ToString(const GUID&)’:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:359:23: warning: ‘NV_ENC_PRESET_DEFAULT_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
359 | else if (IsSameGuid(NV_ENC_PRESET_DEFAULT_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:210:37: note: declared here
210 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_DEFAULT_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:361:25: warning: ‘NV_ENC_PRESET_HP_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
361 | } else if (IsSameGuid(NV_ENC_PRESET_HP_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:214:37: note: declared here
214 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_HP_GUID =
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:363:25: warning: ‘NV_ENC_PRESET_HQ_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
363 | } else if (IsSameGuid(NV_ENC_PRESET_HQ_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:218:37: note: declared here
218 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_HQ_GUID =
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:365:25: warning: ‘NV_ENC_PRESET_BD_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
365 | } else if (IsSameGuid(NV_ENC_PRESET_BD_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:222:37: note: declared here
222 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_BD_GUID =
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:367:25: warning: ‘NV_ENC_PRESET_LOW_LATENCY_DEFAULT_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
367 | } else if (IsSameGuid(NV_ENC_PRESET_LOW_LATENCY_DEFAULT_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:226:37: note: declared here
226 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_LOW_LATENCY_DEFAULT_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:369:25: warning: ‘NV_ENC_PRESET_LOW_LATENCY_HQ_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
369 | } else if (IsSameGuid(NV_ENC_PRESET_LOW_LATENCY_HQ_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:230:37: note: declared here
230 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_LOW_LATENCY_HQ_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:371:25: warning: ‘NV_ENC_PRESET_LOW_LATENCY_HP_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
371 | } else if (IsSameGuid(NV_ENC_PRESET_LOW_LATENCY_HP_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:234:37: note: declared here
234 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_LOW_LATENCY_HP_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:373:25: warning: ‘NV_ENC_PRESET_LOSSLESS_DEFAULT_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
373 | } else if (IsSameGuid(NV_ENC_PRESET_LOSSLESS_DEFAULT_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:238:37: note: declared here
238 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_LOSSLESS_DEFAULT_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:375:25: warning: ‘NV_ENC_PRESET_LOSSLESS_HP_GUID’ is deprecated: WILL BE REMOVED IN A FUTURE VIDEO CODEC SDK VERSION [-Wdeprecated-declarations]
375 | } else if (IsSameGuid(NV_ENC_PRESET_LOSSLESS_HP_GUID, guid)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/inc/MemoryInterfaces.hpp:20,
from /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/src/NvCodecCliOptions.cpp:20:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/src/TC/third_party/nvEncodeAPI.h:242:37: note: declared here
242 | NV_ENC_DEPRECATED static const GUID NV_ENC_PRESET_LOSSLESS_HP_GUID =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/skbuild/setuptools_wrap.py", line 674, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 697, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 742, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/tmp/pip-build-env-ign8bzef/overlay/local/lib/python3.10/dist-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945
Working directory:
/tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945/_skbuild/linux-x86_64-3.10/cmake-build
Please check the install target is valid and see CMake's output for more information.
error: subprocess-exited-with-error
× Building wheel for PyNvCodec (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python3 /usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpowyuk8id
cwd: /tmp/pip-install-3swa8iz1/pynvcodec_f9654aae0da741d5a219e0378ee9a945
Building wheel for PyNvCodec (pyproject.toml) ... error
ERROR: Failed building wheel for PyNvCodec
Failed to build PyNvCodec
ERROR: Could not build wheels for PyNvCodec, which is required to install pyproject.toml-based projects Not sure if there is an incompatibility with a version of a libray on colab but having pre-compiled wheels would avoid this sort of issue for novice users. Best wishes, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @tvercaut I apologize for such a delay in response. Looks like something is going on with my email notifications about new Discussions.
VALI is licensed under Apache 2, but FFMpeg shared libraries are under LGPL. |
Beta Was this translation helpful? Give feedback.
-
VALI v.4 is now available from PyPi (https://pypi.org/project/python-vali/), closing as complete. |
Beta Was this translation helpful? Give feedback.
@tvercaut
VALI v.4 is now available from PyPi (https://pypi.org/project/python-vali/), closing as complete.