![]() |
Use Trickplay Images for Black Bar Detection - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Development (https://forum.jellyfin.org/f-development) +--- Forum: Feature Requests (https://forum.jellyfin.org/f-feature-requests) +--- Thread: Use Trickplay Images for Black Bar Detection (/t-use-trickplay-images-for-black-bar-detection) |
Use Trickplay Images for Black Bar Detection - alchemy - 2025-08-16 https://features.jellyfin.org/posts/3432/use-trickplay-images-for-black-bar-detection Black bar detection can be a preprocessing step done once, and the aspect ratio metadata stored server side. Since the large job of the media scanning is already available with trickplay generation, this can be accomplished as an option during that process. I'm imagining adding an option (checkbox) to the trickplay dashboard settings for black bar detection / aspect ratio detection. This would then run as a step inside RefreshTrickplayDataInternal or something similar, and the result being stored with the media's metadata like everything else. The actual job of black bar detection with a nice vector of image samples is straightforward enough in my opinion and entirely self contained. After this I believe it would be a matter of adding a new aspect ratio setting to the web interface / whatever client that queries and applies this data. EDIT: a good refinement might be to map the detected aspect ratio to the closest existing media industry aspect ratio to avoid pixel level scaling imperfections |