Re: [clutter] CEX100 EGL Backend Keyboard Input

2010-11-09 Thread Damien Lespiau
[Forwarding to the new mailing list on clutter-project.org, please use
this one from now on]

On Tue, 2010-11-09 at 08:48 +, Jake Knickerbocker wrote:
 Hi there,

Hi,

 Is anyone else doing keyboard input with an Intel CE4100?  I looking it 
 over now and wondering of there's a quick and easy way to do this.  I 
 see a library called keylib floating around, but it seems a bit old.

The upstream way of isolating the keyboard mapping from X is called
libxbkcommon:
  http://cgit.freedesktop.org/xorg/lib/libxkbcommon/

Coupled with lib(g)udev for device discovery/hotplug and evdev devices
you have a solid base for input events on Linux.

 What is the recommended way to handle input for Clutter in this case?

I've started a branch to support evdev devices called wip/evdev:
  http://git.clutter-project.org/clutter/log/?h=wip/evdev
The evdev event backend works for keyboards, supports hotplug. Next
stop, mice (and possibly other devices exposed by the evdev driver).

The branch sits on top of master, but it's possible to use the backend
on earlier versions (1.4 / 1.2) with fiddling a bit with the build
system.

HTH,

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Clutter-gst problem

2010-06-14 Thread Damien Lespiau
On Mon, 2010-06-14 at 06:26 +0100, Rob Kramer wrote:
 Hey all

Hi,

 I noticed the video-player example in clutter-gst is a bit broken in git 
 master. The video's colours are all wrong,

I assume you mean clutter master here.

  With some manual bisecting, I 
 found that it's introduced by:
 
   commit ce6e80315e17f2e671e2709268f580add757f596
   Author: Robert Bragg rob...@linux.intel.com
   Date:   Mon Apr 26 10:01:43 2010 +0100
 
   material: Adds backend abstraction for fragment processing
 
 Any idea what this issue could be? Could someone else test video-player 
 perhaps? This happens on both Intel and Nvidia GPUs btw.

Robert has basically rewritten the way Materials (The abstraction used
to fill geometry) work. While the conformance tests are passing, some
bugs still need to be crushed, it's so bleeding edge I did not even have
the opportunity to test clutter-gst against it (but knew it was likely
to break things).

Tracking clutter master can be dangerous at times, but thanks for
reporting this, it needs to be fixed indeed. Meanwhile, if you need some
stable version, can I suggest to use 1.2.10 instead? (1.3.x are
development versions leading to the 1.4.x stable versions).

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Error in opening pdf file using pdfviewer

2010-03-31 Thread Damien Lespiau
On Wed, 2010-03-31 at 15:39 +0100, Ashish Kumar wrote:
 Hi,

Hi,

 I compiled moblin-sdk-example/apps/pdfviewer from 
 git clone git://git.moblin.org/moblin-sdk-examples
 
 Compilation is successful but when I run pdfviewer with a pdf file as
 input. I get an error.
 Please find log and let me know what be the issue.

 ** (pdfviewer:32264): DEBUG: PDF URI was ./Interrupt.pdf
 
 ** ERROR **: Error opening PDF: The URI './Interrupt.pdf' is not an
 absolute URI using the file scheme

The error messages even tell you what is wrong: you need to give an
URI[1] to the file you want to load.

file:///absolute/path/to/Interrupt.pdf

HTH,

-- 
Damien

[1] http://en.wikipedia.org/wiki/Uniform_Resource_Identifier

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Clutter, Pyton, Gstreamer and V4L2

2010-02-16 Thread Damien Lespiau
On Tue, 2010-02-16 at 12:34 +, Matej Kupljen wrote:
 Damien,
 
  It's not possible to use xvimagesink with Clutter directly. You could
  try to use Xv + GLX_EXT_texture_from_pixmap (through, for instance,
  clutter_glx_texture_pixmap_new_with_pixmap ()).
 
 I used GIT version of clutter, clutter-gst, pyclutter and pyclutter-gst and
 modified the code, to use a
 
 self.player_wnd = clutter.glx.TexturePixmap()
 
 and passed the window to cluttergst.VideoSink(self.player_wnd),
 but the performance stayed the same.
 
 Did you mean something else, or I am doing it wrong?

Yes, I mean something else, something that you can't do with the current
API. You'll need to change the whole logic of the sink/VideoTexture to
use:
1/ Xv (possibly through xvimagesink) to render into a Pixmap
2/ create a new GL texture from that Pixmap using TFP

Note that this is a workaround that tries to leverage Xv while
clutter-gst tries to remain decoupled from X and uses OpenGL.

-- 
Damien

-
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


Re: [clutter] Clutter, Pyton, Gstreamer and V4L2

2010-02-15 Thread Damien Lespiau
On Fri, 2010-02-12 at 13:07 +, Matej Kupljen wrote:
 Hi all,
 
 I am trying to use clutter with the TV tuner and I have some problems.
 I use clutter.Texture() for displaying video, and I construct the pipeline as
 following:
 
 self.player_wnd = clutter.Texture()
 self.player_wnd.set_size(stage_w*0.9, stage_h*0.9)
 self.player_wnd.set_position(10, 10)
 self.player_wnd.show()
 
 pipeline = gst.Pipeline()
 videosrc = gst.element_factory_make(v4l2src)
 sink = cluttergst.VideoSink(self.player_wnd)
 pipeline.add(videosrc, sink)
 gst.element_link_many(videosrc, sink)
 pipeline.set_state(gst.STATE_PLAYING)
 self.stage.add(self.player_wnd
 
 This is working, but when I set the window size to be a full screen or
 1920x1200 it seems, that video is dropping frames, although the CPU
 is loaded up to 30% only.

Right, so at this point it seems like you are GPU bound, ie the YUV-RGB
shader at 1920x1200 is bringing your GPU to its knees.

Can we know more about your setup? in which kind of YUV are the frames
from the v4l2 device? which GPU are you using?

 If I replace the videosink to be xvimagesink the video is always good.
 Am I doing something wrong?
 Is it possible to use xvimagesink instead of clutergst.VideoSink()?

It's not possible to use xvimagesink with Clutter directly. You could
try to use Xv + GLX_EXT_texture_from_pixmap (through, for instance,
clutter_glx_texture_pixmap_new_with_pixmap ()).

-- 
Damien


-
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


[clutter] [ANNOUNCE] Clutter-Gst 1.0.0 - stable release

2010-02-09 Thread Damien Lespiau
Hi everyone, 


Clutter-Gst 1.0.0 is now available for download at: 


  http://www.clutter-project.org/sources/clutter-gst/1.0/ 


MD5 checksums: 

  673e9548172698ebd48713ebedff500c  clutter-gst-1.0.0.tar.bz2
  b7e2d0e95511aa1e65a0dcace3532857  clutter-gst-1.0.0.tar.gz


Clutter-GStreamer (clutter-gst) is an integration library for using 
GStreamer with Clutter. Its purpose is to implement the ClutterMedia 
interface using GStreamer. 


Clutter-GStreamer currently requires: 


  GLib = 2.14.0 
  Clutter = 1.0.0
  GStreamer = 0.10 


The official website is: http://www.clutter-project.org 
To subscribe to the Clutter mailing list, send mail to: 
clutter+subscribe_at_o-hand.com 
The official mailing list archive is: http://lists.o-hand.com/clutter
API reference: http://www.clutter-project.org/docs/clutter-gst/stable 


Notes 
-

o This is the first stable release of the 1.0.x cycle, and the 
  first stable release of the 1.x API cycle.

o The API of Clutter-Gst is now stable.


What's new in Clutter-Gst 1.0.0 
---

o Uses the playbin2 GStreamer element.

o Autoloads subtitle files when they have the same name than the video
  being played and are in the same directory.

o GObject introspection support.

o Added a new clutter_gst_init_with_arg() symbol, changed *get_playbin()
  to a more generic *get_pipeline()

o A lot of small bug fixes and code clean up.


Many thanks to:

  Bastian Winkler
  Ole André Vadla Ravnås
  Roland Peffer

-- 
Damien

-
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
N�r��zǧu���[hr[�{.n�+��r�

Re: [clutter] ClutterMedia warning

2010-01-06 Thread Damien Lespiau
 Can someone fix this warning...
 
 GLib-GObject-CRITICAL **: Object class ClutterGstVideoTexture doesn't
 implement property 'subtitle-uri' from interface 'ClutterMedia'

The support for the new 1.2 ClutterMedia features (subtitles related)
for clutter-gst is ready in a branch, I'm waiting to release clutter-gst
1.0.0 (still waiting for a couple of patches) before I can make
clutter-gst depend on clutter 1.1.x and push the implementation of the
subtitle-uri and subtitle-font-name properties into master.

 Also, would it be possible to expose autoload_subtitle so that it can
 be used when just using the ClutterGstVideoTexture directly and not
 using a ClutterMedia actor.

The autoload feature (loading subtitles automatically based on the file
name) is not designed to be exposed as it's, well, automatic. It does
not depend on clutter 1.2 features, so it'll be in clutter-gst 1.0.0. 

To specify a subtitle URI, there won't a be another way than
clutter_media_set_subtitle_uri(). (clutter-1.0 = 1.1.5)

So in short:
* current clutter-gst master is for the clutter-1.0 branch
* clutter-gst 1.1.x (after the 1.0.0 release, development version that
will lead to clutter-gst 1.2.0) will target clutter 1.2 and get support
for those new properties.

HTH,

-- 
Damien

-
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Clutter-gst aspect ratio

2010-01-05 Thread Damien Lespiau
On Sat, 2009-12-26 at 00:50 +, Uday Verma wrote:
 Hi all,

Hi,

 I was wondering if there is a way to preserve the aspect ratio of the
 incoming video when using the clutter video sink.  Modes like
 best-fit, letterbox and crop-fit etc.

No, neither clutter-gst nor the ClutterMedia interface support forcing
the aspect-ratio of the video (that would be a nice addition though).

For now, the only way to do that is to listen for the size-change
signal and do the work yourself. You can have a look at hornsey to see
how this signal is handled there:
http://git.moblin.org/cgit.cgi/hornsey/tree/src/hrn-video-player.c#n197

HTH,

-- 
Damien



-
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gst and playbin2

2009-11-13 Thread Damien Lespiau
On Fri, 2009-11-13 at 15:23 +, Kevin DeKorte wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Any progress on converting clutter-gst from using a playbin to using
 playbin2? I've been running into some problems with gstreamer and they
 are recommending I switch to playbin2.
 
 I tried just changing playbin to playbin2 in the clutter-gst code, but I
 didn't get any video.

Using playin2 is really a one liner, seems to work here. Against master:

diff --git a/clutter-gst/clutter-gst-video-texture.c
b/clutter-gst/clutter-gst-v
index 39790a9..a9574b8 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -639,10 +639,10 @@ lay_pipeline (ClutterGstVideoTexture
*video_texture)
   GstElement *audio_sink = NULL;
   GstElement *video_sink = NULL;
 
-  priv-pipeline = gst_element_factory_make (playbin, pipeline);
+  priv-pipeline = gst_element_factory_make (playbin2, pipeline);
   if (!priv-pipeline) 
 {
-  g_critical (Unable to create playbin element);
+  g_critical (Unable to create playbin2 element);
   return FALSE;
 }
 
-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] MPlayer and clutter

2009-11-10 Thread Damien Lespiau
On Tue, 2009-11-10 at 18:42 +, Matej Kupljen wrote:
 Dear Ben,

 I now gst is the preferred video player for clutter, but as I wrote
 in my first mail, I cannot get it to work with this tuner.
 This is what I get:
 
 $ gst-launch-0.10  v4l2src ! xvimagesink
 Setting pipeline to PAUSED ...
 libv4l2: error getting pixformat: Invalid argument
 ERROR: Pipeline doesn't want to pause.
 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed
 to query norm on device '/dev/video0'.
 Additional debug info:
 v4l2_calls.c(213): gst_v4l2_fill_lists ():
 /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
 Failed to get attributes for norm 21 on devide '/dev/video0'. (1 -
 Operation not permitted)
 Setting pipeline to NULL ...
 Freeing pipeline ...

I guess the GStreamer mailing list is more likely to provide hints about
making this work, you could also try jumping in the #gstreamer IRC
channel on Freenode, they are very friendly people!

From what I can see, it seems that v4l2src is failing enumerating the
standards defined by your driver (v4l2src could enumerate 20 standards
but stopped at the 21st). The driver is supposed to return EINVAL when
the index is out of bounds in the VIDIOC_ENUMSTD request (see
http://v4l2spec.bytesex.org/spec/r9288.htm ) but, for some reason
returns EPERM ?

Hopefully, the GStreamer guys may have already encountered something
similar.

HTH,

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] Some questions about Clutter-GST

2009-10-20 Thread Damien Lespiau
On Tue, 2009-10-20 at 18:10 +0100, Kevin DeKorte wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 10/20/09 10:52, Damien Lespiau wrote:
  On Tue, 2009-10-20 at 16:50 +0100, Kevin DeKorte wrote:
 Funky clutter based progress bars and buttons are on the way, needed to
 use some existing parts to get things going. I have a fosfor_button
 developed which is a ClutterActor that highlights as you mouse over it
 and you can put gtk stock icons into it. You have a progress bar you
 particularly like? I was going to model the youtube one, but maybe there
 is something better.

I don't have anything special in mind, but yes, the youtube one seems
like a decent target.

  To do DVD menus I need to first hook the element-added function of the
  video-sink, so I do this...
  
  element-added is a signal that GstBins fire.
  
  element =
  clutter_gst_video_texture_get_playbin(CLUTTER_GST_VIDEO_TEXTURE(media));
 g_object_get(G_OBJECT(element),video-sink,video_sink, NULL);
 
 if (video_sink != NULL) {
 if (GST_IS_BIN(video_sink))
  
  The variable called element is a GstBin (it's playbin, should evolve to
  playbin2 before 1.0), so you can listen for element-added on that
  GstElement.
 
 Ok, I'll try that. I was just following the method that totem uses to
 obtain the navigation element.

Totem checks if the video-sink element attached to playbin is not a bin
itself (and tries to find the navigation element inside that bin).
ClutterGstVideoTexture can only have a ClutterGstVideoSink set as
video-sink on the internal playbin.

 Ok, so basically at the moment I can't accomplish what I need cause the
 code has not been written yet. 

Right, can't be done yet. 

 I don't exactly need the clicks to work
 however, I can sent navigation events to the navigation. Was thinking
 either a clutter based on screen remote if the mouse clicks were not
 possible.

The mouse clics still sound like a must have I guess (at some point!)

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gst color conversion bug

2009-08-24 Thread Damien Lespiau
On Mon, 2009-08-24 at 06:40 +0100, Roland Peffer wrote:
 Hello all,

Hi,

 I am currently working with the clutter-gst videosink / texture.
 I have a messed up picture with wrong colors and diagonal lines when I  
 play various mp4 videos.
 Some are good others not.
 To figure out if this is a gstreamer problem or clutter-gst problem I  
 run some tests, that indicate that there is a
 mistake in the clutter-gst display part. I guess its a mistake about  
 data alignement in the conversion / shader routines.
 E.g. if I force gstreamer to convert the colorspace by  
 ffmpegcolorspace to RGB in advance, picture is fine.
 
 If needed I can upload the critical video file to an ftp adress for  
 testing purposes. It's to big for email delivery.

I would love to have that video file to investigate the issue, opening a
bug in http://bugzilla.openedhand.com (Clutter product, clutter-gst
component) could help tracking progress on the bug.

Thanks for reporting this.

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] COGL_PIXEL_FORMAT_G_8

2009-08-07 Thread Damien Lespiau
On Fri, 2009-08-07 at 07:04 +0100, Yaser Hameed (RBEI/ECA3) wrote:
 Hi
  
 When I use cogl_texture_get_cogl_texture(CLUTTER_TEXTURE (video)) to
 get the texture from a video and extract the data from the
 cogl_texture to a gdk pixbuf, pixbuf is corrupted. Its like three
 splits of the thumbnail in grey scale.

Indeed you are right, the clutter sink now uploads the YUV frames to
separate texture units and produce the final fragments using a fragment
shader that do the YUV to RGB transformation.
This is done to offload the costly colorspacing operation from the CPU
to the GPU.

 When I checked the pixel format of the cogl texture it returned 8
 (COGL_PIXEL_FORMAT_G_8) and the rowstride was equal to the width of
 the texture. 
 But COGL documentation shows  COGL_PIXEL_FORMAT_G_8 as FIXME.

The texture unit 0 has the Y frame, ie a Grey scale image with 8 bits
per pixel.
 
 The same thing used to work with the clutter 0.8. when used with
 clutter 0.8 the pixel format was COGL_PIXEL_FORMAT_24 and the
 rowstride was three times the width of the texture.

Right, that was because the sink was not using shaders and thus the
colospacing was done by the CPU and a RGB frame was uploaded.

 Pls help

Several solutions here, not sure what is your exact use case (how often
do you want to create pixbuf? is this for generating thumbnails? do you
want to play the video while generating screenshots?) so blindly
guessing you want to generate thumbnails.

Clutter-Gst is not designed to extract thumbnails you should use
GStreamer API to do so. As this is a FAQ GStreamer developers have
written a small example that uses ffmpegcolorspace and appsink to
retrieve a buffer, create a GdkPixbuf from and write a png to the disk.
You can find this example at:
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/snapshot/snapshot.c

HTH,

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter_media_set_progress can not work as I want

2009-08-06 Thread Damien Lespiau
On Thu, 2009-08-06 at 12:40 +0100, Jianchun Zhou wrote:
 Hi, all:

Hi,

 I got a problem about ClutterMedia, after creating a
 ClutterGstVideoTexture object tex,  I want to use
 clutter_media_set_progress to let it show a specified frame of this
 video file, I do it this way:
 
 
 ClutterActor *tex = clutter_gst_video_texture_new();
 clutter_media_set_filename(CLUTTER_MEDIA(tex), argv[1]);
 clutter_media_set_progress(CLUTTER_MEDIA(tex), 0.6);
 
 But when the application window comes out, it also shows the first
 frame of the video file.
 
 Any body any idea why?

I'm not sure to understand what you mean and want, still what is sure is
that setting the progress before the video is actually being played does
not currently work as the we have know the duration of the video to seek
at the right position (at 0.6 * duration in your case).

As a quick  dirty workaround you can listen the the notify::duration
signal and set the progress there, something along these lines (you may
want to disconnect it after use):

static void
on_duration_changed (GObject  *object,
 GParamSpec   *pspec,
 VideoApp *app)
{
  ClutterMedia *video_texture = CLUTTER_MEDIA (object);
  clutter_media_set_progress (video_texture, 0.6);
}
[...]
g_signal_connect (app-vtexture,
  notify::duration, G_CALLBACK (on_duration_changed),
  app);

I guess we could save the set_progress() issued before knowing the
duration inside clutter-gst itself and do that automatically. I'll look
at it with the review of ClutterGstVideoTexture I'm currently doing.

-- 
Damien


 

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] [ANNOUNCE] clutter-gst 0.10.0 - stable release

2009-07-29 Thread Damien Lespiau
Hi everyone,

clutter-gst 0.10.0 is now available for download at:

  http://www.clutter-project.org/sources/clutter-gst/0.10/

MD5 checksums:

  876317e3f445bd28fcb9206b2272c102  clutter-gst-0.10.0.tar.bz2
  f6b8ce71a910c282924563817e34c0d0  clutter-gst-0.10.0.tar.gz

Clutter-GStreamer (clutter-gst) is an integration library for using
GStreamer with Clutter. Its purpose is to implement the ClutterMedia
interface using GStreamer.

Clutter-GStreamer currently requires:

  GLib = 2.10.0
  Clutter = 1.0.0
  GStreamer = 0.10

The official website is: http://www.clutter-project.org
To subscribe to the Clutter mailing list, send mail to: 
clutter+subscr...@o-hand.com 
The official mailing list archive is: http://lists.o-hand.com/clutter/
API reference: http://www.clutter-project.org/docs/clutter-gst/stable

Notes
-

  * This is the first stable release of the 0.10.x cycle.

  * This release has no functional change from 0.9.0 apart from bumping
the clutter dependency to 1.0.0. 

  * Bugs should be reported to: http://bugzilla.o-hand.com

What's new in Clutter-GStreamer 0.10.0
-

  * list of changes since 0.9.0

o Requires stable Clutter 1.0.0

Full list of changes since 0.9.0


(yes this is a bit pointless but well...)

Damien Lespiau (6):
  Post release bump to 0.9.1
  [docs] Update the NEWS file
  [docs] Update the NEWS, README and .doap files for 0.10.0
  [build] Bump clutter requirement to 1.0.0
  [build] Bump clutter-gst to 0.10.0
  [build] Fix pc file generation and headers' location

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] [ANNOUNCE] clutter-gst 0.9.0 - developers snapshot

2009-07-24 Thread Damien Lespiau
Hi everyone,

clutter-gst 0.9.0 is now available for download at:

  http://www.clutter-project.org/sources/clutter-gst/0.9/

MD5 checksums:

  ddb41185fdad5ce689a133c13e342057  clutter-gst-0.9.0.tar.bz2
  f6b8ce71a910c282924563817e34c0d0  clutter-gst-0.9.0.tar.gz

Clutter-GStreamer (clutter-gst) is an integration library for using
GStreamer with Clutter. Its purpose is to implement the ClutterMedia
interface using GStreamer.

Clutter-GStreamer currently requires:

  GLib = 2.10.0
  Clutter = 0.9.6
  GStreamer = 0.10

The official website is: http://www.clutter-project.org
To subscribe to the Clutter mailing list, send mail to: 
clutter+subscr...@o-hand.com 
The official mailing list archive is: http://lists.o-hand.com/clutter/
API reference: http://www.clutter-project.org/docs/clutter-gst/0.9/

Notes
-

  * This is a development release leading towards the 1.0 stable cycle.

  * Bugs should be reported to: http://bugzilla.o-hand.com

What's new in Clutter-GStreamer 0.9.0
-

  * list of changes since 0.8.0

o Requires clutter 0.9.6.

o Added support for ARB fp 1.0 shaders when available.

o Added support for YUV I420 to RBG colorspacing.

o Removed the 'use-shaders' property on ClutterGstVideoSink. The sink
  detects itself what the underlying GL implementation supports and
  negotiates capabilities based on what it has found.

Many thanks to:

  Arjan van de Ven
  Emmanuele Bassi
  Haakon Sporsheim
  Neil Roberts
  Ole André Vadla Ravnås
  Robert Bragg
  Øyvind Kolås

Full list of changes since 0.8.0


Arjan van de Ven (1):
  Add a missing dependency on libgstbase-0.10

Damien Lespiau (48):
  [videosink] Rename the use_shader property to use-shader
  [videosink] Enable the use of shaders by default
  Move the tests into their own directory
  Add a unit test for RGB frames upload
  [videosink] Introduce ClutterGstRenderer
  [videosink] Use GST_MAKE_FOURCC instead of GST_RIFF_YV12
  [videosink] Port RGB24 to ClutterGstRenderer
  [videosink] Port RGB32 and AYUV to ClutterGstRenderer
  [videosink] Build caps dynamically
  [videosink] Refactor the choice of the renderer
  [videosink] Add a I420 to RGBA fragment program
  Don't mix tabs and spaces in configure.ac
  [videosink] Use COGL_TEXTURE_NONE where appriopriate
  [videosink] Add a YV12 to RGBA fragment program
  Revert Post-release bump to 0.9.1 (a bit late)
  Supports building the library without python
  [videosink] Guard the assembly shaders with NULL
  [videosink] Update to latest COGL API change
  Finishes the port of all the examples/tests to 1.0 API
  Make the tests default to 320x240 30fps
  Make examples and tests use GCC_FLAGS
  Fix automake warning on CLEANFILES
  Bump Clutter requirement
  Introduce --enable-maintainer-cflags
  Hide clutter_gst_find_renderer_by_format()
  The shaders headers could be either in $srcdir or $builddir
  Add .vimrc - Less pain for developers that switch between projects
  Remove conditional compilation on CLUTTER_COGL_HAS_GL
  Use CGL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
  [tests] Remove the unused ffmpegcolorspace element
  [misc] Pass on the c files headers
  [misc] Rename audio.c to audio-player.c
  [tests] Add a video start/stop test
  [misc] tabstop=2 in .vimrc
  [tests] Reindent the tests
  [doc] Update Copyright assignment in the reference
  [videosink] Remove the use-shaders property
  [doap] Big update to bring it on par with clutter's
  [tests] Check for errors in g_option_context_parse()
  [videosink] Refactor Renderer::init()
  [videosink] Reword of the init/exit code path
  [videosink] GLSL only functions should say so
  [videosink] Squash the two paint signal handlers into one
  [videosink] Use the right unref function for CoglShader
  [build] Don't add libgstbase twice
  Bump clutter required version to 0.9.6
  Update the NEWS file for 0.9.0
  [doap] Add the 0.9.0 release

Emmanuele Bassi (5):
  Fixes for Clutter 1.0 API changes
  Remove max_waste argument
  Use clutter_event_get_key_symbol()
  [examples] Use the correct method to fullscreen
  [audio] Fix the :progress property getter

Haakon Sporsheim (1):
  Fix gl symbol typedefs by using APIENTRYP preprocessor.

Neil Roberts (1):
  Use the Cogl material API for multi-texturing rather than GL directly

Ole André Vadla Ravnås (1):
  [videosink] Disconnect signal handlers to avoid callbacks after finalize

Robert Bragg (3):
  [pkgconfig] Only include -I${includedir}/clutter-0.9
  Remove some redundant glEnable/Disable (GL_FRAGMENT_PROGRAM_ARB) calls
  Get Cogl to flush primitives when using fragment shaders

Øyvind Kolås (2):
  Use a GMutex + variable instead of an async queue
  Removed mipmapping of yv12 component

Re: [clutter] clutter-gst video pausing when animating

2009-06-26 Thread Damien Lespiau
2009/6/25 Uday Verma uday.ka...@gmail.com:
 Hello everyone,

 I am using version 0.8.8 of clutter and 0.8.0 of clutter-gst.

 I have a video feed coming in from v4l2src which ends up in a
 cluttergstvideosink.  Everything seems to be working great, only that when I
 animate my scene around, e.g. animate a text label to come into the view,
 the video pauses.

This is caused by some starving of the main loop, the 0.9.x development series
try to fix such issues, using git tip of clutter/clutter-gst will be
useful here.
Hopefully in a few days you will be able to rely on a released 0.9.0 clutter-gst
tarbal.

-- 
Damien
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gst video4linux

2009-06-25 Thread Damien Lespiau
2009/6/25 Anish N anish@gmail.com:
 # gst-launch-0.10 videotestsrc ! capsfilter ! cluttersink
 WARNING: erroneous pipeline: no element cluttersink

The clutter sink element is not available as a standalone element that could be
used with gst-launch (that may be possible at some point in the future). The
only way to use it is to link to the clutter-gst library, just as the
examples do.

-- 
Damien
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] clutter-gst video4linux

2009-06-23 Thread Damien Lespiau
2009/6/22 Anish N anish@gmail.com:
 Hi,

 Can clutter-gst be used with video4linux ?

Sure, you can.

 If yes, can some you please point me which API to use. ? While looking
 into clutter-gst-video-texture.h, seems like currently only playing
 binary file is supported.

clutter-gst-video-texture.c implements the ClutterMedia interface, which does
not support playing from v4l devices.
You can directly use the Gstreamer element to build your pipeline. See
tests/test-yuv-upload.c for a simple videotestsrc ! capsfilter !
cluttersink pipeline.

HTH,

--
Damien
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com