Difference between revisions of "Gstreamer-core"

From CBLFS
Jump to navigationJump to search
 
(8 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
----
 
----
  
== Introduction to GStreamer ==
+
{{Package-Introduction|The GStreamer package contains a streaming media framework that enables applications to share a common set of plugins for things like video decoding and encoding, audio encoding and decoding, audio and video filters, audio visualisation, Web streaming and anything else that streams in real-time or otherwise. It is modelled after research software worked on at the Oregon Graduate Institute.
  
The GStreamer package contains a streaming media framework that enables applications to share a common set of plugins for things like video decoding and encoding, audio encoding and decoding, audio and video filters, audio visualisation, Web streaming and anything else that streams in real-time or otherwise. It is modelled after research software worked on at the Oregon Graduate Institute.
+
After installing GStreamer, you'll likely need to install one or more of the [[Gst-plugins-base]], [[Gst-plugins-good]], [[Gst-plugins-ugly]], [[Gst-plugins-bad]], and [[Gst-ffmpeg]] packages.|http://www.gstreamer.net}}
 
 
After installing GStreamer, you'll likely need to install one or more of the [[Gst-plugins-base]], [[Gst-plugins-good]], [[Gst-plugins-ugly]], [[Gst-plugins-bad]], and [[Gst-ffmpeg]] packages. There are additional GStreamer modules at http://gstreamer.freedesktop.org/modules/.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 19: Line 17:
 
* [[LibXML2]]
 
* [[LibXML2]]
 
=== Optional ===
 
=== Optional ===
 +
* [[Gobject-introspection]]
 
* [[Check]]
 
* [[Check]]
 
* [[Valgrind]]
 
* [[Valgrind]]
Line 56: Line 55:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" USE_ARCH=32 \
+
  export CC="gcc ${BUILD32}"
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
+
export USE_ARCH=32
  ./configure --prefix=/usr &&
+
  export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}"
 +
  sed -i 's/gir-1.0/&-32/' $(grep -lr gir-1.0 *) &&
 +
NM=nm ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
 
  make
 
  make
  
Line 68: Line 69:
 
   mv -v $prog{,-32}
 
   mv -v $prog{,-32}
 
  done
 
  done
 +
unset PKG_CONFIG_PATH
 +
unset USE_ARCH
 +
unset CC
  
 
=== N32 ===
 
=== N32 ===
Line 73: Line 77:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
+
  export CC="gcc ${BUILDN32}"
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
+
export USE_ARCH=n32
 +
  export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}"
 +
sed -i 's/gir-1.0/&-n32/' $(grep -lr gir-1.0 *) &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 85: Line 91:
 
   mv -v $prog{,-n32}
 
   mv -v $prog{,-n32}
 
  done
 
  done
 +
unset PKG_CONFIG_PATH
 +
unset USE_ARCH
 +
unset CC
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 90: Line 99:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" USE_ARCH=64 \
+
  export CC="gcc ${BUILD64}"
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
export USE_ARCH=64
 +
  export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
 +
sed -i 's/gir-1.0/&-64/' $(grep -lr gir-1.0 *) &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
Line 109: Line 120:
 
     chown -v -R root:root /usr/share/doc/gstreamer-{{Gstreamer-Version}}/*/html
 
     chown -v -R root:root /usr/share/doc/gstreamer-{{Gstreamer-Version}}/*/html
 
  fi
 
  fi
 +
unset USE_ARCH
 +
unset PKG_CONFIG_PATH
 +
unset CC
  
 
== Content ==
 
== Content ==

Latest revision as of 01:14, 29 June 2010

Download Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.31.tar.bz2

Introduction to Gstreamer-core

The GStreamer package contains a streaming media framework that enables applications to share a common set of plugins for things like video decoding and encoding, audio encoding and decoding, audio and video filters, audio visualisation, Web streaming and anything else that streams in real-time or otherwise. It is modelled after research software worked on at the Oregon Graduate Institute.

After installing GStreamer, you'll likely need to install one or more of the Gst-plugins-base, Gst-plugins-good, Gst-plugins-ugly, Gst-plugins-bad, and Gst-ffmpeg packages.

Project Homepage: http://www.gstreamer.net

Dependencies

Required

Optional

Required to build the API Documentation

Required to build the manuals

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/gstreamer-0.10.31/design &&
install -v -m644 docs/design/*.txt \
                    /usr/share/doc/gstreamer-0.10.31/design &&
if [ -d /usr/share/doc/gstreamer-0.10.31/faq/html ]; then
    chown -v -R root:root /usr/share/doc/gstreamer-0.10.31/*/html
fi

Multilib

32Bit

Compile the package:

export CC="gcc ${BUILD32}"
export USE_ARCH=32
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}"
sed -i 's/gir-1.0/&-32/' $(grep -lr gir-1.0 *) &&
NM=nm ./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package:

make install &&
for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-0.10}
do
  mv -v $prog{,-32}
done
unset PKG_CONFIG_PATH
unset USE_ARCH
unset CC

N32

Compile the package:

export CC="gcc ${BUILDN32}"
export USE_ARCH=n32
export PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}"
sed -i 's/gir-1.0/&-n32/' $(grep -lr gir-1.0 *) &&
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-0.10}
do
  mv -v $prog{,-n32}
done
unset PKG_CONFIG_PATH
unset USE_ARCH
unset CC

64Bit

Compile the package:

export CC="gcc ${BUILD64}"
export USE_ARCH=64
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
sed -i 's/gir-1.0/&-64/' $(grep -lr gir-1.0 *) &&
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-0.10}
do
  mv -v $prog{,-64}
  ln -sfv multiarch_wrapper $prog
done &&
install -v -m755 -d /usr/share/doc/gstreamer-0.10.31/design &&
install -v -m644 docs/design/*.txt \
                    /usr/share/doc/gstreamer-0.10.31/design &&
if [ -d /usr/share/doc/gstreamer-0.10.31/faq/html ]; then
    chown -v -R root:root /usr/share/doc/gstreamer-0.10.31/*/html
fi
unset USE_ARCH
unset PKG_CONFIG_PATH
unset CC

Content

Installed Programs: gst-feedback{,-0.10}, gst-inspect{,-0.10}, gst-launch{,-0.10}, gst-typefind{,-0.10}, gst-xmllaunch{,-0.10} and gst-xmlinspect{,-0.10}

Installed Libraries: libgstbase-0.10.{so,a}, libgstcheck-0.10.{so,a}, libgstcontroller-0.10.{so,a}, libgstdataprotocol-0.10.{so,a}, libgstnet-0.10.{so,a}, libgstreamer-0.10.{so,a}, and libgst*.{so,a} plugin modules

Installed Directories: /usr/include/gstreamer-0.10, /usr/lib/gstreamer-0.10, /usr/share/doc/gstreamer-0.10, /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-0.10

Short Descriptions

gst-feedback-0.10: generates debug info for GStreamer bug reports.

gst-inspect-0.10: prints information about a GStreamer plugin or element.

gst-launch-0.10: is a tool that builds and runs basic GStreamer pipelines.

gst-typefind-0.10: uses the GStreamer type finding system to determine the relevant GStreamer plugin to parse or decode a file, and determine the corresponding MIME type.

gst-xmlinspect-0.10: prints information about a GStreamer plugin or element in XML document format.

gst-xmllaunch-0.10: is used to build and run a basic GStreamer pipeline, loading it from an XML description.