Jump to content

Recommended Posts

QDivision
Posted

Hi,

 

I have just done a complete fresh install using the latest emby server (3.2.27) on Windows 10.

 

Some of the Live TV logos look corrupted (see attached).

 

All the logos are .png format and appear fine when viewing them standalone or in Kodi.

 

The TV backend is DVBLink.

 

Hope someone can help.

 

Thanks!

post-3832-0-01681600-1502703643_thumb.png

Posted

hi @ what did those images look like before hand? thanks.

QDivision
Posted

Attached are the logos that should be displayed for ITV2 and BBC4

post-3832-0-94735900-1502817344_thumb.png

post-3832-0-83876000-1502817350_thumb.png

Posted

Can you zip those up to ensure the forum software hasn't re-encoded them? thanks.

QDivision
Posted

zip is attached.

 

The other weird thing I've noticed is that some of them have picked the completely wrong logo. see attached screenshots.

 

Should I try clearing them in cache and refreshing guide data?

logos.zip

post-3832-0-54981600-1502827845_thumb.png

post-3832-0-54294100-1502827850_thumb.png

post-3832-0-96826300-1502827857_thumb.png

Posted

I assume the logo's are coming from DVBLink? In that application the logo's are OK?

Can you maybe also add your logs from the server?

QDivision
Posted (edited)

Just cleared the logs and done a guide refresh (log attached). doesn't look like it has any details on getting the images.

Edited by thomasorr
QDivision
Posted

Yes they are coming from dvblink and they are fine in there. They are also fine in Kodi which is linked to dvblink.

Posted

Those logos are all rendering OK for me but I'm still going to try and dig a bit deeper into this.

 

As far as the wrong logos appearing, that would be something to take up with the developer of the dvblink plugin.

QDivision
Posted

I've been doing some experimenting and found that the corruption happens when the jpeg image gets converted to webp (the original png files re converted to jpeg by emby successfully).

 

The bug seems to be a common issue and happens when a zero padding is missed out on odd size images (depending on what library you're using to make the webp images)

 

Hope this helps fix the issue.

Posted

what do you mean by original png converted to jpg by emby?

QDivision
Posted

The original logos are in png format, when emby discovers them I can see them getting converted to jpeg format and stored in %emby-data-path%\metadata\livetv\%random-string%\poster.jpg

 

They are not corrupted here but when I look in %emby-data-path%\cache\images\resized-images\%prefix%\%random-string-file-name.webp% the images in question are corrupted when I view them directly.

Posted

What do you mean by discovers them? When are they being converted to jpg? Are you supplying these images yourself manually or is the plugin doing it?

QDivision
Posted

Starting with a clean installation with only DVBLink plugin installed, I select the option to use server logos in the plugin settings. Then when I press refresh guide I can see the logos being populated in the metadata folder as previously said but in jpeg format (they are in png format in the DVBLink logo folder), so either emby or the plugin has converted them. These logos are fine and there is no corruption. Then when I go to the web Live TV dashboard under the channels section the cache folder fills up with the .webp format logos and this is when some of them get corrupted.

Posted

I think the plugin is reporting to the server that they are jpg and that might be the root of the issue. Either that or it is not reporting the image format at all.

Posted

Nonetheless I would still expect side effects as a result of that, because we save a png as jpg and then that will affect the way image processing libraries interpret it.

QDivision
Posted

I've remade the logos as jpg files and the issue has gone. I'll just use jpg files in the future.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...