FAQ  •  Register  •  Login

Some pictures can not be rendered

<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Thu Jun 02, 2011 11:42 am

Some pictures can not be rendered

I have a Sony BDP-S370 and when I go to view my pictures, gif and png files cannot be rendered and displayed. I know that this model only supports jpeg files natively but I've tried mezzmo and it seems to have no problem with being able to display the gif and png files.

I've attached a small copy of log files from both mezzmo and serviio and maybe there is something in those that can help.

BTW, in the logs my computer = 192.168.1.100 & my sony = 192.168.1.102
Attachments
logs.zip
(2.97 KiB) Downloaded 469 times
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Thu Jun 02, 2011 11:54 am

Re: Some pictures can not be rendered

What you will probable have to do is to transcode the images so that you can see them on your screen. Can you post the information on the images.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jun 02, 2011 12:00 pm

Re: Some pictures can not be rendered

Those are automatically transcoded to jpeg, as per the log:

  Code:
 Retrieving transcoded version of file Easter Avie-smaller.gif using format profile JPEG_LRG


Can you try AV Media Center (Intel tools), browse to the image, get the item's properties and open the Content URI in a web browser... it should display the image (as jpeg)
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Thu Jun 02, 2011 4:39 pm

Re: Some pictures can not be rendered

I think you meant AV Media Controller.

With serviio, this is what I get:
  Code:
Resource #1::
contentUri: http://192.168.1.100:8895/resource/22/MEDIA_ITEM/GIF_LRG$0
colorDepth: 24
protocolInfo: http-get:*:image/gif:DLNA.ORG_PN=GIF_LRG;DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00D00000000000000000000000000000
resolution: 281x380
size: 99358

Resource #2::
contentUri: http://192.168.1.100:8895/resource/22/COVER_IMAGE
protocolInfo: http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000
resolution: 118x160

Resource #3::
contentUri: http://192.168.1.100:8895/resource/22/MEDIA_ITEM/JPEG_LRG$0
colorDepth: 24
protocolInfo: http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000
resolution: 281x380


With mezzmo, this is what I get:
  Code:
Resource #1::
contentUri: http://192.168.1.100:53168/content/ti/8A4B2EFB-7B56-4e1e-9F28-8FDCB1A37EA8*tp/*jpeg_med*jpeg*jpeg*1024*768*24*fi/32
colorDepth: 24
protocolInfo: http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00B00000000000000000000000000000
resolution: 280x378
size: 16777216

Resource #2::
contentUri: http://192.168.1.100:53168/content/ti/8A4B2EFB-7B56-4e1e-9F28-8FDCB1A37EA8*tt/*jpeg_tn*jpeg*jpeg*160*160*24*fi/32
colorDepth: 24
protocolInfo: http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00B00000000000000000000000000000
resolution: 118x160


As you can see there are a few differences.

1. Notice that the protocol info of resource #1 under serviio is referring to this file as a gif where mezzmo's resource #1 is referring to it as a jpeg. I'll assume that the resource that has the file size included would be the one that is being used.
2. In the DLNA flags value, serviio has a 'D' as the third byte versus mezzmo having a 'B' instead. I don't know the significance of that value but I don't feel that it applies here.
3. Oddly, mezzmo has the file size as around 16MB where serviio reports the size correctly.

BTW, when I open the URL's from either serviio or mezzmo I cannot save the picture as anything other than a png or bmp file. So, I'm not sure on how to verify that the picture is actually a jpeg.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jun 02, 2011 7:48 pm

Re: Some pictures can not be rendered

any DLNA server can serve as many resources as it can and it's up to the client to pick the format it wants. From the log I can see it picks the JPEG resource, it transcodes it into JPEG, but looks like your TV doesn't like that. That's why I asked to try opening the file in web browser. Does that work?
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Fri Jun 03, 2011 10:28 am

Re: Some pictures can not be rendered

zip wrote:any DLNA server can serve as many resources as it can and it's up to the client to pick the format it wants. From the log I can see it picks the JPEG resource, it transcodes it into JPEG, but looks like your TV doesn't like that. That's why I asked to try opening the file in web browser. Does that work?
From my quote above:
pizzaguy541 wrote:BTW, when I open the URL's from either serviio or mezzmo I cannot save the picture as anything other than a png or bmp file. So, I'm not sure on how to verify that the picture is actually a jpeg.
I can successfully open the images in the web browser by clicking on the content URI but when I right-click on the image and select save-as, I can only save the image as either a png or bmp file.

Could the problem be with serviio's jpeg resource not having a size attribute?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jun 03, 2011 10:56 am

Re: Some pictures can not be rendered

pizzaguy541 wrote:Could the problem be with serviio's jpeg resource not having a size attribute?

Should not
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Fri Jun 03, 2011 11:09 pm

Re: Some pictures can not be rendered

Is there anything that you can suggest for me to try or any other info that you need?

I know that I can convert the few troublesome files to jpeg but I'm using them as test files to test the capabilities of various DLNA servers and devices.

I'm looking forward to testing the v6 beta soon!!
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Sat Jun 04, 2011 3:53 pm

Re: Some pictures can not be rendered

UPDATE: okay, I've been able to get my Sony Blu-ray player to display gif and png files by adding these lines to the sony profile:
  Code:
<MediaFormatProfile mime-type="image/jpeg" name="GIF">JPEG_LRG</MediaFormatProfile>
<MediaFormatProfile mime-type="image/jpeg" name="PNG">JPEG_LRG</MediaFormatProfile>
The problem that I'm now having is the pictures of these file types are a bit grainy when displayed on the tv. I have noticed that mezzmo uses a DLNA profile of JPEG_MED on gif and png files and only uses JPEG_LRG on native jpeg files.

Serviio is using JPEG_LRG for these image file types. If you change it to use JPEG_MED on gif and png files, would that allow the picture to be displayed more clearly?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jun 04, 2011 9:04 pm

Re: Some pictures can not be rendered

JPEG_MED vs JPEG_LRG is only in resolution, MED max is i think 1024x768.

BTW, the change you made doesn't make much sense. You first define all JPEG_LRG files to be displayed as GIF and then as PNG. The first definition (GIF) is overwritten by the PNG one. So in the end you end up with all native JPEGs (JPEG_LRG) and transcoded GIFs/PNGs to be described as PNG.
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Sun Jun 05, 2011 10:04 am

Re: Some pictures can not be rendered

I did notice something odd when I was making these additions. When I add just this one line:
  Code:
<MediaFormatProfile mime-type="image/jpeg" name="GIF">JPEG_LRG</MediaFormatProfile>
I have both gif and png files being displayed but grainy. All of my other native jpegs are unaffected in the way they're displayed.

I'll try some other profile edits to see if I can improve the display. As you can see from the log, without this added profile line my unit never displays the gif/png image but just keeps requesting the file over and over.
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Sun Jun 05, 2011 1:42 pm

Re: Some pictures can not be rendered

Here is an oddity. It doesn't seem to matter of what label that I use, the gif/png files are displayed but are still grainy. For example:
  Code:
<MediaFormatProfile mime-type="image/jpeg" name="ANY_LABEL">JPEG_LRG</MediaFormatProfile>


As I've mentioned earlier, if I omit this line then the unit just keeps trying to display the image over and over. Maybe logs with and without this added line will provide some sort of clue as to what is happening.
<<

pizzaguy541

Serviio lover

Posts: 89

Joined: Sun Jan 02, 2011 10:01 am

Location: United States

Post Fri Jun 10, 2011 2:32 pm

Re: Some pictures can not be rendered

I see something interesting.

When I add the mime-type line to the profile I get this:
  Code:
2011-06-10 09:08:43,437 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.102
2011-06-10 09:08:43,437 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.102, Profile=Sony BD Player'
2011-06-10 09:08:43,437 DEBUG [ResourceTransportRequestHandler] Request for resource 22 and type 'COVER_IMAGE' received
2011-06-10 09:08:43,437 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 22)
2011-06-10 09:08:43,438 DEBUG [CoverImageRetrievalStrategy] Retrieving info of Cover image with id 22
2011-06-10 09:08:43,438 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2011-06-10 09:08:43,438 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Content-Length: 6586,Date: Fri, 10 Jun 2011 13:08:43 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000,transferMode.dlna.org: Interactive]]
2011-06-10 09:08:43,443 DEBUG [WebServer] Incoming connection from /192.168.1.102:64234
2011-06-10 09:08:43,444 DEBUG [ResourceTransportRequestHandler] GET /resource/22/COVER_IMAGE HTTP/1.1, headers = [Host: 192.168.1.100:8895,Accept: */*,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Interactive,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]


When I omit the line then I get this:
  Code:
2011-06-10 09:12:18,773 DEBUG [ResourceTransportRequestHandler] GET /resource/22/MEDIA_ITEM/JPEG_LRG$0 HTTP/1.1, headers = [Host: 192.168.1.100:8895,Accept: */*,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Interactive,X-AV-Physical-Unit-Info: pa="Blu-ray Disc Player",X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0"]]
2011-06-10 09:12:18,773 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.102
2011-06-10 09:12:18,774 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.102, Profile=Sony BD Player'
2011-06-10 09:12:18,774 DEBUG [ResourceTransportRequestHandler] Request for resource 22 and type 'MEDIA_ITEM' received
2011-06-10 09:12:18,774 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 22)
2011-06-10 09:12:18,775 DEBUG [ImageDAOImpl] Reading an Image (id = 22)
2011-06-10 09:12:18,775 DEBUG [ImageDeliveryEngine] Delivering item '22' for client 'IPAddress=/192.168.1.102, Profile=Sony BD Player'
2011-06-10 09:12:18,775 DEBUG [ImageDeliveryEngine] Delivering file 'Easter Avie-smaller.gif' using transcoding
2011-06-10 09:12:18,775 DEBUG [ImageDeliveryEngine] Retrieving transcoded version of file Easter Avie-smaller.gif using format profile JPEG_LRG
2011-06-10 09:12:18,776 DEBUG [TranscodingCache] Retrieving media item 22 with profile JPEG_LRG from cache
2011-06-10 09:12:18,776 DEBUG [ResourceTransportRequestHandler] Entity will be consumed till the end
2011-06-10 09:12:18,776 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: -1
2011-06-10 09:12:18,776 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-06-10 09:12:18,776 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Date: Fri, 10 Jun 2011 13:12:18 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.5.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=00;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000,transferMode.dlna.org: Interactive]]
Retrieving and then having the smaller cover image enlarged on my tv screen would explain why it looks so grainy.

I've attached copies of the log files that have the mime line added [serviio (mod).log] and without [serviio (org).log]. I hope that this sheds some light on the problem.
Attachments
test-logs.zip
(54.27 KiB) Downloaded 524 times

Return to Sony

Who is online

Users browsing this forum: No registered users and 39 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.