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 <gr...@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
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to