Page 1 of 1

Controlling the output window in libvlc_vlm_

Posted: 28 Dec 2009 18:38
by mohit839
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.

Re: Controlling the output window in libvlc_vlm_

Posted: 28 Dec 2009 18:52
by RĂ©mi Denis-Courmont
You should rather instantiate multiple media players if that's what you want to do.

Re: Controlling the output window in libvlc_vlm_

Posted: 29 Dec 2009 12:17
by mohit839
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.