Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know that ubuntu-restricted-extras package provides many more multimedia codecs, flash and java support. But it is a big download and I don't need support for file types, Which I am not using now.

So, Does anybody know which gstreamer package provides which kind of file type support ?

A list like gstreamer-ffmpeg -> .mp4, ... will be very useful.

And I have another question,(I still confused, should i ask it here or in another question) Is it OK to only install the gstreamer packages for all multimedia needs ? or I need some other packages ? and for what needs ?

share|improve this question
    
Install all gstreamer packages. You will need them all (good,bad,ugly and even the dbg) –  Curious Apprentice May 13 '12 at 11:15
    
@Curious, I told that, I don't want to download packages which I will never use. And I want to know also which package for which file types. –  Anwar Shah May 13 '12 at 11:18
add comment

1 Answer

up vote 1 down vote accepted

The gstreamer project maintains lists as part of the official documentation for the individual components and plugins. These lists consist not of file extensions but of codecs, containers and formats.

But you shouldn't need to have such a list in the first place, particularly not by file extension. If you encounter a file you can't play and there is a package that adds playback support for this format just install it. In a perfect world I'm pretty sure Ubuntu would ship with all codecs installed by default (or there would just be the one perfect format), because you as enduser should never bother with such an issue. Unfortunately there are patent issues, which is mostly why the restricted-extras packages and gstreamer-ugly exist. Also the code quality of some decoders does not meet the standards, the reason for packages like gstreamer-bad, but bad support might in some cases still be better than no support.

Your second question: Does gstreamer cover all my multimedia needs? Are there alternatives?

Gstreamer is the default multimedia framework used by Ubuntu and the applications in the default installation are chosen to integrate nicely into that environment. Gstreamer has become the de facto standard on the Linux desktop because of its functionality and it is well maintained. Xine was also a popular multimedia framework but it seems like it is no longer actively maintained. That is mostly it for frameworks which are comparable to DirectShow / Media Foundation or QuickTime.

FFmpeg

On the lower level you might have noticed there is FFmpeg which is used as a component in gstreamer and itself provides a lot of functionality. VLC and MPlayer/MPlayer2 are two media players based upon FFmpeg and don't make use of gstreamer. However if the default media player covers all your needs, you don't have to install those.

But anime fans for example would enjoy Advanced Substation Alpha (ASS) subtitle format support and H.264 High 10 profile (aka 10-bit) video playback. For this use case the Motu Media launchpad group provides PPAs with daily MPlayer2 builds and the SMPlayer2 front end. However this is bleeding edge and can break sometimes.

Restrictions

Encrypted DVD playback is disabled by default, the community documentation has a page on that topic. You basically need to install a package AND run a script.

FFmpeg installs by default with some functionality stripped of, community documentation has a page on that topic, too. Those instructions are not up to date, but installing a few of the extras packages, with newer versions will pull the others back in as dependecnies.

share|improve this answer
    
Thanks. I want to know, If I install all the gstreamer plugins, Do I need others, such as mplayer plugins for special situation? –  Anwar Shah May 13 '12 at 16:54
    
That depends, short answer is no. The longer answer is, it depends on the application and the used framework. Like said other frameworks are mostly dead, so there is only gstreamer and FFmpeg on the lower level. Amarok uses phonon which now uses the gstreamer backend. Audacity uses FFmpeg and Lame for proprietary formats. (S)MPLayer(2) and VLC are static and come with all the functionality by default. Those are just a few examples. One thing to note is DVD playback, I have updated my answer on that. Everything else please take a look at help.ubuntu.com/community/RestrictedFormats –  LiveWireBT May 14 '12 at 2:58
    
So, if I decide only to use totem for all multimedia needs and I do not need to play encrypted DVD's, Is it okay to only install gstreamer packages? since, totem only uses gstreamer. –  Anwar Shah May 30 '12 at 6:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.