TheAcharya / MarkersExtractor

Extract Markers from Final Cut Pro FCPXML
MIT License
37 stars 2 forks source link

More data storage-efficient image formats #41

Open orchetect opened 1 year ago

orchetect commented 1 year ago

One issue I'm observing is that generated thumbnails (still or animated) can occupy quite a lot of disk space, especially if markers number in the dozens or hundreds. This can represent hundreds of MB or possibly more than a 1 GB. There are some existing options in MarkersExtractor to reduce frame size and quality, but not a ton of options.

Currently we support two still image types (png, jpg) and one animated image type (gif).

It might be worth adding WebP/WebM and HEIC as export options, which are more modern and have more options for compression. Both support stills and animated sequences. The question is: how compatible are they with the profile platforms we're targeting? (Notion, Airtable, etc.) That would dictate how much utility we'd get out of adding these formats.

IAmVigneswaran commented 1 year ago

Notion supports - PNG, GIF, JPG, WebP, HEIC. Notion does support WebM, but in Gallery View, you would not able to preview the media. Hence, It kind of defeats the purpose.

Airtable supports - PNG, GIF, JPG. I will investigate further on Airtable's supported image file types.

Yes, having the option of WebP and HEIC would be great.

IAmVigneswaran commented 4 months ago

Found this library for WebP. https://github.com/SDWebImage/SDWebImageWebPCoder

Hopefully in future build, we can add Animated WebP support.

Notion supports Animated WebP. WebP

IAmVigneswaran commented 1 month ago

Found another library for WebP

https://github.com/TimOliver/WebPKit