"progressive images not supported by decoder"
#1
Hi All,

I've just browsed through the Kodi-Log of my Raspberry Pi 2 installation and found a lot of entries like this one:

Code:
08:41:43 660324.375000 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/apjsWAMyuuQ5QGGXdkLsQ21sf8V.jpg
08:41:43 660325.062500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:43 660325.187500 T:821122112 WARNING: Previous line repeats 1 times.
08:41:43 660325.187500 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/wrMGBA4eNTUj2ympGsxaqcRpHBS.jpg
08:41:45 660327.062500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:45 660327.125000 T:821122112 WARNING: Previous line repeats 1 times.
08:41:45 660327.125000 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/cXv78qwO04CG3MMdiaYLEHu47MU.jpg
08:41:46 660327.937500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:46 660328.000000 T:821122112 WARNING: Previous line repeats 1 times.
08:41:46 660328.000000 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/luVKLYR0BqR0b7z1PvRXpsKx3gJ.jpg
08:41:47 660328.812500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:47 660328.875000 T:821122112 WARNING: Previous line repeats 1 times.
08:41:47 660328.875000 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/uq9ry9LRU2yn63LigCQFkB07CCY.jpg
08:41:48 660329.437500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:48 660329.500000 T:821122112 WARNING: Previous line repeats 1 times.
08:41:48 660329.500000 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/v3ahyscvpy5kt97TmfnGJ6w5xL6.jpg
08:41:48 660330.187500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:49 660330.250000 T:821122112 WARNING: Previous line repeats 1 times.
08:41:49 660330.250000 T:821122112  NOTICE: LoadJpeg: unable to load http://image.tmdb.org/t/p/original/6WydVNd7JTYY0zbYtH2iwKGGo7k.jpg
08:41:49 660330.812500 T:821122112 WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder
08:41:49 660330.875000 T:821122112 WARNING: Previous line repeats 1 times.

Is this a bug? Is this a missing feature?

Thanks, Anno
Reply
#2
No, not a bug, or a missing feature. The GPU doesn't support hardware decoding of progressive jpg artwork, so the warning is output and instead the CPU (potentially a slower process, particularly on RPi1, less so on RPi3) is used to decode the artwork. You should only see this message once per image - once it is decoded the resulting image is stored in the texture cache using a non-progressive format that can be GPU decoded in future.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#3
perfect, thanks!
Reply
#4
@Milhouse

Hi, This message seems to concern a lot of people when they see the log file for the first time.

Can I suggest that the message be changed to "NOTICE: Progressive image converted to non-progressive"

Thanks.
Reply
#5
(2016-09-10, 16:56)Milhouse Wrote: No, not a bug, or a missing feature. The GPU doesn't support hardware decoding of progressive jpg artwork, so the warning is output and instead the CPU (potentially a slower process, particularly on RPi1, less so on RPi3) is used to decode the artwork. You should only see this message once per image - once it is decoded the resulting image is stored in the texture cache using a non-progressive format that can be GPU decoded in future.

Hi Millhouse, I've just been experimenting with a new skin on my RPi3 and I'm noticing some main menu lag when scrolling to TV Shows and Movies. This appears to be due to having widgets of both and I've noticed this in the log every time:

Code:
NOTICE: LoadJpeg: unable to load /media/Storage/TV/Salvation/poster.jpg
WARNING: COMXImageFile::GetCodingType progressive images not supported by decoder

You mentioned above this should only appear once however with me its appearing all the time even though the widgets haven't changed. Is there a reason its not storing or calling them from the cache?
Reply
#6
(2017-08-17, 12:08)Morphy99 Wrote: You mentioned above this should only appear once however with me its appearing all the time even though the widgets haven't changed. Is there a reason its not storing or calling them from the cache?

Skin assets are not cached - it is assumed they are in a suitable format.
Best to report it to the skin maintainer and ask them to fix it. There is no benefit to skin assets being progressive and they are slower to decode.

You can convert to non-progressive losslessly wth:
Code:
jpegtran -perfect -optimize progressive.jpg > unprogressive.jpg
Reply
#7
Thanks, they're posters pulled from the movie folders so probably not a skin issue. Are there any scripts around to automate this?
Reply
#8
If they are normal artwork (covers/fanart) then each message should only appear once.
The second time the artwork is views should fetch the cached artwork which will be in non-progressive format and not generate the warning.
Do you ever see the same path appear with a warning a second time?

You can automate this caching, and Milhouse's texturecache is recommended for this,
but even without that, all images should get cached eventually.
Reply
#9
Yea, every time I reboot the same message appears for the same poster image in the widget. I checked in the movie library to see if they are actually being converted and cached and although some appear once as an error in the log they don't reappear (as expected). Going to try with confluence to see if its a skin issue or something else in the OS.
Reply

Logout Mark Read Team Forum Stats Members Help
"progressive images not supported by decoder"0