René's URL Explorer Experiment


Title: Installation fails on Orin · Issue #7 · UsingNet/nvcodec-python · GitHub

Open Graph Title: Installation fails on Orin · Issue #7 · UsingNet/nvcodec-python

X Title: Installation fails on Orin · Issue #7 · UsingNet/nvcodec-python

Description: Hi Jetson Orin with Jetpack SDK 5.0.2/L4T 35.1.0 I am trying to install nvcodec-python using pip install pynvcodec but getting the follow error The first problem is that nvcc is not found. I will look at that first. nvcc is present so th...

Open Graph Description: Hi Jetson Orin with Jetpack SDK 5.0.2/L4T 35.1.0 I am trying to install nvcodec-python using pip install pynvcodec but getting the follow error The first problem is that nvcc is not found. I will l...

X Description: Hi Jetson Orin with Jetpack SDK 5.0.2/L4T 35.1.0 I am trying to install nvcodec-python using pip install pynvcodec but getting the follow error The first problem is that nvcc is not found. I will l...

Opengraph URL: https://github.com/UsingNet/nvcodec-python/issues/7

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Installation fails on Orin","articleBody":"Hi\r\nJetson Orin with Jetpack SDK 5.0.2/L4T 35.1.0\r\nI am trying to install nvcodec-python using pip install pynvcodec but getting the follow error\r\nThe first problem is that nvcc is not found. I will look at that first.\r\nnvcc is present so there is likely a pathing issue. Hopefully the following errors follow from that.\r\n\r\nERROR: Command errored out with exit status 1:\r\n   command: /home/jetson/PycharmProjects/depthai/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/setup.py'\"'\"';f = getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__) if os.path.exists(__file__) else io.StringIO('\"'\"'from setuptools import setup; setup()'\"'\"');code = f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' bdist_wheel -d /tmp/pip-wheel-73lffknw\r\n       cwd: /tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/\r\n  Complete output (267 lines):\r\n  running bdist_wheel\r\n  running build\r\n  running build_ext\r\n  mkdir -p build/tests\r\n  mkdir -p build/lib\r\n  nvcc -DCUDNN  --compiler-options \"-fPIC -lstdc++ -pthread -lm\" -c src/cuvid/Utils/ColorSpace.cu -o build/lib/libcolor_space.a\r\n  /bin/sh: 1: nvcc: not found\r\n  make: *** [Makefile:45: build/lib/libcolor_space.a] Error 127\r\n  creating build/temp.linux-aarch64-3.9\r\n  creating build/temp.linux-aarch64-3.9/src\r\n  creating build/temp.linux-aarch64-3.9/src/cuvid\r\n  creating build/temp.linux-aarch64-3.9/src/cuvid/NvDecoder\r\n  creating build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c nvcodec-python.cpp -o build/temp.linux-aarch64-3.9/nvcodec-python.o\r\n  nvcodec-python.cpp:98:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]\r\n     98 | };\r\n        | ^\r\n  nvcodec-python.cpp: In function ‘PyObject* VideoDecoder_decode(NvCodec*, PyObject*)’:\r\n  nvcodec-python.cpp:118:28: warning: NULL used in arithmetic [-Wpointer-arith]\r\n    118 |         if(error_str[0] != NULL){\r\n        |                            ^~~~\r\n  nvcodec-python.cpp: At global scope:\r\n  nvcodec-python.cpp:192:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]\r\n    192 | };\r\n        | ^\r\n  nvcodec-python.cpp:286:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]\r\n    286 | };\r\n        | ^\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/Logger.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/Logger.o\r\n  src/cuvid/Logger.cpp:3:30: warning: ‘logger’ initialized and declared ‘extern’\r\n      3 | extern simplelogger::Logger *logger = simplelogger::LoggerFactory::CreateConsoleLogger();\r\n        |                              ^~~~~~\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/NvDecoder/NvDecoder.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/NvDecoder/NvDecoder.o\r\n  In file included from src/cuvid/NvDecoder/NvDecoder.h:23,\r\n                   from src/cuvid/NvDecoder/NvDecoder.cpp:18:\r\n  src/cuvid/NvDecoder/../Utils/NvCodecUtils.h: In constructor ‘BufferedFileReader::BufferedFileReader(const char*, bool)’:\r\n  src/cuvid/NvDecoder/../Utils/NvCodecUtils.h:193:27: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off64_t’ {aka ‘long int’} [-Wsign-compare]\r\n    193 |                 if (nSize != st.st_size) {\r\n        |                     ~~~~~~^~~~~~~~~~~~~\r\n  In file included from src/cuvid/NvDecoder/NvDecoder.h:23,\r\n                   from src/cuvid/NvDecoder/NvDecoder.cpp:18:\r\n  src/cuvid/NvDecoder/../Utils/NvCodecUtils.h:197:26: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]\r\n    197 |             } catch(std::bad_alloc) {\r\n        |                          ^~~~~~~~~\r\n  src/cuvid/NvDecoder/../Utils/NvCodecUtils.h:213:25: warning: unused variable ‘nRead’ [-Wunused-variable]\r\n    213 |         std::streamsize nRead = fpIn.read(reinterpret_cast\u003cchar*\u003e(pBuf), nSize).gcount();\r\n        |                         ^~~~~\r\n  src/cuvid/NvDecoder/NvDecoder.cpp: In function ‘const char* GetVideoCodecString(cudaVideoCodec)’:\r\n  src/cuvid/NvDecoder/NvDecoder.cpp:69:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]\r\n     69 |     for (int i = cudaVideoCodec_NumCodecs + 1; i \u003c sizeof(aCodecName) / sizeof(aCodecName[0]); i++) {\r\n        |                                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/NvDecoder/NvDecoder.cpp: In member function ‘int NvDecoder::HandleVideoSequence(CUVIDEOFORMAT*)’:\r\n  src/cuvid/NvDecoder/NvDecoder.cpp:293:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\r\n    293 |     if (m_nMaxWidth \u003c (int)pVideoFormat-\u003ecoded_width)\r\n        |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/NvDecoder/NvDecoder.cpp:295:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\r\n    295 |     if (m_nMaxHeight \u003c (int)pVideoFormat-\u003ecoded_height)\r\n        |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/NvEncoder/NvEncoder.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoder.o\r\n  In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n  src/cuvid/NvEncoder/NvEncoder.h: In member function ‘void* NvEncoder::GetCompletionEvent(uint32_t)’:\r\n  src/cuvid/NvEncoder/NvEncoder.h:305:86: warning: comparison of integer expressions of different signedness: ‘std::vector\u003cvoid*\u003e::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]\r\n    305 |     void* GetCompletionEvent(uint32_t eventIdx) { return (m_vpCompletionEvent.size() == m_nEncoderBuffer) ? m_vpCompletionEvent[eventIdx] : nullptr; }\r\n        |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.h: In constructor ‘NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE, void*, uint32_t, uint32_t, NV_ENC_BUFFER_FORMAT, uint32_t, bool, bool)’:\r\n  src/cuvid/NvEncoder/NvEncoder.h:431:24: warning: ‘NvEncoder::m_eDeviceType’ will be initialized after [-Wreorder]\r\n    431 |     NV_ENC_DEVICE_TYPE m_eDeviceType;\r\n        |                        ^~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.h:427:14: warning:   ‘uint32_t NvEncoder::m_nWidth’ [-Wreorder]\r\n    427 |     uint32_t m_nWidth;\r\n        |              ^~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n     25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n        | ^~~~~~~~~\r\n  In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n  src/cuvid/NvEncoder/NvEncoder.h:439:14: warning: ‘NvEncoder::m_nMaxEncodeHeight’ will be initialized after [-Wreorder]\r\n    439 |     uint32_t m_nMaxEncodeHeight = 0;\r\n        |              ^~~~~~~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.h:429:26: warning:   ‘NV_ENC_BUFFER_FORMAT NvEncoder::m_eBufferFormat’ [-Wreorder]\r\n    429 |     NV_ENC_BUFFER_FORMAT m_eBufferFormat;\r\n        |                          ^~~~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n     25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n        | ^~~~~~~~~\r\n  In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n  src/cuvid/NvEncoder/NvEncoder.h:429:26: warning: ‘NvEncoder::m_eBufferFormat’ will be initialized after [-Wreorder]\r\n    429 |     NV_ENC_BUFFER_FORMAT m_eBufferFormat;\r\n        |                          ^~~~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.h:409:10: warning:   ‘bool NvEncoder::m_bMotionEstimationOnly’ [-Wreorder]\r\n    409 |     bool m_bMotionEstimationOnly = false;\r\n        |          ^~~~~~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n     25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n        | ^~~~~~~~~\r\n  In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n  src/cuvid/NvEncoder/NvEncoder.h:435:14: warning: ‘NvEncoder::m_nExtraOutputDelay’ will be initialized after [-Wreorder]\r\n    435 |     uint32_t m_nExtraOutputDelay = 3; // To ensure encode and graphics can work in parallel, m_nExtraOutputDelay should be set to at least 1\r\n        |              ^~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.h:411:11: warning:   ‘void* NvEncoder::m_hEncoder’ [-Wreorder]\r\n    411 |     void *m_hEncoder = nullptr;\r\n        |           ^~~~~~~~~~\r\n  src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n     25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n        | ^~~~~~~~~\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/NvEncoder/NvEncoderCuda.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoderCuda.o\r\n  In file included from src/cuvid/NvEncoder/NvEncoderCuda.h:18,\r\n                   from src/cuvid/NvEncoder/NvEncoderCuda.cpp:12:\r\n  src/cuvid/NvEncoder/NvEncoder.h: In member function ‘void* NvEncoder::GetCompletionEvent(uint32_t)’:\r\n  src/cuvid/NvEncoder/NvEncoder.h:305:86: warning: comparison of integer expressions of different signedness: ‘std::vector\u003cvoid*\u003e::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]\r\n    305 |     void* GetCompletionEvent(uint32_t eventIdx) { return (m_vpCompletionEvent.size() == m_nEncoderBuffer) ? m_vpCompletionEvent[eventIdx] : nullptr; }\r\n        |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/decoder.cpp -o build/temp.linux-aarch64-3.9/src/decoder.o\r\n  In file included from src/decoder.cpp:2:\r\n  src/cuvid/Utils/NvCodecUtils.h: In constructor ‘BufferedFileReader::BufferedFileReader(const char*, bool)’:\r\n  src/cuvid/Utils/NvCodecUtils.h:193:27: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off64_t’ {aka ‘long int’} [-Wsign-compare]\r\n    193 |                 if (nSize != st.st_size) {\r\n        |                     ~~~~~~^~~~~~~~~~~~~\r\n  In file included from src/decoder.cpp:2:\r\n  src/cuvid/Utils/NvCodecUtils.h:197:26: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]\r\n    197 |             } catch(std::bad_alloc) {\r\n        |                          ^~~~~~~~~\r\n  src/cuvid/Utils/NvCodecUtils.h:213:25: warning: unused variable ‘nRead’ [-Wunused-variable]\r\n    213 |         std::streamsize nRead = fpIn.read(reinterpret_cast\u003cchar*\u003e(pBuf), nSize).gcount();\r\n        |                         ^~~~~\r\n  In file included from src/decoder.cpp:5:\r\n  src/cuvid/AppDecUtils.h: In function ‘void ShowDecoderCapability()’:\r\n  src/cuvid/AppDecUtils.h:165:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]\r\n    165 |         for (int i = 0; i \u003c sizeof(aeCodec) / sizeof(aeCodec[0]); i++) {\r\n        |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  src/decoder.cpp: In function ‘int videoDecoder_destroy(videoDecoderHandle)’:\r\n  src/decoder.cpp:25:23: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete]\r\n     25 |     delete(handle-\u003edec);\r\n        |                       ^\r\n  src/decoder.cpp: In function ‘videoFrameList* videoDecoder_decode(videoDecoderHandle, u_int8_t*, size_t, char*)’:\r\n  src/decoder.cpp:62:20: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]\r\n     62 |         error[0] = NULL;\r\n        |                    ^~~~\r\n  src/decoder.cpp:66:27: warning: catching polymorphic type ‘class NVDECException’ by value [-Wcatch-value=]\r\n     66 |     }catch(NVDECException e){\r\n        |                           ^\r\n  src/decoder.cpp:58:14: warning: unused variable ‘pVideo’ [-Wunused-variable]\r\n     58 |     uint8_t *pVideo = NULL, *pFrame;\r\n        |              ^~~~~~\r\n  In file included from src/decoder.cpp:5:\r\n  src/cuvid/AppDecUtils.h: At global scope:\r\n  src/cuvid/AppDecUtils.h:141:13: warning: ‘void ShowDecoderCapability()’ defined but not used [-Wunused-function]\r\n    141 | static void ShowDecoderCapability()\r\n        |             ^~~~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/AppDecUtils.h:45:13: warning: ‘void ParseCommandLine(int, char**, char*, char*, int\u0026, bool*, int*)’ defined but not used [-Wunused-function]\r\n     45 | static void ParseCommandLine(int argc, char *argv[], char *szInputFileName,\r\n        |             ^~~~~~~~~~~~~~~~\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/encoder.cpp -o build/temp.linux-aarch64-3.9/src/encoder.o\r\n  In file included from src/cuvid/NvEncoder/NvEncoderCuda.h:18,\r\n                   from src/encoder.cpp:2:\r\n  src/cuvid/NvEncoder/NvEncoder.h: In member function ‘void* NvEncoder::GetCompletionEvent(uint32_t)’:\r\n  src/cuvid/NvEncoder/NvEncoder.h:305:86: warning: comparison of integer expressions of different signedness: ‘std::vector\u003cvoid*\u003e::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]\r\n    305 |     void* GetCompletionEvent(uint32_t eventIdx) { return (m_vpCompletionEvent.size() == m_nEncoderBuffer) ? m_vpCompletionEvent[eventIdx] : nullptr; }\r\n        |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~\r\n  In file included from src/encoder.cpp:3:\r\n  src/cuvid/Utils/NvCodecUtils.h: In constructor ‘BufferedFileReader::BufferedFileReader(const char*, bool)’:\r\n  src/cuvid/Utils/NvCodecUtils.h:193:27: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off64_t’ {aka ‘long int’} [-Wsign-compare]\r\n    193 |                 if (nSize != st.st_size) {\r\n        |                     ~~~~~~^~~~~~~~~~~~~\r\n  In file included from src/encoder.cpp:3:\r\n  src/cuvid/Utils/NvCodecUtils.h:197:26: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]\r\n    197 |             } catch(std::bad_alloc) {\r\n        |                          ^~~~~~~~~\r\n  src/cuvid/Utils/NvCodecUtils.h:213:25: warning: unused variable ‘nRead’ [-Wunused-variable]\r\n    213 |         std::streamsize nRead = fpIn.read(reinterpret_cast\u003cchar*\u003e(pBuf), nSize).gcount();\r\n        |                         ^~~~~\r\n  In file included from src/encoder.cpp:6:\r\n  src/cuvid/AppDecUtils.h: In function ‘void ShowDecoderCapability()’:\r\n  src/cuvid/AppDecUtils.h:165:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]\r\n    165 |         for (int i = 0; i \u003c sizeof(aeCodec) / sizeof(aeCodec[0]); i++) {\r\n        |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n  In file included from src/encoder.cpp:7:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In member function ‘virtual void NvEncoderInitParam::SetInitParams(NV_ENC_INITIALIZE_PARAMS*, NV_ENC_BUFFER_FORMAT)’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:222:44: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    222 |                 tokens[i] == \"-codec\"      \u0026\u0026 ++i ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:224:44: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    224 |                 tokens[i] == \"-tuninginfo\" \u0026\u0026 ++i ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:225:67: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    225 |                 tokens[i] == \"-multipass\" \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseString(\"-multipass\", tokens[i], vMultiPass, szMultipass, \u0026config.rcParams.multiPass) ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:226:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    226 |                 tokens[i] == \"-profile\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 (IsCodecH264() ?\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:229:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    229 |                 tokens[i] == \"-rc\"         \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseString(\"-rc\",          tokens[i], vRcMode, szRcModeNames, \u0026config.rcParams.rateControlMode)                    ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:230:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    230 |                 tokens[i] == \"-fps\"        \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseInt(\"-fps\",            tokens[i], \u0026pParams-\u003eframeRateNum)                                                      ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:231:134: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    231 |                 tokens[i] == \"-bf\"         \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseInt(\"-bf\",             tokens[i], \u0026config.frameIntervalP) \u0026\u0026 ++config.frameIntervalP                           ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:232:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    232 |                 tokens[i] == \"-bitrate\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-bitrate\",    tokens[i], \u0026config.rcParams.averageBitRate)                                             ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:233:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    233 |                 tokens[i] == \"-maxbitrate\" \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-maxbitrate\", tokens[i], \u0026config.rcParams.maxBitRate)                                                 ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:234:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    234 |                 tokens[i] == \"-vbvbufsize\" \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-vbvbufsize\", tokens[i], \u0026config.rcParams.vbvBufferSize)                                              ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:235:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    235 |                 tokens[i] == \"-vbvinit\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-vbvinit\",    tokens[i], \u0026config.rcParams.vbvInitialDelay)                                            ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:236:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    236 |                 tokens[i] == \"-cq\"         \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseInt(\"-cq\",             tokens[i], \u0026config.rcParams.targetQuality)                                              ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:237:140: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    237 |                 tokens[i] == \"-initqp\"     \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-initqp\",          tokens[i], \u0026config.rcParams.initialRCQP) \u0026\u0026 (config.rcParams.enableInitialRCQP = true)  ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:238:134: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    238 |                 tokens[i] == \"-qmin\"       \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-qmin\",            tokens[i], \u0026config.rcParams.minQP) \u0026\u0026 (config.rcParams.enableMinQP = true)              ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:239:134: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    239 |                 tokens[i] == \"-qmax\"       \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-qmax\",            tokens[i], \u0026config.rcParams.maxQP) \u0026\u0026 (config.rcParams.enableMaxQP = true)              ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:240:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    240 |                 tokens[i] == \"-constqp\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-constqp\",         tokens[i], \u0026config.rcParams.constQP)                                                    ||\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:241:44: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n    241 |                 tokens[i] == \"-temporalaq\" \u0026\u0026 (config.rcParams.enableTemporalAQ = true)\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In member function ‘bool NvEncoderInitParam::ParseBitRate(const string\u0026, const string\u0026, unsigned int*)’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:338:23: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n    338 |         } catch (std::invalid_argument) {\r\n        |                       ^~~~~~~~~~~~~~~~\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In member function ‘bool NvEncoderInitParam::ParseQp(const string\u0026, const string\u0026, NV_ENC_QP*)’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:365:23: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n    365 |         } catch (std::invalid_argument) {\r\n        |                       ^~~~~~~~~~~~~~~~\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = unsigned int; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:230:132:   required from here\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n    347 |         } catch (std::invalid_argument) {\r\n        |           ^~~~~\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = int; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:231:132:   required from here\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = unsigned char; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:236:140:   required from here\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = short unsigned int; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:246:135:   required from here\r\n  src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n  In file included from src/encoder.cpp:6:\r\n  src/cuvid/AppDecUtils.h: At global scope:\r\n  src/cuvid/AppDecUtils.h:141:13: warning: ‘void ShowDecoderCapability()’ defined but not used [-Wunused-function]\r\n    141 | static void ShowDecoderCapability()\r\n        |             ^~~~~~~~~~~~~~~~~~~~~\r\n  src/cuvid/AppDecUtils.h:45:13: warning: ‘void ParseCommandLine(int, char**, char*, char*, int\u0026, bool*, int*)’ defined but not used [-Wunused-function]\r\n     45 | static void ParseCommandLine(int argc, char *argv[], char *szInputFileName,\r\n        |             ^~~~~~~~~~~~~~~~\r\n  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/source.cpp -o build/temp.linux-aarch64-3.9/src/source.o\r\n  src/source.cpp: In function ‘videoSource* videoSource_init(char*, int)’:\r\n  src/source.cpp:10:21: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]\r\n     10 |     av_register_all();\r\n        |                     ^\r\n  In file included from src/source.h:8,\r\n                   from src/source.cpp:2:\r\n  /usr/include/aarch64-linux-gnu/libavformat/avformat.h:2050:6: note: declared here\r\n   2050 | void av_register_all(void);\r\n        |      ^~~~~~~~~~~~~~~\r\n  src/source.cpp:10:21: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]\r\n     10 |     av_register_all();\r\n        |                     ^\r\n  In file included from src/source.h:8,\r\n                   from src/source.cpp:2:\r\n  /usr/include/aarch64-linux-gnu/libavformat/avformat.h:2050:6: note: declared here\r\n   2050 | void av_register_all(void);\r\n        |      ^~~~~~~~~~~~~~~\r\n  creating build/lib.linux-aarch64-3.9\r\n  aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-3.9/nvcodec-python.o build/temp.linux-aarch64-3.9/src/cuvid/Logger.o build/temp.linux-aarch64-3.9/src/cuvid/NvDecoder/NvDecoder.o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoder.o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoderCuda.o build/temp.linux-aarch64-3.9/src/decoder.o build/temp.linux-aarch64-3.9/src/encoder.o build/temp.linux-aarch64-3.9/src/source.o -Lbuild/lib -L/usr/local/cuda-11.2/targets/x86_64-linux/lib -L/usr/lib/aarch64-linux-gnu -lavformat -lavcodec -lavutil -lnvcuvid -lnvidia-encode -lcuda -lstdc++ -lm -lcudart -lcolor_space -o build/lib.linux-aarch64-3.9/nvcodec.cpython-39-aarch64-linux-gnu.so\r\n  /usr/bin/ld: cannot find -lnvcuvid\r\n  /usr/bin/ld: cannot find -lnvidia-encode\r\n  /usr/bin/ld: cannot find -lcudart\r\n  /usr/bin/ld: cannot find -lcolor_space\r\n  collect2: error: ld returned 1 exit status\r\n  error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1\r\n  ----------------------------------------\r\n  ERROR: Failed building wheel for pynvcodec\r\n    ERROR: Command errored out with exit status 1:\r\n     command: /home/jetson/PycharmProjects/depthai/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/setup.py'\"'\"';f = getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__) if os.path.exists(__file__) else io.StringIO('\"'\"'from setuptools import setup; setup()'\"'\"');code = f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /tmp/pip-record-k_uqvl9e/install-record.txt --single-version-externally-managed --compile --install-headers /home/jetson/PycharmProjects/depthai/venv/include/site/python3.9/pynvcodec\r\n         cwd: /tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/\r\n    Complete output (269 lines):\r\n    running install\r\n    /home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\r\n      warnings.warn(\r\n    running build\r\n    running build_ext\r\n    mkdir -p build/tests\r\n    mkdir -p build/lib\r\n    nvcc -DCUDNN  --compiler-options \"-fPIC -lstdc++ -pthread -lm\" -c src/cuvid/Utils/ColorSpace.cu -o build/lib/libcolor_space.a\r\n    /bin/sh: 1: nvcc: not found\r\n    make: *** [Makefile:45: build/lib/libcolor_space.a] Error 127\r\n    creating build/temp.linux-aarch64-3.9\r\n    creating build/temp.linux-aarch64-3.9/src\r\n    creating build/temp.linux-aarch64-3.9/src/cuvid\r\n    creating build/temp.linux-aarch64-3.9/src/cuvid/NvDecoder\r\n    creating build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c nvcodec-python.cpp -o build/temp.linux-aarch64-3.9/nvcodec-python.o\r\n    nvcodec-python.cpp:98:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]\r\n       98 | };\r\n          | ^\r\n    nvcodec-python.cpp: In function ‘PyObject* VideoDecoder_decode(NvCodec*, PyObject*)’:\r\n    nvcodec-python.cpp:118:28: warning: NULL used in arithmetic [-Wpointer-arith]\r\n      118 |         if(error_str[0] != NULL){\r\n          |                            ^~~~\r\n    nvcodec-python.cpp: At global scope:\r\n    nvcodec-python.cpp:192:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]\r\n      192 | };\r\n          | ^\r\n    nvcodec-python.cpp:286:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]\r\n      286 | };\r\n          | ^\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/Logger.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/Logger.o\r\n    src/cuvid/Logger.cpp:3:30: warning: ‘logger’ initialized and declared ‘extern’\r\n        3 | extern simplelogger::Logger *logger = simplelogger::LoggerFactory::CreateConsoleLogger();\r\n          |                              ^~~~~~\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/NvDecoder/NvDecoder.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/NvDecoder/NvDecoder.o\r\n    In file included from src/cuvid/NvDecoder/NvDecoder.h:23,\r\n                     from src/cuvid/NvDecoder/NvDecoder.cpp:18:\r\n    src/cuvid/NvDecoder/../Utils/NvCodecUtils.h: In constructor ‘BufferedFileReader::BufferedFileReader(const char*, bool)’:\r\n    src/cuvid/NvDecoder/../Utils/NvCodecUtils.h:193:27: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off64_t’ {aka ‘long int’} [-Wsign-compare]\r\n      193 |                 if (nSize != st.st_size) {\r\n          |                     ~~~~~~^~~~~~~~~~~~~\r\n    In file included from src/cuvid/NvDecoder/NvDecoder.h:23,\r\n                     from src/cuvid/NvDecoder/NvDecoder.cpp:18:\r\n    src/cuvid/NvDecoder/../Utils/NvCodecUtils.h:197:26: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]\r\n      197 |             } catch(std::bad_alloc) {\r\n          |                          ^~~~~~~~~\r\n    src/cuvid/NvDecoder/../Utils/NvCodecUtils.h:213:25: warning: unused variable ‘nRead’ [-Wunused-variable]\r\n      213 |         std::streamsize nRead = fpIn.read(reinterpret_cast\u003cchar*\u003e(pBuf), nSize).gcount();\r\n          |                         ^~~~~\r\n    src/cuvid/NvDecoder/NvDecoder.cpp: In function ‘const char* GetVideoCodecString(cudaVideoCodec)’:\r\n    src/cuvid/NvDecoder/NvDecoder.cpp:69:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]\r\n       69 |     for (int i = cudaVideoCodec_NumCodecs + 1; i \u003c sizeof(aCodecName) / sizeof(aCodecName[0]); i++) {\r\n          |                                                ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/NvDecoder/NvDecoder.cpp: In member function ‘int NvDecoder::HandleVideoSequence(CUVIDEOFORMAT*)’:\r\n    src/cuvid/NvDecoder/NvDecoder.cpp:293:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\r\n      293 |     if (m_nMaxWidth \u003c (int)pVideoFormat-\u003ecoded_width)\r\n          |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/NvDecoder/NvDecoder.cpp:295:22: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]\r\n      295 |     if (m_nMaxHeight \u003c (int)pVideoFormat-\u003ecoded_height)\r\n          |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/NvEncoder/NvEncoder.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoder.o\r\n    In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n    src/cuvid/NvEncoder/NvEncoder.h: In member function ‘void* NvEncoder::GetCompletionEvent(uint32_t)’:\r\n    src/cuvid/NvEncoder/NvEncoder.h:305:86: warning: comparison of integer expressions of different signedness: ‘std::vector\u003cvoid*\u003e::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]\r\n      305 |     void* GetCompletionEvent(uint32_t eventIdx) { return (m_vpCompletionEvent.size() == m_nEncoderBuffer) ? m_vpCompletionEvent[eventIdx] : nullptr; }\r\n          |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.h: In constructor ‘NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE, void*, uint32_t, uint32_t, NV_ENC_BUFFER_FORMAT, uint32_t, bool, bool)’:\r\n    src/cuvid/NvEncoder/NvEncoder.h:431:24: warning: ‘NvEncoder::m_eDeviceType’ will be initialized after [-Wreorder]\r\n      431 |     NV_ENC_DEVICE_TYPE m_eDeviceType;\r\n          |                        ^~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.h:427:14: warning:   ‘uint32_t NvEncoder::m_nWidth’ [-Wreorder]\r\n      427 |     uint32_t m_nWidth;\r\n          |              ^~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n       25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n          | ^~~~~~~~~\r\n    In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n    src/cuvid/NvEncoder/NvEncoder.h:439:14: warning: ‘NvEncoder::m_nMaxEncodeHeight’ will be initialized after [-Wreorder]\r\n      439 |     uint32_t m_nMaxEncodeHeight = 0;\r\n          |              ^~~~~~~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.h:429:26: warning:   ‘NV_ENC_BUFFER_FORMAT NvEncoder::m_eBufferFormat’ [-Wreorder]\r\n      429 |     NV_ENC_BUFFER_FORMAT m_eBufferFormat;\r\n          |                          ^~~~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n       25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n          | ^~~~~~~~~\r\n    In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n    src/cuvid/NvEncoder/NvEncoder.h:429:26: warning: ‘NvEncoder::m_eBufferFormat’ will be initialized after [-Wreorder]\r\n      429 |     NV_ENC_BUFFER_FORMAT m_eBufferFormat;\r\n          |                          ^~~~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.h:409:10: warning:   ‘bool NvEncoder::m_bMotionEstimationOnly’ [-Wreorder]\r\n      409 |     bool m_bMotionEstimationOnly = false;\r\n          |          ^~~~~~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n       25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n          | ^~~~~~~~~\r\n    In file included from src/cuvid/NvEncoder/NvEncoder.cpp:12:\r\n    src/cuvid/NvEncoder/NvEncoder.h:435:14: warning: ‘NvEncoder::m_nExtraOutputDelay’ will be initialized after [-Wreorder]\r\n      435 |     uint32_t m_nExtraOutputDelay = 3; // To ensure encode and graphics can work in parallel, m_nExtraOutputDelay should be set to at least 1\r\n          |              ^~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.h:411:11: warning:   ‘void* NvEncoder::m_hEncoder’ [-Wreorder]\r\n      411 |     void *m_hEncoder = nullptr;\r\n          |           ^~~~~~~~~~\r\n    src/cuvid/NvEncoder/NvEncoder.cpp:25:1: warning:   when initialized here [-Wreorder]\r\n       25 | NvEncoder::NvEncoder(NV_ENC_DEVICE_TYPE eDeviceType, void *pDevice, uint32_t nWidth, uint32_t nHeight, NV_ENC_BUFFER_FORMAT eBufferFormat,\r\n          | ^~~~~~~~~\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/cuvid/NvEncoder/NvEncoderCuda.cpp -o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoderCuda.o\r\n    In file included from src/cuvid/NvEncoder/NvEncoderCuda.h:18,\r\n                     from src/cuvid/NvEncoder/NvEncoderCuda.cpp:12:\r\n    src/cuvid/NvEncoder/NvEncoder.h: In member function ‘void* NvEncoder::GetCompletionEvent(uint32_t)’:\r\n    src/cuvid/NvEncoder/NvEncoder.h:305:86: warning: comparison of integer expressions of different signedness: ‘std::vector\u003cvoid*\u003e::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]\r\n      305 |     void* GetCompletionEvent(uint32_t eventIdx) { return (m_vpCompletionEvent.size() == m_nEncoderBuffer) ? m_vpCompletionEvent[eventIdx] : nullptr; }\r\n          |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/decoder.cpp -o build/temp.linux-aarch64-3.9/src/decoder.o\r\n    In file included from src/decoder.cpp:2:\r\n    src/cuvid/Utils/NvCodecUtils.h: In constructor ‘BufferedFileReader::BufferedFileReader(const char*, bool)’:\r\n    src/cuvid/Utils/NvCodecUtils.h:193:27: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off64_t’ {aka ‘long int’} [-Wsign-compare]\r\n      193 |                 if (nSize != st.st_size) {\r\n          |                     ~~~~~~^~~~~~~~~~~~~\r\n    In file included from src/decoder.cpp:2:\r\n    src/cuvid/Utils/NvCodecUtils.h:197:26: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]\r\n      197 |             } catch(std::bad_alloc) {\r\n          |                          ^~~~~~~~~\r\n    src/cuvid/Utils/NvCodecUtils.h:213:25: warning: unused variable ‘nRead’ [-Wunused-variable]\r\n      213 |         std::streamsize nRead = fpIn.read(reinterpret_cast\u003cchar*\u003e(pBuf), nSize).gcount();\r\n          |                         ^~~~~\r\n    In file included from src/decoder.cpp:5:\r\n    src/cuvid/AppDecUtils.h: In function ‘void ShowDecoderCapability()’:\r\n    src/cuvid/AppDecUtils.h:165:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]\r\n      165 |         for (int i = 0; i \u003c sizeof(aeCodec) / sizeof(aeCodec[0]); i++) {\r\n          |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    src/decoder.cpp: In function ‘int videoDecoder_destroy(videoDecoderHandle)’:\r\n    src/decoder.cpp:25:23: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete]\r\n       25 |     delete(handle-\u003edec);\r\n          |                       ^\r\n    src/decoder.cpp: In function ‘videoFrameList* videoDecoder_decode(videoDecoderHandle, u_int8_t*, size_t, char*)’:\r\n    src/decoder.cpp:62:20: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]\r\n       62 |         error[0] = NULL;\r\n          |                    ^~~~\r\n    src/decoder.cpp:66:27: warning: catching polymorphic type ‘class NVDECException’ by value [-Wcatch-value=]\r\n       66 |     }catch(NVDECException e){\r\n          |                           ^\r\n    src/decoder.cpp:58:14: warning: unused variable ‘pVideo’ [-Wunused-variable]\r\n       58 |     uint8_t *pVideo = NULL, *pFrame;\r\n          |              ^~~~~~\r\n    In file included from src/decoder.cpp:5:\r\n    src/cuvid/AppDecUtils.h: At global scope:\r\n    src/cuvid/AppDecUtils.h:141:13: warning: ‘void ShowDecoderCapability()’ defined but not used [-Wunused-function]\r\n      141 | static void ShowDecoderCapability()\r\n          |             ^~~~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/AppDecUtils.h:45:13: warning: ‘void ParseCommandLine(int, char**, char*, char*, int\u0026, bool*, int*)’ defined but not used [-Wunused-function]\r\n       45 | static void ParseCommandLine(int argc, char *argv[], char *szInputFileName,\r\n          |             ^~~~~~~~~~~~~~~~\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/encoder.cpp -o build/temp.linux-aarch64-3.9/src/encoder.o\r\n    In file included from src/cuvid/NvEncoder/NvEncoderCuda.h:18,\r\n                     from src/encoder.cpp:2:\r\n    src/cuvid/NvEncoder/NvEncoder.h: In member function ‘void* NvEncoder::GetCompletionEvent(uint32_t)’:\r\n    src/cuvid/NvEncoder/NvEncoder.h:305:86: warning: comparison of integer expressions of different signedness: ‘std::vector\u003cvoid*\u003e::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]\r\n      305 |     void* GetCompletionEvent(uint32_t eventIdx) { return (m_vpCompletionEvent.size() == m_nEncoderBuffer) ? m_vpCompletionEvent[eventIdx] : nullptr; }\r\n          |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~\r\n    In file included from src/encoder.cpp:3:\r\n    src/cuvid/Utils/NvCodecUtils.h: In constructor ‘BufferedFileReader::BufferedFileReader(const char*, bool)’:\r\n    src/cuvid/Utils/NvCodecUtils.h:193:27: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘__off64_t’ {aka ‘long int’} [-Wsign-compare]\r\n      193 |                 if (nSize != st.st_size) {\r\n          |                     ~~~~~~^~~~~~~~~~~~~\r\n    In file included from src/encoder.cpp:3:\r\n    src/cuvid/Utils/NvCodecUtils.h:197:26: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]\r\n      197 |             } catch(std::bad_alloc) {\r\n          |                          ^~~~~~~~~\r\n    src/cuvid/Utils/NvCodecUtils.h:213:25: warning: unused variable ‘nRead’ [-Wunused-variable]\r\n      213 |         std::streamsize nRead = fpIn.read(reinterpret_cast\u003cchar*\u003e(pBuf), nSize).gcount();\r\n          |                         ^~~~~\r\n    In file included from src/encoder.cpp:6:\r\n    src/cuvid/AppDecUtils.h: In function ‘void ShowDecoderCapability()’:\r\n    src/cuvid/AppDecUtils.h:165:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]\r\n      165 |         for (int i = 0; i \u003c sizeof(aeCodec) / sizeof(aeCodec[0]); i++) {\r\n          |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    In file included from src/encoder.cpp:7:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In member function ‘virtual void NvEncoderInitParam::SetInitParams(NV_ENC_INITIALIZE_PARAMS*, NV_ENC_BUFFER_FORMAT)’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:222:44: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      222 |                 tokens[i] == \"-codec\"      \u0026\u0026 ++i ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:224:44: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      224 |                 tokens[i] == \"-tuninginfo\" \u0026\u0026 ++i ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:225:67: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      225 |                 tokens[i] == \"-multipass\" \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseString(\"-multipass\", tokens[i], vMultiPass, szMultipass, \u0026config.rcParams.multiPass) ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:226:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      226 |                 tokens[i] == \"-profile\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 (IsCodecH264() ?\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:229:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      229 |                 tokens[i] == \"-rc\"         \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseString(\"-rc\",          tokens[i], vRcMode, szRcModeNames, \u0026config.rcParams.rateControlMode)                    ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:230:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      230 |                 tokens[i] == \"-fps\"        \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseInt(\"-fps\",            tokens[i], \u0026pParams-\u003eframeRateNum)                                                      ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:231:134: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      231 |                 tokens[i] == \"-bf\"         \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseInt(\"-bf\",             tokens[i], \u0026config.frameIntervalP) \u0026\u0026 ++config.frameIntervalP                           ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:232:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      232 |                 tokens[i] == \"-bitrate\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-bitrate\",    tokens[i], \u0026config.rcParams.averageBitRate)                                             ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:233:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      233 |                 tokens[i] == \"-maxbitrate\" \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-maxbitrate\", tokens[i], \u0026config.rcParams.maxBitRate)                                                 ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:234:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      234 |                 tokens[i] == \"-vbvbufsize\" \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-vbvbufsize\", tokens[i], \u0026config.rcParams.vbvBufferSize)                                              ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:235:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      235 |                 tokens[i] == \"-vbvinit\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseBitRate(\"-vbvinit\",    tokens[i], \u0026config.rcParams.vbvInitialDelay)                                            ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:236:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      236 |                 tokens[i] == \"-cq\"         \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseInt(\"-cq\",             tokens[i], \u0026config.rcParams.targetQuality)                                              ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:237:140: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      237 |                 tokens[i] == \"-initqp\"     \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-initqp\",          tokens[i], \u0026config.rcParams.initialRCQP) \u0026\u0026 (config.rcParams.enableInitialRCQP = true)  ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:238:134: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      238 |                 tokens[i] == \"-qmin\"       \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-qmin\",            tokens[i], \u0026config.rcParams.minQP) \u0026\u0026 (config.rcParams.enableMinQP = true)              ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:239:134: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      239 |                 tokens[i] == \"-qmax\"       \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-qmax\",            tokens[i], \u0026config.rcParams.maxQP) \u0026\u0026 (config.rcParams.enableMaxQP = true)              ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:240:68: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      240 |                 tokens[i] == \"-constqp\"    \u0026\u0026 ++i != tokens.size() \u0026\u0026 ParseQp(\"-constqp\",         tokens[i], \u0026config.rcParams.constQP)                                                    ||\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:241:44: warning: suggest parentheses around ‘\u0026\u0026’ within ‘||’ [-Wparentheses]\r\n      241 |                 tokens[i] == \"-temporalaq\" \u0026\u0026 (config.rcParams.enableTemporalAQ = true)\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In member function ‘bool NvEncoderInitParam::ParseBitRate(const string\u0026, const string\u0026, unsigned int*)’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:338:23: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n      338 |         } catch (std::invalid_argument) {\r\n          |                       ^~~~~~~~~~~~~~~~\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In member function ‘bool NvEncoderInitParam::ParseQp(const string\u0026, const string\u0026, NV_ENC_QP*)’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:365:23: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n      365 |         } catch (std::invalid_argument) {\r\n          |                       ^~~~~~~~~~~~~~~~\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = unsigned int; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:230:132:   required from here\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n      347 |         } catch (std::invalid_argument) {\r\n          |           ^~~~~\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = int; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:231:132:   required from here\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = unsigned char; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:236:140:   required from here\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h: In instantiation of ‘bool NvEncoderInitParam::ParseInt(const string\u0026, const string\u0026, T*) [with T = short unsigned int; std::string = std::__cxx11::basic_string\u003cchar\u003e]’:\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:246:135:   required from here\r\n    src/cuvid/Utils/NvEncoderCLIOptions.h:347:11: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]\r\n    In file included from src/encoder.cpp:6:\r\n    src/cuvid/AppDecUtils.h: At global scope:\r\n    src/cuvid/AppDecUtils.h:141:13: warning: ‘void ShowDecoderCapability()’ defined but not used [-Wunused-function]\r\n      141 | static void ShowDecoderCapability()\r\n          |             ^~~~~~~~~~~~~~~~~~~~~\r\n    src/cuvid/AppDecUtils.h:45:13: warning: ‘void ParseCommandLine(int, char**, char*, char*, int\u0026, bool*, int*)’ defined but not used [-Wunused-function]\r\n       45 | static void ParseCommandLine(int argc, char *argv[], char *szInputFileName,\r\n          |             ^~~~~~~~~~~~~~~~\r\n    aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -Isrc/cuvid -I/usr/local/cuda/include -I/home/jetson/PycharmProjects/depthai/venv/lib/python3.9/site-packages/numpy/core/include -I/home/jetson/PycharmProjects/depthai/venv/include -I/usr/include/python3.9 -c src/source.cpp -o build/temp.linux-aarch64-3.9/src/source.o\r\n    src/source.cpp: In function ‘videoSource* videoSource_init(char*, int)’:\r\n    src/source.cpp:10:21: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]\r\n       10 |     av_register_all();\r\n          |                     ^\r\n    In file included from src/source.h:8,\r\n                     from src/source.cpp:2:\r\n    /usr/include/aarch64-linux-gnu/libavformat/avformat.h:2050:6: note: declared here\r\n     2050 | void av_register_all(void);\r\n          |      ^~~~~~~~~~~~~~~\r\n    src/source.cpp:10:21: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]\r\n       10 |     av_register_all();\r\n          |                     ^\r\n    In file included from src/source.h:8,\r\n                     from src/source.cpp:2:\r\n    /usr/include/aarch64-linux-gnu/libavformat/avformat.h:2050:6: note: declared here\r\n     2050 | void av_register_all(void);\r\n          |      ^~~~~~~~~~~~~~~\r\n    creating build/lib.linux-aarch64-3.9\r\n    aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-3.9/nvcodec-python.o build/temp.linux-aarch64-3.9/src/cuvid/Logger.o build/temp.linux-aarch64-3.9/src/cuvid/NvDecoder/NvDecoder.o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoder.o build/temp.linux-aarch64-3.9/src/cuvid/NvEncoder/NvEncoderCuda.o build/temp.linux-aarch64-3.9/src/decoder.o build/temp.linux-aarch64-3.9/src/encoder.o build/temp.linux-aarch64-3.9/src/source.o -Lbuild/lib -L/usr/local/cuda-11.2/targets/x86_64-linux/lib -L/usr/lib/aarch64-linux-gnu -lavformat -lavcodec -lavutil -lnvcuvid -lnvidia-encode -lcuda -lstdc++ -lm -lcudart -lcolor_space -o build/lib.linux-aarch64-3.9/nvcodec.cpython-39-aarch64-linux-gnu.so\r\n    /usr/bin/ld: cannot find -lnvcuvid\r\n    /usr/bin/ld: cannot find -lnvidia-encode\r\n    /usr/bin/ld: cannot find -lcudart\r\n    /usr/bin/ld: cannot find -lcolor_space\r\n    collect2: error: ld returned 1 exit status\r\n    error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1\r\n    ----------------------------------------\r\nERROR: Command errored out with exit status 1: /home/jetson/PycharmProjects/depthai/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-j9wh4f2y/pynvcodec_1863374f3ff9407aaadfe261ae6ef2e4/setup.py'\"'\"';f = getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__) if os.path.exists(__file__) else io.StringIO('\"'\"'from setuptools import setup; setup()'\"'\"');code = f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /tmp/pip-record-k_uqvl9e/install-record.txt --single-version-externally-managed --compile --install-headers /home/jetson/PycharmProjects/depthai/venv/include/site/python3.9/pynvcodec Check the logs for full command output.\r\nWARNING: You are using pip version 21.3.1; however, version 22.3.1 is available.\r\nYou should consider upgrading via the '/home/jetson/PycharmProjects/depthai/venv/bin/python -m pip install --upgrade pip' command.\r\n","author":{"url":"https://github.com/stevefs","@type":"Person","name":"stevefs"},"datePublished":"2022-12-01T20:01:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7/nvcodec-python/issues/7"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ead34647-2e3b-f788-c7d7-9d3d01bef83a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE9C2:17519B:49C69:5DD8C:6991483C
html-safe-nonce4779ba5724220b6aad2d4f4db54faa28bee0c038d71836836ad4a9501e6db07d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUMyOjE3NTE5Qjo0OUM2OTo1REQ4Qzo2OTkxNDgzQyIsInZpc2l0b3JfaWQiOiI1NjQyNTU5NTY5NDU4NzEwNTg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace9f001bb94f1c7412ec0387b5c7cd2d3004a8db556b6800eea78e02c2af49004
hovercard-subject-tagissue:1471882406
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UsingNet/nvcodec-python/7/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8f1257a0ed65c3d407261b692b5f2ae926c8ad087cb85f7840f3c539b693a436/UsingNet/nvcodec-python/issues/7
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8f1257a0ed65c3d407261b692b5f2ae926c8ad087cb85f7840f3c539b693a436/UsingNet/nvcodec-python/issues/7
og:image:altHi Jetson Orin with Jetpack SDK 5.0.2/L4T 35.1.0 I am trying to install nvcodec-python using pip install pynvcodec but getting the follow error The first problem is that nvcc is not found. I will l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestevefs
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/UsingNet/nvcodec-python git https://github.com/UsingNet/nvcodec-python.git
octolytics-dimension-user_id23328403
octolytics-dimension-user_loginUsingNet
octolytics-dimension-repository_id355603481
octolytics-dimension-repository_nwoUsingNet/nvcodec-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id355603481
octolytics-dimension-repository_network_root_nwoUsingNet/nvcodec-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/UsingNet/nvcodec-python/issues/7#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUsingNet%2Fnvcodec-python%2Fissues%2F7
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FUsingNet%2Fnvcodec-python%2Fissues%2F7
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=UsingNet%2Fnvcodec-python
Reloadhttps://github.com/UsingNet/nvcodec-python/issues/7
Reloadhttps://github.com/UsingNet/nvcodec-python/issues/7
Reloadhttps://github.com/UsingNet/nvcodec-python/issues/7
UsingNet https://github.com/UsingNet
nvcodec-pythonhttps://github.com/UsingNet/nvcodec-python
Notifications https://github.com/login?return_to=%2FUsingNet%2Fnvcodec-python
Fork 5 https://github.com/login?return_to=%2FUsingNet%2Fnvcodec-python
Star 21 https://github.com/login?return_to=%2FUsingNet%2Fnvcodec-python
Code https://github.com/UsingNet/nvcodec-python
Issues 7 https://github.com/UsingNet/nvcodec-python/issues
Pull requests 1 https://github.com/UsingNet/nvcodec-python/pulls
Actions https://github.com/UsingNet/nvcodec-python/actions
Projects 0 https://github.com/UsingNet/nvcodec-python/projects
Security 0 https://github.com/UsingNet/nvcodec-python/security
Insights https://github.com/UsingNet/nvcodec-python/pulse
Code https://github.com/UsingNet/nvcodec-python
Issues https://github.com/UsingNet/nvcodec-python/issues
Pull requests https://github.com/UsingNet/nvcodec-python/pulls
Actions https://github.com/UsingNet/nvcodec-python/actions
Projects https://github.com/UsingNet/nvcodec-python/projects
Security https://github.com/UsingNet/nvcodec-python/security
Insights https://github.com/UsingNet/nvcodec-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/UsingNet/nvcodec-python/issues/7
New issuehttps://github.com/login?return_to=https://github.com/UsingNet/nvcodec-python/issues/7
Installation fails on Orinhttps://github.com/UsingNet/nvcodec-python/issues/7#top
https://github.com/stevefs
https://github.com/stevefs
stevefshttps://github.com/stevefs
on Dec 1, 2022https://github.com/UsingNet/nvcodec-python/issues/7#issue-1471882406
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.