[E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread dongmei zhou
hi all,

   You  know  that  Gstreamer video often is displayed  in  drawingarea
which  is   created  by  gtk.Drawingarea() function,
Is  there  any  efl object  instead of  this function  to  create a
drawingarea  to display  Gstreamer  video.
Any  examples  would  be  welcome :)

Thanks!
BRS!
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Vincent Torri


On Mon, 3 Nov 2008, thomasg wrote:

 Emotion is an Evas Smartobject and can do what you're looking for (it has
 gstreamer support).
 However, it's not well maintained, so you might not only run into problems,
 it might not even work at all (depends I guess).
 I can only quote raster: 'i think it needs a weekend of love sometime'.

a weekend of 4 or 5 days... There are lots of things to do in the 
gstreamer backend. The first one is to use the new ecore_pipe :)

Vincent

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread dongmei zhou
hi,
  thanks,  I  think you  should  know about  canola I think  the media part
of it is  implemented  by  Gstreamer.
  Am  I  right ?
BRS!

2008/11/3 Vincent Torri [EMAIL PROTECTED]



 On Mon, 3 Nov 2008, thomasg wrote:

  Emotion is an Evas Smartobject and can do what you're looking for (it has
 gstreamer support).
 However, it's not well maintained, so you might not only run into
 problems,
 it might not even work at all (depends I guess).
 I can only quote raster: 'i think it needs a weekend of love sometime'.


 a weekend of 4 or 5 days... There are lots of things to do in the gstreamer
 backend. The first one is to use the new ecore_pipe :)

 Vincent

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Dave Andreoli

- Nicolas Aguirre [EMAIL PROTECTED] ha scritto:

 2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:
 
  Gstreamer just sucks to play video on nokia devices, and doing
 extra
  copies or transformation from YUV to RGB is no-go on those
 hardwares.
  That's why canola uses atakabe to play media, it will handle
 mplayer,
  gstreamer...  mplayer is optimized and outputs YUV at half
 resolution
  using double-pixel directly to framebuffer (in fullscreen mode).
 While
  in windowed mode, Canola just use ecore_x to reparent MPlayer's
 window
  to the required position (it's a black rectangle in the theme).
 
 
 
 Exactly what I do with libplayer/mplayer in Enna :)
 

But in this way you can't have evas objects on top of the mplayer 
window...
What about the vlc backend? It seem the better way for me as, for
what I have understand, vlc doesn't use gstreamer.
Someone have tryed it?


 -- 
 Nicolas Aguirre
 Mail: [EMAIL PROTECTED]
 Web: http://www.digital-corner.org
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Gustavo Sverzut Barbieri
On Mon, Nov 3, 2008 at 11:44 AM, Dave Andreoli [EMAIL PROTECTED] wrote:

 - Nicolas Aguirre [EMAIL PROTECTED] ha scritto:

 2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:

  Gstreamer just sucks to play video on nokia devices, and doing
 extra
  copies or transformation from YUV to RGB is no-go on those
 hardwares.
  That's why canola uses atakabe to play media, it will handle
 mplayer,
  gstreamer...  mplayer is optimized and outputs YUV at half
 resolution
  using double-pixel directly to framebuffer (in fullscreen mode).
 While
  in windowed mode, Canola just use ecore_x to reparent MPlayer's
 window
  to the required position (it's a black rectangle in the theme).
 
 

 Exactly what I do with libplayer/mplayer in Enna :)


 But in this way you can't have evas objects on top of the mplayer
 window...

yes, that's the problem with such approach, but on that platform it's
the only option, really, you don't have much cpu power.

 What about the vlc backend? It seem the better way for me as, for
 what I have understand, vlc doesn't use gstreamer.
 Someone have tryed it?

it's totally buggy, needs fixing. AFAIR it calls back from thread,
which is not allowed in EFL, but people spotted different problems as
well.

