is there a function play on window ?

This forum is about all development around libVLC.
whatsup
New Cone
New Cone
Posts: 1
Joined: 11 Jan 2015 04:53

is there a function play on window ?

Postby whatsup » 11 Jan 2015 05:15

hey all
what i'm after is how to make vlc play/stop/pause ... a stream on a window handle i give it, without gui controls
the playback gui controls are mine
vlclib only will react to commands i (the programmer) will send it

something like:

lvclibSTREAM myVideoStream;
myVideoStream = vlclib_open("c:\\myvideo.mpg");
vlclib_playOnHWND(myVideoStream, from, to, myHwnd);
vlclib_pause(myVideoStream);
vldlib_seek(myVideoStream, position);

thanks in advanced

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: is there a function play on window ?

Postby mangokm40 » 12 Jan 2015 21:46

Check out the docs for "libvlc_media_player_set_hwnd"


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests