-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAW, lossless, lossy and lossily optimised modes supporting multiple image, video and audio codecs #13
Comments
Hey Emanuel, thanks for the ideas. I will add the ability to choose between JPEG/JPG (default), PNG and WebP in the coming version. As for your other ideas:
Hope you are okay with this. I will leave the issue open as ideas for the future. |
We can simplify this list quite a bit:
It is no surprise that in #45 I am in favor of JPEG XL as the prime format for camera apps. It just beats everything else out there, probably the only thing it doesn't replace is raw formats (but even then, I'm not entirely sure). |
I would very much like to see the new open-source and royalty-free codecs AV1 (for video) and AVIF (for pictures) supported! They will most likely become the new industry standard, with hardware acceleration present in modern hardware already. Would love to see it supported so I can save loads of storage space on my phone! I've just asked the guys on Flutter to please add support for it. Would you be so kind as to implement it, too, then? |
@starsforeveryone Sure, I would |
@nekohayo: I tend to disagree. It is not pointless to also support (some) older standards. To my knowledge AOSP does not even support JPEG XL on the system level yet. Including older codecs as well provides backwards compatibility while keeping the quality as good and the file size as small as possible which makes for a better user experience. PNG is not useless as long as long as quite some software supports PNG and not JPEG XL. LibreOffice for example just added WebP support, no AVIF, no JPEG XL. It does not even allow you to save documents with WebP images yet but converts all embedded WebPs to PNGs upon saving. |
It would be cool to have QOI support, if that were possible. |
Very much second this comment about AV1 and AVIF formats for video and camera. Currently, just a few mins of good quality video or a good quality pic occupy a relatively big amount of data space but with the above formats I notice reductions up to 10x without visible quality loss to the layperson. Looking forward to this. Otherwise, great work. Keep it up! 👍 |
And free audio codecs: |
It would be great if LibreCamera could have RAW, lossless and lossy modes with multiple formats to choose from.
Some useful additional image formats could be:
based on the free video codec VP8
based on the free video codec AV1
JPEG XL - successor of JPEG
Proprietary: HEIC
As for free video codecs:
Proprietary: h264 (currently used), h265
And free audio codecs:
Free Lossless Audio Codec
Proprietary: AAC (currently used)
Containers:
Instead of a "this or that" choice, it might also useful to have the possibility to encode in multiple codecs of the user's choice like
RAW+PNG
,JPEG+JXL
as well as for videosMKV{AV1+MJPEG+Opus+MP3}
. Ideally the user could add self-defined combinations of codecs with per codec settings like compression levels etc.Some of these formats are useful for later editing, some offer smaller file size at better quality for the web. Many of the listed formats are natively supported by Android, some would need to be converted by the app from lossless ones.
In order for the app to remain small, some formats could be installable as extensions in the form of separate apps.
As the compromise is always between file size, quality and compression time, adding a triangle
would suit this notion better than the quality bar.could allow for more choice, it could be some kind of advanced option, maybe in some kind of advanced mode.The text was updated successfully, but these errors were encountered: