Questions tagged [nvdec]
15 questions
3
votes
1 answer
How to get the GPU Architecture of a Device for CUVID?
I am implementing a video decoder using NVidia's NvDec CUVID feature.
According to chapter 2 of the (woefully inadequate) manual, decoding limits are specified by GPU architecture. ie, the maximum h265 horizontal resolution is 8192 on a GP10x, 4096…

swestrup
- 4,079
- 3
- 22
- 33
2
votes
1 answer
Decoding H264 using random access
I want to access random frames in a H264 file and map the decoded images to a Direct3D texture. I am using the the NVIDIA VIDEO CODEC SDK. I've already found the NvDecodeD3D11 sample that was included in version 8.0 and have stripped it down to the…

HeLi
- 21
- 1
1
vote
1 answer
NvDecoder decodes multiple frames at once
We are using the following gstreamer pipeline to parse rtsp stream:
gst-launch-1.0 rtspsrc port-range=5000-5100 location="rtsp://.." latency=300 is-live=true ! queue ! rtph264depay name=depayer! video/x-h264 , stream-format=byte-stream, alignment=au…

CselecT
- 81
- 1
- 5
1
vote
1 answer
Why is Print Screen versus what is actually displaying on the monitor are different?
I'm working on an application that screen captures a monitor in real-time, encodes it, sends it over ethernet, decodes it, then displays that monitor in an application.
So I put the decoder application on the same monitor that is being captured. I…

jpdev
- 27
- 1
- 3
1
vote
2 answers
Nvidia NVDEC - copy decoded frame to D3D11 NV12 texture
I'm trying to copy the NV12 NVDEC decoded buffer directly into an NV12 d3d11 texture. No luck so far. What I've managed to do is a double shot copy using 2 d3d11 textures (luma + chroma), 2 cuGraphicsMapResources, 2…

Fabio
- 77
- 6
1
vote
0 answers
Can't statically link with libnvcuvid.so
I am trying to use the latest NVIDIA Video SDK, specifically - its NVDEC (hardware video decoder lib). I had been using the previous version for a while and it was loading function pointers in runtime from libnvcuvid.so, which on my machine is…

Michael IV
- 11,016
- 12
- 92
- 223
1
vote
0 answers
Reading custom SEI message when decoding using VideoCodec (NVENC)
I have a series of videos with custom information encoded in the sei message NAL. Is it possible to read that information when decoding using the Nvidia hardware decoder. If it is not supported, should I use FFMPEG compiled with NVENC support…

cloudraven
- 2,484
- 1
- 24
- 49
1
vote
1 answer
Error trying to decode 4K video using NVDEC
I am trying to convert a 4K HEVC MKV file of 70GB into another HECV file but with less size. I am using FFmpeg with Nvidia acceleration but when I execute the following command an error appears:
ffmpeg -y -vsync 0 -hwaccel_device 0 -hwaccel cuvid…

Nestoraj
- 722
- 2
- 6
- 19
0
votes
2 answers
Extract frames using GStreamer with NVDEC
I’m trying to use GStreamer with NVDEC to extract frames from a video file. I already compiled and installed the NVDEC GStreamer plugin.
With a CPU decoder it works perfectly fine:
gst-launch-1.0 filesrc location=video.mkv ! matroskademux !…

Dávid Molnár
- 10,673
- 7
- 30
- 55
0
votes
0 answers
How to install gstreamer nvcodec vs nvdec/nvenc plugins on Ubuntu 20.04
Installed gstreamer and gstreamer-plugins-bad on ubuntu 20.04 via the apt repo. I also installed the Video_Codec SDK 11.0 from Nvidia.
The gst-ispect command shows me nvenc and nvdec is installed and I am able to use hardware acceleration when…

Scrimpy
- 19
- 2
0
votes
1 answer
Direct write to D3D texture from kernel
I am playing around with NVDEC H.264 decoder from NVIDIA CUDA samples, one thing I've found out is once frame is decoded, it's converted from NV12 to BGRA buffer which is allocated on CUDA's side, then this buffer is copied to D3D BGRA texture.
I…

Alex
- 526
- 2
- 8
0
votes
1 answer
Can I test funcion of nvidia decoder (nvdec/cuvid) on generated ffmpeg video?
goal: In my script I try to check if nvdec on my graphics card is available/functional.
I don't have any source video (H.264 / H.265) to use as input at this time intentionally, so I want to generate it.
It is also not necessary to use an encoder,…

Milan Čížek
- 77
- 1
- 9
0
votes
1 answer
FFMPEG Hwaccel error with -hwaccel_output_format
I have Nvidia 1050Ti gpu
I test ffmpeg with cuda
ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i input.mp4 -y \
-c:v h264_nvenc -c:a libmp3lame -b:v 3M \
-filter_complex…

Alex
- 77
- 1
- 8
0
votes
1 answer
FFmpeg + cpp, How to get list of my GPUs handling h264_nvenc?
I'm writing app to use on PCs with more than one GPU, I'm trying to get a list of GPU indexes that can decode stream in h264 to assign all new video source equally between all available GPU.
I've fount how to do it in command prompt but i need to…

siuks24
- 9
- 3
0
votes
1 answer
Ffmpeg frame extraction with Nvidia GPU acceleration throws "Output file #0 does not contain any stream"
I am trying to use nvidia gpu accelerated decoder api with ffmpeg, to extract all frames from a video file (.MTS) to a folder, but it looks like it's failing for some reason; I could not find an answer or similar issues.
Command used:
ffmpeg -vsync…

nickyfot
- 1,932
- 17
- 25