-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Videos are shown with incorrect rotation #762
Comments
The video viewer already handling roration: https://github.com/QL-Win/QuickLook/blob/master/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs#L310 so something is going wrong here. |
Closing this due to missing feedback |
@xupefei here is an example video: https://cloud.freiheitswolke.org/s/a9Qs2dPJr5fT6iw (link is active until the end of January) Sorry for the delay. I'm just getting my GitHub notifications under control. |
Confirming that some videos don't have the correct rotation. In my case its a video taken from an Iphone 7. edit, alternative link: |
Just downloaded the latest nightly and unfortunately rotation is still wrong. |
@rabelux Have you installed any codec package? |
No I haven't. Have you? |
Me neither. Could you try this build to see if it fixes the problem: https://github.com/QL-Win/QuickLook/releases/tag/3.6.6? |
Installed 3.6.6 and the behaviour stays the same. I even uninstalled everything, deleted files from AppData\roaming as I wanted to make sure no old files are present but no success. Might this be another Intel bug - I have an onboard Intel HD Graphics card in my laptop (and a NVIDIA NVS 3100M) |
I can also check, if my system has some anomalies. The only codec I have installed is the H265 support app from Microsoft. Everything else is done via MPC and VLC. |
These vids show fine for me, too. While working on #818 I noticed that rotation was wrong if the mediainfo lib failed to load. Maybe try the build artifact in that pull request since it changes how the mediainfo lib is loaded (once at the very beginning). If it fails to load now, it'll probably crash and there should at least be a hint in the log file. |
@mooflu Yeah I am thinking the same. The mediainfo lib may require some C++ Runtime packages to be present. Haven't got any time to check. |
Hey guys, thx for digging into this. Just installed mooflu's latest artifact and rotation is still the same. No crash, no error logs, so the mediainfo lib seems to be working fine. Is there some way to call the lib on the video and check the output? |
@rabelux One easy way to check:
|
So it seems the DLL can be loaded. I'll send you a simple testing app to further debugging. |
Can you download this zip file, extract it, and drag an video file onto |
The video with the rotation issue returns |
Reminder to @xupefei. |
On my machine the return value is |
Oops, my mistake. There's one more place to fix. I'll to it late today. |
Solved!! Thank you 🥳 |
I can confirm this works now. Great work 💪 🚀 |
Have this issue. |
Describe the bug
Record video on a phone in portrait mode. The video is still saved in 16:9 aspect ratio, but a flag is added to play the video in a different rotation. Video players like VLC respect this flag and play the video in the correct orientation. The flag can be inspected with MediaInfo for example.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Play the video in the correct orientation.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: