Open Selur opened 4 months ago
using:
NVEncC --avhw -i "G:\TestClips&Co\files\5000frames.mp4" --fps 25.000 --codec av1 --sar 1:1 --output-depth 10 --vbr 0 --vbr-quality 23.00 --aq --aq-strength 5 --aq-temporal --gop-len 0 --ref 7 --multiref-l0 3 --multiref-l1 3 --bframes 3 --bref-mode auto --mv-precision Q-pel --preset quality --colorrange limited --colormatrix bt470bg --vpp-resize auto --output-res 640x480 --vpp-gauss disabled --cuda-schedule sync --vpp-subburn filename="G:\TestClips&Co\files\Subtitles\japanese_utf-8.srt" --output "J:\tmp\5000frames_1_2024-02-26@17_46_56_7710_01.av1"
does work. (fps still gets ignored)
Okay, --vppsubburn does work and simply throws unusable warnings if non-supported subtitles types are used.
=> would be nice if you could look into --fps
and add some additional info to --vpp-subburn
what formats are supported.
I'm not sure without the exact subtitle file, but also I suppose it was not supported subtitle file.
Supported formats can be checked by --check-formats
, and codecs by --check-codecs
. (Unfortunately, it is now mixed up with audios and subtitles, might be better to separate them if I can in the future).
--fps
only exists to set fps for raw formats which does not have framerate information in its file, and --fps
is only a bitrate calculation hint for other readers including --avhw
. I have changed the documentation.
Thanks for clearing that up, I'll check --check-formats
and --check-codecs
.
--fps only exists to set fps for raw formats which does not have framerate information in its file, and --fps is only a bitrate calculation hint for other readers including --avhw. I have changed the documentation.
Okay, in my opinion, that is unexpected, shouldn't this always overwrite the input frame rate when set? So that if you want to encode 25fps content at 50fps (just increasing the, maybe wrong, video playback speed) it could be done with this.
Actually, I cannot come up of overwriting framerate being useful, as it easily causes audio-video desync.
NVEnc had many reports of audio-video desync in the past, especially in VFR videos but fps set. (Removing --fps might do, but there were many reports in the past...)
To avoid these cases, NVEnc now tries to maintain the original timestamp (by some offset) as much as possible, thus reducing this kind of audio-video sync errors.
I wanted to try the '--vpp-subburn' option using:
fails. removing the:
part and only calling:
works.
So my guess is that: a. I'm not properly using the '--vpp-subburn' option and the error message is not really helping. b. "--fps" is broken, independent whether I use
--fps <int/int>
or--fps <float>
I see:Cu Selur