Answer the question
In order to leave comments, you need to log in
Almost no change in bitrate when resizing the video. How to fix?
For example, I use the following command to change the video size:
ffmpeg -i 1.mp4 -c:v h264_nvenc -c:a libmp3lame -vf scale=-1:480 2.mp4 The
codecs are initially the same, but the bitrate and, accordingly, the video size from this practically does not change, although initially it is a really high-quality HD video. In which direction to dig, tell me please.
Answer the question
In order to leave comments, you need to log in
You can use the CRF parameter
More number means lower quality.
The range of the CRF scale is 0–51, where 0 is lossless, 23 is the default, and 51 is the worst quality possible. A lower value generally leads to higher quality, and a subjectively sane range is 17–28. Consider 17 or 18 to be visually lossless or nearly so; it should look the same or nearly the same as the input but it isn't technically lossless.
I personally use -c:v libx264
. Due to the fact that you have a different encoder, it may not work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question