GStreamer

GStreamer is a Perl interface to the GStreamer library.
Download

GStreamer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Torsten Schoenfeld and Brett Kosinski
  • Publisher web site:
  • http://search.cpan.org/~tsch/GStreamer-0.11/GStreamer.pm

GStreamer Tags


GStreamer Description

GStreamer is a Perl interface to the GStreamer library. GStreamer is a Perl interface to the GStreamer library.SYNOPSIS use GStreamer -init; my $loop = Glib::MainLoop -> new(); # set up my $play = GStreamer::ElementFactory -> make("playbin", "play"); $play -> set(uri => Glib::filename_to_uri $file, "localhost"); $play -> get_bus() -> add_watch(&my_bus_callback, $loop); $play -> set_state("playing"); # run $loop -> run(); # clean up $play -> set_state("null"); sub my_bus_callback { my ($bus, $message, $loop) = @_; if ($message -> type & "error") { warn $message -> error; $loop -> quit(); } elsif ($message -> type & "eos") { $loop -> quit(); } # remove message from the queue return TRUE; } Requirements: · Perl


GStreamer Related Software