#442 Desktop: thumbnails for videos, and for HEIC and AVIF photos without a preview
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#442
- issue
- state:closed
A follow-up to #440 (#441). Photos on this computer show a thumbnail as their moment's marker in the desktop app, but videos (and HEIC or AVIF photos without an embedded JPEG preview) don't yet. To work out: - **A video's frame without bundling ffmpeg:** - Use the system's own thumbnailer: Quick Look on macOS, the Windows Shell thumbnail cache, and freedesktop thumbnails on Linux (`~/.cache/thumbnails`, made by the desktop's thumbnailers). - Or decode one keyframe with a pure-Rust or system decoder. - Many phone MP4s carry a cover image (`covr`), which could come first. - **HEIC and AVIF:** the same system thumbnailers would cover these. The `image` crate's AVIF decoding needs dav1d, a native library. - **Showing them:** keep the current design. `desktop_thumbnails` returns `data:` URLs, kept in the app's cache, and never saved or sent anywhere. https://github.com/openchronology/timeline-app/issues/442
Related
- #440 Desktop: thumbnails for moments made from photos and videos
- #441 In the desktop app, a photo's moment shows its thumbnail (#440)
- #456 Desktop: thumbnails of videos, and of HEIC, AVIF and raw photos without a preview
- Desktop: thumbnails of videos, and of HEIC, AVIF and raw photos without a preview (#442)