Jump to content

Rotate the movies is possible?


teicang

Recommended Posts

teicang

Hi, I automatically download the photos and videos I take with my mobile phone to the NAS. I added the folder on Emby and I can see movies and photos, but unfortunately while the photos if they were taken in portrait mode are shown well (black bars on the sides) the movies are played rotated to fill complete the screen. Is it possible to somehow rotate videos 90 degrees?

 

thx\Gianni

Link to comment
Share on other sites

teicang

This is an example, as you can see the film played rotated (I did it with the cell phone vertically), logically if I play it on the cell phone it looks fine, if I did movie with cellular phone horizontal it's played fine.

thx

\Gianni
image.thumb.png.65b811b3aa68e3fc098809d753dc2e37.pngimage.png.2f3949ac8d7720033d1f3aad352149ce.png

Link to comment
Share on other sites

I see you're running an old beta build. Try updating to the latest build, then refresh the metadata on that video and see if it helps. Thanks.

Link to comment
Share on other sites

teicang

Hi Luke , I updated my server with the last version terramaster published, 

I have done some test, unfortunately the situation didn't change so much. 

SO from my two different SAmsung  smart tv , and from PC the movies is played has before.(rotate)

During the test I noticed from PC the following behaviour:

Playing with EDGE (from EMBY dashborard he wrote  however Chrome ) the picture is wrong rotate ,

INSTEAD if I play it with  Chrome browser the picture is correct (also if in this case the movies stop and run again several time )

Following the log for both situation :

Movies played rotate with EDGE browser file  with NOT OK name

Movies played with picture Not rotate with Chrome  , file with standard name

 

thx

\Gianni

NOT OK embyserver.txt NOT OK ffmpeg-transcode-fc144a84-ed05-42f8-a933-f787067a3455_1.txt embyserver.txt ffmpeg-transcode-fc144a84-ed05-42f8-a933-f787067a3455_1.txt

Link to comment
Share on other sites

Hi, can you try refreshing the metadata on that video and see if it helps? Thanks.

Link to comment
Share on other sites

teicang

Hi Luke, I tryed but nothing change, my problem is that I cannot see on TV if the image is rotated 😞

It seems to played well only if you reproduce it with google Chrome.

From the log don't you see any strange?  Why Chrome rotate the image well and all the other devices like smart TV (both samsung ) or fire stick or EDGE browser instead no?

Any ideas?

thx

\Gianni

Link to comment
Share on other sites

Quote

Hi Luke, I tryed but nothing change,

What exactly did you do?

Link to comment
Share on other sites

teicang

I Luke, I made refresh metadati option on a single or folder movies but nothing changed. 

If I use the TV media player with nas mediaserver the same movies is playback fine, so is emby that rotate the movies.

/Gianni

Link to comment
Share on other sites

Happy2Play

Doesn't make any sense to me as both okay and not okay logs show no rotation data.

"Rotation":0

What does Media info show for the item as previous image does not show rotation data, unless since it show 0 it will not exist?

 

But sounds like this topic 

 

Link to comment
Share on other sites

Hi, once you've updated Emby Server to 4.8.4+, please try refreshing the metadata on this video and see if it helps. Thanks.

Link to comment
Share on other sites

teicang
10 hours ago, Happy2Play said:

Doesn't make any sense to me as both okay and not okay logs show no rotation data.

"Rotation":0

What does Media info show for the item as previous image does not show rotation data, unless since it show 0 it will not exist?

 

But sounds like this topic 

 

Hi, yes , sounds like similar problem,  the problem is always related to the movies done with mobile phone, were you can take it on portrate or landscape position.
@Luke I have already done the refresh of metadata after install new version but nothing changed.

Link to comment
Share on other sites

sa2000

@teicang I have reproduced the issue by forcing transcoding by reducing quality on a sample portrait video.

I will follow this up

The problem only appears to arise if the video is transcoded 

 

Link to comment
Share on other sites

10 hours ago, teicang said:

Hi, yes , sounds like similar problem,  the problem is always related to the movies done with mobile phone, were you can take it on portrate or landscape position.
@Luke I have already done the refresh of metadata after install new version but nothing changed.

Hi, what version of the server are you on now?

Link to comment
Share on other sites

Happy2Play
10 hours ago, teicang said:

Hi, yes , sounds like similar problem,  the problem is always related to the movies done with mobile phone, were you can take it on portrate or landscape position.
@Luke I have already done the refresh of metadata after install new version but nothing changed.

Can you show the Media Info shown in Emby for the item as it still sounds like rotation data is the issue as the ffmpeg log say there is no rotation.  So there has to be a disconnect somewhere or ffprobe is just seeing correct data.

example from my test video

image.png.e2c94d23f29a8abd5283d06c90857af8.png

Spoiler

C:\Users\Media\AppData\Roaming\Emby-Server\system>ffprobe -i "E:\Media\Photo\New folder\IMG_0323.MOV"
ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Media\Photo\New folder\IMG_0323.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2024-03-21T17:10:20.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone SE (3rd generation)
    com.apple.quicktime.software: 17.3.1
    com.apple.quicktime.creationdate: 2024-03-21T10:10:20-0700
  Duration: 00:00:05.60, start: 0.000000, bitrate: 15968 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 15764 kb/s, Level 40, 29.99 fps, 29.97 tbr, 600 tbn (default)
    Metadata:
      creation_time   : 2024-03-21T17:10:20.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : H.264
    Side data:
      displaymatrix: rotation of 90.00 degrees
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 154 kb/s (default)
    Metadata:
      creation_time   : 2024-03-21T17:10:20.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2024-03-21T17:10:20.000000Z
      handler_name    : Core Media Metadata
  Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2024-03-21T17:10:20.000000Z
      handler_name    : Core Media Metadata
  Stream #0:4[0x5](und): Data: none (mebx / 0x7862656D), 34 kb/s (default)
    Metadata:
      creation_time   : 2024-03-21T17:10:20.000000Z
      handler_name    : Core Media Metadata

 

  • Thanks 1
Link to comment
Share on other sites

Happy2Play
9 minutes ago, teicang said:

Hi @LukeVersione 4.8.3.0

Hi @Happy2Playfollowing the media info

image.png.226db6564ac71136d00abd2d7a46efc2.png

 

Are you able to update to current server release as a fix was added in 4.8.4.0?

Fix video rotation value not being scanned

 

Link to comment
Share on other sites

teicang

Actually from terramaster APP center the 4.8.3.0 is the last release I can update, 

Do you know if the new release for terramaster will be release soon?

Link to comment
Share on other sites

Happy2Play
2 minutes ago, teicang said:

Actually from terramaster APP center the 4.8.3.0 is the last release I can update, 

Do you know if the new release for terramaster will be release soon?

WIth .4/.5 just being released I assume some platform app stores will take awhile unless you manually update.

Emby Server for TerraMaster NAS - Emby

Link to comment
Share on other sites

teicang

Ok, if I try to update manually, do I have to uninstall the current version, or is it enough to interrupt the APP I have in the system and then proceed with installing the new version in manual mode?

All my data \ configuration will remain , correct?

\Gianni

Link to comment
Share on other sites

teicang

Done , new version istalled and bug seems fixed 🙂 Versione 4.8.5.0
I just tryed from PC and now the movies is played correct ,

The last test will be this evening from tv , I will update asap I will do it.

From PC the movie now is played correct

\Gianni

immagine.thumb.png.5699c30cb67b809f5b69bdeaf094f67c.png

  • Thanks 1
Link to comment
Share on other sites

teicang
Posted (edited)

Hi just tested on tv after I have update the metadata.

Unfortunately the movies is played wrong, different from previous mode ..worse than before 😞 ,see the picture 20240423_230812.thumb.jpg.9f0a0f3ea64ee4f79ff0c08c91c39db8.jpg

20240423_230845.jpg

Edited by teicang
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...