<sect1 id="howto-devices">
<title
>Dischi e sintonizzatori</title>

<sect2 id="howto-devices-setup">
<title
>Impostare i dispositivi</title>

<para
>&kplayer; tries to find any disk and tuner devices you have on your system. The ones it finds it puts on the <link linkend="menu-file"
><guimenu
>File</guimenu
> menu</link
> and on several <mousebutton
>right</mousebutton
> click <link linkend="popup-menus"
>popup menus</link
>, as well as in the <guilabel
>Devices</guilabel
> section of the <link linkend="parts-library"
><interface
>multimedia library</interface
></link
>.</para>

<para
>If the device you want &kplayer; to use does not show up on those lists, you can add it manually by selecting the <guilabel
>Devices</guilabel
> node in the <interface
>multimedia library</interface
> and choosing <menuchoice
><guisubmenu
>Add</guisubmenu
> <guimenuitem
>Device...</guimenuitem
></menuchoice
> command from the <link linkend="menu-library"
><guimenu
>Library</guimenu
> menu</link
> or the <mousebutton
>right</mousebutton
> click <link linkend="popup-library"
>popup menu</link
>. &kplayer; will show the <guilabel
>Add device</guilabel
> dialog:</para>

<mediaobject>
<imageobject>
<imagedata fileref="device-add.png" format="PNG"/>
</imageobject>
<textobject>
<phrase
>Finestra Aggiungi dispositivo</phrase>
</textobject>
</mediaobject>

<para
>Enter a unique descriptive name for the device and the path to the device node under the <filename
>/dev</filename
> directory. Select the device type from the drop down box. For a <acronym
>TV</acronym
> device select a channel list and an input driver, usually <guilabel
>Video4Linux 2</guilabel
> or <guilabel
>Video4Linux</guilabel
>. A <acronym
>DVB</acronym
> device needs the path to a channel file in the <quote
>zap</quote
> format. You can get the file from the Internet or create it using the <command
>scan</command
> utility that comes with <acronym
>DVB</acronym
> drivers. &kplayer; looks for existing <filename
>channels.conf</filename
> files and selects the first one it finds by default.</para>

<para
>To set additional options for a device, select it in the <interface
>multimedia library</interface
> and choose the <guimenuitem
>Properties...</guimenuitem
> command from the <link linkend="menu-library"
><guimenu
>Library</guimenu
> menu</link
> or the <mousebutton
>right</mousebutton
> click <link linkend="popup-library"
>popup menu</link
>. Most of the options are the same <link linkend="howto-properties"
>properties</link
> available for every multimedia item in &kplayer;.</para>

<para
>Tuner devices have several specific options detailed in the <link linkend="properties"
><guilabel
>Properties</guilabel
> dialog</link
> chapter. The <link linkend="properties-general"
><guilabel
>General</guilabel
> page</link
> has the options to select a list of channels available from the device and an input driver as discussed above. Other options are on the <link linkend="properties-video"
><guilabel
>Video</guilabel
></link
>, <link linkend="properties-audio"
><guilabel
>Audio</guilabel
></link
> and <link linkend="properties-advanced"
><guilabel
>Advanced</guilabel
></link
> pages of the dialog.</para>

<para
>Per una descrizione dettagliata della funzionalità della raccolta multimediale vedere il <link linkend="howto-library"
>micro-HOWTO Raccolta multimediale</link
>.</para>

<para
>Se hai le opzioni <userinput
><option
>-dvd-device</option
></userinput
> o <userinput
><option
>-cdrom-device</option
></userinput
> nella casella <guilabel
>Parametri aggiuntivi della riga di comando</guilabel
> della pagina <guilabel
>Avanzate</guilabel
> in <link linkend="settings-advanced"
>Impostazioni di &kplayer;</link
>, devi rimuoverle, poiché dalla versione 0.6 &kplayer; fornisce automaticamente queste opzioni a &mplayer;.</para>

</sect2>

<sect2 id="howto-devices-playing">
<title
>Leggere i dispositivi</title>

<para
>When you put a disk into a <acronym
>CD</acronym
> or <acronym
>DVD</acronym
> drive, &kplayer; detects what kind of disk it is and how many tracks or titles it has, and updates the <link linkend="submenu-device"
>device submenu</link
> of the <guilabel
>File</guilabel
> menu accordingly. The submenu includes commands to play the whole disk or an individual track or title from it.</para>

<para
>&kplayer; supports video <acronym
>DVD</acronym
>, video <acronym
>CD</acronym
>, including <acronym
>SVCD</acronym
> and other <acronym
>VCD</acronym
> varieties, audio <acronym
>CD</acronym
>, data <acronym
>DVD</acronym
> and data <acronym
>CD</acronym
> disks. If &kplayer; does not detect your disk automatically for any reason, you can kick off the detection process manually by selecting the <guimenuitem
>Load Disk</guimenuitem
> command from the <link linkend="submenu-device"
>device submenu</link
>.</para>

