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
1
vote
1 answer

How to use FFMPEG with Nvidia Acceleration (Nvenc) to hardcode / burn in subtitles

So I'm trying to use Nvenc to accelerate video encoding. The aim is to have 1 input video file and 1 input subtitle, and to get multiple outputs at different resolutions with subtitles hardcoded or burned into the video. I've tried multiple…
Ibraheem Nofal
  • 487
  • 1
  • 6
  • 13
1
vote
1 answer

Rigaya's NVEnc encodes file with no video or audio track

My source video file (1h 30min movie) is playable in both PotPlayer and VLC: h264, 8-bit color and 7755kb/s bitrate. The NVEnc command I'm using is this: .\nvencc\NVEncC64.exe --avhw -i "input.mkv" --codec hevc --preset quality --bframes 4 --ref 7…
steamsy
  • 104
  • 1
  • 8
1
vote
1 answer

FFMPEG refuses to reencode vp9 via h264_nvenc

Using Windows, FFMPEG throws an error when reencoding vp9/opus .webm video into h264_nvenc/aac. The issue is within trying to reencode via h264_nvenc, as using libx264 works just fine. h264_nvenc works just fine when reencoding h264. PS…
Imforpeace
  • 177
  • 10
1
vote
2 answers

How to get FFMPEG to use more GPU when encoding

so the situation is as following Im receiging 20/30 uncompressed image per second. format is either PNG or Bitmap. Each individual photo size is between 40 and 50 mb (all have same size since uncompressed). I want to encode them to a 265 lossless…
Entropy
  • 13
  • 1
  • 1
  • 8
1
vote
1 answer

ffmpeg - How to configure ref param for h264_nvenc encoder

I'm trying to configure and replace libx264 encoder with h264_nvenc NVIDIA encoder. I want to replace the parameter -x264-params ref=4 with it's parallel nvenc parameter. I used ffmpeg -hide_banner -h encoder=h264_nvenc to see all available options…
ItamarP
  • 13
  • 3
1
vote
1 answer

NVEnc Directshow Filter [NVIDIA VIDEO ENCODER FILTER]

I could successfully use h264_nvenc in ffmpeg to record my video source using nVidia. But I need Pause/Resume the recording. Which seems not possible with ffmpeg. Suspend ffmpeg process pause the video frame but file continues. So I need a…
gaamaa
  • 39
  • 7
1
vote
2 answers

How to compile FFMpeg with older NVEnc?

I get this error when running FFMpeg with NVEnc. [h264_nvenc @ 0x2a27d00] Driver does not support the required nvenc API version. Required: 9.1 Found: 9.0 [h264_nvenc @ 0x2a27d00] The minimum required Nvidia driver for nvenc is 435.21 or newer I…
dabei
  • 187
  • 2
  • 8
1
vote
0 answers

NVEnc encoding and MediaCodec decoding producing corrupted frames

I'm capturing frames using Desktop Duplication API hr = pDup->AcquireNextFrame(wait, &frameInfo, &pResource); preprocessing them (RGB to NV12) then encoding them using the default NVEnc present for…
Hey'Youssef
  • 285
  • 4
  • 15
1
vote
1 answer

Encode OpenGL texture using GStreamer & NVENC?

I have a openGL application which is rendering data into a rgba texture. I want to encode and stream it using gstreamer framework (using nvenc plugin for h264 encoding). I was looking through the documentation to solve these problems: How to export…
divT1994
  • 23
  • 1
  • 4
1
vote
0 answers

FFmpeg GPU 10-bit HEVC encoding using NVENC

I'm encoding some 4K 10-bit YUV test sequences using NVENC HEVC encoder. For an example sequence and configuration, I use the following command. ffmpeg -hide_banner -benchmark -loglevel debug -y -f rawvideo -s:v 3840x2160 -r 50 -pix_fmt yuv420p10le…
chronosynclastic
  • 1,585
  • 3
  • 19
  • 40
1
vote
1 answer

Nvidia Nvenc Video Conversion from mxf to mp4 getting error for multiple streams inside

I am trying to convert a video that have multiple video streams and one audio stream from mxf format to mp4 format and getting an error. How can i solve this problem? Thank you. E:\video>ffmpeg -loglevel error -y -i…
Mesut Can
  • 291
  • 2
  • 5
  • 19
1
vote
1 answer

H.265 (HEVC) Decoding on iOS - what is the correct NALU order before frames can be decoded

I recently got HEVC / H.265 decoding working using VideoToolbox api in iOS. The incoming RTP stream came from FFMPEG using the x265 codec in libx265. After much tinkering, I created my CMFormatDescription using the incoming VPS, SPS and PPS nalus -…
John M
  • 327
  • 3
  • 14
1
vote
0 answers

ffmpeg produces "is_avc" = false with h264_nvenc & tee muxer

I am using ffmpeg for encoding MKV (Matroska Video files) to 2x MP4 (H264 - 720p Main@L4) & (H264 - 360p Baseline@L3.1). Having really strange problem when using -c:v h264_nvenc and tee muxer then the produced output file is having is_avc=false even…
Areeb111
  • 55
  • 10
1
vote
1 answer

How can I copy nvEncode input buffer to a Direct3d11 Texture?

I am using nvencode api for video encoding. My capture card copies frames to pre allocated input buffers (NV_ENC_INPUT_PTR) using direct dma transfers (GpuDirect). the sequence looks like so: nvEncodeApi->nvEncLockInputBuffer(_encoder,…
Elad Maimoni
  • 3,703
  • 3
  • 20
  • 37
1
vote
1 answer

FFMPEG with NVENC and DVB Subtitles and Overlay option

Hi I have some questions regarding NVENC, DVB subs and overlay feature. I managed to burn dvb subtitles to the input video but I noticed that this cannot be performed fully on the GPU because I am using the Overlay feature of FFMPEG which is only…
Sambir
  • 129
  • 1
  • 3
  • 15