mpvnet-player / mpv.net

🎞 mpv.net is a media player for Windows with a modern GUI.
GNU General Public License v2.0
3.59k stars 163 forks source link

What is the behavior of MPV.net when opening 3D SBS video? #279

Open Kotters opened 3 years ago

Kotters commented 3 years ago

In some cases, the player seems to realize that video files are 3D SBS, and will duplicate the UI across the bottom of the screen. It will also resize the video to a different aspect ratio. Other times, it will not. I'm trying to understand the behavior of the player, and how it might be altered or controled.

For this example, I am encoding from a video source that is 1920x1080 per eye, 16:9. Both eyes in full side-by-side would be 3840x1080 32:9. Half side-by-side would be 960x1080 per eye, 8:9. Both eyes in half side-by-side would be 1920x1080, 16:9.

MPV.net opening a 720p re-encode, full side-by-side (1280x720 per eye, totaling 2560x720 32:9 aspect ratio) image

MPV.net opening a clip from the previous re-encode, full side-by-side (1280x720 per eye, totaling 2560x720 32:9 aspect ratio) image

As you can see, despite both of these video files being 32:9, one of them was interpreted as a 3D SBS file, resized, and given the special duplicate/split UI. This suggests there's metadata that the clip didn't preserve, and that MPV uses. Additionally, the window for the recognized clip is at an odd resolution. My MPV settings are supposed to open a window at the original file resolution. However, the window plays video at 2560x1440 (roughly). I have Windows' UI scaling set to 125%, as I use high resolution displays. Does UI scaling affect the display window size?

hooke007 commented 3 years ago

You can receive the same behaviour by mpv. And as I know, no more support or improvement for 3d since 2019.

For forcing to be showed as divided, use vf=format:stereo-in=sbs2l or vf=format:stereo-in=sbs2r check https://mpv.io/manual/master/#video-filters-%3Cstereo-in%3E

Does UI scaling affect the display window size?

use the --no-hidpi-window-scale to disable , check https://mpv.io/manual/master/#options-no-hidpi-window-scale