Closed Fryuni closed 10 months ago
I don't think it's trying to convert it to a video (the output file is .avif), but rather your build of ffmpeg is either missing libaom or it's an older version, which doesn't support still-picture
option (hence the "Unrecognized option 'still-picture'" error).
To check if libaom is enabled, you can try ffmpeg -buildconf
; it should list --enable-libaom
in the output. Unfortunately, there doesn't seem to be a way to check actual version of a lib with ffmpeg. You can try manually encoding an image with the still-picture option, to check if it supports it, eg: ffmpeg -i ./img.png -c:v libaom-av1 -still-picture 1 img.avif
. I've tested with ffmpeg installed on Ubuntu 13.2.0 via apt, seem to work ok.
Got it. Probably due to how Nix builds it. I'll try to figure it out. It works on a separate machine with the same code. Thanks!
I got this on my markdown:
Imgit tries to invoke
ffmpeg
and convert it to av1, which throws this error:ffmpeg info: