2025-08-16, 08:34 PM
(This post was last modified: 2025-08-16, 09:17 PM by alchemy. Edited 2 times in total.)
https://features.jellyfin.org/posts/3432...-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
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
Jellyfin 10.10.7
Debian 12 under ESXi 8
AMD EPYC 9654 QS @ 4.4Ghz
384GB DDR5-4800
GTX1080
Storage under TrueNAS
24x14TB WD Red Pro
2x375GB Optane D4800x
3x2TB 970 evo plus
Debian 12 under ESXi 8
AMD EPYC 9654 QS @ 4.4Ghz
384GB DDR5-4800
GTX1080
Storage under TrueNAS
24x14TB WD Red Pro
2x375GB Optane D4800x
3x2TB 970 evo plus