Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2309 closed enhancement (invalid)

green screen

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

Description

Hello,

I launch Mplayer from a c++ application, and when the video stop, I see a green screen, before I draw something else in my app.

If you move the video screen, you can see the MPlayer windows which is green below.
It would be better if this screen was white, this goes unnoticed, while green is a little ugly, and user sees it.

It happens in the last version at this date. 1.3
Thank you for changing that.
Francois

Change History (6)

comment:1 by ib, 8 years ago

Some more information is necessary, like code example or such.

What do you do in your application?
How do you launch MPlayer?
What is your OS?

The GUI's video window will be drawn according to the skin's video window block description.

comment:2 by francois, 8 years ago

Hello,

Look at the video at : https://www.dropbox.com/sh/kx6198d3ynriomb/AAASq04ANRwVtQ_vdxm7jeida?dl=0

I launch Mplayer from a c++ application under windows (any version)

sprintf(ligne,"%s
mplayer.exe -input nodefault-bindings -noconfig all sdl-output %s
video.mp4",path,path);
Convert(ligne);
PROCESS_INFORMATION pi;
BOOL fRet = CreateProcess(NULL,

wstring,
NULL,
NULL,
FALSE,
CREATE_NO_WINDOW,
NULL,
NULL,
&sui,
&pi);

In the video, you can see I move the top window of mplayer, then I can see the main application window which is green, and this window (green) appears at the end of the video when mplayer exits. When, normally, we go to the end of the video, the screen of my application appears again.

There is a problem with my capture software, that hasn't capture the video (film), and just the window (green) below the film.
To reproduce the problem, go to the top of the screen, left click, and drag the window until you can see the green window.

Is there parameter for disabling Windows Mouse pointer, when the video is shown in full screen ?
Coud you add a parameter for preventing the user move the video screen in full screen mode ?

Sincerely,

Francois

comment:3 by ib, 8 years ago

Component: GUIvo
Owner: changed from ib to beastd

This is not about the GUI, but presumably about the video output driver under Windows. Sorry, not my department.

comment:4 by francois, 8 years ago

can you transfer to the good person / department ?
or tell me which parameter I must choose on the server ?

in reply to:  2 comment:5 by beastd, 8 years ago

Resolution: invalid
Status: newclosed

Hello Francois!

Replying to francois:
[...]

In the video, you can see I move the top window of mplayer, then I can see the main application window which is green, and this window (green) appears at the end of the video when mplayer exits. When, normally, we go to the end of the video, the screen of my application appears again.

There is a problem with my capture software, that hasn't capture the video (film), and just the window (green) below the film.
To reproduce the problem, go to the top of the screen, left click, and drag the window until you can see the green window.

This all sounds very much like you are using an MPlayer vo module that uses your graphics card's video overlay. For that it will use color keying to let the graphics card know where the video should be drawn. MPlayers default color key is green. You should be able to change it via the -colorkey option.

Using such a common color as white, would not generally be a good idea because if a window with white content would (partially) obscure the video output window, the video would stille be drawn into the white parts of that window.

You could also try out other MPlayer video output modules like -vo gl or -vo direct3d.

Is there parameter for disabling Windows Mouse pointer, when the video is shown in full screen ?
Coud you add a parameter for preventing the user move the video screen in full screen mode ?

This is off-topic for this ticket, but you may want to look up -wid option.

You can find the options mentioned in MPlayer's man page:

https://mplayerhq.hu/DOCS/man/en/mplayer.1.html

comment:6 by beastd, 8 years ago

Replying to francois:

Hello,

Thank you for your answer.

[...]

if this message is not private, delete it after reading

I deleted your comment.

Please note this is a public bug tracker.

Note: See TracTickets for help on using tickets.