Il giorno dom 7 nov 2021 alle ore 17:49 Dennis Mungai
ha scritto:
> On Sun, 7 Nov 2021 at 15:52, Fabrizio Negro wrote:
>
> > Hello!
> > I recently started using FFmpeg to convert files.
> > Specifically I am trying to encode with FFmpeg in H264 - NVENC trying to
> > get the same export quality as Davinci Resolve that uses the NVIDIA
> > encoder.
> > Unfortunately I'm not succeeding and I think it's because FFmpeg doesn't
> > accept -rc: v vbr_hq (VBR High Quality) but only -rc: v vbr (VBR).
> > I don't understand why since -rc: v vbr_hq falls under the H264 - NVENC
> > options of FFmpeg.
> > Can someone help me?
> > Thanks!
> > (I am a Windows user)
> >
> >
> > ffmpeg -c:v h264_nvenc -preset:v p7 -tune:v ull -profile:v high -rc:v vbr
> > -cq:v 1 -b:v 25000k -maxrate:v 25000k -bufsize:v 13000k
> >
> >
> Can you provide:
>
> 1. The ffmpeg version you're running? ffmpeg -builldconf should print that
> out, and
> 2. The nvenc encoder wrapper options available to your build? Run ffmpeg -h
> encoder=h264_nvenc and attach that to this thread.
>
> From there, you can be assisted.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
C:\ffmpeg\bin>ffmpeg.exe -h encoder=h264_nvenc
ffmpeg version 2021-10-03-git-2761a7403b-full_build-www.gyan.dev Copyright (c)
2000-2021 the FFmpeg developers
built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv
--enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy
--enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2
--enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass
--enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang
--enable-vulkan --enable-opencl --enable-libcdio --enable-libgme
--enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb
--enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 7.100 / 57. 7.100
libavcodec 59. 10.100 / 59. 10.100
libavformat59. 5.100 / 59. 5.100
libavdevice59. 0.101 / 59. 0.101
libavfilter 8. 11.100 / 8. 11.100
libswscale 6. 1.100 / 6. 1.100
libswresample 4. 0.100 / 4. 0.100
libpostproc56. 0.100 / 56. 0.100
Encoder h264_nvenc [NVIDIA NVENC H.264 encoder]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: cuda cuda d3d11va d3d11va
Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le
bgr0 rgb0 gbrp gbrp16le cuda d3d11
h264_nvenc AVOptions:
-presetE..V... Set the encoding preset (from 0
to 18) (default p4)
default 0E..V...
slow1E..V... hq 2 passes
medium 2E..V... hq 1 pass
fast3E..V... hp 1 pass
hp 4E..V...
hq 5E..V...
bd 6E..V...
ll 7E..V... low latency
llhq8E..V... low latency hq
llhp9E..V... low latency hp
lossless10 E..V...
losslesshp 11 E..V...
p1 12 E..V... fastest (lowest quality)
p2 13 E..V... faster (lower quality)
p3 14 E..V... fast (low quality)
p4 15 E..V... medium (default)
p5 16 E..V... slow (good quality)
p6 17 E..V... slower (better quality)
p7 18 E..V... slowest (best quality)
-tune E..V... Set the encoding tuning info
(from 1 to 4) (default hq)
hq 1E..V... High quality
ll 2E..V... Low latency
ull 3