Log in

View Full Version : mplayer - postprocessing settings for LCD monitors


Razorholt
2nd December 2007, 00:21
What postprocessing settings will you recommend for watching videos on LCD monitors using mplayer? Do I have to adjust contrast and brightness and that's it?


Thanks,
- Dan

LoRd_MuldeR
2nd December 2007, 23:45
Maybe you can get better quality with Lanczos software scaling, instead of default hardware scaling:
-sws 9 -vf-add scale=1280:-2
(replace '1280' with whatever suits your horizontal screen resolution, the '-2' will adjust the vertical resolution to the video's size)

Of course this will eat some additional CPU power, maybe no good idea for HD stuff ;)

Razorholt
3rd December 2007, 00:22
Thanks LoRd_MuldeR!

My current setting is
-vo directx -fs -adapter 1 -zoom -vop expand=-1:450,scale=800:-2 -slave
-quiet -nocolorkey -ao win32 -ssf ls=20 cs=20

The picture is still not bloody centered but... The "scale" has no effect in full-screen, right?


Thanks,
- Dan

LoRd_MuldeR
3rd December 2007, 01:34
The scale filter has always effect, fullscreen nor not! The order is:
Input Video (from Decoder) -> Software Scaler -> Renderer / Hardware Resize -> Monitor

I don't know which front-end you use, but usually you won't need "expand" at all!
Maybe you like to try SMPlayer ;)

Also "scale=800:-2" sounds pretty small, or is your screen resolution really 800x600 ???
If you want to avoid hardware scaling, the resolution after software scaling must equal the final display size!
As soon as the video size (after software scaling) differs from the final display size, hardware scaling will be involved.
For a screen resolution of 1280x960 you'd use "scale=1280:-2" and so on. (assuming you want to use fullscreen)

BTW: Did you try "-vo gl" instead of "-vo directx" for comparison?

Razorholt
3rd December 2007, 05:58
Ok, I got rid of my scale settings. I'll run some tests on different types of monitors later on.

Regarding GL, it simply restarts my PC (WinXP). Where can I get the GL upgrade?

LoRd_MuldeR
4th December 2007, 14:26
Ok, I got rid of my scale settings. I'll run some tests on different types of monitors later on.

Regarding GL, it simply restarts my PC (WinXP). Where can I get the GL upgrade?

There is no "GL Upgrade" or something alike :confused:

The gl renderer works with plain MPlayer builds, but I'd recommend to always use the latest build of MPlayer!
Also you should update your graphics card drivers to the latest version, just to be sure.
If your PC reboots where it shouldn't this smells like a serious driver or even a hardware problem :(

I use the gl renderer all the time. I'm on WinXP too...

Razorholt
4th December 2007, 15:51
Yes. But MPlayer's GL renderer cannot be embedded in GUI apps.
The only working renderer for that is currently DirectX/Overlay :(
Is it still true?

I've heard that the latest release (rc2 I believe) isn't that stable. What build are you using?

Also, is it correct to assume that switching from DirectX to GL will not cut some viewers off? Which one is the most popular? GL or DirectX?


Thanks man!

- Dan

LoRd_MuldeR
4th December 2007, 16:04
Is it still true?
It's definitely not true!

I use the GL renderer with the SMPlayer front-end (on WinXP and a Readeon 1950XT card) and it works like a charm :D
Nevertheless I heard some graphics cards make problems here...

I've heard that the latest release (rc2 I believe) isn't that stable. What build are you using?
For my MPlayer package I always use the latest SVN build provided by Gianluigi Tiesi:
http://oss.netfarm.it/mplayer-win32.php

MPlayer is an OpenSource project, so you can't expect regular "stable" releases.
I guess they simply shoot out the current SVN as a new "public" release once they think enough has been changed since the last release.
Therefore I wouldn't rely on "official" releases too much ^^
So if you notice a problem, then the standard procedure is: Grab the latest SVN build and see whether it was fixed in the meantime.
If you happen to get a broken SVN build, simply revert to the previous one.

Also, is it correct to assume that switching from DirectX to GL will not cut some viewers off? Which one is the most popular? GL or DirectX?
I think DirectX is still the default/recommended one, at least on the Windows platform...

Razorholt
4th December 2007, 16:11
I'm going to try the latest SVN build :) Thanks for that.

On another note, any news on how to center the video from within a GUI? And the other issue I still have is regarding the HD clips. I can't go higher than 1024x576 :(

LoRd_MuldeR
4th December 2007, 16:21
On another note, any news on how to center the video from within a GUI? And the other issue I still have is regarding the HD clips. I can't go higher than 1024x576 :(

There is no need to center the video manually.
Simply go full screen, and it will be centered automatically ;)

In case it's not centered, you either misconfigured your filters or the GUI is borked.
Try SMPlayer and don't add any video filters manually!

Also make sure there are no video filters pre-configured in your mplayer/config.
If you really need to add any filters manually, then do it within the GUI, not in the config file!

Yong
4th December 2007, 16:47
offtopic: "-vo gl" is the default mode and its use rgb32 output which is slow, user who have ati gpu should use -vo gl:yuv=4
nvidia gpu shouls use -vo gl:yuv=6 -dr
just base of my personal experince :p

LoRd_MuldeR
4th December 2007, 16:56
offtopic: "-vo gl" is the default mode and its use rgb32 output which is slow, user who have ati gpu should use -vo gl:yuv=4

hmm, are you sure? :confused:
All the Win32 builds I have used so far used "-vo directx" as default mode...

Thanks for the "-vo gl:yuv=4" tip, I will give that a try!
But won't that leave the YUV -> RGB conversion to the hardware and thus might result in improper color conversion?

Yong
5th December 2007, 12:25
uh sorry :p
i mean the opengl default mode use rgb32, not opengl is the default renderer.
what u mean improper color conversion? incorrect black level?