summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-03-10 12:35:44 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-03-10 12:35:44 +0000
commitc98b59c7b855ce61c7eb085714fbbdc6dcdfe6f8 (patch)
treed80deabf9cb0d5faf8a0e5ee58312d17c0e9a072 /tools
parentfdf6d4edf512dc94a1d745e1e7981257bf293daa (diff)
updating tools generation
Original commit message from CVS: updating tools generation
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am37
-rw-r--r--tools/Makefile.in784
-rw-r--r--tools/gst-launch-ext-m.m165
-rw-r--r--tools/gst-launch-ext.1.in44
-rw-r--r--tools/gst-visualise-m.m79
-rw-r--r--tools/gst-visualise.1.in (renamed from tools/gst-visualise.1)0
6 files changed, 1105 insertions, 4 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 9f102b07..fcd1f58f 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,10 +1,39 @@
-bin_SCRIPTS = gst-launch-ext gst-visualise
+bin_SCRIPTS = \
+ gst-launch-ext-@GST_MAJORMINOR@ \
+ gst-visualise-@GST_MAJORMINOR@
-man_MANS = gst-launch-ext.1 gst-visualise.1
+man_MANS = \
+ gst-launch-ext-@GST_MAJORMINOR@.1 \
+ gst-visualise-@GST_MAJORMINOR@.1
-all: all-am chmod
+CLEANFILES = $(man_MANS)
+
+EXTRA_DIST = \
+ gst-launch-ext-m.m gst-visualise-m.m \
+ gst-launch-ext.in gst-visualise.in
+
+# generate versioned scripts from templates
+%-@GST_MAJORMINOR@: %-m.m
+ sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@
+ chmod +x $@
-EXTRA_DIST = $(bin_SCRIPTS) $(man_MANS) gst-launch-ext.in
+# generate man pages
+%-@GST_MAJORMINOR@.1: %.1.in
+ sed \
+ -e s,gst-complete,gst-complete-@GST_MAJORMINOR@,g \
+ -e s,gst-compprep,gst-compprep-@GST_MAJORMINOR@,g \
+ -e s,gst-feedback,gst-feedback-@GST_MAJORMINOR@,g \
+ -e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
+ -e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
+ -e s,gst-launch-ext,gst-launch-ext-@GST_MAJORMINOR@,g \
+ -e s,gst-md5sum,gst-md5sum-@GST_MAJORMINOR@,g \
+ -e s,gst-register,gst-register-@GST_MAJORMINOR@,g \
+ -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
+ -e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
+ -e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \
+ $< >$@
+
+all: all-am chmod
chmod: $(bin_SCRIPTS)
chmod +x $^
diff --git a/tools/Makefile.in b/tools/Makefile.in
new file mode 100644
index 00000000..c37ef924
--- /dev/null
+++ b/tools/Makefile.in
@@ -0,0 +1,784 @@
+# Makefile.in generated by automake 1.7.8 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+A52DEC_CFLAGS = @A52DEC_CFLAGS@
+A52DEC_LIBS = @A52DEC_LIBS@
+AALIB_CFLAGS = @AALIB_CFLAGS@
+AALIB_CONFIG = @AALIB_CONFIG@
+AALIB_LIBS = @AALIB_LIBS@
+ACLOCAL = @ACLOCAL@
+ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSC_CFLAGS = @ARTSC_CFLAGS@
+ARTSC_CONFIG = @ARTSC_CONFIG@
+ARTSC_LIBS = @ARTSC_LIBS@
+ARTS_CONFIG = @ARTS_CONFIG@
+ARTS_CXXFLAGS = @ARTS_CXXFLAGS@
+ARTS_LIBS = @ARTS_LIBS@
+AUDIOFILE_CFLAGS = @AUDIOFILE_CFLAGS@
+AUDIOFILE_CONFIG = @AUDIOFILE_CONFIG@
+AUDIOFILE_LIBS = @AUDIOFILE_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BROKEN_FALSE = @BROKEN_FALSE@
+BROKEN_TRUE = @BROKEN_TRUE@
+BUILD_DOCS_FALSE = @BUILD_DOCS_FALSE@
+BUILD_DOCS_TRUE = @BUILD_DOCS_TRUE@
+BUILD_EXAMPLES_FALSE = @BUILD_EXAMPLES_FALSE@
+BUILD_EXAMPLES_TRUE = @BUILD_EXAMPLES_TRUE@
+BUILD_EXTERNAL_FALSE = @BUILD_EXTERNAL_FALSE@
+BUILD_EXTERNAL_TRUE = @BUILD_EXTERNAL_TRUE@
+BUILD_PLUGIN_DOCS_FALSE = @BUILD_PLUGIN_DOCS_FALSE@
+BUILD_PLUGIN_DOCS_TRUE = @BUILD_PLUGIN_DOCS_TRUE@
+BUILD_TESTS_FALSE = @BUILD_TESTS_FALSE@
+BUILD_TESTS_TRUE = @BUILD_TESTS_TRUE@
+CC = @CC@
+CCAS = @CCAS@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CDPARANOIA_LIBS = @CDPARANOIA_LIBS@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DIVXDEC_LIBS = @DIVXDEC_LIBS@
+DIVXENC_LIBS = @DIVXENC_LIBS@
+DVDNAV_CFLAGS = @DVDNAV_CFLAGS@
+DVDNAV_CONFIG = @DVDNAV_CONFIG@
+DVDNAV_LIBS = @DVDNAV_LIBS@
+DVDREAD_LIBS = @DVDREAD_LIBS@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ESD_CFLAGS = @ESD_CFLAGS@
+ESD_CONFIG = @ESD_CONFIG@
+ESD_LIBS = @ESD_LIBS@
+EXEEXT = @EXEEXT@
+EXPERIMENTAL_FALSE = @EXPERIMENTAL_FALSE@
+EXPERIMENTAL_TRUE = @EXPERIMENTAL_TRUE@
+F77 = @F77@
+FAAC_LIBS = @FAAC_LIBS@
+FAAD_LIBS = @FAAD_LIBS@
+FFLAGS = @FFLAGS@
+FLAC_LIBS = @FLAC_LIBS@
+FT2_CFLAGS = @FT2_CFLAGS@
+FT2_CONFIG = @FT2_CONFIG@
+FT2_LIBS = @FT2_LIBS@
+GCONFTOOL = @GCONFTOOL@
+GCONF_CFLAGS = @GCONF_CFLAGS@
+GCONF_LIBS = @GCONF_LIBS@
+GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
+GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
+GDK_PIXBUF_CONF_DIR = @GDK_PIXBUF_CONF_DIR@
+GDK_PIXBUF_LOADER_DIR = @GDK_PIXBUF_LOADER_DIR@
+GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
+GLIB2_CFLAGS = @GLIB2_CFLAGS@
+GLIB2_LIBS = @GLIB2_LIBS@
+GLIB2_REQ = @GLIB2_REQ@
+GLIB_CFLAGS = @GLIB_CFLAGS@
+GLIB_LIBS = @GLIB_LIBS@
+GMSGFMT = @GMSGFMT@
+GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@
+GNOME_VFS_LIBS = @GNOME_VFS_LIBS@
+GSM_LIBS = @GSM_LIBS@
+GST_CFLAGS = @GST_CFLAGS@
+GST_CONTROL_CFLAGS = @GST_CONTROL_CFLAGS@
+GST_CONTROL_LIBS = @GST_CONTROL_LIBS@
+GST_LIBS = @GST_LIBS@
+GST_MAJORMINOR = @GST_MAJORMINOR@
+GST_PLUGINS_AGE = @GST_PLUGINS_AGE@
+GST_PLUGINS_ALL = @GST_PLUGINS_ALL@
+GST_PLUGINS_CURRENT = @GST_PLUGINS_CURRENT@
+GST_PLUGINS_LIBVERSION = @GST_PLUGINS_LIBVERSION@
+GST_PLUGINS_LT_LDFLAGS = @GST_PLUGINS_LT_LDFLAGS@
+GST_PLUGINS_REVISION = @GST_PLUGINS_REVISION@
+GST_PLUGINS_SELECTED = @GST_PLUGINS_SELECTED@
+GST_PLUGINS_VERSION = @GST_PLUGINS_VERSION@
+GST_PLUGINS_VERSION_MAJOR = @GST_PLUGINS_VERSION_MAJOR@
+GST_PLUGINS_VERSION_MICRO = @GST_PLUGINS_VERSION_MICRO@
+GST_PLUGINS_VERSION_MINOR = @GST_PLUGINS_VERSION_MINOR@
+GST_PLUGINS_VERSION_NANO = @GST_PLUGINS_VERSION_NANO@
+GST_PLUGINS_VERSION_RELEASE = @GST_PLUGINS_VERSION_RELEASE@
+GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
+GST_TOOLS_DIR = @GST_TOOLS_DIR@
+GTK2_CFLAGS = @GTK2_CFLAGS@
+GTK2_LIBS = @GTK2_LIBS@
+GTK_BASE_DIR = @GTK_BASE_DIR@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+GTK_VERSION = @GTK_VERSION@
+HAVE_ATOMIC_H_FALSE = @HAVE_ATOMIC_H_FALSE@
+HAVE_ATOMIC_H_TRUE = @HAVE_ATOMIC_H_TRUE@
+HAVE_CDPARANOIA = @HAVE_CDPARANOIA@
+HAVE_CPU_ALPHA_FALSE = @HAVE_CPU_ALPHA_FALSE@
+HAVE_CPU_ALPHA_TRUE = @HAVE_CPU_ALPHA_TRUE@
+HAVE_CPU_ARM_FALSE = @HAVE_CPU_ARM_FALSE@
+HAVE_CPU_ARM_TRUE = @HAVE_CPU_ARM_TRUE@
+HAVE_CPU_HPPA_FALSE = @HAVE_CPU_HPPA_FALSE@
+HAVE_CPU_HPPA_TRUE = @HAVE_CPU_HPPA_TRUE@
+HAVE_CPU_I386_FALSE = @HAVE_CPU_I386_FALSE@
+HAVE_CPU_I386_TRUE = @HAVE_CPU_I386_TRUE@
+HAVE_CPU_IA64_FALSE = @HAVE_CPU_IA64_FALSE@
+HAVE_CPU_IA64_TRUE = @HAVE_CPU_IA64_TRUE@
+HAVE_CPU_M68K_FALSE = @HAVE_CPU_M68K_FALSE@
+HAVE_CPU_M68K_TRUE = @HAVE_CPU_M68K_TRUE@
+HAVE_CPU_MIPS_FALSE = @HAVE_CPU_MIPS_FALSE@
+HAVE_CPU_MIPS_TRUE = @HAVE_CPU_MIPS_TRUE@
+HAVE_CPU_PPC_FALSE = @HAVE_CPU_PPC_FALSE@
+HAVE_CPU_PPC_TRUE = @HAVE_CPU_PPC_TRUE@
+HAVE_CPU_S390_FALSE = @HAVE_CPU_S390_FALSE@
+HAVE_CPU_S390_TRUE = @HAVE_CPU_S390_TRUE@
+HAVE_CPU_SPARC_FALSE = @HAVE_CPU_SPARC_FALSE@
+HAVE_CPU_SPARC_TRUE = @HAVE_CPU_SPARC_TRUE@
+HAVE_CPU_X86_64_FALSE = @HAVE_CPU_X86_64_FALSE@
+HAVE_CPU_X86_64_TRUE = @HAVE_CPU_X86_64_TRUE@
+HAVE_CXX = @HAVE_CXX@
+HAVE_DVDREAD = @HAVE_DVDREAD@
+HAVE_FAAC = @HAVE_FAAC@
+HAVE_FAAD = @HAVE_FAAD@
+HAVE_FIG2DEV_PDF_FALSE = @HAVE_FIG2DEV_PDF_FALSE@
+HAVE_FIG2DEV_PDF_TRUE = @HAVE_FIG2DEV_PDF_TRUE@
+HAVE_FIG2DEV_PNG_FALSE = @HAVE_FIG2DEV_PNG_FALSE@
+HAVE_FIG2DEV_PNG_TRUE = @HAVE_FIG2DEV_PNG_TRUE@
+HAVE_FLAC = @HAVE_FLAC@
+HAVE_FT2_FALSE = @HAVE_FT2_FALSE@
+HAVE_FT2_TRUE = @HAVE_FT2_TRUE@
+HAVE_GCONFTOOL = @HAVE_GCONFTOOL@
+HAVE_GDK_LOADERS_FALSE = @HAVE_GDK_LOADERS_FALSE@
+HAVE_GDK_LOADERS_TRUE = @HAVE_GDK_LOADERS_TRUE@
+HAVE_GSM = @HAVE_GSM@
+HAVE_GTK = @HAVE_GTK@
+HAVE_GTK_DOC_FALSE = @HAVE_GTK_DOC_FALSE@
+HAVE_GTK_DOC_TRUE = @HAVE_GTK_DOC_TRUE@
+HAVE_GTK_FALSE = @HAVE_GTK_FALSE@
+HAVE_GTK_TRUE = @HAVE_GTK_TRUE@
+HAVE_HERMES = @HAVE_HERMES@
+HAVE_LAME = @HAVE_LAME@
+HAVE_LIBMMX_FALSE = @HAVE_LIBMMX_FALSE@
+HAVE_LIBMMX_TRUE = @HAVE_LIBMMX_TRUE@
+HAVE_LIBPNG = @HAVE_LIBPNG@
+HAVE_NAS = @HAVE_NAS@
+HAVE_NASM_FALSE = @HAVE_NASM_FALSE@
+HAVE_NASM_TRUE = @HAVE_NASM_TRUE@
+HAVE_RAW1394 = @HAVE_RAW1394@
+HAVE_RAW1394_FALSE = @HAVE_RAW1394_FALSE@
+HAVE_RAW1394_TRUE = @HAVE_RAW1394_TRUE@
+HAVE_SHOUT = @HAVE_SHOUT@
+HAVE_SPEEX = @HAVE_SPEEX@
+HAVE_THEORA = @HAVE_THEORA@
+HAVE_X = @HAVE_X@
+HAVE_XSHM = @HAVE_XSHM@
+HERMES_LIBS = @HERMES_LIBS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+IVORBIS_CFLAGS = @IVORBIS_CFLAGS@
+IVORBIS_LIBS = @IVORBIS_LIBS@
+JACK_CFLAGS = @JACK_CFLAGS@
+JACK_LIBS = @JACK_LIBS@
+JPEG_LIBS = @JPEG_LIBS@
+LAME_LIBS = @LAME_LIBS@
+LCS_CFLAGS = @LCS_CFLAGS@
+LCS_LIBS = @LCS_LIBS@
+LDFLAGS = @LDFLAGS@
+LIBCACA_CFLAGS = @LIBCACA_CFLAGS@
+LIBCACA_CONFIG = @LIBCACA_CONFIG@
+LIBCACA_LIBS = @LIBCACA_LIBS@
+LIBDV_CFLAGS = @LIBDV_CFLAGS@
+LIBDV_LIBS = @LIBDV_LIBS@
+LIBFAME_CFLAGS = @LIBFAME_CFLAGS@
+LIBFAME_CONFIG = @LIBFAME_CONFIG@
+LIBFAME_LIBS = @LIBFAME_LIBS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBMIKMOD_CFLAGS = @LIBMIKMOD_CFLAGS@
+LIBMIKMOD_CONFIG = @LIBMIKMOD_CONFIG@
+LIBMIKMOD_LDADD = @LIBMIKMOD_LDADD@
+LIBMIKMOD_LIBS = @LIBMIKMOD_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBOIL_CFLAGS = @LIBOIL_CFLAGS@
+LIBOIL_LIBS = @LIBOIL_LIBS@
+LIBPNG_CFLAGS = @LIBPNG_CFLAGS@
+LIBPNG_LIBS = @LIBPNG_LIBS@
+LIBRFB_CFLAGS = @LIBRFB_CFLAGS@
+LIBRFB_LIBS = @LIBRFB_LIBS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LOCALEDIR = @LOCALEDIR@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_CFLAGS = @MAD_CFLAGS@
+MAD_LIBS = @MAD_LIBS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+MCOPIDL = @MCOPIDL@
+MIKMOD_CFLAGS = @MIKMOD_CFLAGS@
+MIKMOD_LIBS = @MIKMOD_LIBS@
+MKINSTALLDIRS = @MKINSTALLDIRS@
+MPEG2DEC_CFLAGS = @MPEG2DEC_CFLAGS@
+MPEG2DEC_LIBS = @MPEG2DEC_LIBS@
+MPEG2ENC_CFLAGS = @MPEG2ENC_CFLAGS@
+MPEG2ENC_LIBS = @MPEG2ENC_LIBS@
+MPLEX_CFLAGS = @MPLEX_CFLAGS@
+MPLEX_LIBS = @MPLEX_LIBS@
+MSGFMT = @MSGFMT@
+MSGMERGE = @MSGMERGE@
+MUSICBRAINZ_CFLAGS = @MUSICBRAINZ_CFLAGS@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NASM_PATH = @NASM_PATH@
+NAS_CFLAGS = @NAS_CFLAGS@
+NAS_LIBS = @NAS_LIBS@
+OBJEXT = @OBJEXT@
+OGG_CFLAGS = @OGG_CFLAGS@
+OGG_LIBS = @OGG_LIBS@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PANGO_CFLAGS = @PANGO_CFLAGS@
+PANGO_LIBS = @PANGO_LIBS@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+QUERYLOADERS = @QUERYLOADERS@
+RANLIB = @RANLIB@
+RAW1394_LIBS = @RAW1394_LIBS@
+SDL_CFLAGS = @SDL_CFLAGS@
+SDL_CONFIG = @SDL_CONFIG@
+SDL_LIBS = @SDL_LIBS@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SHOUT2_CFLAGS = @SHOUT2_CFLAGS@
+SHOUT2_LIBS = @SHOUT2_LIBS@
+SHOUT_LIBS = @SHOUT_LIBS@
+SIDPLAY_CFLAGS = @SIDPLAY_CFLAGS@
+SIDPLAY_LIBS = @SIDPLAY_LIBS@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+SPEEX_CFLAGS = @SPEEX_CFLAGS@
+SPEEX_LIBS = @SPEEX_LIBS@
+STRIP = @STRIP@
+SWFDEC_CFLAGS = @SWFDEC_CFLAGS@
+SWFDEC_LIBS = @SWFDEC_LIBS@
+THEORA_LIBS = @THEORA_LIBS@
+USE_A52DEC_FALSE = @USE_A52DEC_FALSE@
+USE_A52DEC_TRUE = @USE_A52DEC_TRUE@
+USE_AALIB_FALSE = @USE_AALIB_FALSE@
+USE_AALIB_TRUE = @USE_AALIB_TRUE@
+USE_ALSA_FALSE = @USE_ALSA_FALSE@
+USE_ALSA_TRUE = @USE_ALSA_TRUE@
+USE_ARTSC_FALSE = @USE_ARTSC_FALSE@
+USE_ARTSC_TRUE = @USE_ARTSC_TRUE@
+USE_ARTS_FALSE = @USE_ARTS_FALSE@
+USE_ARTS_TRUE = @USE_ARTS_TRUE@
+USE_AUDIOFILE_FALSE = @USE_AUDIOFILE_FALSE@
+USE_AUDIOFILE_TRUE = @USE_AUDIOFILE_TRUE@
+USE_BROKEN_FALSE = @USE_BROKEN_FALSE@
+USE_BROKEN_TRUE = @USE_BROKEN_TRUE@
+USE_CDPARANOIA_FALSE = @USE_CDPARANOIA_FALSE@
+USE_CDPARANOIA_TRUE = @USE_CDPARANOIA_TRUE@
+USE_CDROM_FALSE = @USE_CDROM_FALSE@
+USE_CDROM_TRUE = @USE_CDROM_TRUE@
+USE_DIVX_FALSE = @USE_DIVX_FALSE@
+USE_DIVX_TRUE = @USE_DIVX_TRUE@
+USE_DVDNAV_FALSE = @USE_DVDNAV_FALSE@
+USE_DVDNAV_TRUE = @USE_DVDNAV_TRUE@
+USE_DVDREAD_FALSE = @USE_DVDREAD_FALSE@
+USE_DVDREAD_TRUE = @USE_DVDREAD_TRUE@
+USE_DXR3_FALSE = @USE_DXR3_FALSE@
+USE_DXR3_TRUE = @USE_DXR3_TRUE@
+USE_ESD_FALSE = @USE_ESD_FALSE@
+USE_ESD_TRUE = @USE_ESD_TRUE@
+USE_EXPERIMENTAL_FALSE = @USE_EXPERIMENTAL_FALSE@
+USE_EXPERIMENTAL_TRUE = @USE_EXPERIMENTAL_TRUE@
+USE_EXTERNAL_FALSE = @USE_EXTERNAL_FALSE@
+USE_EXTERNAL_TRUE = @USE_EXTERNAL_TRUE@
+USE_FAAC_FALSE = @USE_FAAC_FALSE@
+USE_FAAC_TRUE = @USE_FAAC_TRUE@
+USE_FAAD_FALSE = @USE_FAAD_FALSE@
+USE_FAAD_TRUE = @USE_FAAD_TRUE@
+USE_FLAC_FALSE = @USE_FLAC_FALSE@
+USE_FLAC_TRUE = @USE_FLAC_TRUE@
+USE_GCONFTOOL_FALSE = @USE_GCONFTOOL_FALSE@
+USE_GCONFTOOL_TRUE = @USE_GCONFTOOL_TRUE@
+USE_GCONF_FALSE = @USE_GCONF_FALSE@
+USE_GCONF_TRUE = @USE_GCONF_TRUE@
+USE_GDK_PIXBUF_FALSE = @USE_GDK_PIXBUF_FALSE@
+USE_GDK_PIXBUF_TRUE = @USE_GDK_PIXBUF_TRUE@
+USE_GNOME_VFS_FALSE = @USE_GNOME_VFS_FALSE@
+USE_GNOME_VFS_TRUE = @USE_GNOME_VFS_TRUE@
+USE_GSM_FALSE = @USE_GSM_FALSE@
+USE_GSM_TRUE = @USE_GSM_TRUE@
+USE_HERMES_FALSE = @USE_HERMES_FALSE@
+USE_HERMES_TRUE = @USE_HERMES_TRUE@
+USE_IVORBIS_FALSE = @USE_IVORBIS_FALSE@
+USE_IVORBIS_TRUE = @USE_IVORBIS_TRUE@
+USE_JACK_FALSE = @USE_JACK_FALSE@
+USE_JACK_TRUE = @USE_JACK_TRUE@
+USE_JPEG_FALSE = @USE_JPEG_FALSE@
+USE_JPEG_TRUE = @USE_JPEG_TRUE@
+USE_LADSPA_FALSE = @USE_LADSPA_FALSE@
+USE_LADSPA_TRUE = @USE_LADSPA_TRUE@
+USE_LAME_FALSE = @USE_LAME_FALSE@
+USE_LAME_TRUE = @USE_LAME_TRUE@
+USE_LCS_FALSE = @USE_LCS_FALSE@
+USE_LCS_TRUE = @USE_LCS_TRUE@
+USE_LIBCACA_FALSE = @USE_LIBCACA_FALSE@
+USE_LIBCACA_TRUE = @USE_LIBCACA_TRUE@
+USE_LIBDV_FALSE = @USE_LIBDV_FALSE@
+USE_LIBDV_TRUE = @USE_LIBDV_TRUE@
+USE_LIBFAME_FALSE = @USE_LIBFAME_FALSE@
+USE_LIBFAME_TRUE = @USE_LIBFAME_TRUE@
+USE_LIBPNG_FALSE = @USE_LIBPNG_FALSE@
+USE_LIBPNG_TRUE = @USE_LIBPNG_TRUE@
+USE_LIBRFB_FALSE = @USE_LIBRFB_FALSE@
+USE_LIBRFB_TRUE = @USE_LIBRFB_TRUE@
+USE_MAD_FALSE = @USE_MAD_FALSE@
+USE_MAD_TRUE = @USE_MAD_TRUE@
+USE_MIKMOD_FALSE = @USE_MIKMOD_FALSE@
+USE_MIKMOD_TRUE = @USE_MIKMOD_TRUE@
+USE_MPEG2DEC_FALSE = @USE_MPEG2DEC_FALSE@
+USE_MPEG2DEC_TRUE = @USE_MPEG2DEC_TRUE@
+USE_MPEG2ENC_FALSE = @USE_MPEG2ENC_FALSE@
+USE_MPEG2ENC_TRUE = @USE_MPEG2ENC_TRUE@
+USE_MPLEX_FALSE = @USE_MPLEX_FALSE@
+USE_MPLEX_TRUE = @USE_MPLEX_TRUE@
+USE_MUSICBRAINZ_FALSE = @USE_MUSICBRAINZ_FALSE@
+USE_MUSICBRAINZ_TRUE = @USE_MUSICBRAINZ_TRUE@
+USE_NAS_FALSE = @USE_NAS_FALSE@
+USE_NAS_TRUE = @USE_NAS_TRUE@
+USE_NLS = @USE_NLS@
+USE_OGG_FALSE = @USE_OGG_FALSE@
+USE_OGG_TRUE = @USE_OGG_TRUE@
+USE_OSS_FALSE = @USE_OSS_FALSE@
+USE_OSS_TRUE = @USE_OSS_TRUE@
+USE_PANGO_FALSE = @USE_PANGO_FALSE@
+USE_PANGO_TRUE = @USE_PANGO_TRUE@
+USE_QCAM_FALSE = @USE_QCAM_FALSE@
+USE_QCAM_TRUE = @USE_QCAM_TRUE@
+USE_RAW1394_FALSE = @USE_RAW1394_FALSE@
+USE_RAW1394_TRUE = @USE_RAW1394_TRUE@
+USE_SDL_FALSE = @USE_SDL_FALSE@
+USE_SDL_TRUE = @USE_SDL_TRUE@
+USE_SHOUT2_FALSE = @USE_SHOUT2_FALSE@
+USE_SHOUT2_TRUE = @USE_SHOUT2_TRUE@
+USE_SHOUT_FALSE = @USE_SHOUT_FALSE@
+USE_SHOUT_TRUE = @USE_SHOUT_TRUE@
+USE_SIDPLAY_FALSE = @USE_SIDPLAY_FALSE@
+USE_SIDPLAY_TRUE = @USE_SIDPLAY_TRUE@
+USE_SMOOTHWAVE_FALSE = @USE_SMOOTHWAVE_FALSE@
+USE_SMOOTHWAVE_TRUE = @USE_SMOOTHWAVE_TRUE@
+USE_SNDFILE_FALSE = @USE_SNDFILE_FALSE@
+USE_SNDFILE_TRUE = @USE_SNDFILE_TRUE@
+USE_SPEEX_FALSE = @USE_SPEEX_FALSE@
+USE_SPEEX_TRUE = @USE_SPEEX_TRUE@
+USE_SWFDEC_FALSE = @USE_SWFDEC_FALSE@
+USE_SWFDEC_TRUE = @USE_SWFDEC_TRUE@
+USE_TARKIN_FALSE = @USE_TARKIN_FALSE@
+USE_TARKIN_TRUE = @USE_TARKIN_TRUE@
+USE_THEORA_FALSE = @USE_THEORA_FALSE@
+USE_THEORA_TRUE = @USE_THEORA_TRUE@
+USE_V4L2_FALSE = @USE_V4L2_FALSE@
+USE_V4L2_TRUE = @USE_V4L2_TRUE@
+USE_V4L_FALSE = @USE_V4L_FALSE@
+USE_V4L_TRUE = @USE_V4L_TRUE@
+USE_VCD_FALSE = @USE_VCD_FALSE@
+USE_VCD_TRUE = @USE_VCD_TRUE@
+USE_VORBIS_FALSE = @USE_VORBIS_FALSE@
+USE_VORBIS_TRUE = @USE_VORBIS_TRUE@
+USE_XINE_FALSE = @USE_XINE_FALSE@
+USE_XINE_TRUE = @USE_XINE_TRUE@
+USE_XSHM_FALSE = @USE_XSHM_FALSE@
+USE_XSHM_TRUE = @USE_XSHM_TRUE@
+USE_XVIDEO_FALSE = @USE_XVIDEO_FALSE@
+USE_XVIDEO_TRUE = @USE_XVIDEO_TRUE@
+USE_XVID_FALSE = @USE_XVID_FALSE@
+USE_XVID_TRUE = @USE_XVID_TRUE@
+USE_X_FALSE = @USE_X_FALSE@
+USE_X_TRUE = @USE_X_TRUE@
+VERSION = @VERSION@
+VORBISENC_LIBS = @VORBISENC_LIBS@
+VORBISFILE_LIBS = @VORBISFILE_LIBS@
+VORBIS_CFLAGS = @VORBIS_CFLAGS@
+VORBIS_LIBS = @VORBIS_LIBS@
+XGETTEXT = @XGETTEXT@
+XINE_CFLAGS = @XINE_CFLAGS@
+XINE_LIBS = @XINE_LIBS@
+XSHM_LIBS = @XSHM_LIBS@
+XVIDEO_LIBS = @XVIDEO_LIBS@
+XVID_LIBS = @XVID_LIBS@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+plugindir = @plugindir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+bin_SCRIPTS = \
+ gst-launch-ext-@GST_MAJORMINOR@ \
+ gst-visualise-@GST_MAJORMINOR@
+
+
+man_MANS = \
+ gst-launch-ext-@GST_MAJORMINOR@.1 \
+ gst-visualise-@GST_MAJORMINOR@.1
+
+
+CLEANFILES = $(man_MANS)
+
+EXTRA_DIST = \
+ gst-launch-ext-m.m gst-visualise-m.m \
+ gst-launch-ext.in gst-visualise.in
+
+subdir = tools
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SCRIPTS = $(bin_SCRIPTS)
+
+DIST_SOURCES =
+
+NROFF = nroff
+MANS = $(man_MANS)
+DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu tools/Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+install-binSCRIPTS: $(bin_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ @list='$(bin_SCRIPTS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ if test -f $$d$$p; then \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
+ $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
+ else :; fi; \
+ done
+
+uninstall-binSCRIPTS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_SCRIPTS)'; for p in $$list; do \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+ rm -f $(DESTDIR)$(bindir)/$$f; \
+ done
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+man1dir = $(mandir)/man1
+install-man1: $(man1_MANS) $(man_MANS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(man1dir)
+ @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ for i in $$l2; do \
+ case "$$i" in \
+ *.1*) list="$$list $$i" ;; \
+ esac; \
+ done; \
+ for i in $$list; do \
+ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+ else file=$$i; fi; \
+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+ case "$$ext" in \
+ 1*) ;; \
+ *) ext='1' ;; \
+ esac; \
+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ done
+uninstall-man1:
+ @$(NORMAL_UNINSTALL)
+ @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
+ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+ for i in $$l2; do \
+ case "$$i" in \
+ *.1*) list="$$list $$i" ;; \
+ esac; \
+ done; \
+ for i in $$list; do \
+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+ case "$$ext" in \
+ 1*) ;; \
+ *) ext='1' ;; \
+ esac; \
+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ inst=`echo $$inst | sed -e 's/^.*\///'`; \
+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
+ rm -f $(DESTDIR)$(man1dir)/$$inst; \
+ done
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(SCRIPTS) $(MANS)
+
+installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+ -rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-man
+
+install-exec-am: install-binSCRIPTS
+
+install-info: install-info-am
+
+install-man: install-man1
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binSCRIPTS uninstall-info-am uninstall-man
+
+uninstall-man: uninstall-man1
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am info info-am install install-am install-binSCRIPTS \
+ install-data install-data-am install-exec install-exec-am \
+ install-info install-info-am install-man install-man1 \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ uninstall uninstall-am uninstall-binSCRIPTS uninstall-info-am \
+ uninstall-man uninstall-man1
+
+
+# generate versioned scripts from templates
+%-@GST_MAJORMINOR@: %-m.m
+ sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@
+ chmod +x $@
+
+# generate man pages
+%-@GST_MAJORMINOR@.1: %.1.in
+ sed \
+ -e s,gst-complete,gst-complete-@GST_MAJORMINOR@,g \
+ -e s,gst-compprep,gst-compprep-@GST_MAJORMINOR@,g \
+ -e s,gst-feedback,gst-feedback-@GST_MAJORMINOR@,g \
+ -e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
+ -e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
+ -e s,gst-launch-ext,gst-launch-ext-@GST_MAJORMINOR@,g \
+ -e s,gst-md5sum,gst-md5sum-@GST_MAJORMINOR@,g \
+ -e s,gst-register,gst-register-@GST_MAJORMINOR@,g \
+ -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
+ -e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
+ -e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \
+ $< >$@
+
+all: all-am chmod
+
+chmod: $(bin_SCRIPTS)
+ chmod +x $^
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/tools/gst-launch-ext-m.m b/tools/gst-launch-ext-m.m
new file mode 100644
index 00000000..b5c52442
--- /dev/null
+++ b/tools/gst-launch-ext-m.m
@@ -0,0 +1,165 @@
+#!/usr/bin/perl -w
+use strict;
+
+# launch a gst-launch pipeline for the supplied media file
+# use the extension to determine the gst-launch pipeline
+# make use of default output sinks
+
+my (%pipes, %cfg);
+
+sub extension
+{
+ my $path = shift;
+ my $ext;
+
+ # get only the bit after the last period. We don't deal with
+ # .tar.gz extensions do we ?
+ if ($path =~ /\./)
+ {
+ $ext = $path;
+ $ext =~ s/^.*\.//;
+ }
+ else { $ext = ""; }
+
+ return $ext;
+}
+
+sub read_config
+{
+ my $command = shift;
+
+ my $config_file = `echo -n ~`."/.gst";
+ if (-e $config_file)
+ {
+ open CONFIG, $config_file;
+ while (<CONFIG>)
+ {
+ chomp;
+ s/#.*//;
+ s/\s+$//;
+ next unless length;
+ my ($var, $value) = split (/\s*=\s*/, $_, 2);
+ $cfg{$var} = $value;
+ }
+ if (!($cfg{AUDIOSINK}))
+ {
+ print "Please add an AUDIOSINK to $config_file !\n";
+ }
+ if (!($cfg{VIDEOSINK}))
+ {
+ print "Please add a VIDEOSINK to $config_file !\n";
+ }
+ }
+ else
+ {
+ print "No configuration file $config_file found. You might want to create one.\n";
+ print "This is not an error, just a friendly reminder... Check the man page.\n\n";
+ }
+ if (!defined $cfg{AUDIOSINK}) { $cfg{AUDIOSINK} = "osssink"; }
+ if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "ffcolorspace ! xvimagesink"; }
+ if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = `echo -n ~`."/gst/cvs"; }
+
+ if ($command =~ /(.+)\/gst-launch-ext-@GST_MAJORMINOR@$/)
+ { $cfg{COMMAND_PATH} = "$1"; }
+ else
+ { $cfg{COMMAND_PATH} = ""; }
+}
+
+sub playfile($$)
+{
+ my ($file, $ext) = @_;
+ my $command;
+ my $pipe;
+ my $path = "\$PATH:".$cfg{CVS_PATH}."/gstreamer/tools";
+
+ if ($cfg{COMMAND_PATH} ne "") {
+ $path = $cfg{COMMAND_PATH}.":$path";
+ }
+
+ $ext = lc $ext;
+
+ if ($cfg{VISUALIZER} && ($pipe = $pipes{"vis." . $ext}))
+ {
+ $command = "gst-launch-@GST_MAJORMINOR@ filesrc location=\"$file\" ! $pipe";
+ print "Running command-line\n$command\n\n";
+ system ("PATH=$path $command");
+ }
+ elsif ($pipe = $pipes{$ext})
+ {
+ $command = "gst-launch-@GST_MAJORMINOR@ filesrc location=\"$file\" ! $pipe";
+ print "Running command-line\n$command\n\n";
+ system ("PATH=$path $command");
+ }
+ else
+ {
+ print "No suitable pipe found for extension $ext.\n";
+ }
+}
+
+### main
+
+read_config ($0);
+
+%pipes = (
+ "ac3", "a52dec ! $cfg{AUDIOSINK}",
+ "au", "auparse ! $cfg{AUDIOSINK}",
+ "avi", "avidemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
+ "asf", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
+ "flac", "flacdec ! $cfg{AUDIOSINK}",
+ "fli", "flxdec ! colorspace ! $cfg{VIDEOSINK}",
+ "m1v", "mpegdemux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }",
+ "m2v", "mpegdemux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }",
+ "m4a", "qtdemux .audio_00 ! { queue ! faad ! $cfg{AUDIOSINK} }",
+ "mod", "modplug ! $cfg{AUDIOSINK}",
+ "mp2", "mad ! $cfg{AUDIOSINK}",
+ "mp3", "mad ! $cfg{AUDIOSINK}",
+ "mpeg", "mpegdemux name=demux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } { demux. ! queue ! mad ! $cfg{AUDIOSINK} }",
+ "mpg", "mpegdemux name=demux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } { demux. ! queue ! mad ! $cfg{AUDIOSINK} }",
+ "ogg", "oggdemux ! vorbisdec ! audioconvert ! $cfg{AUDIOSINK}",
+ "sid", "siddec ! $cfg{AUDIOSINK}",
+ "swf", "swfdec name=swfdec ! { queue ! colorspace ! $cfg{VIDEOSINK} } { swfdec. ! queue ! $cfg{AUDIOSINK} }",
+ "vob", "mpegdemux name=demux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } { demux. ! queue ! a52dec ! $cfg{AUDIOSINK} }",
+ "wav", "wavparse ! $cfg{AUDIOSINK}",
+ "wm", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
+### a wma file can use wmav1 or wmav2 codec so we must use spider to decode it
+ "wma", "asfdemux name=demux ! spider ! $cfg{AUDIOSINK}",
+ "wmv", "asfdemux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
+ "mkv", "matroskademux name=demux ! { queue ! spider ! $cfg{VIDEOSINK} } { demux. ! queue ! spider ! $cfg{AUDIOSINK} }",
+ "mka", "matroskademux ! spider ! $cfg{AUDIOSINK}",
+);
+
+if ($cfg{VISUALIZER}) {
+ %pipes = (
+ %pipes,
+ "vis.mp3", "mad ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
+ "vis.ogg", "vorbisdec ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
+ "vis.wav", "wavparse ! tee name=tee silent=true ! queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } tee. ! $cfg{AUDIOSINK}",
+ );
+}
+
+if ($#ARGV == -1) {
+ print STDERR "Usage: gst-launch-ext-@GST_MAJORMINOR@ filename[s]\n";
+ exit 1;
+}
+
+my $file;
+while ($file = shift @ARGV) {
+ my $ext = extension ($file);
+ if (!$ext) {
+ print "file $file doesn't have an extension !\n";
+ exit;
+ }
+ if ($ext eq 'm3u')
+ {
+ open (PLAYLIST, '<', $file);
+ my $file2;
+ while ($file2 = <PLAYLIST>) {
+ chomp $file2;
+ my $ext2 = extension ($file2);
+ playfile($file2, $ext2);
+ }
+ close PLAYLIST;
+ } else {
+ playfile($file, $ext);
+ }
+}
diff --git a/tools/gst-launch-ext.1.in b/tools/gst-launch-ext.1.in
new file mode 100644
index 00000000..1c2f7cee
--- /dev/null
+++ b/tools/gst-launch-ext.1.in
@@ -0,0 +1,44 @@
+.TH "GStreamer" "1" "February 2002" "" ""
+.SH "NAME"
+gst\-launch\-ext \- Run a predefined GStreamer pipeline
+.SH "SYNOPSIS"
+\fBgst\-launch\-ext\fR \fIfilename [filename...]\fR
+.SH "DESCRIPTION"
+.LP
+\fIgst\-launch\-ext\fP is a tool that is used to run a basic predefined
+\fIGStreamer\fP pipeline. This application is only used as a quick test to
+ensure proper working of codecs and GStreamer. It doesn't handle more advanced
+features like synchronisation.
+
+All supported formats in GStreamer should be playable by simply typing:
+
+ gst\-launch\-ext filename
+
+It will also print out the pipeline it uses, so you can customize it using
+cut and paste.
+
+.SH "CONFIGURATION"
+.LP
+\fIgst\-launch\-ext\fP can be configured by creating a .gst file in your
+home directory. This is a perl-style configuration file and can override
+the defaults for audio and video output sinks.
+
+Here is an example .gst file that implements the same defaults as hard-coded
+in the script :
+
+AUDIOSINK = "osssink";
+VIDEOSINK = "colorspace ! xvideosink";
+
+You can change osssink to any of esdsink, alsasink, jacksink (if you have
+the plug-in), and you can change xvideosink to aasink or sdlvideosink.
+
+Other plug-ins might be used as well if GStreamer has them.
+
+.SH "SEE ALSO"
+.BR gst\-guilaunch (1),
+.BR gst\-complete (1),
+.BR gst\-register (1),
+.BR gst\-inspect (1),
+.BR gst\-launch (1),
+.SH "AUTHOR"
+The GStreamer team at http://gstreamer.net/
diff --git a/tools/gst-visualise-m.m b/tools/gst-visualise-m.m
new file mode 100644
index 00000000..25748030
--- /dev/null
+++ b/tools/gst-visualise-m.m
@@ -0,0 +1,79 @@
+#!/usr/bin/perl -w
+
+# launch a gst-launch pipeline to display a visualisation of the
+# input audio.
+# make use of default input srcs.
+# visualisation plugin is specified on command line.
+
+### packages
+
+use File::Basename;
+
+
+my (%pipes, %cfg);
+
+sub read_config
+{
+ my $config_file = `echo -n ~`."/.gst";
+ if (-e $config_file)
+ {
+ open CONFIG, $config_file;
+ while (<CONFIG>)
+ {
+ chomp;
+ s/#.*//;
+ s/\s+$//;
+ next unless length;
+ my ($var, $value) = split (/\s*=\s*/, $_, 2);
+ $cfg{$var} = $value;
+ }
+ if (!($cfg{AUDIOSRC}))
+ {
+ print "Please add an AUDIOSRC to $config_file !\n";
+ }
+ if (!($cfg{VIDEOSINK}))
+ {
+ print "Please add a VIDEOSINK to $config_file !\n";
+ }
+ }
+ else
+ {
+ print "No configuration file $config_file found. You might want to create one.\n";
+ }
+ if (!defined $cfg{AUDIOSRC}) { $cfg{AUDIOSRC} = "esdmon"; }
+ if (!defined $cfg{VIDEOSINK}) { $cfg{VIDEOSINK} = "sdlvideosink"; }
+ if (!defined $cfg{CVS_PATH}) { $cfg{CVS_PATH} = `echo -n ~`."/gst/cvs"; }
+}
+
+sub visualise(@)
+{
+ my $vis = $cfg{VISUALIZER};
+ $vis = shift() if ($#_ != -1);
+ $vis = "goom" unless $vis;
+
+ my $pipe;
+ $pipe = $vis unless $pipe = $pipes{$vis};
+
+ $command = "gst-launch-@GST_MAJORMINOR@ $cfg{AUDIOSRC} ! $pipe ! { queue ! colorspace ! $cfg{VIDEOSINK} }";
+ print "Running $command\n";
+ system ("PATH=\$PATH:".$cfg{CVS_PATH}."/gstreamer/tools $command");
+}
+
+### main
+
+read_config ();
+
+%pipes = (
+ "goom", "goom",
+ "chart", "stereo2mono ! chart",
+ "synaesthesia", "synaesthesia",
+ "monoscope", "stereo2mono ! monoscope"
+);
+
+if ($#ARGV > 0) {
+ print STDERR "Usage: gst-visualise [visualiser]\n";
+ exit 1;
+}
+
+visualise(@ARGV);
+
diff --git a/tools/gst-visualise.1 b/tools/gst-visualise.1.in
index f61446ec..f61446ec 100644
--- a/tools/gst-visualise.1
+++ b/tools/gst-visualise.1.in