PDA

View Full Version : photo orientation auto-rotation



MezzmoManiaMan
01-26-2023, 01:34 PM
I am using the Mezzmo for Roku app on a Roku Ultra to view photos streamed from an external drive attached to my W10 home pc. I use Mezzmo Pro.

Is there a way to have Mezzmo, or Roku, auto-rotate images that display in the wrong orientation? The same thing happens if I view them through Roku Media Player app.
thank you.

Peter
01-27-2023, 11:14 AM
It is not possible currently to auto rotate images in the Roku app.

MezzmoManiaMan
01-28-2023, 07:59 AM
Is there a solution via Mezzmo and its photo library? thank you

MezzmoManiaMan
01-28-2023, 08:17 AM
Would Mezzmo transcoding settings provide auto-rotation so that photos display properly via the Roku?

Peter
01-30-2023, 09:13 AM
Depending upon the device profile you are using there is a setting autorotateimages. In some device profiles this is turned off. Which device profile are you using for your device?

MezzmoManiaMan
02-01-2023, 04:54 AM
1) The Media Devices/Device list/Device Name-Roku Ultra/Device Profile is "Roku Streaming Player (Mkv)". Is this correct, and where would I see the autorotate settings?

2) According to Using Device Profiles (http://www.mezzmo.com/wiki/doku.php?id=using_device_profiles), my profile is located at C:\ProgramData\Conceiva\Mezzmo\DeviceProfiles and C:\Users\All Users\Conceiva\Mezzmo\DeviceProfiles. What is the difference between these locations?

3) Roku's response was "For more information about that channel's features and functionality, you'll want to contact the Mezzmo support directly to inquire further. Many channels on Roku are developed and maintained by the channel provider themselves."

Peter
02-01-2023, 09:14 AM
Yes this profile will work with the device. Open the device profile in a text editor and add autorotateimages="1" in the <name tag so that it becomes
<name manufacturer="Roku" model="Streaming Player (Mkv)" profileactive="1" needsfileextension="1" needstimebasedseek="0" forceconnectionclose="1" understandsdlnaprofileid="0" ignoresoaplimit="1" supportsbif="1" minsegment="5" supportedredirectformats="18" addsurroundsound="1" autorotateimages="1"/>
Save the profile and restart your Mezzmo media server.

The two locations point to the same folder, Windows links each path to the same location.

MezzmoManiaMan
02-02-2023, 10:34 AM
1) Would I open the "RokuStreamingPlayerMkv.prf" profile visible through C:\ProgramData\Conceiva\Mezzmo\DeviceProfiles, or would I access the profile via the Mezzmo Pro application?
2) Would Notepad, offered on my W10 PC, be an acceptable text editor?
3) If I do open "RokuStreamingPlayerMkv.prf" with Notepad, I am presented with a large amount of text, which begins with the following. Exactly what do I insert and where? Perhaps you could just indicate the insertion text within parentheses so I do not add extra unintended characters. thank you

[B][I]<MezzmoDeviceProfile>
<version>320</version>
<device>
<guid>7693D116-FC7A-43b9-88F7-FA7D83943DDB</guid>
<name manufacturer="Roku" model="Streaming Player (Mkv)" profileactive="1" needsfileextension="1" needstimebasedseek="0" forceconnectionclose="1" understandsdlnaprofileid="0" ignoresoaplimit="1" supportsbif="1" minsegment="5" supportedredirectformats="18" addsurroundsound="1"/>
<useragent>Roku \(Mezzmo Channel\)</useragent>
<useragent>Allegro-Software-WebClient/4.32</useragent>
<useragent>Roku UPnP</useragent>
<useragent>Roku\/DVP</useragent>
<xavclient></xavclient>
<xavphysicalunit></xavphysicalunit>
<friendlynamedlnaorg></friendlynamedlnaorg>
<upnpmodel>Roku Streaming Player</upnpmodel>
<upnpmanufacturer>Roku</upnpmanufacturer>
<upnpfriendlyname>Roku Streaming Player</upnpfriendlyname>
<mezzmoserver></mezzmoserver>
<transcoding enabled="1" minimumstreamingsize="2000000" waitmsbeforestreaming="15000" contentlength="3" />
<devicedescription>GenericDeviceDescription.xml</devicedescription>
<videomax width="1920" height="1080" />
<packetsize live="8192">1024000</packetsize>
</device>
<descriptiondeliveryrules>
<!-- delivery description rules specify what

Peter
02-02-2023, 10:53 AM
1) Open the profile through the c:\ProgramData\Conceiva\Mezzmo\DeviceProfiles folder.
2) Notepad would be acceptable
3) Replace
<name manufacturer="Roku" model="Streaming Player (Mkv)" profileactive="1" needsfileextension="1" needstimebasedseek="0" forceconnectionclose="1" understandsdlnaprofileid="0" ignoresoaplimit="1" supportsbif="1" minsegment="5" supportedredirectformats="18" addsurroundsound="1"/>

With

<name manufacturer="Roku" model="Streaming Player (Mkv)" profileactive="1" needsfileextension="1" needstimebasedseek="0" forceconnectionclose="1" understandsdlnaprofileid="0" ignoresoaplimit="1" supportsbif="1" minsegment="5" supportedredirectformats="18" addsurroundsound="1" autorotateimages="1"/>

The addition of autorotateimages="1" at the end of the tag.

MezzmoManiaMan
02-04-2023, 12:16 PM
I made the profile changes. How long before any improved results are visible? Does Maintain Media Library support the profile change? thank you

jbinkley60
02-05-2023, 08:31 AM
I made the profile changes. How long before any improved results are visible? Does Maintain Media Library support the profile change? thank you

Did you stop / restart your Mezzmo server service ? The server reads the devices profiles upon start.


Jeff

Peter
02-06-2023, 09:15 AM
For any photos that you have already viewed you will need to delete transcoded files. From 'Media Devices' double-click the device then click on the Transcoding tab and click the button to delete transcoded files. Photos you have not viewed before should be rotated if the photos contain rotation information in the metadata of the image.

MezzmoManiaMan
02-13-2023, 03:24 AM
1) Mezzmo media server was stopped then restarted. 2) The same photos, only a few, remain in the wrong orientation with both the Mezzmo Roku application and Mezzmo through Roku Media Player. 3) These photos, when viewed on my PC using the Windows 10 Photo app and Windows Media Player, are in the proper orientation. 4) These photos were all taken using Iphone-12.

Peter
02-13-2023, 09:16 AM
It is possible that the rotation in the image is not being read, Mezzmo uses the EXIF information in the image to rotate it and if the iPhone12 encodes this differently then Mezzmo may not be able to rotate the image.

MezzmoManiaMan
02-14-2023, 10:23 AM
1) The pictures were taken on the Iphone-12, then downloaded to an external drive attached to my PC.
2) Different, more recent photos currently on the Iphone-12 have EXIF data visible under the Info button (small case 'i' in a circle). I do not know EXIF data might pertain to orientation.
3) I believe the Iphone-12 EXIF data (metadata?) appears under Properties for photos viewed through File Explorer, or File Info for photos viewed through the W10 Photo app. Again I do not know EXIF data might pertain to orientation. Or if some Iphone-12 EXIF data is lost, changed or becomes unreadable on my PC.