#9798: Quite-OK Image format support
-------------------------------------+-------------------------------------
Reporter: | Type:
FrostBird347 | enhancement
Status: new | Priority: wish
Component: | Version:
undetermined | unspecified
Keywords: qoi, | Blocked By:
format, image |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
The [https://qoiformat.org/ Quite-OK Image format] is a relatively new
image format.
It is extremely simple (the example encode/decoder uses around 300 lines
of code in C and the format specification fits on a single page), is 20x-
50x faster at encoding and 3x-4x faster at decoding than stb_image and
stb_image_write. It also doesn't take up much more space than a png image.
As ImageMagick does support qoi, it is possible to encode a bunch of qoi
frames into a video by piping the output to ffmpeg, however this does
significantly slow down encode speed as the frames need to be converted to
another format first. An example is provided below:
{{{#!sh
convert $FrameList ppm:- | ffmpeg -f image2pipe -framerate 25 -i - -c:v
libx264 -pix_fmt yuv420p $OutputFile
}}}
The qoi format is best suited for situations where images need to be
encoded or decoded as quickly as possible while still using minimal size.
Extracting frames from a video is one such situation and depending on the
video's format, qoi could provide the fastest performance.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9798>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".