Also, vlc is not an option on that platform, gstreamer is the
official media player and uses dsp for audio decoding, but mplayer
is was optimized by a guy and is the best, it does this framebuffer
tricky and also have an ARM JIT compiler for scale.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Nicolas Aguirre
2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:

 Gstreamer just sucks to play video on nokia devices, and doing extra
 copies or transformation from YUV to RGB is no-go on those hardwares.
 That's why canola uses atakabe to play media, it will handle mplayer,
 gstreamer...  mplayer is optimized and outputs YUV at half resolution
 using double-pixel directly to framebuffer (in fullscreen mode). While
 in windowed mode, Canola just use ecore_x to reparent MPlayer's window
 to the required position (it's a black rectangle in the theme).



Exactly what I do with libplayer/mplayer in Enna :)

-- 
Nicolas Aguirre
Mail: [EMAIL PROTECTED]
Web: http://www.digital-corner.org

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Gustavo Sverzut Barbieri
On Mon, Nov 3, 2008 at 1:20 PM, thomasg [EMAIL PROTECTED] wrote:
 Because of that and many many other reasons it would be really cool,
 to have a mplayer backend for emotion. :)
 But I know, it's really tricky to find a good solution, because
 mplayer isn't meant to be just a backend.

you'd have to write an Evas vo for mplayer and do sync of both
processes somehow.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread thomasg
On Mon, Nov 3, 2008 at 9:49 AM, dongmei zhou [EMAIL PROTECTED]wrote:

 hi all,

   You  know  that  Gstreamer video often is displayed  in  drawingarea
 which  is   created  by  gtk.Drawingarea() function,
 Is  there  any  efl object  instead of  this function  to  create a
 drawingarea  to display  Gstreamer  video.
 Any  examples  would  be  welcome :)


Emotion is an Evas Smartobject and can do what you're looking for (it has
gstreamer support).
However, it's not well maintained, so you might not only run into problems,
it might not even work at all (depends I guess).
I can only quote raster: 'i think it needs a weekend of love sometime'.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread thomasg
Because of that and many many other reasons it would be really cool,
to have a mplayer backend for emotion. :)
But I know, it's really tricky to find a good solution, because
mplayer isn't meant to be just a backend.

On 11/3/08, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote:
 On Mon, Nov 3, 2008 at 11:44 AM, Dave Andreoli [EMAIL PROTECTED]
 wrote:

 - Nicolas Aguirre [EMAIL PROTECTED] ha scritto:

 2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:

  Gstreamer just sucks to play video on nokia devices, and doing
 extra
  copies or transformation from YUV to RGB is no-go on those
 hardwares.
  That's why canola uses atakabe to play media, it will handle
 mplayer,
  gstreamer...  mplayer is optimized and outputs YUV at half
 resolution
  using double-pixel directly to framebuffer (in fullscreen mode).
 While
  in windowed mode, Canola just use ecore_x to reparent MPlayer's
 window
  to the required position (it's a black rectangle in the theme).
 
 

 Exactly what I do with libplayer/mplayer in Enna :)


 But in this way you can't have evas objects on top of the mplayer
 window...

 yes, that's the problem with such approach, but on that platform it's
 the only option, really, you don't have much cpu power.

 What about the vlc backend? It seem the better way for me as, for
 what I have understand, vlc doesn't use gstreamer.
 Someone have tryed it?

 it's totally buggy, needs fixing. AFAIR it calls back from thread,
 which is not allowed in EFL, but people spotted different problems as
 well.

 Also, vlc is not an option on that platform, gstreamer is the
 official media player and uses dsp for audio decoding, but mplayer
 is was optimized by a guy and is the best, it does this framebuffer
 tricky and also have an ARM JIT compiler for scale.

 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: [EMAIL PROTECTED]
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Gustavo Sverzut Barbieri
On Mon, Nov 3, 2008 at 9:58 AM, dongmei zhou [EMAIL PROTECTED] wrote:
 hi,
  thanks,  I  think you  should  know about  canola I think  the media part
 of it is  implemented  by  Gstreamer.
  Am  I  right ?

