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

[Feature] toggle cinematic bar #317

Open
Rizkiacry opened this issue Jan 2, 2025 · 3 comments
Open

[Feature] toggle cinematic bar #317

Rizkiacry opened this issue Jan 2, 2025 · 3 comments

Comments

@Rizkiacry
Copy link

usually, if user want to watch a 16:9 video in 21:9 aspect ratio, they have either make their own css, or download and view it in external player. i'm suggesting overlaying two black bar or an option to visually crop the video.

@Rizkiacry
Copy link
Author

i tried different approach in mpv conf:
vf=crop=w=iw:h=ih*0.7622:y=ih*0.1189 sub-ass-force-margins=yes sub-use-margins=no

vf means video filter
w=iw means width is same as input width
h=ih0.7622 means the video height
y=ih
0.1189 means the crop height

the other commands is for subtitle so that it stays at 16:9 and doesn't get distorted into the cropped area

@Rizkiacry
Copy link
Author

or, you can add this css, but adjustable.

clip-path: inset(11.89% 0 12.89% 0);

@Andrews54757
Copy link
Owner

Can you use the video zoom feature to achieve similar results?

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

2 participants