Skip to main content

Questions tagged [nvenc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
102 views

Encode video via GPU - slow speed

My PC: ryzen 5700x, 32 GB RAM 3200 MHz, RTX 4070Ti Super, SSD. I encode video from h264 to h265 using ffmpeg (nvenc) and GPU. ffmpeg -i "input.mov" -c:v hevc_nvenc -rc:v vbr -cq:v 34 -c:a ...
Georgiy's user avatar
  • 21
1 vote
1 answer
12k views

Convert ffmpeg encoding from libx264 to h264_nvenc

The video hosting website LBRY suggests users try the following command to compress their uploads: ffmpeg -i input.avi -c:v libx264 -crf 21 -preset faster -pix_fmt yuv420p -maxrate 5000K -bufsize ...
Iain's user avatar
  • 4,768
1 vote
1 answer
96 views

FFMpeg "vp9_cuvid" doesn't save HDR10 from VP9 4k input video in output HEVC video

I try to encode this 4k VP9 HDR10 vídeo: https://www.youtube.com/watch?v=kgppJX0G--E using this command line: ffmpeg \ -vsync 0 \ -hwaccel cuda \ -hwaccel_output_format cuda \ -c:v vp9_cuvid \ ...
membrillo's user avatar
1 vote
1 answer
181 views

"-vf crop" doesn't work on FFMpeg hevc_nvenc

This command line downscales fine my 4k video: $ ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input_video.mkv -vf scale_cuda=1920:1080:interp_algo=bicubic -c:v hevc_nvenc -preset slow -...
membrillo's user avatar
1 vote
2 answers
2k views

FFMPEG - Failed locking bitstream buffer: not enough buffer (14): .35x Video encoding failed

I'm trying to use FFmpeg for converting several video files from AVC to HEVC using hevc_nvenc and after it converts the file at the last moment, it gives me this error: [hevc_nvenc @ 00000293155d5880] ...
DeDifferentOne's user avatar
1 vote
0 answers
156 views

"-pix_fmt p010le" and "-pix_fmt yuv420p10le" doesn't work on FFMpeg hevc_nvenc

This command line works fine: $ ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input_video.mkv -vf scale_cuda=720:404 -c:v hevc_nvenc -preset p7 -rc vbr -rc-lookahead 20 -b:v 2000k -...
membrillo's user avatar
1 vote
0 answers
386 views

Performing nvidia gpu scaling on ffmpeg desktop captured using ddagrab (on Windows)

Looking for some advice on how to combine options relating to screen grabbing with ddagrab using ffmpeg, encoding using nvenc and scaling down in the process. I can successfully capture desktop to ...
signumnova's user avatar
1 vote
1 answer
632 views

ffmpeg using multiple GPUs of same model and performance, but different usage

OS Ubuntu 22.04.1 ffmpeg version N-109649-gab8cde6efa I installed the GPU drivers from an official source. wget https://international.download.nvidia.com/XFree86/Linux-x86_64/525.78.01/NVIDIA-Linux-...
kobaltz's user avatar
  • 14.8k
0 votes
0 answers
8 views

Rendundant (?) conversion from RGBx to RGBA gstreamer

I'm trying to record my screen using gstreamer and encode its output to h264. Screen recording on Xorg with ximagesrc has BGRx as the available color output. However, nvh264enc only supports BGRA as ...
raybb's user avatar
  • 31
0 votes
0 answers
1k views

Is it possible to do a lossless colorspace HEVC NVENC encoding without hwdownload?

I need to capture bit-perfect lossless videos of the whole screen at a certain framerate (at least 30 fps). I am currently using Windows 10 and an up-to-date version of FFmpeg. Given that the ...
ksb496's user avatar
  • 101
0 votes
0 answers
317 views

nvenc scale_npp causes FFmpeg to fail to launch HLS nginx

After updating my graphics card from a 680 to a 1650, I am now able to encode multiple bitrates of my HLS stream using NVENC. However, I am stumped with the following issue, if I attempt to add the ...
Taylor Sperring's user avatar