mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.02k stars 2.88k forks source link

Play vertical videos atomatically on second Monitor #14354

Closed Qliphort8 closed 3 months ago

Qliphort8 commented 3 months ago

Expected behavior of the wanted feature

Is it possible to automatically play certain videos on a second monitor? Maybe something like if video has a certain height then fs-screen = 1 (so you can play vertical videos autoatically on a second monitor)?

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

Qliphort8 commented 3 months ago

for anyone else looking for it just discovered how to do it with a conditional auto profile:

in mpv.conf:

[portrait on 1st monitor] profile-cond=width >= 2560 fs-screen = 0 [portrait on 2nd monitor] profile-cond=height >= 1081 fs-screen = 1

i can´t find a way to detect the aspect ratio but for now this way it doesn´t conflict with 4k videos too much