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

David Chan blacksword.david at gmail.com
Fri Sep 25 18:11:54 CEST 2009


Hi Remi,

The problem is that i have to use GTK+/directFB to save storage than GTK+/X.
Cause I have only 64MB flash.
And no video card at all.  I'm building something like bus video system.
only part of the screen is used to display video. But I have a lot feature,
then I will need GTK+ to build widgets.Maybe I have to implement a plugin to
do this, horrible.

2009/9/25 Rémi Denis-Courmont <remi at remlab.net>

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



-- 
David

Manager, Business Development
Embedio. Inc.
+86 13581953152
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090926/082208f1/attachment.html>


More information about the vlc-devel mailing list