Kodi Community Forum
XBMC Video Thumbnails: Where is the code for that? (re: video rotation) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: XBMC Video Thumbnails: Where is the code for that? (re: video rotation) (/showthread.php?tid=127530)



XBMC Video Thumbnails: Where is the code for that? (re: video rotation) - SofaKng - 2012-04-02

I've manually applied the patch in ticket #12231 to fix upside down QuickTime MOV files (ie. iPhone recorded videos) but the video thumbnails are still upside down.

Can somebody point me in the right direction of where in the XBMC source code it generates the thumbnail images? Does it use FFmpeg?

The patch in the ticket above modifies the linked FFmpeg library to read the rotation metadata and works perfectly and I think I might be able to adapt it to fix the thumbnails as well but I'm not sure where to look...


RE: XBMC Video Thumbnails: Where is the code for that? (re: video rotation) - jmarshall - 2012-04-02

Yes, it uses ffmpeg. Grep the sources for DVDFileInfo


RE: XBMC Video Thumbnails: Where is the code for that? (re: video rotation) - SofaKng - 2012-04-05

Thanks for the info!