Closed mr44er closed 1 year ago
seems like the crop filter is not being injected into the probe encoder's ffmpeg arguments and is instead being overwritten by a select filter (i guess it's the probe rate filter to decimate fps, as it selects modN)
amusingly, this means if you simply remove the --vmaf-filter and --vmaf-res arguments as though you weren't cropping, it will work fine, as it just compares the uncropped probe to the uncropped original.
the vmaf analysis will be based on the uncropped video, and then encoded with your cropped range just fine.
So the manual is outdated? https://github.com/master-of-zen/Av1an/blob/master/docs/TargetQuality.md
Closing, everything works after testing again with new version yesterday.
av1an -i vid.mkv -o outtest.mkv --verbose --ffmpeg "-vf crop=1280:532:0:94"
works as intendedav1an -i vid.mkv -o outtest.mkv --verbose --ffmpeg "-vf crop=1280:532:0:94" --vmaf-filter "crop=1280:532:0:94" --vmaf-res "1280x532" --target-quality 89
crashed after scene detection with:log.log:
Same error with
av1an -i vid.mkv -o outtest.mkv --verbose --ffmpeg "-vf crop=1280:532:0:94" --vmaf-filter "crop=1280:532:0:94" --target-quality 89
av1an -i vid.mkv -o outtest.mkv --verbose --ffmpeg " -vf crop=1280:532:0:94 " --vmaf-filter " crop=1280:532:0:94 " --target-quality 89
I'm out of ideas :)