Hi,
On Fri, Jul 29, 2016 at 4:58 AM, Alexey Eromenko <
al4...@gmail.com> wrote:
> Any ideas on how-to encode still-image (like Windows Bitmap) into a
> still-image of VP9 and AV1 ?
Use ffmpeg - encode png / bmp / jpg image to y4m 1 frame video - this
converts to yuv444p but you probably wish yuv420p
# ffmpeg -i picture.jpg -pix_fmt yuv444p source.y4m
Now you can encode (from y4m) and decode (to y4m) with most of codecs
like av1, vp9, daala,...
encode:
aomenc source.y4m --profile=1 -o encoded.webm
(for yuv444 as source you need --profile=1 but this is not needed for
yuv420 which is probably what you want to use)
decode:
aomdec encoded.webm -o decoded.y4m
Now you need to convert back to a image format - I use png as it is
compressed and lossless
ffmpeg -i decoded.y4m result.png
Regards, Tomaž