<para
>Tuner devices like <acronym
>TV</acronym
> or <acronym
>DVB</acronym
> also have their own submenus that contain commands to play each individual channel available on the device. Or you can open the device in the <interface
>multimedia library</interface
>, select some channels and play them using the commands on the <link linkend="menu-library"
><guimenu
>Library</guimenu
> menu</link
> or the <mousebutton
>right</mousebutton
> click <link linkend="popup-library"
>popup menu</link
>.</para>

<para
>Another way to play an entire disk is through the <filename
>media:/</filename
> or <filename
>system:/</filename
> <acronym
>I/O</acronym
> Slaves. If you have the <interface
>Devices</interface
> applet enabled in the &kicker; panel, it will show disks you insert into disk drives. You can then <mousebutton
>left</mousebutton
> click the disk icon and select the <guimenuitem
>Play</guimenuitem
> command. This will start &kplayer; if it is not already running and play the disk. Similarly, if disk icons show up on your desktop, you can <mousebutton
>right</mousebutton
> click them and select <guimenuitem
>Play</guimenuitem
>. You can also display the disk icons in &konqueror; file manager by opening <filename
>media:/</filename
> or <filename
>system:/media</filename
> <acronym
>URL</acronym
>s in it.</para>

</sect2>

<sect2 id="howto-devices-deinterlacing">
<title
>Telecinema inverso e deinterlacciamento</title>

<para
>Video on <acronym
>DVD</acronym
> disks is often telecined. The <literal
>pullup</literal
> filter does a decent inverse telecine. To use it, select the disk or one of its titles in the <guilabel
>Devices</guilabel
> section of the <link linkend="parts-library"
><interface
>multimedia library</interface
></link
> and choose the <guimenuitem
>Properties...</guimenuitem
> command from the <link linkend="menu-library"
><guimenu
>Library</guimenu
> menu</link
> or the <mousebutton
>right</mousebutton
> click <link linkend="popup-library"
>popup menu</link
> to open the disk properties, then go to the <link linkend="properties-advanced"
>Advanced page</link
> and enter <option
>-vf pullup</option
> in the <guilabel
>Additional command line arguments</guilabel
> field before playing the video. Setting the property on the disk will apply the filter to all titles on the <acronym
>DVD</acronym
>.</para>

<para
>Alcuni dischi <acronym
>DVD</acronym
> e molti canali <acronym
>TV</acronym
> e <acronym
>DVB</acronym
> sono interlacciati. Ci sono diversi filtri di deinterlacciamento in &mplayer;. Ciascuno ha i suoi vantaggi e svantaggi, quindi provane un po' cominciando con <option
>-vf yadif</option
> e vedi quale fornisce i risultati migliori per il video che stai vuoi guardare. L'elenco completo è disponibile eseguendo</para>

<para
><userinput
><command
>mplayer</command
> <option
>-vf help</option
> <option
>-pphelp</option
> | <command
>grep</command
> <option
>deint</option
></userinput
></para>

</sect2>

<sect2 id="howto-devices-deblocking">
<title
>Deblocking, deringing, denoising</title>

<para
>L'opzione <option
>-vf</option
> ha il compito di filtrare il video di &mplayer;. Per avere l'elenco completo dei filtri disponibili, esegui:</para>

<para
><userinput
><command
>mplayer</command
> <option
>-vf help</option
></userinput
></para>

<para
>dalla riga di comando. La maggior parte di essi è descritta nella pagina man di <ulink url="man:/mplayer"
>&mplayer;</ulink
>. Uno dei filtri più utili è <literal
>pp</literal
>, il filtro di postelaborazione. Tra le altre cose, può arrotondare gli <acronym
>MPEG</acronym
> quadrettati usando il filtro di deblocking <literal
>hb</literal
> e <literal
>vb</literal
> o <literal
>h1</literal
> e <literal
>v1</literal
>, normalmente in combinazione con il filtro di deringing <literal
>dr</literal
>, così: <option
>-vf pp=hb/vb/dr</option
>, o <option
>-vf pp=h1/v1/dr</option
>. Per un elenco completo dei filtri <literal
>pp</literal
>, esegui</para>

<para
><userinput
><command
>mplayer</command
> <option
>-pphelp</option
></userinput
></para>

<para
>dalla riga di comando. Un altro filtro utile è <literal
>hqdn3d</literal
>, che fa un denoising di alta qualità: <option
>-vf hqdn3d</option
>.</para>

<para
>Puoi combinare insieme più filtri e usarli per lo stesso dispositivo o file, separandoli con una virgola senza spazi, per esempio:</para>

<para
><option
>-vf pullup,pp=h1/v1/dr,hqdn3d</option
></para>

<para
>Inseriscilo nel campo <guilabel
>Argomenti aggiuntivi della riga di comando</guilabel
> sulla <link linkend="properties-advanced"
>pagina Avanzate</link
> nelle <guilabel
>Proprietà del file</guilabel
>.</para>

</sect2>

</sect1>
