xiph / ogg

Reference implementation of the Ogg media container
BSD 3-Clause "New" or "Revised" License
353 stars 170 forks source link

Webp support for thumbnails #79

Open vitormmatos opened 3 years ago

vitormmatos commented 3 years ago

Webp is currently a more compact format than jpeg when on lossy compression, same with PNG and lossless compression: https://github.com/webmproject/libwebp/

Is it possible and viable to implement it for usage on thumbnails with the ogg container, either video or audio?

rillian commented 3 years ago

In Ogg metadata is attached to specific compressed formats, not the overall container.

It should work to put image/web in a METADATA_BLOCK_PICTURE tag in an Opus file, also the reference encoder app only has specific support for png/jpeg/gif.