VLC 1.1.5 fullscreen, unwanted titlebar

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
broek
New Cone
New Cone
Posts: 7
Joined: 19 Nov 2010 16:23

VLC 1.1.5 fullscreen, unwanted titlebar

Postby broek » 22 Nov 2010 09:18

Hello,

Before upgrading from 1.0.1 to 1.1.5 we were invoking VLC from our application (amongst other parameters) with "--qt-start-minimized --fullscreen", the behaviour of --qt-start-minimized seems to have changed, so VLC is not showing. When omitting this parameter VLC shows up, but when starting the titlebar of the windows appears for a very short, but still unwanted, moment on the screen. How could we prevent this?

regards,
Jan v/d Broek

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby Jean-Baptiste Kempf » 22 Nov 2010 21:02

-Idummy (no interface)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

broek
New Cone
New Cone
Posts: 7
Joined: 19 Nov 2010 16:23

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby broek » 01 Dec 2010 11:32

Thanks for your answer, however I'm still seeing the window borders for a very small moment.
I'm invoking VLC with:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --codec=dmo --no-osd --no-qt-system-tray --no-qt-notification --no-qt-error-dialogs --no-qt-fs-controller --fullscreen --no-qt-privacy-ask --album-art=0 -Idummy --no-qt-updates-notif "C:\t n c\client\Content\866.avi"
Am I missing an option?

regards,
Jan v/d Broek

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby Jean-Baptiste Kempf » 02 Dec 2010 12:02

"C:\Program Files\VideoLAN\VLC\vlc.exe" --codec=dmo --no-osd --fullscreen --album-art=0 -Idummy "C:\t n c\client\Content\866.avi"
should be the best you can do right now.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

broek
New Cone
New Cone
Posts: 7
Joined: 19 Nov 2010 16:23

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby broek » 03 Dec 2010 17:42

Again, thanks for your reaction.
"C:\Program Files\VideoLAN\VLC\vlc.exe" --codec=dmo --no-osd --fullscreen --album-art=0 -Idummy "C:\t n c\client\Content\866.avi"
should be the best you can do right now.
I've tried this also, but I keep seeing, albeit for a very brief moment, a black rectangle of the original size of the movie, and the windowborders expanding to fullscreen, which is what I don't want. I'm looking for an option to have the fullscreen mode being visible immediately.

Regards,

Jan v/d Broek

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby Jean-Baptiste Kempf » 03 Dec 2010 20:26

I am afraid you can't do better than that.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

broek
New Cone
New Cone
Posts: 7
Joined: 19 Nov 2010 16:23

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby broek » 07 Dec 2010 16:08

Are there any plans to make it possible to get an immediate fullscreen for VLC?
How hard would it be for us to modify VLC to get the wanted behaviour?
Is there a technical reason for the behaviour as it is now?

TIA.

Regards,

Jan v/d Broek

Rémi Denis-Courmont
Developer
Developer
Posts: 15326
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby Rémi Denis-Courmont » 08 Dec 2010 00:53

I am not sure this is even possible within the boundary of the EWMH specification. I'd note that VLC never had immediate fullscreen.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

broek
New Cone
New Cone
Posts: 7
Joined: 19 Nov 2010 16:23

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby broek » 08 Dec 2010 16:08

I am not sure this is even possible within the boundary of the EWMH specification. I'd note that VLC never had immediate fullscreen.
Perhaps it was never intended having it, but with VLC 1.0.1 (on Windows XP) this:

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc.exe" --codec=dmo --no-osd --no-qt-system-tray --no-qt-notification --no-qt-error-dialogs --no-qt-fs-controller --qt-start-minimized --fullscreen --no-qt-privacy-ask --album-art=0 --no-qt-updates-notif "C:\t n c\client\Content\866.avi
gives me what I want. However the behaviour of

Code: Select all

--qt-start-minimized
seems to have changed.

broek
New Cone
New Cone
Posts: 7
Joined: 19 Nov 2010 16:23

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby broek » 07 Jan 2011 16:50

How hard would it be for us to modify VLC to get the wanted behaviour?
If someone can shed any light on this, it would be appreciated; how hard would it be for us to modify VLC (just a windows-version) in order to have immediate fullscreen?

regards,

Jan v/d Broek

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: VLC 1.1.5 fullscreen, unwanted titlebar

Postby erwan10 » 07 Jan 2011 21:54

There is indeed a limitation that could be worked out.

As of today, a "window provider" is looked for with a whole set of initial parameters (x, y, width, height, is_standalone). Unfortunately, fullscreen is not passed at this level, but only in a subsequent call. This results in the interfaces (skins2, qt4, dummy, ...) creating, sizing and displaying a windowed video, then only eventually switching to fullscreen.

Should fullscreen mode be passed as another initial parameter, the dummy interface could directly size the window to be fullscreen. On Windows, there should be no problem. On Linux, fullscreen is set via a EWMH call (no direct sizing). So an explicit resizing may be needed (to be checked) if EWMH fullscreen feature doesn't work on a hidden window.

Regarding "real" interfaces (qt4 or skins2), they will still appear because there is no reason to hide them (albeit may be the --qt-start-minimized parameter that I don't know). But you won't see any longer the unpleasant fleeting intermediary resizing in windowed mode before going fullscreen. Using the dummy interface, you should really get a clean fullscreen.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests