[E-devel] mplayer to play gstreamer video file

2008-11-20 Thread dongmei zhou
hi all,

 I am trying  to use mplayer  to play  the   avi  video  that  saved  from
gstreamer  pipeline,

code snip:

 to get the video to file:

 pipe_desc = v4l2src !
video/x-raw-yuv,width=640,height=480,bpp=24,depth=24,framerate=15/1 !
ffmpegcolorspace ! jpegenc ! avimux  ! filesink  location=test.avi
 self.pipeline = gst.parse_launch(pipe_desc)
 self.pipeline.set_state(gst.STATE_PLAYING)

 play  the video  in mplayer:

  cmd = [/usr/bin/mplayer, -slave, -nomouseinput,
-quiet,

 -wid, str(long(videowin)),
test.avi]

it output:
  Could not determine number of frames (for absolute seek).

who  know  how  to  set  it  and  how  to  sync  the  gstreamer  and
mplayer ?

Thanks  in  advance !
-- 
BRS!
Thanks!
-
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


[E-devel] Install emotion for N800

2008-11-05 Thread dongmei zhou
hi all,

 My n800 has not emotion installed, so I want  to install it ,but  I can't
find any  deb  or packages for it
 who  have installed  the emotion in n800, please give some   suggestions
:)

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


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


[E-devel] fixing the python-edje example 03-kinetic_list

2008-11-01 Thread dongmei zhou
hi all,
python-efl examples  in  directory :
root/trunk/e17/proto/python-efl/python-edje/examples/evas-demo/03-kinetic_list
has some problems

when  running:
KineticList.clip_set(object) not implemented.
ResizableImage.clip_set(object) not implemented.
ResizableImage.show() not implemented.
who can help  fix  this :)

 ( I am  learning through  this  example )

thanks!
-
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] can't focus on swallowed part (Gustavo Sverzut Barbieri) (Gustavo Sverzut Barbieri)

2008-10-28 Thread dongmei zhou
hi,
  I just want to when  I clicked the swallowed  part  It can handle  the
event  according  to the  special  icon  part.

 a simple code :


   self.restaurant_icon=edje.Edje(self.ee.evas,

file=self.edje_file,

group=restaurant_menu)

self.restaurant.part_swallow(contents,self.restaurant_icon)


self.main_group.part_swallow(sub_menu_contents,self.restaurant)
   #self.main_group.member_add(self.restaurant) (this
line  code not work well )
   self.restaurant.signal_emit(transition,in,source)



self.main_group.part_object_get(sub_menu_contents).focus =True
   self.main_group.focus =False
   self.main_group.show()
  so  when I clicked  the  restaurant  icon ,  I  can get  the
sub_menu_contents  clicked signal , then I can SIGNAL_EMIT   the  xx
restaurant icon  clickedsignal ,but   I don't   know   how  to
recognize  which  icon  is  clicked  ,  I  want to  try  the  mouse_grab  :

  self.restaurant.mouse_grab_set( )  but It can't work

 thanks!



 I fail to understand what you have and what you're trying to do. Just
 attach a simple edje and a simple code so I can fix and send the patch
 to you.

 --
 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] can't focus on swallowed part (Gustavo Sverzut Barbieri) (Gustavo Sverzut Barbieri)

2008-10-28 Thread dongmei zhou
hi,
I  post  the working example , when I clicked the restaurant  icon ,
it will  entry   the   sub   menu   interface  , then  when  I  clicked
  all  the  sub  menu  icon  (today , history , future)  it  will  all
receive  the  signal  in  sub_menu_contents  part,  so  I  can't  deal
with  the  special sub menu  icon.  what  can  do  it ?

  2008/10/28 Gustavo Sverzut Barbieri [EMAIL PROTECTED]

 First, try to send plain text mails, doing html/rich text is hard to use.

 On Tue, Oct 28, 2008 at 9:51 AM, dongmei zhou [EMAIL PROTECTED]
 wrote:
 
  hi,
I just want to when  I clicked the swallowed  part  It can handle
  the
  event  according  to the  special  icon  part.
 
   a simple code :
 
 
 self.restaurant_icon=edje.Edje(self.ee.evas,
 
  file=self.edje_file,
 
  group=restaurant_menu)
 
  self.restaurant.part_swallow(contents,self.restaurant_icon)
 
 
  self.main_group.part_swallow(sub_menu_contents,self.restaurant)
 #self.main_group.member_add(self.restaurant) (this
  line  code not work well )

 This is because it's wrong. When you swallow, edje automatically
 member_add that object, if you member_add it to main_group it will be
 reparented and screw.

 
  self.restaurant.signal_emit(transition,in,source)

 what's this good for?


  self.main_group.part_object_get(sub_menu_contents).focus =True
 self.main_group.focus =False

 again, mouse actions have nothing to do with focus. focus is just for
 keyboard actions and you need to use
 event_callback_add(EVAS_CALLBACK_KEY_DOWN, ...)


so  when I clicked  the  restaurant  icon ,  I  can get  the
  sub_menu_contents  clicked signal , then I can SIGNAL_EMIT   the  xx
  restaurant icon  clickedsignal ,but   I don't   know   how  to
  recognize  which  icon  is  clicked  ,  I  want to  try  the  mouse_grab
  :

 without your edje it's hard to figure out what your doing wrong. Your
 code is also not enough, since nowhere you connect signals, so maybe
 you are connecting to the wrong object. Please post a working test
 (.py + .edc) somewhere. I'm not asking you to publish your real code,
 but a working example of the problem. write it as simple as possible,
 use rectangles to avoid sending pictures.

self.restaurant.mouse_grab_set( )  but It can't work

 it have nothing to do with that work.

 It's hard to help without information, sorry.

 --
 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] can't focus on swallowed part (Gustavo Sverzut Barbieri) (Gustavo Sverzut Barbieri)

2008-10-27 Thread dongmei zhou
-devel] evil trouble
 To: Samuel Nicholas [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



 On Mon, 27 Oct 2008, Samuel Nicholas wrote:

  compiles fine here too.

 ok

  patch didnt apply cleanly from latest svn tho, configure.ac and
 makefile.am i
  manually resolved

 yes, I know, but didn't have time this morning to fix that.

  having it depend on c++ for such a small thing IMHO aint all that great..
  (i was going to apply lars's patch  to test, but since it worked i wasnt
  going to mess furthur)

 actually, it's better to have c++ here: the COM interface (used for
 generating .lnk files) is C++, it's simpler than using the C interface. In
 additin, i am not sure that the previous code were working correctly...

  changing CHECK_HEADERS_ONCE wasnt necessary so i didnt put that part
 in

 it was for me. Problem with autoconf... I'll check again.

  ps.. looks like eina uses pkgconfig macro in its configure script to find
  evil and ememoa. so I suggest editing the wiki slightly :)

 Indeed. I'll do that this evening.

 thank you

 Vincent



 --

 Message: 6
 Date: Mon, 27 Oct 2008 08:03:17 -0200
 From: Gustavo Sverzut Barbieri [EMAIL PROTECTED]
 Subject: Re: [E-devel] can't focus on swallowed part (Gustavo Sverzut
Barbieri)
 To: dongmei zhou [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=UTF-8

 On Mon, Oct 27, 2008 at 12:55 AM, dongmei zhou
 [EMAIL PROTECTED] wrote:
  hi,
 
the minimum working sample of the problem and  the backtrace :
 
self.meeting =  edje.Edje(self.ee.evas,
   file=self.edje_file,
   group=sub_menu)
 
 self.meeting_icon=edje.Edje(self.ee.evas,
  file=self.edje_file,
 
  group=meeting_icon)
 self.meeting.part_swallow(contents,self.meeting_icon)
 
 
  self.main_group.part_swallow(sub_menu_contents,self.meeting)
 self.meeting.signal_emit(transition,in,source)
 
 self.main_group.focus =False
 self.main_group.part_object_get(sub_menu_contents).focus
  =True
 
  self.main_group.show()
 
when I clicked the  meeting_icon  it still output :
Mouse Clicked: sub_menu_contents  
not  the  corresponding   icon clicked .   I don't know what
  the
  proble  is ?

 the problem is that focus has nothing to do with mouse, it's just to
 know to which object keyboard events will go, and be aware that these
 events will be dispatched to parent objects (those that you do
 member_add, like swallow does).

 Possible you have something with mouse_events:1 (the default) on top
 of your swallow, or your swallowed icon has mouse_events:0 and are not
 capturing the events.

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



 --

 Message: 7
 Date: Mon, 27 Oct 2008 08:03:17 -0200
 From: Gustavo Sverzut Barbieri [EMAIL PROTECTED]
 Subject: Re: [E-devel] can't focus on swallowed part (Gustavo Sverzut
Barbieri)
 To: dongmei zhou [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=UTF-8

 On Mon, Oct 27, 2008 at 12:55 AM, dongmei zhou
 [EMAIL PROTECTED] wrote:
  hi,
 
the minimum working sample of the problem and  the backtrace :
 
self.meeting =  edje.Edje(self.ee.evas,
   file=self.edje_file,
   group=sub_menu)
 
 self.meeting_icon=edje.Edje(self.ee.evas,
  file=self.edje_file,
 
  group=meeting_icon)
 self.meeting.part_swallow(contents,self.meeting_icon)
 
 
  self.main_group.part_swallow(sub_menu_contents,self.meeting)
 self.meeting.signal_emit(transition,in,source)
 
 self.main_group.focus =False
 self.main_group.part_object_get(sub_menu_contents).focus
  =True
 
  self.main_group.show()
 
when I clicked the  meeting_icon  it still output :
Mouse Clicked: sub_menu_contents  
not  the  corresponding   icon clicked .   I don't know what
  the
  proble  is ?

 the problem is that focus has nothing to do with mouse, it's just to
 know to which object keyboard events will go, and be aware that these
 events will be dispatched to parent objects (those that you do
 member_add, like swallow does).

 Possible you have something with mouse_events:1 (the default) on top
 of your swallow, or your

[E-devel] can't focus on swallowed part

2008-10-26 Thread dongmei zhou
hi all,

 I use the following code  to give focus on the swallowed  part,but  it
can't   work .
 It still focus on the main_group , why?

code:
   self.main_group.focus =False

self.main_group.part_object_get(menu_contents).focus =True

Thanks!
-
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] can't focus on swallowed part (Gustavo Sverzut Barbieri)

2008-10-26 Thread dongmei zhou
 been dropped here will be
  *** automatically added whenever a program is linked with this library
  *** or is declared to -dlopen it.
 
  *** Since this library must not contain undefined symbols,
  *** because either the platform does not support them or
  *** it was explicitly requested with -no-undefined,
  *** libtool will only create a static version of it.
  ...
 
  which then, later on, fails completely when it goes to make the shared
 lib.
 
  libuuid.a exists at c:/msys/1.0/mingw/lib/

 Do you have the file utility installed in mingw? Having this utility
 will make libtool fail in this manor, because it will detect libraries
 differently, since file can tell the difference between a static
 library and a dll. The above also happens if you try to cross compile
 evil linux-mingw.

 IMHO it is not a libtool problem, but the problem is that evil.dll tries
 to link to at static library (uuid in this case), which is generally
 considered bad.

 I currently use the attached patch to get around this problem.

 Regards
 Lars Munch
 -- next part --
 A non-text attachment was scrubbed...
 Name: evil_uuid_build_fix.patch
 Type: text/x-diff
 Size: 1252 bytes
 Desc: not available

 --

 Message: 4
 Date: Sun, 26 Oct 2008 16:42:18 +0100 (CET)
 From: Vincent Torri [EMAIL PROTECTED]
 Subject: Re: [E-devel] evil trouble
 To: Joerg Sonnenberger [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



 On Sun, 26 Oct 2008, Joerg Sonnenberger wrote:

  On Sun, Oct 26, 2008 at 06:26:01PM +1030, Samuel Nicholas wrote:
  libuuid.a exists at c:/msys/1.0/mingw/lib/
 
  Only the static archive or also a shared library? The reason libtool is
  complaining is it only finds the former.

 the problem is that libtool is not detecting that libuuid.a is an import
 library

 Vincent



 --

 Message: 5
 Date: Sun, 26 Oct 2008 16:59:19 +0100 (CET)
 From: Vincent Torri [EMAIL PROTECTED]
 Subject: Re: [E-devel] evil trouble
 To: Lars Munch [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



 On Sun, 26 Oct 2008, Lars Munch wrote:

  IMHO it is not a libtool problem, but the problem is that evil.dll tries
  to link to at static library (uuid in this case), which is generally
  considered bad.

 it is a libtool problem, in a manner or another. Your remark:

 + * This file defines all the windows UUID used in evil. This is here
 + * since uuid.lib is a static only library and libtool does not allow
 + * you to link a DLL against a static library.

 is wrong. We can link a lib against a static lib to produce a dll. Check
 when I link against libm.a, libws2_32.a, etc... in evil or other efl lib.
 There is no dll for those lib. But libtool detects that it is an import
 lib (look at the function func_win32_libid() in ltmain.sh or libtool
 scripts) and accepts to create the dll.

 about the 'file' program, i didn't know.

 Vincent



 --

 Message: 6
 Date: Sun, 26 Oct 2008 14:07:15 -0200
 From: Gustavo Sverzut Barbieri [EMAIL PROTECTED]
 Subject: Re: [E-devel] can't focus on swallowed part
 To: dongmei zhou [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=UTF-8

 On Sun, Oct 26, 2008 at 5:22 AM, dongmei zhou [EMAIL PROTECTED]
 wrote:
  hi all,
 
   I use the following code  to give focus on the swallowed  part,but  it
  can't   work .
   It still focus on the main_group , why?
 
  code:
self.main_group.focus =False
 
  self.main_group.part_object_get(menu_contents).focus =True

 try to provide an minimum working sample of the problem and, if
 possible, the backtrace. This code should be correct, but it's hard to
 say if it's really what you want, possible you're misusing something.

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



 --

 Message: 7
 Date: Sun, 26 Oct 2008 19:44:36 +0100 (CET)
 From: Vincent Torri [EMAIL PROTECTED]
 Subject: Re: [E-devel] evil trouble
 To: Samuel Nicholas [EMAIL PROTECTED]
 Cc: enlightenment-devel@lists.sourceforge.net
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



 On Sun, 26 Oct 2008, Samuel Nicholas wrote:

  hay guise
 
  cause eina has recently been added as a dependancy i was updating my libs
 and
  ran into trouble... so i decided to start from scratch again.
  now i have a problem I didn't have before
 
  when compiling evil:
 
  *** Warning: linker path does not have real file for library -luuid.
  *** I have the capability to make that library

Re: [E-devel] enlightenment-devel Digest, Vol 30, Issue 44

2008-10-25 Thread dongmei zhou
hi all,
   Whether the   edje.Edje.part_swallow()  can't swallow  a  evas object ,
the code is :

   self.meeting_menu = Meeting_ui(self.ee.evas)

self.main_group.part_swallow(sub_menu_contents,self.meeting_menu)


File edje.c_edje_object.pxi, line 406, in edje.c_edje.Edje.part_swallow
TypeError: Argument 'obj' has incorrect type (expected evas.c_evas.Object,
got meeting_ui)

I don't know why?

the  class   as following:
class Meeting_ui(object):

  def __init__(self, evas):
self.evas = evas
self.edje_file = os.path.join(os.path.dirname(sys.argv[0]),
default.edj)
try:
self.main_group = edje.Edje(self.evas,
file=self.edje_file,
  group=sub_menu)
except edje.EdjeLoadError, e:
raise SystemExit(Error loading %s (%s) %
 (self.edje_file, e))

self.history_item=edje.Edje(self.evas,
 file=self.edje_file,

group=icon/main_item/history)
self.today_item=edje.Edje(self.evas,
  file=self.edje_file,

group=icon/main_item/today)
self.future_item=edje.Edje(self.evas,
  file=self.edje_file,

group=icon/main_item/future)
-
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