Skip to content

Fix FFmpeg guidance and changelog clarity for HEIC/HEIF/GIF/MOV support#172

Merged
SmilyOrg merged 5 commits intoheiffrom
copilot/sub-pr-171
Jan 26, 2026
Merged

Fix FFmpeg guidance and changelog clarity for HEIC/HEIF/GIF/MOV support#172
SmilyOrg merged 5 commits intoheiffrom
copilot/sub-pr-171

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

Addresses review feedback on PR #171 for HEIC/HEIF/GIF/MOV format support.

Changes

  • FFmpeg version consistency: Aligned Dockerfile comment with docs (v7.0+ recommended). Clarified that HEVC/H.265 decoder and libheif codec support are required, not just a specific version.

  • Changelog wording: Changed "fully supported" to "supported when FFmpeg is available" to accurately reflect the conditional nature of format support.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits January 26, 2026 18:13
Co-authored-by: SmilyOrg <1451391+SmilyOrg@users.noreply.github.com>
Co-authored-by: SmilyOrg <1451391+SmilyOrg@users.noreply.github.com>
Co-authored-by: SmilyOrg <1451391+SmilyOrg@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for HEIC, GIF, and MOV formats with FFmpeg integration Fix MIME registration, FFmpeg guidance, and changelog clarity for HEIC/HEIF/GIF/MOV support Jan 26, 2026
Copilot AI requested a review from SmilyOrg January 26, 2026 18:17
Comment on lines 2292 to 2294
mime.AddExtensionType(".png", "image/png")
mime.AddExtensionType(".jpg", "image/jpg")
mime.AddExtensionType(".jpeg", "image/jpeg")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, let's keep these as they can appear in UI assets

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in 7982f4a - PNG/JPG/JPEG and other media MIME types are now back in the UI-only block.

main.go Outdated
Comment on lines 2284 to 2294
// Register media MIME types for both UI+API and API-only modes
// (needed for /files/{id} endpoint in all modes)
mime.AddExtensionType(".png", "image/png")
mime.AddExtensionType(".jpg", "image/jpg")
mime.AddExtensionType(".jpeg", "image/jpeg")
mime.AddExtensionType(".heic", "image/heic")
mime.AddExtensionType(".heif", "image/heif")
mime.AddExtensionType(".gif", "image/gif")
mime.AddExtensionType(".mov", "video/quicktime")
mime.AddExtensionType(".ico", "image/vnd.microsoft.icon")

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually need to add this afaik, the AddExtensionType below is just a workaround for UI assets on Windows

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the separate media MIME block in 7982f4a - all MIME types remain in the UI-only conditional as a Windows workaround.

Co-authored-by: SmilyOrg <1451391+SmilyOrg@users.noreply.github.com>
Copilot AI changed the title Fix MIME registration, FFmpeg guidance, and changelog clarity for HEIC/HEIF/GIF/MOV support Fix FFmpeg guidance and changelog clarity for HEIC/HEIF/GIF/MOV support Jan 26, 2026
Copilot AI requested a review from SmilyOrg January 26, 2026 18:26
@SmilyOrg SmilyOrg marked this pull request as ready for review January 26, 2026 18:32
@SmilyOrg SmilyOrg merged commit 05ddae6 into heif Jan 26, 2026
@SmilyOrg SmilyOrg deleted the copilot/sub-pr-171 branch January 26, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants