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

Rotation not applied for mkv file #12928

Closed
rom1v opened this issue Nov 20, 2023 · 5 comments
Closed

Rotation not applied for mkv file #12928

rom1v opened this issue Nov 20, 2023 · 5 comments

Comments

@rom1v
Copy link

rom1v commented Nov 20, 2023

Important Information

Provide following Information:

  • mpv version 0.36.0
  • Platform and Version: Debian sid
  • Source of the mpv binary: apt install mpv

Reproduction steps

If a rotation is set as a display matrix in an MP4 file, mpv handles it correctly, but in a MKV file, it ignores it:

ffmpeg -display_rotation 90 -i big_buck_bunny.mp4 -c copy output.mp4
ffmpeg -display_rotation 90 -i big_buck_bunny.mp4 -c copy output.mkv

ffplay output.mp4    # ok
ffplay output.mkv    # ok

mpv output.mp4       # ok
mpv output.mkv       # ko (no rotation applied)

ffmpeg -i output.mkv -c copy remux.mp4
mpv remux.mp4        # ok
@kasper93
Copy link
Contributor

mpv version 0.36.0

Works fine with latest master and also you need recent enough ffmpeg libraries.

@rom1v
Copy link
Author

rom1v commented Nov 21, 2023

Thank you for your answer.

Indeed, it works on master, thanks to commit a4bf0bd 🎉

@rom1v rom1v closed this as completed Nov 21, 2023
@rp1231
Copy link

rp1231 commented Nov 21, 2023

Works fine for me but I get a lot of audio feedback when using this option on my pc speakers:
scrcpy --video-source=camera --camera-size=1920x1080 --orientation=90
Any way to mitigate this issue?

@rp1231
Copy link

rp1231 commented Nov 21, 2023

Also does this mean that it's possible to use the phone as a webcam on windows as well?

@rom1v
Copy link
Author

rom1v commented Nov 21, 2023

@rp1231 Wrong repo.

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

3 participants