TRASTARO escribió:Y ¿como para que lo quieres en LPCM y en tan alto bitrate a 24bit? Lo mismo con AAC, puedes codificar con HE-AAC para usar un bitate mas estandar de 192Kbps o 228Kbps, incluso a 168Kbps y tener una calidad de audio bastante alta para musica y voz.
Como sea, dejaria el KeyFrame en 0 [automatico] para que sea el encoder el que determine cual es el valor mas adecuado.y dejar en h264 [x264 o el nvenc]
https://blog.mobcrush.com/using-the-rig ... 86359379d6https://slhck.info/video/2017/03/01/rate-control.htmlRate Control Modes
Now, let’s dive into the different modes. I will be basing my post on the modes supported by the popular H.264 and H.265 encoders x264 and x265, as well as libvpx, as available in ffmpeg. You can find more information on the options supported by the encoders in the documentation.
For x265, you may have to compile ffmpeg with --enable-libx265. With x265, not all parameters can be passed directly, so you have to use the -x265-params option. For libvpx, ffmpeg needs to be compiled with --enable-libvpx.
A word of caution: Encoders like x264 by default do not unnecessarily “stuff” frames with bits. This means that if you have a scene that is very easy to encode, your bitrate may always end up lower than the one you specified. Don’t worry about this—just keep in mind that there’s no point in achieving an exact target bitrate if it’s wasteful.
Constant QP (CQP)
The Quantization Parameter controls the amount of compression for every macroblock in a frame. Large values mean that there will be higher quantization, more compression, and lower quality. Lower values mean the opposite. QP ranges from 0 to 51 in H.264, and you can easily set a fixed QP for your entire encoding process with x264 and x265. Note: libvpx does not have a fixed QP mode.
ffmpeg -i <input> -c:v libx264 -qp 23 <output>
ffmpeg -i <input> -c:v libx265 -x265-params qp=23 <output>