Posts: 13,684
Joined: Mar 2010
Reputation:
507
PatK
Team-Kodi Member
Posts: 13,684
Nice tent, must be hard to put up. There's a bug ATM (There's ticket open somewhere for it) that crashes the system when reading very large folders, I'm wondering if you've run into this and not just a jpeg problem. Can you place one of the 'suspect' images locally and see if it loads? This would have the effect of determining if the file compression is at fault, networking suspect, or are we dealing with the known bug.
A tool like 'Mediainfo' would give a better comparison to different images an perhaps leave a clue. The only suggestion at this point would be some sort of batch process of conversion, and wouldn't be my or your first choice.
Posts: 2
Joined: Aug 2016
Reputation:
0
Thanks folks. This is Kodi 16.1 but I don't believe the problem is related to large folders. I created a test folder with just one culprit picture and the GUI still crashes after I try to open it. I will give it a try with Mediainfo when I return from vacation.
Posts: 13,684
Joined: Mar 2010
Reputation:
507
PatK
Team-Kodi Member
Posts: 13,684
2016-08-23, 22:25
(This post was last modified: 2016-08-23, 22:26 by PatK.)
If you're looking into this with depth, you might as well turn on debugging in settings/system, try to look at these infernal images and upload a proper debug log to a public paste-bin and link the URL back to this thread. Might be time to make your move to Krypton B1 so any real discoveries get to those who can code, if this is not some anomaly.
Posts: 30
Joined: Oct 2016
Reputation:
0
mgouin
Junior Member
Posts: 30
I have a very similar problem. It seems mediainfo is only for audio and video files, am I right?
Posts: 30
Joined: Oct 2016
Reputation:
0
mgouin
Junior Member
Posts: 30
Just to add more info, I can reproduce the problem by opening the affected photos directly from the kodi file manager and navigating to the folder containing the photo. When I do this, the crash happens when pressing enter to preview the picture.
I know there's not much value in that, but all affected photos are opened in windows just fine. I cannot see any visual corruption in the image in windows.
Do you know a place I could post a few affected photos for other users to test?
Posts: 103
Joined: Dec 2006
Reputation:
0
2017-02-04, 12:51
if it is a Kodi buffer problem using large folders, this could be a work around
each camera adds a lot of info to the exif parts of a picture, so find out which parts you do not need
eg. a lot of thumbnails, color spaces etc
then use exiftool to remove all those garbage parts of the exif container
most of the time Kodi will work then!
Posts: 30
Joined: Oct 2016
Reputation:
0
mgouin
Junior Member
Posts: 30
Thanks for the pointer. I will try exiftool.
But as I said in my previous post, I was able to generate the error by opening the jpeg in Kodi file manager also. The jpeg was in a folder with about only 10 photos. And using this method, the crash happens when opening the file instead of when entering the folder. That's what led me to think that the file manager does not generate the thumbnail for every photo in a folder.
Could someone confirm that?
Tanks
Posts: 30
Joined: Oct 2016
Reputation:
0
mgouin
Junior Member
Posts: 30
Yes still on 16.1. I'm a bit nervous about the upgrade...
Will post the debug log.
Posts: 353
Joined: Dec 2014
Reputation:
6
It is very, very, very unlikely that 16.1 will be updated to fix your bug. It's best to try the latest 17 to see whether it has been fixed.