Blame README

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