Questions tagged [nvenc]

16 questions
2
votes
0 answers

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 aac -b:a 128k "output.mkv" When my GPU was gtx 1660, speed…
Georgiy
  • 21
1
vote
1 answer

ShareX recorded long video cannot quickly jump to a given timestamp

I saw that here are asked questions related to encoding and ShareX, so I decided to ask in this portal. Basically I recorded video using ShareX 16.1. ffmpeg version: ffmpeg version n7.0-14-g2d3ee7c069-20240423 Copyright (c) 2000-2024 the FFmpeg…
1
vote
0 answers

How to enable Nvidia nvJPEG encoder (nvjpegenc) in GStreamer

After installing GStreamer (MSVC 64-bit, runtime and developer installer) with all features and plugins enabled at the installation process on Windows 11, the Nvidia nvJPEG encoder library nvjpegenc is still not available. Via the gst-inspect-1.0…
clic
  • 141
1
vote
0 answers

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 an available color input. As a result, I'm…
raybb
  • 41
1
vote
1 answer

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 \ -crop 276x276x0x0 \ -i "(PS5) THE PACIFIC…
1
vote
1 answer

"-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 -rc vbr -rc-lookahead 20 -b:v 1M -bufsize 5M…
1
vote
0 answers

"-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 -bufsize 5M -maxrate 2000k -g 250 -an -sn…
1
vote
0 answers

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 file without scaling using nvenc, and I can also…
1
vote
0 answers

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 resolution in which the video has to be recorded is…
ksb496
  • 111
1
vote
1 answer

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-x86_64-525.78.01.run chmod +x…
kobaltz
  • 14,896
1
vote
2 answers

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] Failed locking bitstream buffer: not enough…
1
vote
1 answer

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 5000K -vf…
Iain
  • 4,786
0
votes
0 answers

Where can I find old builds of FFMPEG?

I need a build of FFmpeg from 2017 (v3.x) so that I can use it on Windows 10 with my Geforce GTX 880M that only supports NVENC 9.0, but I can't seem to find any. Is there any website that hosts these older builds?
0
votes
1 answer

How to encode from FFmpeg same hevc_nvenc as in OBS?

I have a lot of videos recorded in OBS, and I want to output from ffmpeg such video, which will be compatible with those OBS videos for concat filter (lossless concatenation). Encoding settings can be found in screenshots, fps=30, res=1440x900. When…
0
votes
1 answer

ffmpeg claims "No capable devices found" for hevc nvenc encoding despite having supported gpu

I'm trying to transcode an mp4 video to hevc nvenc using the following command: ffmpeg -i test.mp4 -c:v hevc_nvenc output.mkv But I keep getting the error shown at the end of this post. I'm using an RTX 3060 laptop GPU, which is shown to support…
1
2