Blame README

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