Blame README

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