[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: out.webm (3.63 MB, 1050x1080)
3.63 MB
3.63 MB WEBM
卍 AVIF benefits 卍
>95% web browser support
>~80% image editor/viewer support
>now 40-60% better than JPG
>80-90% better than GIF?
>hw accel support growing
>10-bit color precision (even with HW)
>HDR gainmaps backward compatible with SDR displays
>optional progressive rendering for dial-up internet?
>can now achieve very high quality even with 4:2:0 for HW

卍 News 卍
>MAR 2025: High IQ tune threatens JXL https://aomedia.org/blog%20posts/Libaom-3_12_0-Now-Available-from-Codec-Working-Group/
>JUN 2025: Adobe added native AVIF support https://www.cgchannel.com/2025/06/adobe-releases-photoshop-26-8/
>DEC 2025: 16-bit color precision emulation now possible https://aomedia.org/blog%20posts/AV1-Image-File-Format-Specification-Gets-an-Upgrade-with-AVIF/

卍 Getting started 卍
https://github.com/AOMediaCodec/libavif
For Images:
avifenc --sharpyuv -d 10 -y 420 -q 70 --cicp 1/13/1 -a tune=iq in.png out.avif

Animations:
avifenc --sharpyuv -d 10 -y 420 -q 70 --cicp 1/13/1 -a tune=iq --timescale 30 01.png 02.png 03.png out.avif


Lossless RGB VP9 script used to make slideshow webm related:
ffmpeg -framerate 1/3 -i %%02d.png -c:v libvpx-vp9 -r 6 ^
-cpu-used 0 -b:v 0 -crf 0 -qmin 0 -qmax 0 -pix_fmt gbrp out.webm
>>
anons I have always wanted to learn about shit like multimedia codecs and containers but never got the hang of it. always getting bogged down by a bazillion different acronym. so if you will please do the needful and help me get started with it
>>
The OP is one of Daiz's bots that runs on some LLM. All it does is spam and schizopost by lying pathologically, playing the victim and samefagging (same as what Daiz does).

https://desuarchive.org/g/thread/105932881/#105932999
>>
>>107586843
If all things go as intended you will only have to worry AVIF/AV1/and Opus.

>>107586928
What do you think of the new captcha?
>>
>>107586759
why is there so much drama about image formats which are almost equally good
>>
>>107586759
h.264 is perfection
>>
>>107587005
IMHO I think it's because modern ones practically speaking need hardware decoding, which is what AVIF is now getting. Otherwise the benefits aren't really worth it over JPG.
>>
File: pixDAIZ is here.webm (94 KB, 360x270)
94 KB
94 KB WEBM
>>107586759
kys
>>
>>107587005
you are a retard. tel avif and webpiss (daiz's two most favorite image formats) are dog shit and every webpiss or tel avif shill post is coming from daiz who is doing it because it annoys him how no one likes them.
>>
I prefer JpegXL. It's comfy.
>>
File: 1761851345769498.jpg (8 KB, 241x209)
8 KB
8 KB JPG
>>107586928
>>107587103
>>107587141
You're the actual legit daiz(tm) aren't you? Mad nobody really remembers you because you're a tranny now?
>>
File: ︂attachment.png (1.52 MB, 643x643)
1.52 MB
1.52 MB PNG
>>107586759
Why would I encode images as VP9 when I can do this?
>>
File: AVIF_BASELINE.png (57 KB, 1280x720)
57 KB
57 KB PNG
Sorry I forgot to post this after my thread but picrel are AVIF HW decode limits. It's currently only present in phones/tablets that came with Android 15, everything else seems to be limited to decoding a max resolution of 1920x1080 sadly. Tiling will extend the max resolution further but there isn't an automatic grid derivation option in avifenc yet and image viewers probably can't properly decode high-res tiled AVIF images yet anyway.

Beside effectively being capped to ~9 megapixel images AVIF HW can only handle 4:2:0 at 8 or 10 bit color precision. The good news is that the --sharpyuv avifenc setting seems to be working incredibly well for some images. So much that I'm able to achieve visually lossless quality similar to a quality 95 4:4:4 JPG. It doesn't work on all images but when it does it's wild since 75% of all color information is missing yet somehow AVIF is able to regenerate it to the point where you can't even notice...

>>107587417
Because 4chan does not support APNG yet lol. It's not a static image webm like my webp2 thread, it's an actual microsoft powerpoint slideshow, just wait man...
>>
>>107586943
AVIF is good for anime images but JXL is better for photos
>>
File: 1_starfish.png (759 KB, 1024x1024)
759 KB
759 KB PNG
Also here is the image I'm currently testing with.

>>107587437
This was true before the high IQ tune. Now AVIF is ~90% as good as JXL in photographic images. I'll post a comparison of that in an hour or so, look forward to that.
>>
File: out.webm (1.59 MB, 1280x1024)
1.59 MB
1.59 MB WEBM
See if you can subjectively rate the AVIF as inferior quality to the quality 95 JPG. They both scored SS2 90 and are both technically visually lossless. Which normally shouldn't be possible because again 75% of all color information is missing.

>90 = visually lossless. Distortion not noticeable by an average observer in a flicker test at 1:1 from a normal viewing distance. This corresponds to the typical output of cjxl -d 0.5 / -q 95 or libjpeg-turbo 4:4:4 quality 95.

https://github.com/cloudinary/ssimulacra2
>>
File: jpg.jpg (382 KB, 1024x1024)
382 KB
382 KB JPG
If you don't trust my lossless RGB VP9 webm slideshow, here are the raw files themselves to compare against the source >>107587454

Picrel is quality 95 4:4:4 JPG and here is the AVIF: https://files.catbox.moe/rspnzc.avif

What's more wild is the filesize, at 136KB, the AVIF is about 60% smaller than the 353 KB JPG. I expected like maybe 20% smaller desu...
>>
do you feel in charge?
>>
I miss the days when we could bambooze 4chan by modifying WebM track headers to insert AV1 and Opus streams that could only be played in Firefox, MPV, and VLC. The ole embed wars.
>>
File: ︂lurkmoar.png (3.98 MB, 1600x900)
3.98 MB
3.98 MB PNG
>>107587909
>>
File: 1laura.png (3.01 MB, 1024x1024)
3.01 MB
3.01 MB PNG
I've decided on this photographic image, it has plenty of camera noise JXL shills love to jerk about all the time.
>>
File: out.webm (3.19 MB, 1280x512)
3.19 MB
3.19 MB WEBM
Had to crop the comparison by 50% to maintain lossless in RGB VP9. Files and settings used will be included as well in case I fucked something up. All images scored SS2 80 and while not visually lossless, are still very high quality.

>80 = very high quality. Distortion not noticeable by an average observer in a side-by-side comparison at 1:1 from a normal viewing distance. This corresponds to the typical output of cjxl -d 1.5 / -q 85 or libjpeg-turbo 4:2:2 quality 85.

https://github.com/cloudinary/ssimulacra2


File size: 254 KB (~29% smaller than JPG)
https://files.catbox.moe/ptvr88.avif
--sharpyuv -s 6 -q 72 -d 10 -y 420 --cicp 1/13/1 -a tune=iq

File size: 284 KB (~20% smaller than JPG)
https://files.catbox.moe/isrw29.jxl
-q 91 -e 7 --override_bitdepth=10

I'm not sure why AVIF won here desu. On average you'll see JXL achieve 10% smaller file size vs AVIF in photographic images not the other way around LOL.
>>
File: 4jpg.jpg (357 KB, 1024x1024)
357 KB
357 KB JPG
Here's the bloated JPG.
>>
File: no-good.webm (41 KB, 1056x720)
41 KB
41 KB WEBM
The AVIF animations are going to be a headache if you want to really replace GIF desu. You can't just feed avifenc 420 Y4M files since the --sharpyuv preprocessing won't work and if you feed it 444 Y4M then it overrides -y 420. The only way that I think you export a high quality animation properly is if you screenshot individual video frames and splice them together later. However the only way to get 4:4:4 video from 4:2:0 video is if you zoom it to 50%.
>>
File: 1740586324979241.png (1.66 MB, 1086x1586)
1.66 MB
1.66 MB PNG
Does anyone know if grain synthesis is supported by avif hardware decoding? That should help deal with the hipster faggot grain thing.
>>
So which is better for when I make a pretty picture and want to save it at whatever quality is default on the Save File interface?
Like what every normal person doesñ
>>
>>107588458
Probably not. Baseline spec is pretty... baseline.

>>107588832
Depends on the picture but if the CLI scares you, you can try squoosh defaults and choose the one you like the most. Hopefully the kind of settings used here become the default for pretty GUIs soon.
>>
>>107586759
>For Images:
avifenc --sharpyuv -d 10 -y 420 -q 70 --cicp 1/13/1 -a tune=iq in.png out.avif

I simply use

convert input.png output.avif

Am I missing out on avif image quality?
>>
did she get rid of the starfish?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.