Page 1 of 1
VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 22 Nov 2010 09:18
by broek
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
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 22 Nov 2010 21:02
by Jean-Baptiste Kempf
-Idummy (no interface)
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 01 Dec 2010 11:32
by broek
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
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 02 Dec 2010 12:02
by Jean-Baptiste Kempf
"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.
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 03 Dec 2010 17:42
by broek
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
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 03 Dec 2010 20:26
by Jean-Baptiste Kempf
I am afraid you can't do better than that.
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 07 Dec 2010 16:08
by broek
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
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 08 Dec 2010 00:53
by RĂ©mi Denis-Courmont
I am not sure this is even possible within the boundary of the EWMH specification. I'd note that VLC never had immediate fullscreen.
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 08 Dec 2010 16:08
by broek
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
seems to have changed.
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 07 Jan 2011 16:50
by broek
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
Re: VLC 1.1.5 fullscreen, unwanted titlebar
Posted: 07 Jan 2011 21:54
by erwan10
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.