Controlling the output window in libvlc_vlm_

This forum is about all development around libVLC.
mohit839
New Cone
New Cone
Posts: 7
Joined: 27 Apr 2009 13:12

Controlling the output window in libvlc_vlm_

Postby mohit839 » 28 Dec 2009 18:38

Hello. I am new to libVLC. I am programming on Visual Studio with Win XP. I am trying to have libvlc_vlm_play_media() play the video in a window that I have created (through CreateWindowEx). I have read several posts where libvlc_media_player_set_hwnd() or libvlc_media_player_set_drawable() are used to direct the VLC output to desired window. These work out fine with libvlc_media_player_play(). However they do not work out with libvlc_vlm_play_media().

Is there a way I can control the window where video output is seen in libvlc_vlm_?

My purpose is to play multiple files simultanesouly (in a mosaic form) on the screen through libvlc_vlm_ in a window that I create/control.

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

Re: Controlling the output window in libvlc_vlm_

Postby Rémi Denis-Courmont » 28 Dec 2009 18:52

You should rather instantiate multiple media players if that's what you want to do.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mohit839
New Cone
New Cone
Posts: 7
Joined: 27 Apr 2009 13:12

Re: Controlling the output window in libvlc_vlm_

Postby mohit839 » 29 Dec 2009 12:17

Thanks Remi.

I could instantiate multiple media players without trouble. However I also wish to transcode the files and store them on the hard disk in parallel with viewing. I was not able to find a way to transcode and store files in the media player API. Is that possible? Will I have to use media player to multiple viewing and libvlc_vlm_ for transcoding and storing files.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests