RestrictedFormats

Differences between revisions 21 and 22
Revision 21 as of 2005-07-28 11:28:00
Size: 10429
Editor: dsl-202-52-55-156
Comment:
Revision 22 as of 2005-07-29 06:14:46
Size: 10434
Editor: pool-70-110-69-243
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
see: AddingRepositoriesHowto see: AddingMultimediaRepositories

Note, this page is intended for Ubuntu Hoary users. Warty users may be able to follow these instructions, but some packages may not work (in particular the ones from hoary-extras won't work).

Disclaimer and Legal Notice

Packages distributed in unofficial repositories are not supported by Ubuntu or Debian. Please don't file bugs caused by the use of third party packages.

Some of the packages listed here may be illegal in your country. Use at your own risk.

Most of the formats listed here have been replaced by FreeFormats and this information is presented here for legacy and migration purposes.

Contents

TableOfContents(1)

Anchor(overview)

Anchor(howtoadd)

How to add repositories

Please note you'll need both universe/multiverse and hoary extras to install everything on this page.

Universe/Multiverse

see: AddingMultimediaRepositories

Hoary-extras

To use some multimedia codecs/plugins, you will need to use the Hoary-extras repository. To use this, in the Synaptic repositories dialog box, click Add and then Custom. In the dialog box, type in the following APT line:

deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted

Click OK and you should be good to go - just reload the package list.

Please note that whenever you install packages from this source, an authentication warning may appear. This just means that the packages are not signed, and can be safely disregarded if you are installing packages from this particular source.

The hoary-extras repository is an unoffical community project. The packages in this repository are not supported by Canonical Ltd. or Ubuntu!!!

Anchor(sound)

Sound and third party software

see: SoundProblemsHoary

Java

see: ["Java"]

Macromedia Flash

Install (from Multiverse) the following package:

  • flashplugin-nonfree

This will install Flash and the plugins needed to view it in Firefox and Mozilla.

Note that this package doesn't exist for the amd64 architecture, as Macromedia has not yet produced a binary.

MP3 and Windows Media Audio

MP3 playback:

To play MP3s with Rhythmbox, you must install the gstreamer0.8-mad package. This package is in the universe repository (see section 2 above).

To play MP3s in everything else, install w32codecs and/or gstreamer0.8-plugins

[http://www.xiph.org/ogg/vorbis/ Ogg Vorbis] is a flexible and Free lossy audio codec with a proven track record. This format is now supported by some DVD players and some portable music players (usb keys, mp3 players).

MP3 encoding:

see ["CDRipping"]

AAC and iTunes Music Store

AAC decoding

The default audio format used by Apple's iTunes and iPod is AAC. This is a variant of the MPEG standard, and as such has patent issues. However, you can listen to AAC files in rhythmbox or amaroK by installing gstreamer0.8-faad (from HOARY-EXTRAS). You will need this for listening to any AAC file, including those bought from the iTunes Music Store (see below for more info on using the music store on Linux). Warning, songs purchased from the iTunes music store (.m4p) are encyrpted, and will not just play using gstreamer0.8-faad. You will need to decrypt them first.

AAC encoding:

FAAC can be used to encode AACs, although this is somewhat experimental compared to MP3 encoding at this point.. For encoding programs which use gstreamer, there is a gstreamer plugin called gstreamer0.8-faac (install from HOARY-EXTRAS). However, this currently is problematic, and does not produce usable AAC files, though this may change in the future.

For other programs, you may be able to utilize FAAC directly to encode to AACs - just install the "faac" package. You can make iPod-compatible AACs this way, but this requires some additional configuration in your CD ripping utility.

iTunes Music Store

Apple's iTunes Music Store sells music online with a large selection of artists. Songs are in 128K AAC format, and cost varies by country. Apple only has Mac and Windows clients, but it also can be used on Linux. There are two different methods by which this can be done.

First of all, you can use CodeWeavers CrossOver Office (available at http://www.codeweavers.com) to install the Windows version of iTunes on Ubuntu. This will allow you to buy iTunes songs on Linux and listen to them. However, the main caveats of this approach is that 1) it costs money 2) it is not a fully Linux-native solution.

As an alternative to using CrossOver, there is a new, Free program called PyMusique which allows basic usage of the iTunes Music Store on Linux. This works better than using iTunes on CrossOver, but PyMusique has less features than the official iTunes client at this point and may be in violation of the iTunes Music Store terms of service. To use this on Ubuntu, first install gstreamer0.8-faad (from HOARY-EXTRAS) and libmcrypt4 (from UNIVERSE). Then, go to http://fuware.nanocrew.net/pymusique/ or a mirror (google "pymusique 0.4" for mirrors) and download the pymusique, python2.4-mcrypt, python2.4-vlc, and python2.4-mp4ff packages. Finally, install all the packages you downloaded from the above website. You can now launch PyMusique from the Applications-Internet menu, and purchase songs (although you may have to restart your system for this to work).

DVD-video

Currently there is no legal way to play DVD's on Linux using free packages in most countries. The package that enables Linux to play DVDs is libdvdcss2 (Note: there is a "2" at the end). You can download the livdvdcss2 codecs package from one of the unofficial backports mirrors, or search the web with Google.

Other mirror: www.dtek.chalmers.se An installer-script is located in: /usr/share/doc/libdvdread3/examples/install-css.sh (works for amd64 too - backports does not)

If your video playback software (e.g. Xine, MPlayer, Totem, etc.) locks up when attempting to access a DVD, you will need to: (1) Install regionset; and (2) Run regionset WITH a DVD in your drive.

If DVD playback is jerky or you notice optical data transfer (i.e burning a CD/DVD) is slower than it should be then you need to enable DMA transfer for that drive. See the ["DMA"] page for details.

DivX / XviD, other MPEG-4 variants, and miscellaneous proprietary video formats

Warning /!\ Note these are unsupported and may be illegal in your jurisdiction, we in no way endorse the use of these packages.

Mplayer:

MPlayer is a movie player for Linux (runs on many other Unices, and non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies, too (without the avifile library).

[http://www.mplayerhq.hu/homepage/design7/news.html Homepage].

Choose between the various packages as follows (all are from MULTIVERSE):

Depending on your cpu: 386s and 486s should use mplayer-386; Intel Pentiums and newer should use mplayer-586; AMD Athlons and newer may use mplayer-k6 (find your cpu using "uname -m" in a Terminal).

The following packages may optionally be installed:

  • mplayer-fonts mozilla-mplayer mplayer-doc (optional)

The "mixer" setting may need to be changed to avoid errors during playback. Right click on the MPlayer screen, select Preferences and then select the Audio tab. Select OSS (or your mixer if you use a different one) from the types and OK everything (accepting the default mixer location etc).

Other codecs

Not all mpgs are created equal. If you are getting sound but no video with some mpgs, you probably need the ffmpeg libraries.

    gstreamer0.8-ffmpeg (from UNIVERSE)

Additionally, other codecs may be required for various formats. Some of these can be found on the Mplayer home page at http://www.mplayerhq.hu and on various apt repositories around the web, but note that many of these may not be legally used or distributed.

RealPlayer

RealPlayer is a multimedia player for Linux which allows you to view RealAudio, RealVideo, and other content. RealPlayer is good for listening to BBC Radio, among otherthings.

RealPlayer on x86

You are required to manually download RealPlayer from [http://www.real.com/linux/ here].

Once it is downloaded, move it to your home folder (if its not there already), then open up a terminal and type

 chmod u+x RealPlayer10GOLD.bin       
 sudo ./RealPlayer10GOLD.bin

You are then prompted for an installation directory. I chose

 /usr/local/realplayer

Answer yes to creating symbolic links, and let it use the default directory.

RealPlayer should now be in your Gnome menu, under the Sound & Video section.

To install the firefox plugins, run RealPlayer from the gnome menu. You will be asked to agree to a licence (this is free as in beer, not free as in speech). The you will be asked if you want to check for updates and configure mozilla helpers, check both and click ok. Now head over to [http://www.bbc.co.uk/radio/] and you should be able to listen.

RealPlayer for PPC

To install RealPlayer on PPC, download the Experimental build installer from [https://player.helixcommunity.org/2004/downloads/ Helix]

make the file executable (chmod 770) and execute (./realplayer-xxxxxx.bin)

Answer the questions and RealPlayer should work by executing /path-to-RealPlayer-directory/realplayer. To make life easier add an alias in your .bashrc (ie alias = '/path-to-Real\\Player-directory/./realplayer&') or create a soft link to /usr/local/bin (sudo ln -s /path-to-RealPlayer-directory/realplayer /usr/local/bin/).

RealPlayer issues

1. If RealPlayer doesn't immediately work, go to the RealPlayer install directory and remove the SWF plugins. For some reason, it works perfectly most of the time after you do this. If you still have problems, it may be the way that your soundcard handles esd. Go on to 2. (Keith Bassett)

2. If you have trouble hearing any sound in RealPlayer, change the auto_spawn item in /etc/esound/esd.conf from its default setting of 0 to 1.

RestrictedFormats (last edited 2008-08-06 16:22:52 by localhost)