Blame README

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