View Full Version : VLC Plugin with "Apply custom window mask" ?
Medox
12-02-2008, 08:06 PM
Hello,
Is there a way to embed a video in my autoplay menu and use VLC (Portable) to play it ? No gui, nothing... just the video, played by VLC. On double-click => FullScreen and after pressing ESC => back to the autoplay menu. A great feature would be a addable custom window mask. :)
Is there something like this? A plugin or a workaround...
Thanks.
Centauri Soldier
12-02-2008, 08:10 PM
I think you would need to include a copy of the VLC player with your application then use File.Run to start VLC and pass the video file as an argument to the VLC program.
Medox
12-02-2008, 08:18 PM
I think you would need to include a copy of the VLC player with your application then use File.Run to start VLC and pass the video file as an argument to the VLC program.
I've already tried this but it runs the file in the vlc gui or fullscreen, not really embedded in my autoplay menu and no window mask option at all...
Centauri Soldier
12-02-2008, 08:23 PM
Try this link. The answer you seek is probably in the VLC documentation.
http://www.videolan.org/doc/
Medox
12-18-2008, 01:26 PM
Thanks for the suggestions but their documentation can't replace a plugin or video object neither.
VLC (portable) is the best for any autoplay menu, it's codec independent and many many more... I can't believe there isn't a special plugin for it yet, that could also add a mask to the video.
It's a must have!
RizlaUK
12-18-2008, 05:28 PM
the information is right there in the docs, you just need to know how to use it!
How to write a video output plug-in
A video output takes care of the system calls to display the pictures and manage the output window. Have a look at plugins/x11/vout_x11.c. You must write the following functions :
int vout_Probe ( probedata_t *p_data ) : Returns a score between 0 and 999 to indicate whether it can run on the architecture. 999 is the best. p_data is currently unused.
int vout_Create ( vout_thread_t *p_vout ) : Basically, initializes and opens a new window. Returns TRUE if it failed.
int vout_Init ( vout_thread_t *p_vout ) : Creates optional picture buffers (for instance ximages or xvimages). Returns TRUE if it failed.
vout_End ( vout_thread_t *p_vout ) : Frees optional picture buffers.
vout_Destroy ( vout_thread_t *p_vout ) : Unmaps the window and frees all allocated resources.
int vout_Manage ( vout_thread_t *p_vout ) : Manages events (including for instance resize events).
vout_Display ( vout_thread_t *p_vout ) : Displays a previously rendered buffer.
vout_SetPalette ( vout_thread_t *p_vout, u16 *red, u16 *green, u16 *blue, u16 *transp ) : Sets the 8 bpp palette. red, green and blue are arrays of 256 unsigned shorts.
Medox
12-19-2008, 02:08 PM
you just need to know how to use it!
Yes and don't know how... if you guys thought I'm good at this, my bad. So please help. ;)
p.s. I still think a must have plugin shoundn't go this way: "here is the documentation for it, you just need to know how to use it", to write a write a video output plug-in, etc. No offence.
Imagine Programming
12-19-2008, 02:48 PM
Yes and don't know how... if you guys thought I'm good at this, my bad. So please help. ;)
p.s. I still think a must have plugin shoundn't go this way: "here is the documentation for it, you just need to know how to use it", to write a write a video output plug-in, etc. No offence.
Well that's not what he said, and he's IS helping you. So respect the help or don't ask.
reteset
12-19-2008, 04:08 PM
has VLC an ActiveX control as an alternative to player application ...?
Dermot
12-19-2008, 04:34 PM
has VLC an ActiveX control as an alternative to player application ...?
Yes it does.
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.