Questions tagged [nvenc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
49 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
2 votes
0 answers
50 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
103 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
0 answers
59 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
232 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
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
153 views

Size difference of output files from FFMPEG and NVENC rendering

For this: NVEncC64.exe --avhw -i "PATH\FILE (SRC).MP4" -c "av1" --cbr 1500 --audio-codec aac --audio-bitrate 64 -o "PATH\FILE (AV1).MP4" I used the NVEncC (x64) -Encoder ...
user1806529's user avatar
0 votes
0 answers
165 views

ffmpeg: filter frame using cuda

Is it possible to filter frames on nvidia GPU side? For intel qsv it looks like [sprites_src]vpp_qsv=framerate=1/10,scale_qsv=-1:160:mode=$mode:format=rgb32,hwdownload,format=rgb32[sprites_out]; For ...
Hett's user avatar
  • 160
1 vote
1 answer
557 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
293 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
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
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,758