Opened 8 years ago

Closed 4 years ago

#2300 closed enhancement (worksforme)

Possibility to play video in fullscreen and at the same time have no scaling

Reported by: krikru Owned by: beastd
Priority: normal Component: undetermined
Version: unspecified Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

My screen is 1920x1200 and the video I want to play is at 1480x1080. If I use the -fs option, the video is automatically scaled to fit my screen. I want to play the video with a fullscreen window (i.e. no frame, centered video and black bands painted around it), but I do not want the image scaled. I want it precisely at 1480x1080 in the middle of the screen with the surround all black.

Why do I want no scaling? Scaling up the image forces the video renderer to interpolate between pixels. If the scaling factor is a non-integer, this reduces the image quality, as either pixels in the image will fall between pixels on the screen and be smeared out, or if nearest neighbour interpolation is used, the image will be jagged. This is mostly a problem for image which have to be scaled up just a little bit to fit the screen, i.e. the scaling factor is greater than 1 but smaller than 2.

Therefore, there should be some way to play a video in fullscreen mode and at the same time have no scaling, or alternatively scale with an integer factor.

I have tried the commands "mplayer <video file> -fs scale=-1:-1" and "mplayer <video file> -fs -x 1480 -y 1080" but none of these commands work. It seems like the -fs option overrides everything else when it comes to scaling the image.

There is also a report about this issue at the Ubuntu forum as well as a thread about it on the VideoHelp forum.

Change History (3)

comment:1 by krikru, 8 years ago

Perhaps the type of this issue should be changed to 'defect', since the 'scale', '-x' and '-y' options don't work properly when the '-fs' option is provided?

Last edited 8 years ago by krikru (previous) (diff)

comment:2 by compn, 8 years ago

you want mplayer -fs -vf expand=1920:1080 (or whatever your monitor size is)

comment:3 by compn, 4 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.