LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-02-2009, 07:46 AM   #1
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 216

Rep: Reputation: 36
What actually is Gstreamer ?


1. Have been reading a bit but still unable to understand -
what actually is gstreamer?


2. When installing KDE , do I need to install gstreamer or there is something equivalent default in KDE. What is that?


3. Going to install Debian (with lxde) with net-install cd and later install packages -
lame
ffmpeg
mencoder

Are these enough to enable the computer to play "almost all" the mp3 and videos from videocams?
 
Old 05-02-2009, 08:38 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
GStreamer is a streaming media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plugin-based architecture means
that new data types or processing capabilities can be added simply by
installing new plug-ins.
 
Old 05-02-2009, 08:52 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
gstreamer is a multimedia encoding and decoding framework. You generally don't use it directly (though there are tools available for that), it's mostly used as the backend for various media players such as totem. It has a plug-in based system for adding support for various codecs. It even has an ffmpeg plugin to provide you with libav support.

It's not absolutely necessary to have it, unless the player you want to use depends on it. If you have mplayer/mencoder, ffmpeg, and lame, you pretty much have everything you need for most media work. But you may find that certain media play better on one framework than another, or even only on one of them (usually the one you don't have installed ), so it's perfectly reasonable to have a variety of players and backends available. I personally have just about everything installed; mplayer, ffmpeg, xine, gstreamer, and vlc, along with several frontends and related tools. If something is playable at all on Linux, I'm probably going to be able to play it.

Last edited by David the H.; 05-02-2009 at 08:56 AM.
 
Old 05-02-2009, 11:31 PM   #4
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 216

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by David the H. View Post
It's not absolutely necessary to have it, unless the player you want to use depends on it........... I personally have just about everything installed; mplayer, ffmpeg, xine, gstreamer, and vlc, along with several frontends and related tools. If something is playable at all on Linux, I'm probably going to be able to play it.
I use players like vlc and smplayer, so any idea what is the "default" packages that they depend on ?
 
Old 05-02-2009, 11:40 PM   #5
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 51
IMO, it does not matter whether it is Totem or another. They are just front-end for GStreamer like what people said above.

What you need is plugins such as gst-plugins-bad, gst-plugins-ugly and gst-ffmpeg along with gst-plugins-good. Whether your media are playable depend on those plugins installed.

For Smplayer you need to check http://www.mplayerhq.hu/design7/news.html .

Last edited by hurry_hui; 05-02-2009 at 11:59 PM. Reason: Additional Info
 
Old 05-03-2009, 02:59 AM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Quote:
Originally Posted by michalng View Post
I use players like vlc and smplayer, so any idea what is the "default" packages that they depend on ?
You have to research individual programs to discover what systems they support or are based on. One good way to learn is to watch the dependency packages they want to install. If you see a lot of "gst" dependencies, for example, then you can be pretty sure it's based on gstreamer. And smplayer is obviously based on mplayer just from the name. A few players like totem can use multiple backends.

AIUI, mplayer, xine, and gstreamer are the three big frameworks that you'll see most frontends based around. vlc is kind of an independent project. But in fact, most of these frameworks are built around many of the same tools, having plugins for calling on each other or dependencies on external codecs and libraries such as faad (for aac decoding). Almost all of them depend on or can use libavformat/libavcodec, for example.

Wikipedia is a good source of information about all these tools.
 
Old 05-03-2009, 03:13 AM   #7
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 216

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by David the H. View Post
AIUI, mplayer, xine, and gstreamer are the three big frameworks that you'll see most frontends based around. vlc is kind of an independent project. But in fact, most of these frameworks are built around many of the same tools, having plugins for calling on each other or dependencies on external codecs and libraries such as faad (for aac decoding). Almost all of them depend on or can use libavformat/libavcodec, for example.

Wikipedia is a good source of information about all these tools.
THANKS for the info.

Believe it or not , the section quoted above actually clears some confusion that I have.

Will give Wikipedia a revisit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Gstreamer ? michalng Linux - Newbie 2 03-29-2009 07:15 AM
Error comes up with gstreamer 0.10 spoc Linux - Newbie 0 12-09-2008 12:04 AM
gstreamer ranacse05 Suse/Novell 1 10-26-2007 03:22 PM
Install Gstreamer puntino Linux - Newbie 2 11-17-2006 08:50 AM
gstreamer how to rem1986 Programming 2 01-02-2006 12:25 PM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration