Skip to content

Improve trickplay image preview speed - #467

Merged
damontecres merged 2 commits into
mainfrom
fix/trickplay
Dec 15, 2025
Merged

damontecres merged 2 commits into
mainfrom
fix/trickplay

Conversation

@damontecres

Copy link
Copy Markdown
Owner

Moves the clipping of trickplay images from the image loading layer to the composition/graphics layer.

Effectively, this PR loads and renders the entire trickplay image which is then moved around to the right position and finally is clipped so only a single tile is shown. Since moving the image around on screen plsu clipping is 1) very fast and 2) done during recompositions, this means it is much faster at rendering each trickplay tile image and Coil only has to load the image once.

Fixes #432

@damontecres damontecres added bug Something isn't working user interface Related to the user interface labels Dec 14, 2025
@damontecres
damontecres merged commit 7ab39eb into main Dec 15, 2025
2 checks passed
@damontecres
damontecres deleted the fix/trickplay branch December 15, 2025 00:04
damontecres added a commit that referenced this pull request Dec 15, 2025
Fix to #467 to scale the tiles by the actual calculated ratio based on
the server's fixed width and our target width instead of using the
general density scaling

I verified this on 1080p & 4k with 4:3, 16:9, & 2.35:1 videos.

Fixes
#432 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working user interface Related to the user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] - Fast-forwarding breaks trickplay

1 participant