Skip to content
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

Possible to handle video rotation/orientation tag? #23

Open
automatata opened this issue Aug 24, 2020 · 0 comments
Open

Possible to handle video rotation/orientation tag? #23

automatata opened this issue Aug 24, 2020 · 0 comments

Comments

@automatata
Copy link

automatata commented Aug 24, 2020

Hi. I filmed some videos on my phone in portrait orientation. Entering show-text ${video-params} in the mpv console shows

...
w=1920
h=1080
...
rotate=90

indicating the videos themselves are formatted in landscape, with a rotation/orientation field set in the metadata, or so I think.

mpv plays the video correctly, but this script doesn't seem to read that field. The result is broken thumbnails where the pixels are misplaced in a pattern of

row1 row1 row1 row2
row2 row2 row3 row3
row3 row4 row4 row4

where it should be

row1 row1 row1
row2 row2 row2
row3 row3 row3
row4 row4 row4

Would it be easy to fix this issue?

By the way this also happens with another similar script: mpv_thumbnail_script.
If the solution would be simple, I'd like to mimic a fix there too.

Thanks for the consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant