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

Add sub-rotate Option for Subtitles #15494

Open
Sharad104 opened this issue Dec 12, 2024 · 0 comments
Open

Add sub-rotate Option for Subtitles #15494

Sharad104 opened this issue Dec 12, 2024 · 0 comments

Comments

@Sharad104
Copy link

Sharad104 commented Dec 12, 2024

Expected behavior of the wanted feature

Description:
Currently, when rotating the video with "shift+r video-rotate 90 180 270 0" (input.conf), subtitles do not rotate accordingly, causing misalignment. A solution like the following would allow subtitles to rotate with the video:
shift+s sub-rotate 90 180 270 0
This would prevent the issue where subtitles stay static while the video rotates.

Current Workaround:
Using the vf=sub filter rotates subtitles by burning them into the video. However, it only works with certain hardware encoders and has issues like subtitle stretching. Additionally, vf=sub is expected to be deprecated in the future, making this solution unreliable.

Example Issue:

  • Star Wars: The Clone Wars for example has
  • Original Resolution: 1280x720 (16:9)
  • Output Resolution: 1694x720 (2.35:1)
  • Subtitles appear stretched (see screenshots):
    • Normal: Normal
    • Stretched [vf=sub]: Stretched
    • Stretched and Rotated [vf=sub]: Rotated

Environment:

  • mpv version: v0.39.0
  • OS: Windows 10
  • My Config: mpv-config

Related Issues:

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

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

No branches or pull requests

1 participant