One stop reference for enabling multimedia in Linux

Discussion in 'Open Source' started by rohandhruva, Jun 18, 2006.

Thread Status:
Not open for further replies.
  1. rohandhruva

    rohandhruva New Member

    Joined:
    May 9, 2006
    Messages:
    65
    Likes Received:
    2
    Trophy Points:
    0
    This post is meant to be a reference for anyone who wants to enable mp3 and video playback in most linux distributions. Think of this as a 'cheat sheet' mainly with links to other sites, having copy paste commands ready for you :)

    Ubuntu:
    NEVER EVER SUGGEST AUTOMATIX. It is untested software, poorly written, and is known to severly break many many ubuntu installs.
    The best ever guide for multimedia on ubuntu is this wiki page - http://wiki.ubuntu.com/RestrictedFormats
    Also, ubuntu 7.04 onwards, in the gnome variant, the user is prompted automatically when he/she tries to play a MP3 or other non-free file :) Though note that this still does not install w32codecs or libdvdcss - you need to refer to the wiki page for instruction !

    Fedora:
    Refer to FedoraSolved for all issues related to Fedora - http://fedorasolved.org/
    FedoraFAQ is available, but it was advised to use it with caution - the yum config provided at that site is dubious - http://fedorafaq.org
    Also note that Fedora 8 onwards fedora prompts you to install paid codecs, which is not necessary :)

    Suse:
    For multimedia and other restricted format (MP3,Encrypted DVD, DiVX,etc) issues, see
    http://opensuse-community.org/Restricted_Formats

    I hope this is made a sticky, so that new users can refer to it. Thanks ! Also, if you can think of any more distros which specifically disable multimedia support due to legal issues, please inform me, so that I can add them in the list. Any further additions,comments,suggestions welcome !

    Rohan.
     
    Last edited: Nov 18, 2007
    tanmoy_rajguru2005 and mehulved like this.
  2. kalpik

    kalpik In Pursuit of "Happyness"

    Joined:
    May 18, 2005
    Messages:
    3,002
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    New Delhi
    ^^ This should definately be a sticky!
     
  3. gary4gar

    gary4gar GaurishSharma.com

    Joined:
    May 21, 2005
    Messages:
    4,094
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    Jaipur
    good work man keep it up.also can u tell me which is a best robust player in linux
     
    tanmoy_rajguru2005 likes this.
  4. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    Great work man. Thank for the information. Yes, it should be made sticky.
     
  5. vignesh

    vignesh New Member

    Joined:
    Jul 20, 2004
    Messages:
    1,658
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    Amarok or BMP/XMMS
     
  6. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Well it actually differs from situation to situation.
    I havent' been able to run Amarok or Kaffeine in any of the distros I hav run so far. I have tried a lot to make them work but both of them just hang, even after adding 512MB or RAM to previous 256MB of RAM. But, any other player plays fine with me.
    I, on the other hand find VLC as a very versatile multimedia player.
    It just changes from person to person.
     
  7. vignesh

    vignesh New Member

    Joined:
    Jul 20, 2004
    Messages:
    1,658
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    I have used both and have had no problems at all..Amarok even works well with Gnome as well..
     
  8. OP
    OP
    rohandhruva

    rohandhruva New Member

    Joined:
    May 9, 2006
    Messages:
    65
    Likes Received:
    2
    Trophy Points:
    0
    Still not made a sticky :( I know its bad to demand a sticky, however what more changes do I make, so that this thread becomes a sticky ? :)
     
  9. kalpik

    kalpik In Pursuit of "Happyness"

    Joined:
    May 18, 2005
    Messages:
    3,002
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    New Delhi
    ^^ Too bad mehul cuz really, AmaroK ROCKS!
     
  10. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    VLC media player opens and closes at the same instant for me when I try to open audio or mpg files. I tried a re-install too, via Yum. On the other hand, amaroK is the best audio player I have seen yet and Totem-Xine and Mplayer for videos :)
     
  11. gary4gar

    gary4gar GaurishSharma.com

    Joined:
    May 21, 2005
    Messages:
    4,094
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    Jaipur
    i have AmaroK in digit cd. how to install it from there??
    i use ubuntu 5.10
     
  12. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Got it working finally.
     
  13. drsethi

    drsethi New Member

    Joined:
    Jan 29, 2004
    Messages:
    220
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Amritsar
    I have installed SuSe Linux 10.1. Though very good in other areas, it totally disappointed me in playing video files. No player is able to run video/audio files.Amarok only runs audio files.I downloaded codecs from Packman but they just cannot be installed due to dependency problems.Can anyone tell me if I would be able to watch movies under SuSe?
    Please tell me right way.
     
  14. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    Install VLC thro some auto d/l method like Yum/apt-get or whatever. and see if that works?
     
  15. drsethi

    drsethi New Member

    Joined:
    Jan 29, 2004
    Messages:
    220
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Amritsar
    I have solved my problem of multimedia video files by taking advice from Linux forums
    Now SuSE is looking superior to Windows.
     
  16. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    Good work @Dr Sethi , anyday Suse is better than Windows!!. There is no doubt
    about that.
     
  17. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    Install xine,mplayer,xmms,vlc & win32codecs ...... -> entertainment unlimited!
     
  18. Satissh S

    Satissh S New Member

    Joined:
    Mar 23, 2005
    Messages:
    692
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai , India
    Good work! guys, i'am glad that this is helping a lot of ppl.
    However I would personally like to extend this discussion to other distros too, especially the source based ones, like slackware, gentoo etc.

    Gentoo and Slackware:
    1. If you're using slackware, u have two choices, first is of-course compile stuff (see below) your self or go and get one of the .tgz packages which u can use pkgtool to install the bianries, anyways the first place for u to look at is http://www.linuxpackages.net/. Search for a package say vlc and download the .tgz package, and goto its directory and exec,
    Code:
    # pkgtool <package_name>.tgz
    or simply pkgtool and specify the package.

    In gentoo however we can use the excellant and extensive portage system to install the package, simply specify the USe flage while emerging stuff, like
    Code:
    # USE="faac faad libdvdcss wxwidgets mp3 oggvorbis" emerge -av vlc
    
    Compiling From source:
    Lets assume we want vlc to get going here as its the most hardest
    Get the .tar.gz or .tar.bz2 source code from here, http://www.videolan.org/vlc/download-sources.html and also do remember to download each of the required libraries, they are critical to installing vlc, well.
    Untar each of them, using tar -xzf package_name for .tar.gz or -xvjpf package_name for .tar.bz2
    Go to each of their folders and run ./configure && make && make install [1]
    Then goto the vlc source directory, now, carefully study the output of
    Code:
    ./configure --help 
    Now, use the following command to optimally configure vlc,
    Code:
    ./configure --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi --enable-a52 --enable-dts --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-livedotcom --with-livedotcom-tree=/usr/lib/live --enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde --disable-qt --enable-wxwindows --enable-ncurses --enable-release
    
    Note that while compiling myself i had several of them disabled which i dont want like faac, faad etc, dont mind to install those deps as well.

    Exhaustive documentation can be found at the vlc developers' website,
    http://developers.videolan.org/vlc/

    [1]
    If possible we can make some kind of script for each application like mplayer, xine etc., to automate the process for a new users. We can discuss below.
     
    Last edited: Jun 27, 2006
  19. dabster

    dabster New Member

    Joined:
    Jul 21, 2005
    Messages:
    487
    Likes Received:
    0
    Trophy Points:
    0
    Hey Ubuntu users help me...
    I have installed ffmpeg package but hv sysnchonising problem between video and audio....
    using totem player based on gstreamer....
     
  20. OP
    OP
    rohandhruva

    rohandhruva New Member

    Joined:
    May 9, 2006
    Messages:
    65
    Likes Received:
    2
    Trophy Points:
    0
    I request you to start a new thread for this issue in the "Open Source" section of the forum..
     
Thread Status:
Not open for further replies.

Share This Page