Blame README

Packit Service 0057d1
GStreamer 1.16.x stable series
Packit Service 0057d1
Packit Service 0057d1
WHAT IT IS
Packit Service 0057d1
----------
Packit Service 0057d1
Packit Service 0057d1
This is GStreamer, a framework for streaming media.
Packit Service 0057d1
Packit Service 0057d1
WHERE TO START
Packit Service 0057d1
--------------
Packit Service 0057d1
Packit Service 0057d1
We have a website at
Packit Service 0057d1
http://gstreamer.freedesktop.org/
Packit Service 0057d1
Packit Service 0057d1
You should start by going through our FAQ at
Packit Service 0057d1
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/
Packit Service 0057d1
Packit Service 0057d1
There is more documentation; go to
Packit Service 0057d1
http://gstreamer.freedesktop.org/documentation
Packit Service 0057d1
Packit Service 0057d1
You can subscribe to our mailing lists; see the website for details.
Packit Service 0057d1
Packit Service 0057d1
We track bugs in GNOME's bugzilla; see the website for details.
Packit Service 0057d1
Packit Service 0057d1
You can join us on IRC - #gstreamer on irc.freenode.org
Packit Service 0057d1
Packit Service 0057d1
GStreamer 1.0 series
Packit Service 0057d1
--------------------
Packit Service 0057d1
Packit Service 0057d1
Starring
Packit Service 0057d1
Packit Service 0057d1
  GSTREAMER
Packit Service 0057d1
Packit Service 0057d1
The core around which all other modules revolve.  Base functionality and
Packit Service 0057d1
libraries, some essential elements, documentation, and testing.
Packit Service 0057d1
Packit Service 0057d1
  BASE
Packit Service 0057d1
Packit Service 0057d1
A well-groomed and well-maintained collection of GStreamer plug-ins and
Packit Service 0057d1
elements, spanning the range of possible types of elements one would want
Packit Service 0057d1
to write for GStreamer.  
Packit Service 0057d1
Packit Service 0057d1
And introducing, for the first time ever, on the development screen ...
Packit Service 0057d1
Packit Service 0057d1
  THE GOOD
Packit Service 0057d1
Packit Service 0057d1
 --- "Such ingratitude.  After all the times I've saved your life."
Packit Service 0057d1
Packit Service 0057d1
A collection of plug-ins you'd want to have right next to you on the
Packit Service 0057d1
battlefield.  Shooting sharp and making no mistakes, these plug-ins have it
Packit Service 0057d1
all: good looks, good code, and good licensing.  Documented and dressed up
Packit Service 0057d1
in tests.  If you're looking for a role model to base your own plug-in on,
Packit Service 0057d1
here it is.
Packit Service 0057d1
Packit Service 0057d1
If you find a plot hole or a badly lip-synced line of code in them,
Packit Service 0057d1
let us know - it is a matter of honour for us to ensure Blondie doesn't look
Packit Service 0057d1
like he's been walking 100 miles through the desert without water.
Packit Service 0057d1
Packit Service 0057d1
  THE UGLY
Packit Service 0057d1
Packit Service 0057d1
  --- "When you have to shoot, shoot.  Don't talk."
Packit Service 0057d1
Packit Service 0057d1
There are times when the world needs a color between black and white.
Packit Service 0057d1
Quality code to match the good's, but two-timing, backstabbing and ready to
Packit Service 0057d1
sell your freedom down the river.  These plug-ins might have a patent noose
Packit Service 0057d1
around their neck, or a lock-up license, or any other problem that makes you
Packit Service 0057d1
think twice about shipping them.
Packit Service 0057d1
Packit Service 0057d1
We don't call them ugly because we like them less.  Does a mother love her
Packit Service 0057d1
son less because he's not as pretty as the other ones ? No  - she commends
Packit Service 0057d1
him on his great personality.  These plug-ins are the life of the party.
Packit Service 0057d1
And we'll still step in and set them straight if you report any unacceptable
Packit Service 0057d1
behaviour - because there are two kinds of people in the world, my friend:
Packit Service 0057d1
those with a rope around their neck and the people who do the cutting.
Packit Service 0057d1
Packit Service 0057d1
  THE BAD
Packit Service 0057d1
Packit Service 0057d1
  --- "That an accusation?"
Packit Service 0057d1
Packit Service 0057d1
No perfectly groomed moustache or any amount of fine clothing is going to
Packit Service 0057d1
cover up the truth - these plug-ins are Bad with a capital B. 
Packit Service 0057d1
They look fine on the outside, and might even appear to get the job done, but
Packit Service 0057d1
at the end of the day they're a black sheep. Without a golden-haired angel
Packit Service 0057d1
to watch over them, they'll probably land in an unmarked grave at the final
Packit Service 0057d1
showdown.
Packit Service 0057d1
Packit Service 0057d1
Don't bug us about their quality - exercise your Free Software rights,
Packit Service 0057d1
patch up the offender and send us the patch on the fastest steed you can
Packit Service 0057d1
steal from the Confederates. Because you see, in this world, there's two
Packit Service 0057d1
kinds of people, my friend: those with loaded guns and those who dig.
Packit Service 0057d1
You dig.
Packit Service 0057d1
Packit Service 0057d1
The Lowdown
Packit Service 0057d1
-----------
Packit Service 0057d1
Packit Service 0057d1
  --- "I've never seen so many plug-ins wasted so badly."
Packit Service 0057d1
Packit Service 0057d1
GStreamer Plug-ins has grown so big that it's hard to separate the wheat from
Packit Service 0057d1
the chaff.  Also, distributors have brought up issues about the legal status
Packit Service 0057d1
of some of the plug-ins we ship.  To remedy this, we've divided the previous
Packit Service 0057d1
set of available plug-ins into four modules:
Packit Service 0057d1
Packit Service 0057d1
- gst-plugins-base: a small and fixed set of plug-ins, covering a wide range
Packit Service 0057d1
  of possible types of elements; these are continuously kept up-to-date
Packit Service 0057d1
  with any core changes during the development series.
Packit Service 0057d1
Packit Service 0057d1
  - We believe distributors can safely ship these plug-ins.
Packit Service 0057d1
  - People writing elements should base their code on these elements.
Packit Service 0057d1
  - These elements come with examples, documentation, and regression tests.
Packit Service 0057d1
Packit Service 0057d1
- gst-plugins-good: a set of plug-ins that we consider to have good quality
Packit Service 0057d1
  code, correct functionality, our preferred license (LGPL for the plug-in
Packit Service 0057d1
  code, LGPL or LGPL-compatible for the supporting library).
Packit Service 0057d1
Packit Service 0057d1
  - We believe distributors can safely ship these plug-ins.
Packit Service 0057d1
  - People writing elements should base their code on these elements.
Packit Service 0057d1
 
Packit Service 0057d1
- gst-plugins-ugly: a set of plug-ins that have good quality and correct
Packit Service 0057d1
  functionality, but distributing them might pose problems.  The license
Packit Service 0057d1
  on either the plug-ins or the supporting libraries might not be how we'd
Packit Service 0057d1
  like. The code might be widely known to present patent problems.
Packit Service 0057d1
Packit Service 0057d1
  - Distributors should check if they want/can ship these plug-ins.
Packit Service 0057d1
  - People writing elements should base their code on these elements.
Packit Service 0057d1
Packit Service 0057d1
- gst-plugins-bad: a set of plug-ins that aren't up to par compared to the
Packit Service 0057d1
  rest.  They might be close to being good quality, but they're missing
Packit Service 0057d1
  something - be it a good code review, some documentation, a set of tests,
Packit Service 0057d1
  a real live maintainer, or some actual wide use.
Packit Service 0057d1
  If the blanks are filled in they might be upgraded to become part of
Packit Service 0057d1
  either gst-plugins-good or gst-plugins-ugly, depending on the other factors.
Packit Service 0057d1
Packit Service 0057d1
  - If the plug-ins break, you can't complain - instead, you can fix the
Packit Service 0057d1
    problem and send us a patch, or bribe someone into fixing them for you.
Packit Service 0057d1
  - New contributors can start here for things to work on.
Packit Service 0057d1
Packit Service 0057d1
PLATFORMS
Packit Service 0057d1
---------
Packit Service 0057d1
Packit Service 0057d1
- Linux is of course fully supported
Packit Service 0057d1
- FreeBSD is reported to work; other BSDs should work too
Packit Service 0057d1
- Solaris is reported to work; a specific sunaudiosink plugin has been written
Packit Service 0057d1
- MacOSX works, binary 1.x packages can be built using the cerbero build tool
Packit Service 0057d1
- Windows works; binary 1.x packages can be built using the cerbero build tool
Packit Service 0057d1
  - MSys/MinGW builds
Packit Service 0057d1
  - Microsoft Visual Studio builds are not yet available or supported
Packit Service 0057d1
- Android works, binary 1.x packages can be built using the cerbero build tool
Packit Service 0057d1
- iOS works
Packit Service 0057d1
Packit Service 0057d1
INSTALLING FROM PACKAGES
Packit Service 0057d1
------------------------
Packit Service 0057d1
Packit Service 0057d1
You should always prefer installing from packages first.  GStreamer is
Packit Service 0057d1
well-maintained for a number of distributions, including Fedora, Debian,
Packit Service 0057d1
Ubuntu, Mandrake, Gentoo, ...
Packit Service 0057d1
Packit Service 0057d1
Only in cases where you:
Packit Service 0057d1
- want to hack on GStreamer
Packit Service 0057d1
- want to verify that a bug has been fixed
Packit Service 0057d1
- do not have a sane distribution
Packit Service 0057d1
should you choose to build from source tarballs or git.
Packit Service 0057d1
Packit Service 0057d1
Find more information about the various packages at
Packit Service 0057d1
http://gstreamer.freedesktop.org/download/
Packit Service 0057d1
Packit Service 0057d1
COMPILING FROM SOURCE TARBALLS
Packit Service 0057d1
------------------------------
Packit Service 0057d1
Packit Service 0057d1
- again, make sure that you really need to install from source !
Packit Service 0057d1
  If GStreamer is one of your first projects ever that you build from source,
Packit Service 0057d1
  consider taking on an easier project.
Packit Service 0057d1
Packit Service 0057d1
- check output of ./configure --help to see if any options apply to you
Packit Service 0057d1
- run
Packit Service 0057d1
  ./configure
Packit Service 0057d1
  make
Packit Service 0057d1
Packit Service 0057d1
  to build GStreamer.
Packit Service 0057d1
- if you want to install it (not required, but what you usually want to do), run
Packit Service 0057d1
  make install
Packit Service 0057d1
Packit Service 0057d1
- try out a simple test:
Packit Service 0057d1
  gst-launch -v fakesrc num_buffers=5 ! fakesink
Packit Service 0057d1
  (If you didn't install GStreamer, prefix gst-launch with tools/)
Packit Service 0057d1
Packit Service 0057d1
  If it outputs a bunch of messages from fakesrc and fakesink, everything is
Packit Service 0057d1
  ok.
Packit Service 0057d1
Packit Service 0057d1
  If it did not work, keep in mind that you might need to adjust the
Packit Service 0057d1
  PATH and/or LD_LIBRARY_PATH environment variables to make the system
Packit Service 0057d1
  find GStreamer in the prefix where you installed (by default that is /usr/local).
Packit Service 0057d1
Packit Service 0057d1
- After this, you're ready to install gst-plugins, which will provide the
Packit Service 0057d1
  functionality you're probably looking for by now, so go on and read
Packit Service 0057d1
  that README.
Packit Service 0057d1
Packit Service 0057d1
COMPILING FROM GIT
Packit Service 0057d1
------------------
Packit Service 0057d1
Packit Service 0057d1
When building from git sources, you will need to run autogen.sh to generate
Packit Service 0057d1
the build system files.
Packit Service 0057d1
Packit Service 0057d1
You will need a set of additional tools typical for building from git,
Packit Service 0057d1
including:
Packit Service 0057d1
- autoconf
Packit Service 0057d1
- automake
Packit Service 0057d1
- libtool
Packit Service 0057d1
Packit Service 0057d1
autogen.sh will check for recent enough versions and complain if you don't have
Packit Service 0057d1
them.  You can also specify specific versions of automake and autoconf with
Packit Service 0057d1
--with-automake and --with-autoconf
Packit Service 0057d1
Packit Service 0057d1
Check autogen.sh options by running autogen.sh --help
Packit Service 0057d1
Packit Service 0057d1
autogen.sh can pass on arguments to configure
Packit Service 0057d1
Packit Service 0057d1
When you have done this once, you can use autoregen.sh to re-autogen with
Packit Service 0057d1
the last passed options as a handy shortcut.  Use it.
Packit Service 0057d1
Packit Service 0057d1
After the autogen.sh stage, you can follow the directions listed in
Packit Service 0057d1
"COMPILING FROM SOURCE"
Packit Service 0057d1
Packit Service 0057d1
You can also run your whole git stack uninstalled in your home directory,
Packit Service 0057d1
so that you can quickly test changes without affecting your system setup or
Packit Service 0057d1
interfering with GStreamer installed from packages.  Many GStreamer developers
Packit Service 0057d1
use an uninstalled setup for their work.
Packit Service 0057d1
Packit Service 0057d1
There is a 'create-uninstalled-setup.sh' script in
Packit Service 0057d1
Packit Service 0057d1
  http://cgit.freedesktop.org/gstreamer/gstreamer/tree/scripts/
Packit Service 0057d1
Packit Service 0057d1
to easily create an uninstalled setup from scratch.
Packit Service 0057d1
Packit Service 0057d1
Packit Service 0057d1
PLUG-IN DEPENDENCIES AND LICENSES
Packit Service 0057d1
---------------------------------
Packit Service 0057d1
Packit Service 0057d1
GStreamer is developed under the terms of the LGPL (see COPYING file for
Packit Service 0057d1
details). Some of our plug-ins however rely on libraries which are available
Packit Service 0057d1
under other licenses. This means that if you are distributing an application
Packit Service 0057d1
which has a non-GPL compatible license (for instance a closed-source
Packit Service 0057d1
application) with GStreamer, you have to make sure not to distribute GPL-linked
Packit Service 0057d1
plug-ins.
Packit Service 0057d1
Packit Service 0057d1
When using GPL-linked plug-ins, GStreamer is for all practical reasons
Packit Service 0057d1
under the GPL itself.
Packit Service 0057d1
Packit Service 0057d1
HISTORY
Packit Service 0057d1
-------
Packit Service 0057d1
Packit Service 0057d1
The fundamental design comes from the video pipeline at Oregon Graduate
Packit Service 0057d1
Institute, as well as some ideas from DirectMedia.  It's based on plug-ins that
Packit Service 0057d1
will provide the various codec and other functionality.  The interface
Packit Service 0057d1
hopefully is generic enough for various companies (ahem, Apple) to release
Packit Service 0057d1
binary codecs for Linux, until such time as they get a clue and release the
Packit Service 0057d1
source.