master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.46k stars 151 forks source link

`target-quality` not taking `video-params` into account #746

Closed Krisseck closed 1 year ago

Krisseck commented 1 year ago

If I run a command like so:

av1an -i "input.mkv" -f " -vf scale=1920:1080:flags=lanczos " -e svt-av1 -v " --lp 2 --preset 7 " --target-quality 96 -a " -c:a libvorbis" -w 1 -o "encoded/output.mkv"

And I check on ps aux what the process is doing:

SvtAv1EncApp -i stdin --lp 12 --preset 12 --keyint 240 --crf 15 --tile-rows 1 --tile-columns 2 -b .ebb6237/split/v_15_68.ivf

It ignored all of the my parameters in -v / --video-params.

If I remove --target-quality, it works fine.

I am using latest docker release, so commit 45a927d

Krisseck commented 1 year ago

False alarm, I can now see that the command above is only used for probing the target quality 🙈 Otherwise the video-params work as they should.