Gstreamer just sucks to play video on nokia devices, and doing extra
copies or transformation from YUV to RGB is no-go on those hardwares.
That's why canola uses atakabe to play media, it will handle mplayer,
gstreamer...  mplayer is optimized and outputs YUV at half resolution
using double-pixel directly to framebuffer (in fullscreen mode). While
in windowed mode, Canola just use ecore_x to reparent MPlayer's window
to the required position (it's a black rectangle in the theme).


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Vincent Torri


On Mon, 3 Nov 2008, Gustavo Sverzut Barbieri wrote:

 On Mon, Nov 3, 2008 at 1:20 PM, thomasg [EMAIL PROTECTED] wrote:
 Because of that and many many other reasons it would be really cool,
 to have a mplayer backend for emotion. :)
 But I know, it's really tricky to find a good solution, because
 mplayer isn't meant to be just a backend.

 you'd have to write an Evas vo for mplayer and do sync of both
 processes somehow.

i wanted to write one at some point, but i have so few time that i gave up


Vincent

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread Nicolas Aguirre
2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:
 On Mon, Nov 3, 2008 at 1:20 PM, thomasg [EMAIL PROTECTED] wrote:
 Because of that and many many other reasons it would be really cool,
 to have a mplayer backend for emotion. :)
 But I know, it's really tricky to find a good solution, because
 mplayer isn't meant to be just a backend.

 you'd have to write an Evas vo for mplayer and do sync of both
 processes somehow.


We should look at libplayer (libplayer.geexbox.org), which is a
wrapper that controls mplayer process in slave mode,
After that, as Gustavo said, write a buffer vo for mplayer like it's
done in vlc.
AFAIR mplayer can be only controlled in slave mode.

my 2 cents.

-- 
Nicolas Aguirre
Mail: [EMAIL PROTECTED]
Web: http://www.digital-corner.org

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread The Rasterman
On Mon, 3 Nov 2008 16:20:23 +0100 thomasg [EMAIL PROTECTED] babbled:

 Because of that and many many other reasons it would be really cool,
 to have a mplayer backend for emotion. :)

that is impossible as mplayer has no interface to provide yuv data to a caller.
thus no backend exists. until mplayer has such a facility (out of the box -
without patching mplayer) an emotion engine can never exist.

emotion is not the most efficient video player - in software rendering it does
software yuv-rgb(32) conversion then scales in rgba space. the performance is
actually quite astounding considering how much it actually does going the long
way. if you use the gl engine its the same efficiency as mplayer/xine with xv.
the yuv-rgb + scaling is done in hardware (with a fragment shader) and the
upload to video mem is the same path as xv pretty much, so you'll see the same
cpu overhead there with full emotion + scaleable/fadable/layerable objects and
just regular boring xv.

 But I know, it's really tricky to find a good solution, because
 mplayer isn't meant to be just a backend.
 
 On 11/3/08, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote:
  On Mon, Nov 3, 2008 at 11:44 AM, Dave Andreoli [EMAIL PROTECTED]
  wrote:
 
  - Nicolas Aguirre [EMAIL PROTECTED] ha scritto:
 
  2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:
 
   Gstreamer just sucks to play video on nokia devices, and doing
  extra
   copies or transformation from YUV to RGB is no-go on those
  hardwares.
   That's why canola uses atakabe to play media, it will handle
  mplayer,
   gstreamer...  mplayer is optimized and outputs YUV at half
  resolution
   using double-pixel directly to framebuffer (in fullscreen mode).
  While
   in windowed mode, Canola just use ecore_x to reparent MPlayer's
  window
   to the required position (it's a black rectangle in the theme).
  
  
 
  Exactly what I do with libplayer/mplayer in Enna :)
 
 
  But in this way you can't have evas objects on top of the mplayer
  window...
 
  yes, that's the problem with such approach, but on that platform it's
  the only option, really, you don't have much cpu power.
 
  What about the vlc backend? It seem the better way for me as, for
  what I have understand, vlc doesn't use gstreamer.
  Someone have tryed it?
 
  it's totally buggy, needs fixing. AFAIR it calls back from thread,
  which is not allowed in EFL, but people spotted different problems as
  well.
 
  Also, vlc is not an option on that platform, gstreamer is the
  official media player and uses dsp for audio decoding, but mplayer
  is was optimized by a guy and is the best, it does this framebuffer
  tricky and also have an ARM JIT compiler for scale.
 
  --
  Gustavo Sverzut Barbieri
  http://profusion.mobi embedded systems
  --
  MSN: [EMAIL PROTECTED]
  Skype: gsbarbieri
  Mobile: +55 (19) 9225-2202
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel