Nitro_Zeus 11 Posted August 2 Posted August 2 I have some videos recorded on my phone while standing vertically. And when I play the video on Emby, it's horizontal. So the video gets turned on its side, and I think it's because it was shot on an iPhone while held vertically. What can I do to fix this so Emby does not change my video I tried playing the video on a computer and another phone. And it's tilted to the side on both devices.
Luke 42873 Posted August 2 Posted August 2 Hi, the video probably contains rotation information that tells us that it should be rotated when played.
Nitro_Zeus 11 Posted August 4 Author Posted August 4 i found out that when i play the video via Emby App it's displayed correctly. but when i use the web link it rotates to the side. What do you need from me to investigate the issue?
Luke 42873 Posted August 4 Posted August 4 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
Solution Nitro_Zeus 11 Posted 43 minutes ago Author Solution Posted 43 minutes ago (edited) With Copilot, I looked through my Embyserver.txt log and found this; -noautorotate -metadata:s:v:0 rotate=-90 This means: Emby ignores the original iPhone rotation metadata (because -noautorotate forces ffmpeg not to respect it). Emby then adds its own rotation = -90°, which flips the video sideways. This only happens in the web player, because it uses HLS transcoding. The Emby app uses direct play, where rotation metadata is respected → therefore the video looks correct in the app. I downloaded ffmpeg on Windows https://www.gyan.dev/ffmpeg/builds/?utm_source=copilot.com And ran this command in CMD to change the files from .MOV to .MP4 and h.264 with fixed settings. for %i in ("C:\Users\USERNAME\Desktop\*.MOV") do ffmpeg.exe -i "%i" -c:v libx264 -preset fast -crf 18 -c:a aac -movflags +faststart "C:\Users\USERNAME\Desktop\%~ni_fixed.mp4" This issue has been solved Edited 32 minutes ago by Nitro_Zeus
Luke 42873 Posted 34 minutes ago Posted 34 minutes ago On 8/4/2026 at 8:36 AM, Luke said: Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now