Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Posts
    9

    Grin VLC Plugin with "Apply custom window mask" ?

    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.

  2. #2
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.

  3. #3
    Join Date
    Nov 2006
    Posts
    9
    Quote Originally Posted by Centauri Soldier View Post
    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...

  4. #4
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Try this link. The answer you seek is probably in the VLC documentation.

    http://www.videolan.org/doc/

  5. #5
    Join Date
    Nov 2006
    Posts
    9

    Huh?

    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!

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    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.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Nov 2006
    Posts
    9
    Quote Originally Posted by RizlaUK View Post
    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.

  8. #8
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by Medox View Post
    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.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  9. #9
    Join Date
    May 2006
    Posts
    1,443
    has VLC an ActiveX control as an alternative to player application ...?

  10. #10
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by reteset View Post
    has VLC an ActiveX control as an alternative to player application ...?
    Yes it does.
    Dermot

    I am so out of here

Similar Threads

  1. Question about WinApi Plugin and Pop-up window
    By karimo in forum AutoPlay Media Studio 7.5
    Replies: 0
    Last Post: 08-12-2008, 10:26 AM
  2. Replies: 0
    Last Post: 04-15-2008, 04:36 PM
  3. Window Not Apearing As Custom Mask !
    By mlc in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 02-12-2004, 06:45 AM
  4. Question on masking for custom shape window
    By julietimm in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 01-23-2004, 10:35 AM
  5. Custom window using masks!
    By lyndon in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 12-22-2003, 01:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts