# HG changeset patch # User gabucino # Date 1012741389 0 # Node ID fb02f169e8e280bf80538bb90a405e562bcf8e0a # Parent dcf46e65bd2975640b676b2cb9d1001929a40606 added more audio plugin documentation (patch submitted by Johansson ) diff -r dcf46e65bd29 -r fb02f169e8e2 DOCS/Hungarian/documentation.html --- a/DOCS/Hungarian/documentation.html Sun Feb 03 12:43:18 2002 +0000 +++ b/DOCS/Hungarian/documentation.html Sun Feb 03 13:03:09 2002 +0000 @@ -129,8 +129,11 @@
  • 2.3.2.1 Ajánlott beállítások különféle hangkártyákhoz
  • 2.3.2.2 Audio pluginek
  • diff -r dcf46e65bd29 -r fb02f169e8e2 DOCS/Hungarian/sound.html --- a/DOCS/Hungarian/sound.html Sun Feb 03 12:43:18 2002 +0000 +++ b/DOCS/Hungarian/sound.html Sun Feb 03 13:03:09 2002 +0000 @@ -130,6 +130,37 @@

    2.3.2.2. Audio pluginek

    +

    Az MPlayer tartalmaz néhány audio plugint. Ezek a hang + tulajdonságainak megváltoztatására használhatóak. A használatuk az + -aop opcióval történik, amit a + list=plugin1,plugin2,... opció követ. A list + kapcsoló elhagyhatatlan, itt adható meg a használandó pluginek listája, + valamint a sorrendjük. Például a következő parancs: +

    + +

      mplayer media.avi -aop list=resample,format

    + +

    először a resample pluginen, aztán a format pluginen keresztül vezeti + a hangot. +

    + +

    A plugineknek is vannak opcióik, amelyek befolyásolják őket. Ezek + részletesebben a következő fejezetekben vannak leírva. Ha egy pluginnak + nem adsz meg beállításokat, az alapértelmezett beállításban fognak futni. + Íme egy példa hogy hogyan használj több plugint, megadott opciókkal: +

    + +

      mplayer media.avi -aop + list=resample,format:fout=48000:format=0x8 +

    + +

    Ez 44100Hz-es kimeneti frekvenciára mixel, és a kimeneti formátumot + átállítja AFMT_U8-ra. +

    + +

    Currently audio plugins can not be used in MEncoder.

    + +

    2.3.2.2.1. Up/Downsampling

    Az MPlayer képes az audio stream frekvenciáját növelni illetve @@ -157,6 +188,24 @@   mplayer media.avi -aop list=surround

    +

    2.3.2.2.3. Sample formátum konvertáló

    + +

    Ha a hangkártyád nem támogatja a signed 16bit int formátumot, ezzel + a pluginnel átalakíthatod a kimeneti hangot olyanba amit visz. + Egy opciója van neki, a format, ami után megadandó a kívánt + formátum száma (lásd libao2/afmt.h). Ez a plugin ritkán használandó.. +

    + +

    Használat :
    +   mplayer media.avi -aop + list=format:format=<kimeneti formátum> +

    + + +

    2.3.2.2.4. Delay

    + +

    Példa plugin, csak developereknek. Lásd angol dox.

    + diff -r dcf46e65bd29 -r fb02f169e8e2 DOCS/documentation.html --- a/DOCS/documentation.html Sun Feb 03 12:43:18 2002 +0000 +++ b/DOCS/documentation.html Sun Feb 03 13:03:09 2002 +0000 @@ -129,8 +129,11 @@
  • 2.3.2.1 Soundcard experiences, recommendations
  • 2.3.2.2 Audio plugins
  • diff -r dcf46e65bd29 -r fb02f169e8e2 DOCS/sound.html --- a/DOCS/sound.html Sun Feb 03 12:43:18 2002 +0000 +++ b/DOCS/sound.html Sun Feb 03 13:03:09 2002 +0000 @@ -126,13 +126,48 @@

    2.3.2.2. Audio plugins

    +

    MPlayer has support for audio plugins. Audio plugins can be used for + changing the properties of the audio data before the sound reaches the sound + card. They are enabled using the -aop switch followed by the + list=plugin1,plugin2,... switch. The list switch is + required and determines which plugins that should be used and in which order + they should be executed, example: +

    + +

      mplayer media.avi -aop list=resample,format

    + +

    would run the sound through the resampling plugin followed by the format + plugin. +

    + +

    The plugins can also have switches that changes their behaviour. These + switches are explained in detail in the sections below. A plugin will execute + using default settings if it's switches are omitted. Example of how to use + plugins in combination with plugin specific switches: +

    + +

      mplayer media.avi -aop + list=resample,format:fout=48000:format=0x8 +

    + +

    would set the output frequency of the resample plugin to 44100Hz and the + output format of the format plugin to AFMT_U8. +

    + +

    Currently audio plugins can not be used in MEncoder.

    + +

    2.3.2.2.1. Up/Downsampling

    -

    MPlayer fully supports up/downsampling of audio stream. -It is not autodetected, so you have to specify it explicitly even when -for example you have a max 44.1Khz capable soundcard, and the audio -is 48Khz. Also, this functionality is currently unimplemented in -MEncoder.

    +

    MPlayer fully supports up/down sampling of the sound. This plugin can + for example be used if you have a fixed frequency sound card or if you are + stuck with an olqd sound card that is only capable of max 44.1kHz. + Limitations in your hardware are not auto detected, so you have to specify + the sample frequency explicitly. This plugin has one switch: + fout which is used for setting the desired output sample + frequency, it defaults to 48kHz, and is given in + <Hz>. +

    Usage :
      mplayer media.avi -aop list=resample:fout=<required @@ -152,5 +187,29 @@

    Usage :
      mplayer media.avi -aop list=surround

    + +

    2.3.2.2.3. Sample format converter

    + +

    If your sound card driver doesn't support signed 16bit int, this plugin can + be used to change the format to one which your sound card can understand. It + has one switch format which can be set to one of the numbers + found in libao2/afmt.h. This plugin is hardly ever needed and is intended for + advanced users. Observe that this plugin only changes the sample format and + not the sample frequency or the number of channels. +

    + +

    Usage :
    +   mplayer media.avi -aop + list=format:format=<required output format> +

    + + +

    2.3.2.2.4. Delay

    + +

    This plugin delays the sound and is intended as an example of how to develop + new plugins. It can not be used for anything useful from users perspective + and is mentioned here for the sake of completeness only. Do not use this + plugin unless you are a developer.

    +