Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#401 | Link |
Registered User
Join Date: Apr 2011
Posts: 13
|
Quote:
I quickly ran into a roadblock where, JPEG wouldn't work because it doesn't support alpha transparency. GIF will get you close, but it's either fully opaque, or fully transparent. PNG in my instance resulted anywhere from 800KB to 1.5MB per image, and with some pages containing 20+ images, you can see how this would be a problem for mobile users. So, my solution was to provide WebP to Chrome users on both Desktop and Android, and provide a fallback of Quantized (Lossy) PNG for Firefox, Edge, Internet Explorer, and basically any browser that doesn't support WebP. This resulted in a massive bandwidth reduction for the user, which caused the page to load 10-15 seconds faster on 4G. Now, you mentioned you once found a website that specialized in offering images in WebP, and I can name a big one right off the top of my head: Netflix. They in fact, provide WebP to Chrome users. Facebook at one point dabbled with WebP, but due to the nature of users wanting to download pictures, I think they ended up upsetting people more than making them happy, since WebP is a bad format to serve to people wanting to make local backups of their files. Now, WebP is really not the best format, but it solved a big problem for me on Chrome, especially since it captures more than 60% of the total browser marketshare. I'm not making that number up. A big problem with WebP is that it suffers from generation loss, and for certain situations, it can produce a significantly worse looking image than JPEG, which is why it's paramount that you don't choose a quality lower than 80%. I looked into FLIF image format, which as of right now, is supported by absolutely nobody. It's some new fangled format that shunts the most important bits to the the beginning of the image so that if you downloaded a mere 10KB of a 2MB image, you could still view a low resolution version of it, which quite frankly is awesome. The see several immediate problems with FLIF. 1. Files take a horrendous amount of time to create if they're greater than 2048x2048px in dimensions because it's doing all sorts of color sorting and algorithms to achieve the best filesize. Time to create the file increases exponentially with dimension. We're talking 5+ minutes to create a 4096x4096 FLIF image. Also, I have been unsuccessful in creating 16bit FLIF files, but that could just be a limitation of XNViewMP. Not sure. 2. It doesn't actually solve filesize problem for mobile users. Hypothetically speaking, if you put 30 FLIF files on your web page, each of which amounts to 2MB in file size, then you're forcing the user to download 60MB of pictures. The only benefit they get is the ability to view the image before they've finished downloading, but this just simply inflates the filesize of the page enormously, and causes other files to queue during the page load time. At the end of the day, serving your users smaller images ( less than 1MB in filesize) is the absolute best way to achieve fast page load time. 3. Animated FLIF is fantastic if you have less than 30 second recordings, but if you go beyond that, it quickly becomes impractical because the user would still have to download a mega amount of data just to be able to begin displaying the image. So, at the end of the day, you're still far better off using a video codec for anything exceeding 30 seconds.... and we now have an absolute wealth of services that do exactly that (imgur, gfycat, etc). Animated FLIF is a neat proof of concept, but I see almost no practical use for it other than being able embed fast previewing short animated images into a product page... which tbh, I would probably be the one in 100,000 website developers taking advantage of that feature. lol... Right now, my current method of doing animated video is to overlay a VP9 WebM for Firefox and Chrome users, and then fallback to animated GIF for Edge / IE users. What a pain the neck, but hey it works. 4. A 30KB partial download of a FLIF looks SIGNIFICANTLY worse than WebP, Jpeg, BPG, or any new fangled image format that is saved at the exact same filesize. FLIF is fantastic looking once the full data has been received, but looks quite terrible for partial downloads if you're comparing them to already existing image formats saved at the exact same filesize. 5. If web browsers ever become intelligent enough to download "only" the bits needed for optimal viewing experience, what we will end up with, is a bunch of partial downloads sitting in our browser cache, which means if user resizes their web browser, or zooms the image, then the browser will have to request the additional data from the webserver, which means, you can end up having multiple requests for the same image... and web servers operators HATE multiple requests. They would rather you get the full file the first time, than to bog down their servers with multiple requests for the same file. I could go on and on and on. But what we need, is not FLIF. We need an alternative image format, that reduces file size, has features, does not suffer from generation loss, is fast to create files, and in every way shape or form, replaces JPEG and PNG. FLIF does not replace JPEG and PNG. It's great, but it doesn't resolve the 5 issues I mentioned above. And unfortunately, AV1 probably has TERRIBLE generation loss because using similar tech as WebP, and I can almost guarantee, it will suffer from the same problems. Nevertheless, if an AV1 image format became available to use in Chrome, I would switch to it simply because I like better things. Anyway, just thought I'd like to share. lol Last edited by HerpaDerp; 23rd January 2018 at 08:45. |
![]() |
![]() |
![]() |
#402 | Link | ||
Registered User
Join Date: Jul 2015
Posts: 789
|
Quote:
JPEG2000, JPEGLS or JPEGXT. Amateur production or codes will have any application. Quote:
Last edited by Jamaika; 23rd January 2018 at 14:50. |
||
![]() |
![]() |
![]() |
#403 | Link | ||
Registered User
Join Date: Apr 2011
Posts: 13
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#404 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 3,536
|
The only real viable replacement for GIF/PNG/JPEG I see now is HEIF, which is now the default picture format for iOS. The implementation today is HEVC, but extending it to AV1 appears reasonably straightforward.
I have no idea how HEVC and AV1 would compare for still image coding, but both are WAY better than JPEG or PNG for any kind of image type. And unbelievably better for mixed continuous/discreet tone images like graphics or comic books. |
![]() |
![]() |
![]() |
#405 | Link | |
Registered User
Join Date: Mar 2004
Posts: 1,011
|
Quote:
|
|
![]() |
![]() |
![]() |
#407 | Link | |
Registered User
Join Date: Apr 2004
Posts: 1,319
|
Quote:
Not sure about HEIF but HEVC has zero chances to replace jpeg. Enough to say that Google and Mozilla simply won't implement it. It's a big no-go. There is no even a minor doubt of that. JPEG XL or intra-AV1 have all chances. Or some sort of collaboration between these two. |
|
![]() |
![]() |
![]() |
#408 | Link | |
Registered User
Join Date: Oct 2009
Posts: 890
|
Quote:
|
|
![]() |
![]() |
![]() |
#409 | Link | |
Registered User
Join Date: Aug 2009
Posts: 198
|
Quote:
Sounds like a non-starter with wishy-washy language like that. Pretty sure that's what was said about H.264 as well, but they had no real process in place to make it possible. HEVC even lacked a process to enable one-stop shopping for royalties. They all seem to be stuck in some trap of their own making. |
|
![]() |
![]() |
![]() |
#410 | Link | |
Registered User
Join Date: Apr 2004
Posts: 1,319
|
It's just a beginning.
"The JPEG Committee intends to publish a final Call for Proposals (CfP) following its 78th meeting (January 2018)" There was already some collaboration(?) between Daala developers and JPEG https://people.xiph.org/~jm/daala/revisiting/ Quote:
|
|
![]() |
![]() |
![]() |
#411 | Link | |
Registered User
Join Date: Oct 2009
Posts: 890
|
Quote:
That said, I hope there's some multi-process optimization. CPU utilization is abysmal when encoding VP9. Last edited by mzso; 28th January 2018 at 12:58. |
|
![]() |
![]() |
![]() |
#412 | Link | |
Registered User
Join Date: Mar 2008
Posts: 213
|
http://blog.chiariglione.org/a-crisi...nd-a-solution/
Quote:
|
|
![]() |
![]() |
![]() |
#413 | Link | |
.
Join Date: Dec 2006
Posts: 173
|
Quote:
HEVC is 60% more efficient than AVC? I wonder what he's smoking. In my experience it's more like from 0 to 30% (for very specific use cases like anime). |
|
![]() |
![]() |
![]() |
#415 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 715
|
I've only ever encoded one video with HEVC. A musical video with rather high motion. At the same bitrate HEVC did visibly much better than AVC. Also, took forever to encode.
__________________
...desu! |
![]() |
![]() |
![]() |
#416 | Link |
Registered User
Join Date: Aug 2015
Posts: 34
|
MSU's codec comparison is out: http://www.streamingmedia.com/Articl...ticleID=122945
It uses a version of libaom from July 2017. |
![]() |
![]() |
![]() |
#419 | Link |
Registered User
Join Date: Mar 2003
Posts: 474
|
FOSDEM is this weekend so I guess that's when we get some news.
__________________
x264 full help - x264 --fullhelp r2345 Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran DualDVDRB - Dual core support for DVD-RB free |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|