[vlc-devel] Any idea to render video to a gdk_window without xwindow?

Rémi Denis-Courmont remi at remlab.net
Fri Sep 25 17:45:48 CEST 2009


Le vendredi 25 septembre 2009 18:40:49 Rémi Denis-Courmont, vous avez écrit :
> Le vendredi 25 septembre 2009 18:26:45 David Chan, vous avez écrit :
> > I've tested for many days. But i can just render the video to a
> > gdk-window via gdk_window_xid(). But hence I will have a dependency to
> > xwindow system. Frankly this is not what I want.
> > What I want is to render video to a gdk_window directly without X. The I
> >  can build a gtk-widget to render video to a gtk-window under
> >  GTK+/DirectFB. Could anybody give me some idea?
> 
> In principle, you can implement a new video display plugin (or modify the
> existing DirectFB plugin) to output the decoded video in whatever chroma
>  and dimension to a frame buffer you feel like.

Should you choose to ignore my advice, you can also tell VLC to use the vmem 
plugin, which supports arbitrary width, height, pitch, chroma and frame buffer 
address.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list