Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "RestrictedFormats"
Differenze tra le versioni 1 e 10 (in 9 versioni)
Versione 1 del 23/09/2005 09.22.36
Dimensione: 13191
Autore: host210-184
Commento:
Versione 10 del 25/10/2005 12.35.15
Dimensione: 14665
Commento: Aggiunte le parti nuove da tradurre
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
Note, this page is intended for Ubuntu Hoary users who need to have support for non-Free formats and tools (see FreeFormats for the preferred alternatives). 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. Be aware that the usage of non-free programs and formats cannot be supported because of the restrictions that affect them.

= Contents =

[[TableOfContents(1)]]

[[Anchor(overview)]]

[[Anchor(howtoadd)]]

= Required Repositories =
Many of the packages on this page are not included in Ubuntu's default repositories. You will need to add Universe, Multiverse, and Hoary-Extras to your list.

 * AddingRepositoriesHowto

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 =

 * SoundProblemsHoary
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Indice'''[[BR]][[TableOfContents]]||

= Disclaimer e Note Legali =
----
I pacchetti distribuiti attraverso repositories non ufficiali non sono supportati da Ubuntu o Debian. Per piacere non segnalate bug causati dall'uso di pacchetti di terze parti.

Alcuni pacchetti all'interno di questo documento potrebbero essere illegali nel tuo paese. Usateli a vostro rischio.

Molti dei formati qui presenti sono stati sostituiti da FreeFormats e queste informazioni sono presenti qui solo per scopo legale. Attenzione che l'utilizzo di programmi e formati non liberi non può essere supportato a causa delle restrizioni che li affliggono.

Ci sono molti motivi per cui Ubuntu non supporta formati proprietari di default. Un semplice esempio può essere il formato MP3.

Il gruppo che detiene i diritti sui brevetti del formato MP3 richiedono che per ogni player con supporto per tali formati paghi una somma pari a 75 centesimi:[http://www.mp3licensing.com/royalty/index.html]

Può sembrare una piccola somma, ma quando una distribuzione è distribuita gratuitamente, anche una piccola somma è tanto. L'altra opzione sarebbe pagare una grossa somma che potrebbe servire per pagare un programmatore per lavorare con Ubuntu per un anno intero! Così costa parecchio distribuire software che supporti il formato MP3.

Se Ubuntu ignorasse questo, potrebbe essere denunciata in paesi in cui questo brevetto è valido. O Ubuntu dovrebbe pagare oppure i programmatori non potrebbero mai più mettere piede in un paese con tali brevetti (inpensabile). Dato che costa soldi, Ubuntu non ha il supporto per il formato MP3.

Ora considerate questo, e moltiplicatelo per tutto il software proprietario, coperto da brevetti, che c'è in giro (che non è libero come OGG) e vi sarete fatti un'idea di qual'è la situazione. Così per poter spendere soldi in programmatori, Ubuntu deve evitare di utilizzare tali codecs. Persino una cosa come "clicca qui per installare" potrebbe portare Ubuntu ad essere considerata come un'aiuto a lcrimine in certe nazioni.

Questo è perché è importante supportare codec aperti e gli standard. Ma Ubuntu non può includere software proprietario, o rendere il tutto più facile per via della legge.


[[Anchor(gettingstarted)]]
= Per iniziare =
----
Assicurati di aver abilitato i repositories Universe e Multiverse prima di continuare, controlla AddingRepositoriesHowto per maggiori informazioni. Leggi anche [wiki:Ubuntu/RootSudo RootSudo] se non hai familiarità con il comando '''sudo'''.

[[Anchor(gettingcodecs)]]
= Codecs =
----
Alcuni codec non sono distribuiti con Ubuntu per ragioni legali. Dopo aver letto e compreso il disclaimer e le note legali, potrete eseguire queste istruzioni per installare e abilitare tali funzionalità:

Utilizzeremo il repository debian-marillant per scaricare i codecs/plugins non liberi. Utilizza il tuo web browser e vai a questo indirizzo:

{{{
ftp://ftp.nerim.net/debian-marillat/pool/main/w/w32codecs/
}}}

In alternativa scaricalo [http://www.giannaros.org/public/breezydebs/w32codecs_20050412-0.0_i386.deb qui].

Ci sarà un file con un'estensione .deb. Quello è il file che ti serve, scaricalo e salvalo. Ora, apri un terminale e vai alla cartella in cui hai salvato il file. Dovresti avere un file .deb chiamato w32codec. Se ne hai più di uno dovrai odificare il comando seguente in modo che utilizzi il file giusto. Per il 99% degli utenti questo comando dovrebbe funzionare:
{{{
sudo dpkg -i w32codecs_*.deb
}}}

Per chi utilizza Kubuntu potete installare '''akode-mpeg''' per abilitare la riproduzione di MP3.

Installa e abilita i pacchetti che supportano l'uso di codec non liberi:
{{{
sudo apt-get install totem-xine gstreamer0.8-plugins gstreamer0.8-plugins-multiverse
sudo apt-get install msttcorefonts
gst-register-0.8
}}}

== DVD ==
Many DVD's use css, to play these discs a special library is needed. Due to legal problems it is not included with ubuntu, however it is capable of reading DVD's that are not encrypted. If it's legal for you to circumvent css, then you can use the following command to download and install libdvdcss to enable encrypted DVD playback functionality.

Abilita la lettura di DVD codificati:
{{{
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
}}}

To play these DVD's you would additionally need a player that uses libdvdread/libdvdcss such as totem-xine.

To play these DVD's you would additionally need a player that uses libdvdread/libdvdcss such as totem-xine.

Se il tuo video player (Xine, MPlayer, Totem, etc.) si blocca quando tenta di accedere ad un DVD, dovrai prima inserire un DVD nel lettore e poi eseguire il comando:
{{{
sudo apt-get install regionset
regionset
}}}

Se la riproduzione di un DVD risulta scattosa o se noti che il trasferimento dei dati è più lento di quanto dovrebbe, allora dovrai abilitare la mdalità DMA del lettore. Controlla la pagina [wiki:Ubuntu/DMA DMA] per maggiori informazioni.

Per fare copie di backup dei tuoi DVD controlla: [wiki:Ubuntu/DVDRippingandEncoding DVDRippingandEncoding].

[[Anchor(java)]]
Linea 46: Linea 80:

Sun's implementation of Java and Java plugin for browsers is also non-free. Free Java is in active development and will be the preferred choice in the future also as a browser plugin (currently it is used in some programs like OpenOffice.org). Meanwhile, if you require Java support you have to install Sun's Java, assuming they happen to support your platform.

 * ["Java"] (Sun)

= MP3, Windows Media, Real Media =

== Totem-gstreamer, Rhythmbox and other GStreamer players ==

To play other media formats on Ubuntu's default media players, you need gstreamer plugins. The following are available in [:AddingRepositoriesHowto:Multiverse]. Install them using [:SynapticHowto:Synaptic].

 * '''gstreamer0.8-mad''' - Play MP3s
 * '''akode-mpeg''' - Play MP3s in Kubuntu
 * '''gstreamer0.8-ffmpeg''' - newer MPEG support
 * '''gstreamer0.8-plugins''' - Various other formats

== Totem-xine, Xine, Mplayer, and other Binary Codec players ==

 * '''libmad0''' (multiverse)- MP3 support for non-gstreamer players

Binary codecs for proprietary formats are available in Hoary-Extras
 * '''w32codecs''' - ATI, Cinepak, DivX, Indeo, Intel 263, Microsoft MPEG-4, Morgan Multimedia Motion JPEG, QuickTime, RealAudio, RealVideo, Windows Media Video... And more.

Totem-gstreamer, installed by default, cannot play Windows Media or Real Media files. If you wish to use w32codecs with Totem, get Totem-xine instead:
 * '''totem-xine''' - Replaces totem-gstreamer; Totem will now use binary codecs instead of gstreamer

[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: ==
 * ["CDRipping"]

== MP3 decoding in K3b ==

 * '''k3b-mp3''' - Starting with breezy, K3b does not come with mp3 decoding support out of the box. Installing this package will enable it.

= RealPlayer =
An official Real Player is available in Hoary Extras:

 * '''realplayer''' (hoary-extras)

== RealPlayer for PPC ==

To install Real``Player 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 Real``Player should work by executing /path-to-Real``Player-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-Real``Player-directory/realplayer /usr/local/bin/).

== RealPlayer issues ==

1. If Real``Player doesn't immediately work, go to the Real``Player 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 Real``Player, change the `auto_spawn` item in /etc/esound/esd.conf from its default setting of 0 to 1.

3. For recording (capture) of Real``Audio or Real``Video rtsp-streams from the web Mplayer works fine.
{{{
mplayer -noframedrop -dumpfile out.rm -dumpstream rtsp://url/to/file.rm
}}}
You can then (or later!) watch or listen to out.rm with any player capable of playing .rm files.

The adress "rtsp://url/to/file.rm" is often hidden behind the link that is ment to launch Real``Player for streaming. For uncovering, launch the stream for a second with Real``Player and a text-file called "streams" will be generated in /tmp/ wich containes the rtsp://url/to/file.rm.



= Other Video and Audio Codecs =

= 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.

For backing up DVDs see ["DVDRippingandEncoding"].
----
Il metodo più facile per utilizzare Java consiste nello scaricare ed installare il pacchetto Java Blackdown 1.4 presente nel repository Multiverse. Per installare Java esegui:
{{{
sudo apt-get install j2re1.4
}}}

Per gli utenti Ubuntu PPC, controllate: [wiki:Ubuntu/JavaPPC JavaPPC].[[BR]]
Per gli utenti Ubuntu AMD64, controllate: [wiki:Ubuntu/JavaAMD64 JavaAMD64].

== Sun Java ==
----
Un metodo alternativo che ti garantirà l'ultima versione della Sun e che funzionerà per la maggior parte delle applicazioni è installare la versione Java della Sun. L'implementazione di Java e dei plugin di Java della Sun non è libera. Una implementazione libera di Java è in fase di sviluppo e sarà la scelta migliore nel futuro anche come plugin per il browser (attualmente è utilizzata in alcuni programmi come OpenOffice.org). Se volete comunque dare un'occhiata alla versione libera di Java andate qui: [http://www.gnu.org/software/classpath/ GNU Classpath]. Nel frattempo, se ti serve il supporto per Java installa Sun Java, sempre che ne abbiano una versione per la tua piattaforma.

Vai in [http://java.sun.com/j2se/1.5.0/download.jsp] and clicca su “'''Download JRE 5.0 Update 5'''”. Assicurati di non scegliere il link con NetBeans o "J2EE 1.4".

Dovrai prima accettare la licenza, poi clicca su “'''Linux self-extracting file'''” (jre-1_5_0_05-linux-i586.bin). Salva il file nel tua hard-disk.

Rendi il file appena scaricato eseguibile. Dalla riga di comando, vai nella directory dove hai salvato il file e scrivi:
{{{
chmod +x jre-1_5_0_05-linux-i586.bin
}}}

Installa i pacchetti java-package e java-common, oltre che a fakeroot (che consentirà ad un utente non-root di creare il pacchetto derivato dal file bin).
{{{
sudo apt-get install fakeroot java-package java-common
}}}

Se riceverai un errore mentre installi il pacchetto java-package, dovrai abilitare il repository multiverse (controlla [wiki:Ubuntu/AddingRepositoriesHowto]).

Per instalalre JRE, esegui il file appena scaricato. Digita:
{{{
fakeroot make-jpkg jre-1_5_0_05-linux-i586.bin
sudo dpkg -i sun-j2re1.5_1.5.0+update05_i386.deb
}}}

make-jpkg trasforma il pacchetto bin della Sun in un pacchetto debian. dpkg installa il pacchetto.

=== Sun Java SDK (Software Development Kit) ===
La stessa procedura può essere utilizzata per installare la Java SDK di Sun invece che solo l'ambiente a runtime (JRE). Scegli "'''Download JDK 5.0 Update 5'''" quando stai per scaricare il pacchetto dalla pagina della Sun, e sostituisci il nome del file con '''jdk-1_5_0_05-linux-i586.bin'''.

== Scegliere la versione Java di default ==
----
Se stai utilizzando Breezy, dovrai configurare la versione da utilizzare all'interno di Ubuntu al posto di GCJ che è già inclusa. Esegui:
{{{
sudo update-alternatives --config java
}}}
e selezionala dalla lista.

attachment:Icone/Piccole/note.png
Per maggiori informazioni sull'installazione di Java puoi controllare: InstallazioneJava


[[Anchor(realplayer)]]
= Realplayer =
----

Realplayer è l'unico player MP3 legale che puoi installare su Ubuntu. Una vecchia versione del programma è contenuta nei repositories di Ubuntu, basta digitare:
{{{
sudo apt-get install realplayer
}}}

[[Anchor(soundprob)]]
= Problemi col sonoro =
----
 * [wiki:Ubuntu/SoundProblemsHoary SoundProblemsHoary]

[[Anchor(mp3ripenc)]]
= Codifica e ripping MP3 =
----
 * [wiki:Ubuntu/CDRipping CDRipping]

== Decoding MP3 in K3b ==

Con la versione Breezy (Ubuntu 5.10), K3B non ha il supporto per il decoding degli MP3 di default. Basta installare il pacchetto k3b-mp3 per abilitarlo:
{{{
sudo apt-get install k3b-mp3
}}}

[[Anchor(mflash)]]
Linea 129: Linea 160:

== Flash for i386 ==

Type the following in a terminal (requires Multiverse):

{{{
    apt-get install flashplugin-nonfree
}}}

This will install the non-free Flash player and the plugins needed to view it in Firefox and Mozilla. If you have problems viewing text in some Flash files, you may need to install the msttcorefonts package, which is also in multiverse.

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


After flash is installed, if sound is not working properly, try typing the following in a termal:

{{{
    sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
}}}


== Flash for x86_64 ==

For those of us with 64 bit processors (or Mac) there is no non-free flash implementation available because the manufacturer does not support them. However, there are 2 free implementations. One is gplflash and the other is swfdec. There's also gplflash2 in development that aims to be the proper free, open source replacement for all the platforms. While you can install them using apt-get, they tend to not work very well and be unstable, so that option is not great. Better to install one of them (I recommend gplflash) manually.

To install gplflash:

Download the latest version of gplflash (at the time of writing it was 0.4.13) from https://sourceforge.net/project/showfiles.php?group_id=110956.

{{{
$ wget -c http://prdownloads.sourceforge.net/gplflash/gplflash-0.4.13.tar.bz2?download
}}}

Sub in the latest version if it is no longer 0.4.13. Decompress the files.

{{{
$ tar xvjf gplflash-0.4.13.tar.bz2
}}}

Change to the install directory.

{{{
$ cd gplflash-0.4.13
}}}

Compile the player and plugin.

{{{
$ ./configure --prefix=/usr --with-plugin-dir=/usr/lib/mozilla-firefox/plugins/
$ make
$ sudo make install
}}}

Finally add /usr to the path variable so that the player itself will work, not just the plugin.

{{{
$ sudo PATH=$PATH:/usr
}}}

= 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.
----

== Flash per i386 ==
----
Questo ti permetterà di isntallare la versione non libera di Flash e i plugins necessari per Firefox e Mozilla. Se hai dei problemi a visualizzare il testo all'interno di alcuni Flash, dovrai installare il pacchetto msttcorefonts, contenuto in multiverse.

''Nota'' che questo pacchetto non esiste per l'architettura amd64 in quanto Macromedia non ha rilasciato un file binario per tale architettura.
{{{
sudo apt-get install flashplugin-nonfree
}}}

Dopo aver installato Flash, se il sonoro non funziona correttamente prova a eseguire questo in un terminale:
{{{
sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
}}}

Un altro metodo: crea il file '''~/.mozilla/firefox/rc''' con all'interno questa riga '''FIREFOX_DSP="none"'''.

Se stai utilizzando una scheda grafica Intel 855GM, assicurati che la profondità di colore del server X sia impostata a 24 bits, altrimeti Forefox potrebbe non funzionare correttamente.

Dovrai anche isntallare il pacchetto '''gsfonts-x11''' per fare in modo che flash visualizzi i fonts correttamente.

== Flash per x86_64 ==
----
Per quelli che usano processori a 64 bit (o Mac) non esiste una implementazione Flash non-libera. Comunque ci sono due implementazioni libere. Una è gplflash e l'altra swfdec. Esiste anche gplflash2, in fase di sviluppo, che mira ad essere la versione libera, open source di flash per tutte le piattaforme. Puoi installarle usando apt-get, ma tendono a non funzionare correttamente ed essere instabili, quindi questa opzione non è il massimo. Meglio installarne uno di questi manualmente (consiglio gplflash).

Per installare gplflash:

Scarica l'ultima versione di gplflash (al momento alla versione 0.4.13) da [https://sourceforge.net/project/showfiles.php?group_id=110956].
Dalal riga di comando:
{{{
wget -c http://prdownloads.sourceforge.net/gplflash/gplflash-0.4.13.tar.bz2?download
}}}

Se la 0.4.13 non è più l'ultima versione cambia 0.4.13 con la versione che hai scaricato. Decomprimi i files:
{{{
tar xvjf gplflash-0.4.13.tar.bz2
}}}

Installa il software necessario per compilare gplflash.
{{{
sudo apt-get install build-essential libjpeg62-dev zlib1g-dev xlibs-dev libmad0-dev checkinstall
}}}

Spostati nella director di installazione:
{{{
cd gplflash-0.4.13
}}}

Compila il palyer e il plugin, poi utilizza checkinstall per creare un pacchetto deb personalizzato.
{{{
./configure --prefix=/usr --with-plugin-dir=/usr/lib/mozilla-firefox/plugins/
make
sudo checkinstall
}}}

Quando checkinstall ti presenta un overview, assicurati che l'opzione 7 (Architecture) sia impostata su amd64 al posto di x86_64. Premi enter per installare gplflash-0.4.13_0.4.13-1_amd64.deb. Avvia mozilal o firefox e divertiti! :-)

[[Anchor(itunes)]]
= AAC e iTunes Music Store =
----

== Decodifica AAC ==
----
Il formato audio di default utilizzato da Apple iTunes e dagli iPod è AAC. Questo è una variante dello standard MPEG e come tale è coperto da brevetti. Comunque puoi ascoltare i files AAC in rhythmbox o amaroK installando '''gstreamer0.8-faad'''. Ne avrai bisogno per poter ascoltare tali file, inclusi quelli comprati dall'iTune Music Store (guarda sotto per informazioni su come usare il music store con Linux). Attenzione, i file comprati dall'iTune Music Store (.m4p) sono crittati, e non funzioneranno solamente con il plugin '''gstreamer0.8-faad'''. Dovrai decrittarli prima.

== Codifica AAC ==
----
FAAC può essere utilizzato per codificare AAC, benché questo sia considerato sperimentale in confronta al'MP3. Per i programmi che utilizzano gstreamer per codificare c'è il plugin '''gstreamer0.8-faac'''. E' un po problematico e non produce file AAC utilizzabili anche se è destinato a cambiare in futturo.

Per altri programmi puoi utilizzare direttamente FAAC per codificare i file in AAC - installa semplicemente il pacchetto "faac". Puoi creare file AAC compatibili per l'iPod in questo modo, ma devi configurare il tuo programma di ripping in modo corretto.
Linea 202: Linea 233:

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).

= Automated Setup =

A script exists to setup most restricted formats. It installs the following programs:

 * '''build-essential''' - Compilers needed to build programs
 * '''beep-media-player''' - XMMS gtk2 clone. Compatible with XMMS plugins/skins
 * '''gstreamer0.8-mad''' - Add MP3 support for Rhythmbox
 * '''w32codecs''' - Windows codecs for playing various files
 * '''streamtuner''' - Online music streamer from shoutcast and a few others
 * '''xine-ui''' - The xine video player, user interface for playing dvd's and such
 * '''totem-xine''' - Have totem use xine so you can actually use it to play videos etc.
 * '''msttcorefonts''' - Windows True Type Fonts
 * '''acroread''' - Latest version of Adobe Acrobat Reader
 * '''acroread-plugin''' - Firefox Acobat Reader Plugin
 * '''libdvdcss2''' - DVD Library
 * '''gnomebaker''' - The best gnome/gtk2 cd/dvd/cdrw burning software
 * '''gftp''' - Ftp Client
 * '''flashplayer-mozilla''' - Flash plugin for firefox
 * '''Java JRE 1.5''' - Latest version of Java
 * '''Custom Firefox Forms''' - Make you firefox form widgets look decent
 * '''/etc/apt/sources.list''' - Add in universe, multiverse and misc repositories
 * '''Misc Windows Fonts''' - Misc fonts that are missing in the msttcorefonts package

To run it, open a terminal session and enter:

{{{wget http://download.ubuntuforums.org/ubuntusetup/ubuntusetup.sh
sudo sh ubuntusetup.sh}}}

You will be asked to select "Yes" or "No" for various installations. To continue, you must select Yes.

It has been [http://www.ubuntuforums.org/showthread.php?t=22646 discussed at great length].
----
L'Apple iTune Music Store vende musica online di una vasta selezione di artisti. I file sono nel formato AAC 128K, e i prezzi variano da paese a paese. Apple fornisce solamente programmi per Mac o Windows, ma il Music Store può essere utilizzato anche su Linux. Ci sono due metodi diversi per poter fare questo.

Per prima cosa puoi usare CodeWeavers CrossOver Office (disponibile presso [http://www.codeweavers.com]) per installare la versione per Windows di iTunes su Ubuntu. Questo ti permetterà di comprare le canzoni e ascoltarle su Linux. Comunque ci sono dei contro: 1) ti costerà dei soldi 2) non è una soluzione nata per Linux.

In alternativa a CrossOver, c'è un nuovo programma, libero, PyMusique che ti fornisce le funzionalità di base per l'iTunes Music Store su Linux. Questo funziona decisamente meglio che utilizzare iTunes su CrossOver, ma PyMusique ha meno funzionalità rispetto all'iTunes ufficiale e potrebbe violare i termini del servio iTunes Music Store. Per utilizzare questo su Ubuntu, prima devi installare gstreamer0.8-faad e libmcrypt4. Poi vai a [http://fuware.nanocrew.net/pymusique/] o un mirror (google "pymusique 0.4" per cercare i mirrors) e scarica i pacchetti PyMusique, python2.4-mcrypt, python2.4-vlc e python2.4-mp4ff. Infine installa tutti i pacchetti appena scaricati. Puoi ora utilizzare PyMusique dal menu Applicazioni -> Internet ed iniziare a comprare canzoni.
----
Traduzione di: MiloCasagrande[[BR]]
Documento originale: [wiki:Ubuntu/RestrictedFormats RestrictedFormats] {en}

Disclaimer e Note Legali


I pacchetti distribuiti attraverso repositories non ufficiali non sono supportati da Ubuntu o Debian. Per piacere non segnalate bug causati dall'uso di pacchetti di terze parti.

Alcuni pacchetti all'interno di questo documento potrebbero essere illegali nel tuo paese. Usateli a vostro rischio.

Molti dei formati qui presenti sono stati sostituiti da FreeFormats e queste informazioni sono presenti qui solo per scopo legale. Attenzione che l'utilizzo di programmi e formati non liberi non può essere supportato a causa delle restrizioni che li affliggono.

Ci sono molti motivi per cui Ubuntu non supporta formati proprietari di default. Un semplice esempio può essere il formato MP3.

Il gruppo che detiene i diritti sui brevetti del formato MP3 richiedono che per ogni player con supporto per tali formati paghi una somma pari a 75 centesimi:[http://www.mp3licensing.com/royalty/index.html]

Può sembrare una piccola somma, ma quando una distribuzione è distribuita gratuitamente, anche una piccola somma è tanto. L'altra opzione sarebbe pagare una grossa somma che potrebbe servire per pagare un programmatore per lavorare con Ubuntu per un anno intero! Così costa parecchio distribuire software che supporti il formato MP3.

Se Ubuntu ignorasse questo, potrebbe essere denunciata in paesi in cui questo brevetto è valido. O Ubuntu dovrebbe pagare oppure i programmatori non potrebbero mai più mettere piede in un paese con tali brevetti (inpensabile). Dato che costa soldi, Ubuntu non ha il supporto per il formato MP3.

Ora considerate questo, e moltiplicatelo per tutto il software proprietario, coperto da brevetti, che c'è in giro (che non è libero come OGG) e vi sarete fatti un'idea di qual'è la situazione. Così per poter spendere soldi in programmatori, Ubuntu deve evitare di utilizzare tali codecs. Persino una cosa come "clicca qui per installare" potrebbe portare Ubuntu ad essere considerata come un'aiuto a lcrimine in certe nazioni.

Questo è perché è importante supportare codec aperti e gli standard. Ma Ubuntu non può includere software proprietario, o rendere il tutto più facile per via della legge.

Anchor(gettingstarted)

Per iniziare


Assicurati di aver abilitato i repositories Universe e Multiverse prima di continuare, controlla AddingRepositoriesHowto per maggiori informazioni. Leggi anche [wiki:Ubuntu/RootSudo RootSudo] se non hai familiarità con il comando sudo.

Anchor(gettingcodecs)

Codecs


Alcuni codec non sono distribuiti con Ubuntu per ragioni legali. Dopo aver letto e compreso il disclaimer e le note legali, potrete eseguire queste istruzioni per installare e abilitare tali funzionalità:

Utilizzeremo il repository debian-marillant per scaricare i codecs/plugins non liberi. Utilizza il tuo web browser e vai a questo indirizzo:

ftp://ftp.nerim.net/debian-marillat/pool/main/w/w32codecs/

In alternativa scaricalo [http://www.giannaros.org/public/breezydebs/w32codecs_20050412-0.0_i386.deb qui].

Ci sarà un file con un'estensione .deb. Quello è il file che ti serve, scaricalo e salvalo. Ora, apri un terminale e vai alla cartella in cui hai salvato il file. Dovresti avere un file .deb chiamato w32codec. Se ne hai più di uno dovrai odificare il comando seguente in modo che utilizzi il file giusto. Per il 99% degli utenti questo comando dovrebbe funzionare:

sudo dpkg -i w32codecs_*.deb

Per chi utilizza Kubuntu potete installare akode-mpeg per abilitare la riproduzione di MP3.

Installa e abilita i pacchetti che supportano l'uso di codec non liberi:

sudo apt-get install totem-xine gstreamer0.8-plugins gstreamer0.8-plugins-multiverse 
sudo apt-get install msttcorefonts
gst-register-0.8

DVD

Many DVD's use css, to play these discs a special library is needed. Due to legal problems it is not included with ubuntu, however it is capable of reading DVD's that are not encrypted. If it's legal for you to circumvent css, then you can use the following command to download and install libdvdcss to enable encrypted DVD playback functionality.

Abilita la lettura di DVD codificati:

sudo /usr/share/doc/libdvdread3/examples/install-css.sh

To play these DVD's you would additionally need a player that uses libdvdread/libdvdcss such as totem-xine.

To play these DVD's you would additionally need a player that uses libdvdread/libdvdcss such as totem-xine.

Se il tuo video player (Xine, MPlayer, Totem, etc.) si blocca quando tenta di accedere ad un DVD, dovrai prima inserire un DVD nel lettore e poi eseguire il comando:

sudo apt-get install regionset
regionset

Se la riproduzione di un DVD risulta scattosa o se noti che il trasferimento dei dati è più lento di quanto dovrebbe, allora dovrai abilitare la mdalità DMA del lettore. Controlla la pagina [wiki:Ubuntu/DMA DMA] per maggiori informazioni.

Per fare copie di backup dei tuoi DVD controlla: [wiki:Ubuntu/DVDRippingandEncoding DVDRippingandEncoding].

Anchor(java)

Java


Il metodo più facile per utilizzare Java consiste nello scaricare ed installare il pacchetto Java Blackdown 1.4 presente nel repository Multiverse. Per installare Java esegui:

sudo apt-get install j2re1.4

Per gli utenti Ubuntu PPC, controllate: [wiki:Ubuntu/JavaPPC JavaPPC].BR Per gli utenti Ubuntu AMD64, controllate: [wiki:Ubuntu/JavaAMD64 JavaAMD64].

Sun Java


Un metodo alternativo che ti garantirà l'ultima versione della Sun e che funzionerà per la maggior parte delle applicazioni è installare la versione Java della Sun. L'implementazione di Java e dei plugin di Java della Sun non è libera. Una implementazione libera di Java è in fase di sviluppo e sarà la scelta migliore nel futuro anche come plugin per il browser (attualmente è utilizzata in alcuni programmi come OpenOffice.org). Se volete comunque dare un'occhiata alla versione libera di Java andate qui: [http://www.gnu.org/software/classpath/ GNU Classpath]. Nel frattempo, se ti serve il supporto per Java installa Sun Java, sempre che ne abbiano una versione per la tua piattaforma.

Vai in [http://java.sun.com/j2se/1.5.0/download.jsp] and clicca su “Download JRE 5.0 Update 5”. Assicurati di non scegliere il link con NetBeans o "J2EE 1.4".

Dovrai prima accettare la licenza, poi clicca su “Linux self-extracting file” (jre-1_5_0_05-linux-i586.bin). Salva il file nel tua hard-disk.

Rendi il file appena scaricato eseguibile. Dalla riga di comando, vai nella directory dove hai salvato il file e scrivi:

chmod +x jre-1_5_0_05-linux-i586.bin

Installa i pacchetti java-package e java-common, oltre che a fakeroot (che consentirà ad un utente non-root di creare il pacchetto derivato dal file bin).

sudo apt-get install fakeroot  java-package java-common

Se riceverai un errore mentre installi il pacchetto java-package, dovrai abilitare il repository multiverse (controlla [wiki:Ubuntu/AddingRepositoriesHowto]).

Per instalalre JRE, esegui il file appena scaricato. Digita:

fakeroot make-jpkg jre-1_5_0_05-linux-i586.bin
sudo dpkg -i sun-j2re1.5_1.5.0+update05_i386.deb

make-jpkg trasforma il pacchetto bin della Sun in un pacchetto debian. dpkg installa il pacchetto.

Sun Java SDK (Software Development Kit)

La stessa procedura può essere utilizzata per installare la Java SDK di Sun invece che solo l'ambiente a runtime (JRE). Scegli "Download JDK 5.0 Update 5" quando stai per scaricare il pacchetto dalla pagina della Sun, e sostituisci il nome del file con jdk-1_5_0_05-linux-i586.bin.

Scegliere la versione Java di default


Se stai utilizzando Breezy, dovrai configurare la versione da utilizzare all'interno di Ubuntu al posto di GCJ che è già inclusa. Esegui:

sudo update-alternatives --config java

e selezionala dalla lista.

attachment:Icone/Piccole/note.png Per maggiori informazioni sull'installazione di Java puoi controllare: InstallazioneJava

Anchor(realplayer)

Realplayer


Realplayer è l'unico player MP3 legale che puoi installare su Ubuntu. Una vecchia versione del programma è contenuta nei repositories di Ubuntu, basta digitare:

sudo apt-get install realplayer

Anchor(soundprob)

Problemi col sonoro


Anchor(mp3ripenc)

Codifica e ripping MP3


  • [wiki:Ubuntu/CDRipping CDRipping]

Decoding MP3 in K3b

Con la versione Breezy (Ubuntu 5.10), K3B non ha il supporto per il decoding degli MP3 di default. Basta installare il pacchetto k3b-mp3 per abilitarlo:

sudo apt-get install k3b-mp3

Anchor(mflash)

Macromedia Flash


Flash per i386


Questo ti permetterà di isntallare la versione non libera di Flash e i plugins necessari per Firefox e Mozilla. Se hai dei problemi a visualizzare il testo all'interno di alcuni Flash, dovrai installare il pacchetto msttcorefonts, contenuto in multiverse.

Nota che questo pacchetto non esiste per l'architettura amd64 in quanto Macromedia non ha rilasciato un file binario per tale architettura.

sudo apt-get install flashplugin-nonfree

Dopo aver installato Flash, se il sonoro non funziona correttamente prova a eseguire questo in un terminale:

sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1

Un altro metodo: crea il file ~/.mozilla/firefox/rc con all'interno questa riga FIREFOX_DSP="none".

Se stai utilizzando una scheda grafica Intel 855GM, assicurati che la profondità di colore del server X sia impostata a 24 bits, altrimeti Forefox potrebbe non funzionare correttamente.

Dovrai anche isntallare il pacchetto gsfonts-x11 per fare in modo che flash visualizzi i fonts correttamente.

Flash per x86_64


Per quelli che usano processori a 64 bit (o Mac) non esiste una implementazione Flash non-libera. Comunque ci sono due implementazioni libere. Una è gplflash e l'altra swfdec. Esiste anche gplflash2, in fase di sviluppo, che mira ad essere la versione libera, open source di flash per tutte le piattaforme. Puoi installarle usando apt-get, ma tendono a non funzionare correttamente ed essere instabili, quindi questa opzione non è il massimo. Meglio installarne uno di questi manualmente (consiglio gplflash).

Per installare gplflash:

Scarica l'ultima versione di gplflash (al momento alla versione 0.4.13) da [https://sourceforge.net/project/showfiles.php?group_id=110956]. Dalal riga di comando:

wget -c http://prdownloads.sourceforge.net/gplflash/gplflash-0.4.13.tar.bz2?download

Se la 0.4.13 non è più l'ultima versione cambia 0.4.13 con la versione che hai scaricato. Decomprimi i files:

tar xvjf gplflash-0.4.13.tar.bz2

Installa il software necessario per compilare gplflash.

sudo apt-get install build-essential libjpeg62-dev zlib1g-dev xlibs-dev libmad0-dev checkinstall

Spostati nella director di installazione:

cd gplflash-0.4.13

Compila il palyer e il plugin, poi utilizza checkinstall per creare un pacchetto deb personalizzato.

./configure --prefix=/usr --with-plugin-dir=/usr/lib/mozilla-firefox/plugins/
make
sudo checkinstall

Quando checkinstall ti presenta un overview, assicurati che l'opzione 7 (Architecture) sia impostata su amd64 al posto di x86_64. Premi enter per installare gplflash-0.4.13_0.4.13-1_amd64.deb. Avvia mozilal o firefox e divertiti! :-)

Anchor(itunes)

AAC e iTunes Music Store


Decodifica AAC


Il formato audio di default utilizzato da Apple iTunes e dagli iPod è AAC. Questo è una variante dello standard MPEG e come tale è coperto da brevetti. Comunque puoi ascoltare i files AAC in rhythmbox o amaroK installando gstreamer0.8-faad. Ne avrai bisogno per poter ascoltare tali file, inclusi quelli comprati dall'iTune Music Store (guarda sotto per informazioni su come usare il music store con Linux). Attenzione, i file comprati dall'iTune Music Store (.m4p) sono crittati, e non funzioneranno solamente con il plugin gstreamer0.8-faad. Dovrai decrittarli prima.

Codifica AAC


FAAC può essere utilizzato per codificare AAC, benché questo sia considerato sperimentale in confronta al'MP3. Per i programmi che utilizzano gstreamer per codificare c'è il plugin gstreamer0.8-faac. E' un po problematico e non produce file AAC utilizzabili anche se è destinato a cambiare in futturo.

Per altri programmi puoi utilizzare direttamente FAAC per codificare i file in AAC - installa semplicemente il pacchetto "faac". Puoi creare file AAC compatibili per l'iPod in questo modo, ma devi configurare il tuo programma di ripping in modo corretto.

iTunes Music Store


L'Apple iTune Music Store vende musica online di una vasta selezione di artisti. I file sono nel formato AAC 128K, e i prezzi variano da paese a paese. Apple fornisce solamente programmi per Mac o Windows, ma il Music Store può essere utilizzato anche su Linux. Ci sono due metodi diversi per poter fare questo.

Per prima cosa puoi usare CodeWeavers CrossOver Office (disponibile presso [http://www.codeweavers.com]) per installare la versione per Windows di iTunes su Ubuntu. Questo ti permetterà di comprare le canzoni e ascoltarle su Linux. Comunque ci sono dei contro: 1) ti costerà dei soldi 2) non è una soluzione nata per Linux.

In alternativa a CrossOver, c'è un nuovo programma, libero, PyMusique che ti fornisce le funzionalità di base per l'iTunes Music Store su Linux. Questo funziona decisamente meglio che utilizzare iTunes su CrossOver, ma PyMusique ha meno funzionalità rispetto all'iTunes ufficiale e potrebbe violare i termini del servio iTunes Music Store. Per utilizzare questo su Ubuntu, prima devi installare gstreamer0.8-faad e libmcrypt4. Poi vai a [http://fuware.nanocrew.net/pymusique/] o un mirror (google "pymusique 0.4" per cercare i mirrors) e scarica i pacchetti PyMusique, python2.4-mcrypt, python2.4-vlc e python2.4-mp4ff. Infine installa tutti i pacchetti appena scaricati. Puoi ora utilizzare PyMusique dal menu Applicazioni -> Internet ed iniziare a comprare canzoni.


Traduzione di: MiloCasagrandeBR Documento originale: [wiki:Ubuntu/RestrictedFormats RestrictedFormats] {en}