On Tue, 15 Mar 2005 15:00:53 +0000 Simon Wistow <[EMAIL PROTECTED]> babbled:
(B
(B> At work I need to build what amounts to a movie browsing gui for a set
(B> top box. At the moment it's done with a god awful combination of PHP,
(B> Firefox and some of the most evil DHTML I've ever seen and I've been
(B> tasked with rewriting it.
(B
(Boh GOD no! how much morphine do they have you on for you to be able to sleep at
(Bnight? god FORBID! poop STB!
(B
(B> I started thinking about using EFL stuff since it seems awfully sane
(B> and, due to the industry this STB is targeted at, the ability to
(B> lavishly slather on some eye candy will go down a treat.
(B
(BEFL is very nicely geared to doing this kind of thing - with all the fanciness
(Bto boot. basically custom ui's is it's strong point,a nd we're improving that as
(Bwe go.
(B
(B> E already has a lot of currency with the managers at work since I built
(B> a dailies/rushes system using Imlib2 - although apparently not enough
(B> currency to let me officially release my loaders for various filmic
(B> formats (OpenEXR, Cineon, DPX and SGI RGB).
(B
(Bthat's ok :) the intention was to allow companies to use it and if they need to
(Bwrite things for themselves, they don't have to give it back. mind you - if we
(Bchange loader api you have to do all your own maintenance etc. :) when i make
(Bevas have loadable loaders the api will be different, and i will make imlib2 and
(Bevas share image loader modules... and in this case you lose :( anyway - it's
(Byour choice :) that's the point :)
(B
(B> The pertinent points are
(B>
(B> - needs to be able to be controlled by Lirc
(B
(Bnot hard. lirc is run over a unix socket protocol from lircd (lircd does the
(Bdevice handling/decode/mapping etc. then punts back events via a unix socket - i
(Bcan't remember the file location, but you could use ecore_con or open the socket
(Byourself or use existing lirc code and use ecore's fd handlers to just manage
(Bcallbacks when data comes down the pipe). you need to write the glue here - it's
(Bnot "done for you" yet (i always thought lirc having a separate device was a bit
(Bscrewey - it should just be merged into the console/keyboard stream like another
(Bkeyboard)
(B
(B> - needs to dynamically read the contents of a directory and then have
(B> a browseable list menu depending on the files and their associated
(B> meta data (clip names, authors, thumbnails, timestamp etc etc)
(B
(Beasy - done it before myself. read dir, go thru each file.. figure what to do
(Bwith it :) with emotion and evas/imlib2 the files could have thumbnails for
(Bimages - and for movies you could even have the thumbnail be the video itself -
(Beven playing :) NB emotion has a small bug atm with xine and 2.6 kernels - it
(Bdoesn't autoplay at the start. not sure what's up - i just haven't had time to
(Bfix it as it's not a priority.
(B
(B> - needs to be able to launch a Unichome/CLE266 accelerated movie player
(B> with the chosen clip. Xine and Mplayer both use the Xvmc accelerated
(B> driver. Can Emotion?
(B
(Bemotion's video output is via evas entirely. if you use the software renderer...
(Bguess what - everything goes via software. emotions pipeline is very heavily
(Bsoftware biased as it does yuv->rgb in software all the time (as i couldn't find
(Bany docs on how to do yuv textures in ogl on linux at ALL i gave up tying to fix
(Bthe pipeline for ogl for emotion). it can't use xvideo/xvmc due to colorspaces.
(Bevas is ARGB. xvidoe is yuv. yuv generally has the U and V planes (the color
(Binformation) at a lower resolution (half) of the Y (brightness) and this leads
(Bto "blurrieness" and "color bleeding" (thats why a pure image looks better than
(Ba still from a high quality mpeg even at the same res). so no it can't use it :(
(BBUT in theory. anyway - it's a complex game to get into where speed vs quality
(Btradeoffs are all over and then there's the proprietary hardware bit and if you
(Bhave specs or not etc. basically IF you can get the hardware specs to do YUV to
(Bframebuffer expansion WITHOUT a color keyed overlay... your'e in business
(B(either via opengl or any other mechanism) as for emotion/evas, unlike video
(Boverlays, video is "just another canvas object" and not some special layer that
(Byou then may have layers blended on top of. this way you can make lists of
(Bthumbnailed live video and treat it it like just another bit of data you
(Bdisplay.
(B
(Banyway - if you can find out how to do yuv0->rgb in hardware WITHOUT a video
(Boverlay... you're in business there and don't even need mplayer. (nb emotion has
(Ba modular back end - currently we have a xine module... but more could be made)
(B
(B> What I like about using Edje is that we could build different themese
(B> for different clients easily so that each one could have a personalised
(B> STB.
(B
(Bthats one of its many uses - yup :) you can then swallow objects in objects, mix
(Band match generated objects vs. theme defined (edje) etc.
(B
(B> So - can I do all this in Edje or am I going to need to do some
(B> combination of Edje API + other EFL APIs?
(B
(Boh you'll need combinations. each lib is more or less specific to one thing. you
(Btake what you need, dont take what you don't need. :)
(B
(B> Also, if so, are there any scripting language bindings for the relevant
(B> APIs? I already have various routines for reading the meta data files in
(B> PHP and Perl.
(B
(Bruby is gaining lots of bindings thanks to tillman :)
(B
(B--
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
$BMg9%B?(B [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BSF email is sponsored by - The IT Product Guide
(BRead honest & candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now.
(Bhttp://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel