multiple video output renderer

This forum is about all development around libVLC.
Fleurette_51
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Jun 2009 01:57

multiple video output renderer

Postby Fleurette_51 » 13 Jan 2010 16:58

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 .

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

Re: multiple video output renderer

Postby Rémi Denis-Courmont » 13 Jan 2010 19:01

This is not supported with the LibVLC API. You would need to grab the video frames and render them yourself on two windows.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Fleurette_51
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Jun 2009 01:57

Re: multiple video output renderer

Postby Fleurette_51 » 13 Jan 2010 19:16

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 !!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests