Questions tagged [nvenc]

Nvidia's dedicated H.264, HEVC hardware on the GPU chip that performs video encoding.

Nvidia's dedicated H.264, HEVC hardware on the GPU chip that performs video encoding.
More information at https://en.wikipedia.org/wiki/Nvidia_NVENC
and https://developer.nvidia.com/nvidia-video-codec-sdk

110 questions
2
votes
0 answers

How to find out if NVENC is supported

Is there a Cuda call or even a Windows 7 call that will help me determine if NVENC is supported on a particular machine? Thanks.
AeroClassics
  • 1,074
  • 9
  • 19
2
votes
1 answer

" No NVENC capable devices found" with ffmpeg for screen capture and RTP stream

I´m trying to stream my Desktop with RTP using ffmpeg. libx264 seems to work fine. But I would like to test the performance of a hardware accelerated codec. ffmpeg -re -f dshow -i video="screen-capture-recorder" -vcodec libx264 -tune zerolatency…
Thadeu Melo
  • 947
  • 14
  • 40
2
votes
1 answer

No NVENC capable devices found

I met a weird question.I have been using FFmpeg's NVENC to encode video .It is strange that I can use h264_nvenc smoothly without problem,but when I replace h264_nvenc with hevc_nvenc,I got the problem "No NVENC capable devices found".The FFmpeg…
San
  • 51
  • 1
  • 5
2
votes
2 answers

How to choose gpu among multiple nvidia gpu in ffmpeg 3.2.0?

i'm currently using two nvidia p4 graphic cards. In previous version of ffmpeg(before 3.2.0), i could choose specific gpu card by using options "-gpu 0 or 1 etc". In current version, however, there's no option for selecting gpu card. Actually…
jsBaek
  • 101
  • 2
  • 5
2
votes
1 answer

How use hardware(nvenc) encoding in Media Foundation (Windows 10)

Sorry for my English. I have question about hardware encoding with MF in Windows 10. I have Nvidia gtx 650 (with nvenc). I develop the application for encoding live frame stream to h264 file in c#. I used this code (…
Trewor
  • 21
  • 1
  • 2
2
votes
0 answers

nvenc: no i-frames during encoding

I am using nvenc to encode a series of frames to a h.264 video on the GPU. My example is quite synthetic where I simply repeat the same frame. The encoding works fine and I was looking at figuring out what is going on: One thing I notice is that the…
Luca
  • 10,458
  • 24
  • 107
  • 234
2
votes
1 answer

ffmpeg nvenc GPU Memory Usage

I transcoding video on NVIDIA QUADRO K4200 in Ubuntu (ffmpeg version is 2.7.1, NVENC SDK 5.0.1). GPU Memory usage for one stream is 100 MB. Please see an output of nvidia-smi command: But when I run the same transcoding process with the same ffmpeg…
Ivan Kolesnikov
  • 1,787
  • 1
  • 29
  • 45
1
vote
1 answer

corruption of unknown origin in audio (libopus) and video (nvenc HEVC) bitstreams sent via webtransport API, and decoded with webcodecs

I'm using windows 11, and chrome for the web client. I have a golang program that runs two c++ programs as subprocess. the first uses the nvidia video codec SDK to set up an hevc encoder: NV_ENC_INITIALIZE_PARAMS IP = {}; NV_ENC_CONFIG C = {}; …
Tiger Yang
  • 61
  • 4
1
vote
1 answer

NV_ENC_ERR_UNSUPPORTED_PARAM and NV_ENC_ERR_INVALID_PARAM while calling nvEncInitializeEncoder() in Nvidia Video Codec SDK 12.0.16

Im working on a program that uses the nvidia video codec SDK, below is my entire code: #include #include #include #pragma comment(lib, "d3d11") #include #pragma comment(lib, "dxgi") #include…
Tiger Yang
  • 61
  • 4
1
vote
0 answers

Configure WebCodecs API video decoder to match an NVENC Encoder

I have an H264 NVENC Encoder setup which encodes a video stream. I want to decode frames of that stream using the WebCodecs API in Google Chrome. My decoder configuration setup looks like this: let decoderConfig = {codec: "avc1.428020", width:…
Pruza
  • 11
  • 3
1
vote
1 answer

FFmpeg hevc_nvenc encoder B Frame problem

I'm using the latest FFmpeg windows Build (2022-12-02 12:44) from BtbN. I'm trying to encode a video into HEVC codec using hevc_nvenc encoder. But it says [hevc_nvenc @ 00000263983f4280] B frames as references are not supported. Cause my GPU GTX1060…
ramondq
  • 61
  • 8
1
vote
1 answer

IMFTransform::SetInputType() 'MF_E_TRANSFORM_TYPE_NOT_SET '

I am trying to set up an encoder IMFTransform. In this case, it happens to be NVENC H264 Encoder. However, IMFTransform::SetInputType() is not working for ConfigureEncoder(), and is returning MF_E_TRANSFORM_TYPE_NOT_SET. This behavior does not occur…
Meme Machine
  • 949
  • 3
  • 14
  • 28
1
vote
0 answers

Does libav have any form of documentation particularlly for NVENC

I want to use ffmpeg's libav library to encode video in an application I am developing. Unfortunately, software encoding is just too slow. So I went back the "documentation" and began to search for documentation on NVENC but I could only find VAAPI…
WRULine
  • 37
  • 1
1
vote
1 answer

Fully GPU accelerated (decoding,deinterlacing,scaling,encoding) HLS variable stream with ffmpeg

I'm trying to create a variable HLS MBR live stream using ffmpeg, which will be fully accelerated at the GPU level. This means accelerated decoding, deinterlacing, scaling and encoding. Here is my broken example ... ffmpeg -loglevel debug -hwaccel…
1
vote
0 answers

Ffmpeg: 4K RGB->YUV realtime conversion

I'm trying to use Ffmpeg for creating a hevc realtime stream from a Decklink input. The goal is high quality HDR stream usage with 10 bits. The Decklink SDI input is fed RGB 10 bits, which is well handled by ffmpeg with the decklink option…
andersd
  • 11
  • 2