Photo rotation (exif)

Hi there

 

On my ATV3 all my portrait photos are displayed wrong (in landscape) while in full screen / slide show - thumbnails are fine.

 

Is there a way to fix that behavior?

 

thx and cheers!

I know about that - full screen photos are handled by atV itself, thumbnails are "transcoded" - and probably rotated on the way.

so, no way to fix that - despite rotating all images on the server?

We didn't look to deep into it. One possible/easy solution might be to just transcode each and every picture, relying on PMS to do it's magic. There might be better ways to help aTV to rotate it, though.

If I remember correctly, the iPhoto plugin did it correctly... for some reason. Have a look there... (for now).

We didn't look to deep into it. One possible/easy solution might be to just transcode each and every picture, relying on PMS to do it's magic. There might be better ways to help aTV to rotate it, though.

If I remember correctly, the iPhoto plugin did it correctly... for some reason. Have a look there... (for now).

What do you mean by "One possible/easy solution might be to just transcode each and every picture, relying on PMS to do it's magic" ? Is this something I can enable / control?

As there is no OSX running in my network, iPhoto is not an option I guess...

We feed the aTV photo viewer with the URLs of the pictures - currently directly, non transcoded. If we would ask PMS for transcoded photos, you might get them rotated (I am not 100% certain).

No, there is no setting or something. It needs some minor code changes.

Ok, thank you for clarification

If you decide to consider acting on the EXIF Orientation tag then please be aware of this http://forums.plexapp.com/index.php/topic/73112-photos-exif-orientation-implementation-within-the-clients/?p=434251

Basically there is no possible way at the moment of detecting 100% of the time if a photo with EXIF Orientation set to indicate that rotation is required that the photo has not already been manually rotated. Applying EXIF Rotation in such cases will result in the photo showing with the wrong orientation. 

The Plex Team will be introducing a user option to indicate if EXIF Rotation should be applied or not. I am not aware that a decision has been made as to what level within the Library this setting would be - it may get introduced as a global indicator and later refined to be on Library Section or whatever is decided by the Plex Team

Well, C-Ion should know if he already rotated manually or not.

From my point of view, manual rotation without adapting the EXIF info is bad in itself anyways...

Well, C-Ion should know if he already rotated manually or not.
From my point of view, manual rotation without adapting the EXIF info is bad in itself anyways...


It is only in very recent OS versions that EXIF Orientation was acted on. There are loads of people who rotated their images manually because they use / used Windows 7 or XP and Office Picture Manager - so yes it is bad but the new technology was not introduced and handled at the same time. Cameras had it first and now many years later we are starting to adopt it in Operating Systems, media streaming / browsing technology. The issue is worse in that a lot of the manual rotation was done without unsetting the EXIF Rotation indicator meaning it is now impossible to do it automatically. Some like Google Picasa found a way but that is probably using some holistic technique and they do have a lot of patents registered in these areas.

So bottom answer it has to be a user option and probably on folder basis because users with new Operating Systems for new photos can just use EXIF but the thousands of images they have for previous years they have to unset the EXIF Rotation action for.

The article linked from my other post on the subject gives interesting reading http://keyj.emphy.de/exif-orientation-rant/

>> they use / used Windows 7 or XP and Office Picture Manager

Yes, I know that crap from earlier... I found "Irfanview" to do an amazing job - long before 2005 already. :-)

>> they use / used Windows 7 or XP and Office Picture Manager
Yes, I know that crap from earlier... I found "Irfanview" to do an amazing job - long before 2005 already. :-)


But the real world out there rather than the few privileged just used the standard stuff and there are millions of people who did that.

Hopefully we will have a plex solution that will satisfy everyone. Waiting for Elan to decide when PMS will have the new user configurable options and at what level within the Plex Library.

Well, C-Ion should know if he already rotated manually or not.

From my point of view, manual rotation without adapting the EXIF info is bad in itself anyways...

Of course I did not and I will not manually rotate my pictures - who does this without adjusting exif??

>>who does this without adjusting exif??

All those great Microsoft tools... at least in my experience from a couple of years back.

C-Ion: in Photo.xml, line 34, add to

            {{IMAGEURL(Media/Part/key)}}

an image size information (::width[:height]), like a couple of lines up.

It should look like this - I guess:

            {{IMAGEURL(Media/Part/key::1280:720)}}

 
This should force the images going through the transcoder, and hopefully be rotated.
Depending on your photo/directory structure you might have to do it similar in PhotoBrowser.xml... yep, structure is somewhat weird, historically grown. :-)

nice! editing Photo.xml like you suggested does the trick...

Is this going to find it's way as an option to set in future releases?

Like a "photo transcoder action"-option: "auto", "transcode"?

Hm. Only time will tell...

Personally I could totally see that, we did include stranger stuff already. The option name might be to long for the display, though. :-D

I would appreciate that! (and I guess so do others)

"photo transcoder action" sounds nice B)

C-Ion: in Photo.xml, line 34, add to

            {{IMAGEURL(Media/Part/key)}}

an image size information (::width[:height]), like a couple of lines up.

It should look like this - I guess:

            {{IMAGEURL(Media/Part/key::1280:720)}}

 
This should force the images going through the transcoder, and hopefully be rotated.
Depending on your photo/directory structure you might have to do it similar in PhotoBrowser.xml... yep, structure is somewhat weird, historically grown. :-)

Hi Baa,

I have a similar problem in that I've copied all my photos to the PLEX server (sits on a FREENAS box with Plex plugin in a jail) but a number of them are not properly rotated.

Where would I find the Photo.xml file to apply your solution above please?

Thank you,

Richard

No XML modification needed, PlexConnect got this "photo transcoder action" in its settings a long time ago.