Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Shortcut to change aspect ratio from default to zoom (Or anything). Or even better, a UI option to change while playing video. #170

Closed
Marctraider opened this issue Dec 3, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@Marctraider
Copy link

Hi there!

I'm running jellyfin media player on a ultrawide 3440x1440 screen.

It is a pretty common problem that some movies with a certain aspect ratio, and black bars encoded in the video, ultrawide has a problem of having black bars on each side of the screen (Both horizontal and vertical).

The aspect ratio fixes this sort of, by changing aspect ratio in client to zoom. But it would be better if there was an advanced menu in the player where you can do this on the fly when already watching the video rather than having to go through all the loops to change it (And obviously dont forget to change it back for videos that DONT have black bars encoded in them.

Unless there is a better solution? (Other players and hook them up to the jellyfin server, but in this case i might lose 'syncplay' feature?)

@Marctraider Marctraider added the enhancement New feature or request label Dec 3, 2021
@nvllsvm
Copy link
Member

nvllsvm commented Dec 3, 2021

Ideally, the Jellyfin server would expose video crop elements to the client (ex. Matroska crop elements). I would then expect any client to respect these when direct streaming or for the server to crop when transcoding.

Brain dump:

@Marctraider
Copy link
Author

Marctraider commented Dec 4, 2021

Actually you are right, I also see another problem now which didn't got obvious to me until now. Subtitles are now also half off-screen. :-(

However, I don't think this should be server-sided as not everyone has the same aspect ratio / resolution. This sounds like it should totally be a client side feature.

@Ashyni
Copy link

Ashyni commented Dec 5, 2021

Hello, i also have an ultra wide display.
@Marctraider take a look at https://github.com/Ashyni/mpv-scripts, it's a dynamic crop script for mpv.

I personally use it with Jellyfin mpv shim, but it also works with Jellyfin Media Player.

Create mpv.conf in %localappdata%/JellyfinMediaPlayer and add script=C:\<any path you choosed>\dynamic-crop.lua (assuming you are on Windows).

@Marctraider
Copy link
Author

Marctraider commented Dec 8, 2021

Thank you @Ashyni I will try your solution!

Edit: Seems to work great! Although one time i had to go back from full screen to windowed and back to make it apply.
So far so good.

@iwalton3
Copy link
Member

This will be in the next version.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants