Hi,
I'm also a clutter beginner, but I think I'm able to answer at least a
few questions.
On Mon, Aug 20, 2007 at 07:57:39PM +0200, Florent THIERY wrote:
> * to clone gst video textures, which i did not manage to do (based on
> regular texture cloning examples)
so, it seems you're using pyclutter. the following works fine fore me:
video_texture = cluttergst.VideoTexture()
video_sink = cluttergst.VideoSink(video_texture)
stage.add(video_texture)
video_texture.show()
video_copy = clutter.CloneTexture(video_texture)
stage.add(video_copy)
video_copy.show()
of coure you also have to set the size and position of your textures
> * to pre-render an offscreen scene, and then display it
> * to export frames from the current stage, or ultimately render to a
> file (or gst src element); i'm looking for a way to pass frames in an
> efficient way
exporting frames as a gst.Buffer would be a very cool feature, i agree.
at least you can take a pixbuf snapshot of the stage via
stage.snapshot(x, y, width, height)
> * to modify a gst pipeline without stopping/restarting it (ex: adding
> warptv effect without interruption)
you have to create a custom gstreamer pipeline to do this, I don't think
this can be done with a normal playbin. you can change/add elements via
1) blocking the src-pad of the element after which you want to insert
the new one
2) unlink the src-pad after the block happens
3) add the new element to the pipeline
4) link the pads together again
5) unblock the src-pad
a more detailed description can be found in
http://webcvs.freedesktop.org/gstreamer/gstreamer/docs/design/part-block.txt?revision=1.6&view=markup
> * to crop video textures
I don't know if this can be done with clutter, but you can crop videos
with gstreamer. take on the videobox and videocrop elements.
> * to share gobject signals between apps ; i'm looking for a way to
> trigger actions (be it key presses emulation) in clutter from a
> separate application (clutter apps or misc ones); anybody tried the
> following approach?
> (http://www.daa.com.au/pipermail/pygtk/2006-May/012289.html)
you could take DBus for this.
so long
:wq buz
-- Multitasking = screwing up several things at once. GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0 FD53 8C35 FD2E 6908 7B82 --azLHFNyN32YCQGCU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGyeB2jDX9LmkIe4IRAgLbAJ4yS1K1bTHMF/jUHsMXcmAGzF6OtgCbBAI0 R/NAKdbkq98S/o8EbE+I0cM7V -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- -- To unsubscribe send a mail to clutter+unsubscribe@o-hand.comReceived on Mon, 20 Aug 2007 20:41:58 +0200
This archive was generated by hypermail 2.1.8 : Mon Aug 20 2007 - 15:00:08 EDT