Re: Clutter::Gst::Audio
- From: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
- To: Grant McLean <grant mclean net nz>
- Cc: gtk-perl-list gnome org
- Subject: Re: Clutter::Gst::Audio
- Date: Sun, 9 May 2010 13:43:42 +0200
Hi,
Have you initialized Clutter so that it can use gstreamer?
use Clutter '-gst-init';
You might want to upgrade to Clutter 1.0, I think that you are using Clutter 0.8 which is no longer maintained.
Cheers,
Emmanuel
On Sun, May 9, 2010 at 12:16 PM, Grant McLean
<grant mclean net nz> wrote:
I've been playing around with Clutter and have mostly been successful
with the simple animations etc. ÂHowever I've had no luck with playing
sound. ÂI have a sound file in OGG format (I also tried WAV) and from
my script I tried this:
Âmy $audio = Clutter::Gst::Audio->new; Â # This is line 27
Â$audio->set_filename('bell.ogg');
But the first line emits the following warnings:
Clutter-Gst-WARNING **: Unable to create playbin GST element.
at ./05_image.pl line 27.
Clutter-Gst-WARNING **: Failed to initiate suitable playback pipeline.
at ./05_image.pl line 27.
I tried the playbin.pl example script from the GStreamer distribution
and it was happy to play the OGG file. ÂIt seems like there's something
basic missing - did I need to load some module first?
The libclutter-gst library is installed.
Any suggestions gratefully received.
Cheers
Grant
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
--
Emmanuel Rodriguez
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]