fix: use Alpine 3.24 to get ffmpeg 8.1.2 for correct HEIC transcoding - #195
Merged
Conversation
Alpine 3.23 ships ffmpeg 8.0.1 which has a bug where HEIC tile assembly and orientation handling are broken during thumbnail generation. This causes thumbnails to be rotated 90° and show incorrect content. Alpine 3.24 ships ffmpeg 8.1.2 which fixes this issue. Signed-off-by: mlunar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Docker build produces corrupted/wrong thumbnails for HEIC files, showing blank/white areas instead of the actual image content.
Root Cause
Alpine 3.23 ships ffmpeg 8.0.1 which has a bug in HEIC tile assembly and orientation handling. When generating thumbnails from HEIC files:
Fix
Upgrade to Alpine 3.24 which ships ffmpeg 8.1.2 — this fix resolves the HEIC tile assembly and orientation issues.
Verification