Re: [Libxine-java-devel] Capabilities and future
Status: Beta
Brought to you by:
freckle
From: Kristian L. L. <wa...@pa...> - 2008-09-24 15:18:45
|
What i actualy was going for, was more like LinuxMCE. That has a navigation bar on the bottom, which throws up translucent menues over the video. I know LinuxMCE also uses xine, but i don't think it uses OSD though. That's why i was led to the idea of maybe look into some 3d libraries. Anyway, it isn't a vital feature in my media center idea, though it'd be cool. Matthias Ringwald skrev: > > On Sep 24, 2008, at 7:26 AM, Kristian Lindemann Larsen wrote: > >> Nice class. >> I've been trying to figure out something about coloring, but i'm pretty >> stuck. When drawing text i guess it's limited, but what about drawing >> lines and stuff? There's an integer argument to ex. drawline which >> defines color, but can't seem to figure out how to use it. I've tried >> differing values, but only gets translucent black to white. > As far as I understand the xine documentation, you can use a > palette of max 256 colors. the color integer in the draw* methods specify > the color index into the color table/palette. > To actually set the at color, the xine_osd_set_palette function is used > which I did not wrap yet, as it require to pass on pointers. Adding this > isn't hard but will probably require bits of native code. I will add that > in the next days. > >> Is it possible to draw advanced graphics on the OSD? > I guess this depends on your definition of "advanced". I don't know > if you show e.g. a album cover, but showing a volume control, > a slider for seeking, the time, some text will be fine. check out the > oxine project which uses xine for a media center and only uses > OSD for everything. http://oxine.sourceforge.net/ > now that I looked at it, too, I can see from their screenshots that > they even have album cover. Ok, I will have to look at the source > to see, if they use the standard xine mechanisms or do something else. > >> I'm planning to look in to JOGL (opengl bindings) you know if there's >> any issues or anything? > In addition to JOGL, also have a look at LWJGL http://www.lwjgl.org/ > anyway. no I don't think there are any issues with using JOGL or LWJGL > for doing OpenGL drawing... as long as you don't intend to show OpenGL > and videos in the same window... > Jokes aside, without changes to the internals of e.g. xine, they would > not > work togehter. what I can imagine is to use opengl for showing a 3d scene > and having a video playing on a "virtual" wall inside the 3d world. > both the xine opengl output plugin (used for x11) and the xine mac os x > video output plugin make use of open gl to just copy a video frame to > the screen by creating the frame in opengl texture. if the frame is a > texture > it can be copied anywhere into the 3d scene, in any shape. > however, I never tried this or have seen an example of this. > > > about the 64-bit stuff. a colleague of mine has an AMD64 ubuntu > installation > and is away, so I can check what's going on between libxine-java and the > native code. > > cheer,s > matthias |