Open Plamper opened 3 months ago
I'd imagine this is an issue with our build of libaom itself (or an upstream bug) rather than av1an, especially since you mention other encoders work fine and the log here is also blaming the encoder
I did some further testing and can reproduce the buffer overflow just with aomenc, by just inputting a webm file like so aomenc test.webm -h 2160 -w 3840 -o test_out.webm
. This is especially strange as aomenc is not intended to be used that way. You are normally supposed to input y4m files. However, the aomenc inside this arch container will do it anyway, while the nix version crashes with the buffer overflow.
I should probably add libaom maintainers as well. @primeos @kiloreux @dali99
Describe the bug
When encoding a video with av1an the default aomenc encoder always crashes with a bufferflow error. SVT-AV1 works fine with the same file.
Steps To Reproduce
Steps to reproduce the behavior:
av1an -i <any_video_file> -o test.mkv
Expected behavior
The video is encoded without issue.
Additional context
I tried to reproduce it in an arch linux container, but the arch package works without issue. So it seems this is a nix issue. Aomenc itself works fine with y4m generated ffrom ffmpeg.
Notify maintainers
@getchoo
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.