Replies: 9 comments 7 replies
-
try the AppImage and encoder= hevc_nvenc |
Beta Was this translation helpful? Give feedback.
-
Thanks but, Same result. |
Beta Was this translation helpful? Give feedback.
-
What OS? What Nvidia card? What is the SDI source format? What install steps for Nvidia driver? |
Beta Was this translation helpful? Give feedback.
-
Yes with testcard. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Same error: |
Beta Was this translation helpful? Give feedback.
-
okay, so if it is not UG issue, I'll convert it rather to discussion. |
Beta Was this translation helpful? Give feedback.
-
Alright, we can close this up.... So much headache for something that should be much easier. I originally installed the drivers from apt-get, and clearly that didnt work. I had to spend an hour purging and eventually just went to the nvidia website and downloaded the correct version. The issue is right in the top line of nvidia smi. This is correct: This is incorrect: |
Beta Was this translation helpful? Give feedback.
-
Why we are still here.... [lavc] Average compression time of last 100 frames is 22.909312 ms but time per frame is only 20.000000 ms! |
Beta Was this translation helpful? Give feedback.
-
Sorry for the millions of posts in the last few weeks. I am trying UG with nvenc, and it seems that everything I do results back to failure.
===============================
Target: x86_64-pc-linux-gnu
Features:
Crypto (OpenSSL) ................ yes CUDA support (nvcc, default) .... yes
Debug output .................... no iHDTV support ................... no
IPv6 support .................... yes Library live555 ................. no
OpenCV .......................... yes Profiling support ............... no
Qt GUI .......................... no RT priority ..................... no
SpeexDSP ........................ no Soxr ............................ no
Standalone modules .............. no zfec ............................ yes
Audio:
ALSA ............................ yes CoreAudio ....................... no
JACK ............................ no JACK transport .................. no
SDL_mixer ....................... no Portaudio ....................... no
WASAPI .......................... no
Video:
AJA ............................. no AV Foundation ................... no
BitFlow ......................... no Bluefish444 ..................... no
caca ............................ no DeckLink ........................ yes
DELTACAST ....................... no DirectShow ...................... no
DVS ............................. no File input ...................... yes
Gpustitch ....................... no NDI ............................. yes
OpenGL .......................... no OpenXR VR Display ............... no
Panorama Gl Display ............. no RTSP capture client ............. yes
SAGE ............................ no Screen capture (X11) ............ yes
SDL ............................. no SW video mix .................... no
V4L2 ............................ yes VULKAN_SDL2 ..................... no
XIMEA ........................... no
Compressions:
Cineform ........................ no Comprimato J2K .................. no
CUDA DXT ........................ yes GPUJPEG ......................... yes
GPUJPEG transcode to DXT ........ no Lavc (VDP yes, VA yes, RPI4 no) . yes
Realtime DXT .................... no UYVY dummy compression .......... no
Others:
Blank capture filter ............ yes GPU accelerated LDGM ............ yes
Hole punching ................... no iHDTV support ................... no
MCU-like video mixer ............ yes NAT-PMP traversal ............... no
PCP NAT traversal ............... no Resize capture filter ........... yes
RTSP server ..................... no Scale postprocessor ............. no
SDP over HTTP ................... no Spout ........................... no
Syphon .......................... no Testcard extras ................. yes
Text postprocess and filter ..... no Swscale support ................. yes
*** Following WARNINGS were issued:
Neither Soxr nor SpeexDSP was not found. Strongly recommending installing that, otherwise audio part of UG will be crippled.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
Testing this command:
./uv -t decklink:4 -s embedded -c libavcodec:encoder=nvenc_hevc:bitrate=20000k --audio-codec=MP3:sample_rate=48000:bitrate=256k --audio-capture-format channels=16 -m 1316 -P 10000 192.168.99.187 --control-port 12345
And I get:
[lavc nvenc_hevc @ 0x7fea880979c0] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
[lavc] Could not open codec for pixel format rgb0
Tried the same with test card as a source:
[lavc nvenc_hevc @ 0x7f29cc0f13c0] This encoder is deprecated, use 'hevc_nvenc' instead
[lavc nvenc_hevc @ 0x7f29cc0f13c0] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
[lavc] Could not open codec for pixel format yuv444p16le
I played around with other pixel formats:
[lavc nvenc_hevc @ 0x7f29cc0f3280] This encoder is deprecated, use 'hevc_nvenc' instead
[lavc nvenc_hevc @ 0x7f29cc0f3280] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
[lavc] Could not open codec for pixel format rgb0
Suggestions?
Beta Was this translation helpful? Give feedback.
All reactions