Clutter::Gst::Audio



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]