Page 1 of 1

PNG & GIF not working anymore

Posted: Thu Mar 26, 2015 4:43 am
by Carnivac
Since the most recent update the server doesn't let me view png and gif picture files on my PS3. Everytime I try the PS3 comes up with 'The Data is Corrupted' when it worked perfectly fine in the weeks before I updated. jpg files work as normal.

Re: PNG & GIF not working anymore

Posted: Thu Mar 26, 2015 10:14 pm
by ExSport
Check red part when creating post! ;)

Re: PNG & GIF not working anymore

Posted: Thu Mar 26, 2015 10:56 pm
by Carnivac
Sorry I didn't even notice that (to be fair it's more of a really pale pink with small reddish text) and I was rushing about. :D

Ok I done the steps.

Re: PNG & GIF not working anymore

Posted: Fri Mar 27, 2015 4:39 am
by ExSport
Read it again.
What about to reproduce bug? Also you must switch from DEBUG to TRACE level. Also it is good to mention filename you tried and it didn't play to easily find it in log 8-)
Log is totally empty, you started UMS and immediately left without doing anything. ;)

Re: PNG & GIF not working anymore

Posted: Fri Mar 27, 2015 4:47 am
by Carnivac
ExSport wrote: Log is totally empty, you started UMS and immediately left without doing anything. ;)
No I didn't. I started it then tried to view PNG and GIF files on the PS3 streamed from laptop as I have done many times before (on this and PS3 Media Server before I switched to this version). I DID select Trace but for some reason it didn't happen perhaps cos I selected then restarted the program. Trying again now.


Ok attached new one. Look for the png files that have 'froggy' in the filename as that's what I was trying to view but it's failing with all PNG and GIF files I've tried to view on my PS3 from this server.

Re: PNG & GIF not working anymore

Posted: Fri Mar 27, 2015 6:39 am
by ExSport

Code: Select all

TRACE 17:00:47.114 [New I/O worker #3] Network debugger: "froggy01" http-get:*:image/jpeg:DLNA.ORG_OP=01 size=11420 http://192.168.1.150:5001/get/82/froggy01.png
It seems there is definitely bug in UMS. PNG file is sent as JPG but PS3 config definitely say PNG is PNG:

Code: Select all

# Supported image formats:
Supported = f:jpg    m:image/jpeg
Supported = f:png    m:image/png
Supported = f:gif    m:image/gif
Try to override it in PS3.conf file with

Code: Select all

MimeTypesChanges = video/avi=video/x-divx|image/png=image/png|image/jpg=image/png
It should force jpg and png to be tagged as png. This is for testing only that png file will be played so jpg mime will be overridden or not.
Btw. disable or reset cache so file will be parsed again. It is also possible wrong mime is saved directly in DB.

Re: PNG & GIF not working anymore

Posted: Fri Mar 27, 2015 7:42 am
by jj123
I can confirm I'm also seeing the same issue on a Sony Bravia

Re: PNG & GIF not working anymore

Posted: Fri Mar 27, 2015 9:41 pm
by Carnivac
Ok I tried replacing the mime thing, resetting the cache and server but still not having much luck. I may just have to wait til it's properly fixed.

I'm not sure if the previous version of UMS I used had the same issue or not. I thought not but I may have been mixing it up with PS3 Media Server because I switched to UMS because of PMS's problem with only showing the first two folders/files on a Vita whereas UMS shows all but I seem to recall still having the image issue on the Vita. All I know is it's definitely an issue now. :P

Re: PNG & GIF not working anymore

Posted: Sat Mar 28, 2015 7:42 am
by ExSport
I asked to test described steps to more deeply diagnose root cause. If we should search in mime code or mediainfo/ffmpeg detection.
But anyway I suppose we have enough info to dig on right place in source code:-)
Thx

Re: PNG & GIF not working anymore

Posted: Mon Mar 30, 2015 11:53 am
by SubJunk
I think this is fixed now for the next version :) Thanks everyone