Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

GStreamer::GConf
Perl interface to the GStreamer GConf library

GStreamer::GConf - Perl interface to the GStreamer GConf library


NAME

GStreamer::GConf - Perl interface to the GStreamer GConf library


SYNOPSIS


  use GStreamer -init;

  use GStreamer::GConf;

  # build pipeline

  my $pipeline = GStreamer::Pipeline -> new("pipeline");

  my $sink = GStreamer::GConf -> get_default_audio_sink();

  my ($source, $spider, $conv, $scale) =

    GStreamer::ElementFactory -> make(filesrc => "source",

                                      spider => "spider",

                                      audioconvert => "conv",

                                      audioscale => "scale");

  $source -> set(location => $ARGV[0]);

  $pipeline -> add($source, $spider, $conv, $scale, $sink);

  $source -> link($spider, $conv, $scale, $sink) or die "Could not link";

  # play

  $pipeline -> set_state("playing") or die "Could not start playing";

  while ($pipeline -> iterate()) { };

  # clean up

  $pipeline -> set_state("null");


ABSTRACT

GStreamer::GConf provides access to the GConf interaction facilities of the GStreamer library.


METHODS

$value = GStreamer::GConf->get_string ($key)
GStreamer::GConf->set_string ($key, $value)
$element = GStreamer::GConf->render_bin_from_key ($key)
$element = GStreamer::GConf->render_bin_from_description ($description)
$element = GStreamer::GConf->get_default_video_sink
$element = GStreamer::GConf->get_default_audio_sink
$element = GStreamer::GConf->get_default_video_src
$element = GStreamer::GConf->get_default_audio_src
$element = GStreamer::GConf->get_default_visualization_element


AUTHOR

Torsten Schoenfeld <kaffeetisch at gmx dot de>


COPYRIGHT

Copyright (C) 2005 by the gtk2-perl team

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy