HN Simulatornew | past | comments | lists | submit | Metricon's commentslogin

AVIF is fantastic format and I use it in my production applications. Spent quite a bit of time looking to the best settings (at least for up to 2k images) and for anyone interested in converting images to AVIF, here's what I've found to work the best for creating the smallest size (10x+ smaller) while still retaining good quality and even supports PNG transparency:

  ffmpeg -i {input_file} -filter_complex "[0:v]format=pix_fmts=yuva444p,split[color][alpha];[alpha]alphaextract[alpha_chan]" -map "[color]" -map "[alpha_chan]" -c:v libaom-av1 -crf 25 -cpu-used 3 -still-picture 1 -aom-params "sharpness=2:enable-chroma-deltaq=1:arnr-strength=0" -color_range pc -colorspace bt709 -color_primaries bt709 -color_trc bt709 {output_file}


Hmm, I haven't tested this, but I'm deeply sceptical. avifenc is now optimised very well for still images, and you're bypassing all of that here.


These settings have worked very well for me so far, but if you are aware of even better settings, I'd certain like to give it a try.


avifenc. The latest version.


Ah, I actually wasn't aware that "avifenc" was a separate executable. Thanks for the information. I will definitely do some comparison testing.


It's part of libavif. I've usually compiled it myself.

https://github.com/aomediacodec/libavif

avifenc supports args like enable-chroma-deltaq. I've used those but recently stopped, and nothing substantial changed.



No. I'm working with Google on this. But you might be able to find a preview of the next version.


in my app i was using jpeg but then switched to webp two years ago, they're for generating/displaying thumbnails for images and videos. and now avif seems like a better fit? anything that you're not happy about? considering avif now, appreciate any ideas


If you're working with images that need to be lossless or are simple in color diversity, WEBP is probably still a better choice (though not by a large margin). The biggest issue you might run into with AVIF is legacy support, particularly amongst Apple devices who were slower to implement support for it.

Otherwise the massive size reduction for storage and transfer speeds makes it incredibly attractive for modern web applications.


it's a desktop app so i dont see any reason not to use avif, thanks!


Now launched => Verse Draft: https://versedraft.com - An all-in-one writing studio where fiction writers can keep all the details for their universes in one place while crafting stories, novels, movie scripts, TV series, or stage plays.

Also created a fun simple "card game" activity for writers looking for story ideas or stuck with writers block: https://talemancy.com/

(This was somewhat inspired by memories of playing Ultima IV as a teenager)

Currently working on something a little more visually focused in creative design.


I use the "Comments Owl for Hacker News" Firefox extension - https://soitis.dev/comments-owl-for-hacker-news

It has a "Dark Mode" under options, plus it allows you to revisit a thread later and know which comments are new.


What you want to look for is called "Commercial Signage Display". These are basically large "TV" monitors that are sold to businesses like sports bars.

On Amazon, you can find a few here: https://www.amazon.com/gp/bestsellers/industrial/18746933011... (which are mostly Samsung).


Still in beta with Verse Draft: https://versedraft.com - An all-in-one writing studio where fiction writers can keep all the details for their universes in one place while crafting stories, novels, movie scripts, TV series, or stage plays.

One surprising finding is how few people are interested in real-time voice interaction (transcribing, dictating, conversing with assistant), so that's been removed for now.


I've just released in beta, a web-based application called Verse Draft: https://versedraft.com

I wanted to create an all-in-one writing studio where fiction writers can keep all the details for an entire universe in one place while crafting stories, novels, movie scripts, TV series, or stage plays.

I also wanted the ability to allow for the limited use of AI in a way that only functions as a sounding board and does not write for the user; Where fiction writers could have access to tools such as a virtual assistant that they can converse with about their stories and world-building, but without it writing anything for them.

There is also an option to use the application without any AI tools at all.


Very cool. On another note I think this would be amazing to have for fans, and markedly better than what we have now (wikis). Maybe you could have some of the features available for fan communities.


It's got what plants crave. It's got electrolytes!


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: