Page 1 of 1

multiple video output renderer

Posted: 13 Jan 2010 16:58
by Fleurette_51
Hi all

How could i set multiple video output for a mediaPlayer ?
I m using my own java binding. I use : libvlc_media_player_set_hwnd (libvlc_media_player_t *p_mi, void *drawable, libvlc_exception_t *p_e) to set a video output renderer.
I've two screen (1 screen + TV) and i send it a unicast stream wich i would like to display on both (one frame with my own interface on each screen), so i can't use a new instance to "reread" the stream (cause it is unicast) ...
I know i could stream in multicast and use one mediaPlayerInstance for each frame (actualy "Canvas" in my frames), but i can't cause by this way multicast really sux with my wifi connection (i don't really know why, but all my tests point it of...) and it will be a real wast of CPU ressource ...

Thanks all for any idea .

Re: multiple video output renderer

Posted: 13 Jan 2010 19:01
by RĂ©mi Denis-Courmont
This is not supported with the LibVLC API. You would need to grab the video frames and render them yourself on two windows.

Re: multiple video output renderer

Posted: 13 Jan 2010 19:16
by Fleurette_51
thx Remi ( u answer to all my posts today :D )

So now a new story is beginning for me :shock: ... grab a canvas to "duplicate" it ... in java ... what a mess !!