Page 1 of 1

Large (4000 pixel) jpg Not Dsiplaying - "Non-DLNA" on Twonky

Posted: Wed Dec 03, 2014 11:46 am
by antjone
Good day to you all!
I have a WD MyCloud serving up media to my 3200 Sony Bluray player.

Videos & music work great, and most photos too, but any photos above 4000 pixels wide show up as very blurry.

I've done some digging, and noticed something odd happening within Twonky.
If I go into Twonky Server (7.2, I think) via my web browser (\\wdmycloud:9000) I can browse the photos in there, and Twonky seems to have created new names for the jpgs (beginning "DLNA" and ending ".jpg").
Yet all the problem ones above 4000 pixels have a name "NON_DNLA"!! Ah-ha - isn't that interesting!!

Does anyone know what this "Non-DNLA" means, and how I can fix it?

Thanks very much

Tony

PS I know my TV doesn't have a resolution above 4000 pixels, and won't have for 20 years, but I want to keep the pictures in high-res in case I ever need to print them.

Re: Large (4000 pixel) jpg Not Dsiplaying - "Non-DLNA" on Tw

Posted: Wed Dec 03, 2014 6:01 pm
by phibertron
Yet all the problem ones above 4000 pixels have a name "NON_DNLA"!! Ah-ha - isn't that interesting!!
hard to explain, but don't focus to much on that
I have a WD MyCloud serving up media to my 3200 Sony Bluray player.
From the Twonky Web Interface not the WD Web Interface
to get to the Twonky Web Interface, use port 9000, where x.x.x.x is the ip of your nas
for example
http://x.x.x.x:9000
Then goto Settings, then sharing, then Media Receivers
What were trying first figure out is what Media Receiver Type is being assigned to the Sony Bluray player
once we know that, it might be possible to make things a little better

Re: Large (4000 pixel) jpg Not Dsiplaying - "Non-DLNA" on Tw

Posted: Thu Dec 04, 2014 1:01 am
by antjone
Thank you for your reply

To clarify - the large pictures are showing as blurred on the Sony Blutay, but these same pictures show up fine when viewed within the Twonky server (port 9000) when I go to "Photos" in there.
The dodgy files sre named something like:
192.168.1.47:9000/disk/NON-DLNA-OPO1-FLAGS00d00/06544.jpg
Whereas the unaffected files < 4000 pixels don't have the NON.

The Sony shows up twice in the Media Receivers list
The Receiver type is Sony Bluray Player & "Sony BDZ-ETxxxx Recorder"

Navigation set for Advanced Media Navigation, though I might shift this to "By Folder"

v 7.2.9

Thanks in advance

Tony

Thanks in advance

Tony

Re: Large (4000 pixel) jpg Not Dsiplaying - "Non-DLNA" on Tw

Posted: Thu Dec 04, 2014 1:28 am
by phibertron
To clarify - the large pictures are showing as blurred on the Sony Blutay, but these same pictures show up fine when viewed within the Twonky server (port 9000) when I go to "Photos" in there.
The dodgy files sre named something like:
192.168.1.47:9000/disk/NON-DLNA-OPO1-FLAGS00d00/06544.jpg
Whereas the unaffected files < 4000 pixels don't have the NON.
understood, one is using a web browser as the client, and one is a dlna client, two very different things

To be able to make things a bit better, in that we can scale down the images to a resolution that the player will handle
which in your case is probably max of 1920x1080

1. you will need to enable SSH on the WD, you can do that with this url

http://yournasip/UI/Ssh

2. connect to the WD using a program called WinSCP

http://winscp.net/eng/download.php

username root
password welc0me

3. browse to this file using WinSCP /usr/local/twonkymedia/resources/devicedb/Sony/Sony_BDZ-ETxxxx.xml

4. open the file by double clicking on it, this allow you to edit it

add the following section to it

Code: Select all

	<Capabilities>
		<Scaling>
			<Target>JPEGORG</Target>
			<Target>JPEG1920x1080</Target>
			<Target>JPEG160x160</Target>
		</Scaling>
	</Capabilities>
So that it looks like this, and then save it

Code: Select all

<Client>
	<DeviceId>
		<DisplayName>Sony BDZ-ETxxxx Recorder</DisplayName>
		<HttpRecognition>
			<HttpText>Blu-ray Disc Player</HttpText>
		</HttpRecognition>
		<DeviceDescriptionRecognition>
			<DescriptionText>BDZ-20</DescriptionText>
			<DescriptionText>Sony Corporation</DescriptionText>
		</DeviceDescriptionRecognition>
		<MappingUpdatePolicy>FIX</MappingUpdatePolicy>
	</DeviceId>
	<Capabilities>
		<Scaling>
			<Target>JPEGORG</Target>
			<Target>JPEG1920x1080</Target>
			<Target>JPEG160x160</Target>
		</Scaling>
	</Capabilities>
	<Adaptations>
		<DLNA>
			<Version>DLNA15</Version>
		</DLNA>
		<HTTP>
			<UserAgent>UPnP/1.0</UserAgent>
		</HTTP>
		<DTCP>
			<AkeSocketScheme>ONE_SOCKET_SCHEME</AkeSocketScheme>
		</DTCP>			
	</Adaptations>
</Client>
5. restart the twonky server for change to take effect

This should allow you to get a higher res image on your dlna client

Re: Large (4000 pixel) jpg Not Dsiplaying - "Non-DLNA" on Tw

Posted: Fri Dec 05, 2014 11:36 am
by antjone
Ah, that sounds very sensible since (as you say) my TV resolution is 1920.
I'll give that a go this weekend, and maybe have a little think about whether 4096 is in fact a sensible max width to keep file sizes down.

I thought talk of max image sizes and the "Non-DNLA" labelling of some files would have created more interest, but I'm a pragmatic man happy with a solid fix.

Best wishes

Tony

Re: Large (4000 pixel) jpg Not Dsiplaying - "Non-DLNA" on Tw

Posted: Fri Dec 05, 2014 3:32 pm
by phibertron
fwiw

here are two threads that show where the non-dlna classification com into play

http://twonkyforum.com/viewtopic.php?f= ... lna#p41099

http://twonkyforum.com/viewtopic.php?f= ... ant#p40982