Difference between revisions of "Gstreamer-core"
(14 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://gstreamer.freedesktop.org/src/gstreamer/gstreamer- | + | | http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-{{Gstreamer-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{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. | ||
+ | |||
+ | 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}} | ||
== Dependencies == | == Dependencies == | ||
Line 13: | Line 17: | ||
* [[LibXML2]] | * [[LibXML2]] | ||
=== Optional === | === Optional === | ||
+ | * [[Gobject-introspection]] | ||
* [[Check]] | * [[Check]] | ||
* [[Valgrind]] | * [[Valgrind]] | ||
+ | |||
=== Required to build the API Documentation === | === Required to build the API Documentation === | ||
* [[Gtk-Doc]] | * [[Gtk-Doc]] | ||
Line 21: | Line 27: | ||
* [[LibXSLT]] | * [[LibXSLT]] | ||
* [[TeTeX]] | * [[TeTeX]] | ||
− | * [[ | + | * [[Ghostscript]] |
* [[DocBook Utils]] | * [[DocBook Utils]] | ||
* [[Transfig]] | * [[Transfig]] | ||
Line 36: | Line 42: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/gstreamer- | + | install -v -m755 -d /usr/share/doc/gstreamer-{{Gstreamer-Version}}/design && |
install -v -m644 docs/design/*.txt \ | install -v -m644 docs/design/*.txt \ | ||
− | /usr/share/doc/gstreamer- | + | /usr/share/doc/gstreamer-{{Gstreamer-Version}}/design && |
− | if [ -d /usr/share/doc/gstreamer- | + | if [ -d /usr/share/doc/gstreamer-{{Gstreamer-Version}}/faq/html ]; then |
− | chown -v -R root:root /usr/share/doc/gstreamer- | + | chown -v -R root:root /usr/share/doc/gstreamer-{{Gstreamer-Version}}/*/html |
fi | fi | ||
Line 49: | Line 55: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" | + | export CC="gcc ${BUILD32}" |
− | ./configure --prefix=/usr && | + | 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 | make | ||
Line 56: | Line 65: | ||
make install && | make install && | ||
− | for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,- | + | for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-{{Gstreamer-Version2}}} |
do | do | ||
mv -v $prog{,-32} | mv -v $prog{,-32} | ||
done | done | ||
+ | unset PKG_CONFIG_PATH | ||
+ | unset USE_ARCH | ||
+ | unset CC | ||
=== N32 === | === N32 === | ||
Line 65: | Line 77: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" | + | 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 && | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
make | make | ||
Line 72: | Line 87: | ||
make install && | make install && | ||
− | for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,- | + | for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-{{Gstreamer-Version2}}} |
do | do | ||
mv -v $prog{,-n32} | mv -v $prog{,-n32} | ||
done | done | ||
+ | unset PKG_CONFIG_PATH | ||
+ | unset USE_ARCH | ||
+ | unset CC | ||
=== 64Bit === | === 64Bit === | ||
Line 81: | Line 99: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" | + | 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 && | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
Line 88: | Line 109: | ||
make install && | make install && | ||
− | for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,- | + | for prog in /usr/bin/gst-{feedback,inspect,launch,typefind,xmlinspect,xmllaunch}{,-{{Gstreamer-Version2}}} |
do | do | ||
mv -v $prog{,-64} | mv -v $prog{,-64} | ||
ln -sfv multiarch_wrapper $prog | ln -sfv multiarch_wrapper $prog | ||
done && | done && | ||
− | install -v -m755 -d /usr/share/doc/gstreamer- | + | install -v -m755 -d /usr/share/doc/gstreamer-{{Gstreamer-Version}}/design && |
install -v -m644 docs/design/*.txt \ | install -v -m644 docs/design/*.txt \ | ||
− | /usr/share/doc/gstreamer- | + | /usr/share/doc/gstreamer-{{Gstreamer-Version}}/design && |
− | if [ -d /usr/share/doc/gstreamer- | + | if [ -d /usr/share/doc/gstreamer-{{Gstreamer-Version}}/faq/html ]; then |
− | chown -v -R root:root /usr/share/doc/gstreamer- | + | 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 == | ||
− | + | Installed Programs: gst-feedback{,-{{Gstreamer-Version2}}}, gst-inspect{,-{{Gstreamer-Version2}}}, gst-launch{,-{{Gstreamer-Version2}}}, gst-typefind{,-{{Gstreamer-Version2}}}, gst-xmllaunch{,-{{Gstreamer-Version2}}} and gst-xmlinspect{,-{{Gstreamer-Version2}}} | |
− | |||
− | Installed Programs: gst-feedback{,- | ||
− | Installed Libraries: libgstbase- | + | Installed Libraries: libgstbase-{{Gstreamer-Version2}}.{so,a}, libgstcheck-{{Gstreamer-Version2}}.{so,a}, libgstcontroller-{{Gstreamer-Version2}}.{so,a}, libgstdataprotocol-{{Gstreamer-Version2}}.{so,a}, libgstnet-{{Gstreamer-Version2}}.{so,a}, libgstreamer-{{Gstreamer-Version2}}.{so,a}, and libgst*.{so,a} plugin modules |
− | Installed Directories: /usr/include/gstreamer- | + | Installed Directories: /usr/include/gstreamer-{{Gstreamer-Version2}}, /usr/lib/gstreamer-{{Gstreamer-Version2}}, /usr/share/doc/gstreamer-{{Gstreamer-Version2}}, /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-{{Gstreamer-Version2}} |
=== Short Descriptions === | === Short Descriptions === | ||
− | gst-feedback- | + | gst-feedback-{{Gstreamer-Version2}}: generates debug info for GStreamer bug reports. |
− | gst-inspect- | + | gst-inspect-{{Gstreamer-Version2}}: prints information about a GStreamer plugin or element. |
− | gst-launch- | + | gst-launch-{{Gstreamer-Version2}}: is a tool that builds and runs basic GStreamer pipelines. |
− | gst-typefind- | + | gst-typefind-{{Gstreamer-Version2}}: 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- | + | gst-xmlinspect-{{Gstreamer-Version2}}: prints information about a GStreamer plugin or element in XML document format. |
− | gst-xmllaunch- | + | gst-xmllaunch-{{Gstreamer-Version2}}: is used to build and run a basic GStreamer pipeline, loading it from an XML description. |
Latest revision as of 01:14, 29 June 2010
Download Source: | http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.31.tar.bz2 |
---|
Contents
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.