summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/options.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-02 20:13:12 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:07:29 +0200
commit1ba5a8f283e3894158f12f025035903e13d0f8ae (patch)
tree7ff315850990353487a332cfc9f2917f6d43ed14 /DOCS/man/en/options.rst
parent1f5635d02cf1ad89025e5409fc05b718cbb04935 (diff)
downloadmpv-1ba5a8f283e3894158f12f025035903e13d0f8ae.tar.bz2
mpv-1ba5a8f283e3894158f12f025035903e13d0f8ae.tar.xz
rawaudio: use mplayer audio format for format option
The rawaudio demuxer had a rather hard to use way to set the audio format with the --rawaudio=format=value option. The user had to pass a numeric value, which then was set as wFormatTag member in the WAVEFORMATEX header. Make it use the mplayer audio format (the same as --af=format=value). Add a new internal pseudo audio codec tag, which is hopefully unused, which makes ad_pcm use the value in wFormatTag as internal mplayer audio format. Playing non-PCM formats is disabled. (At least AC3 can be played directly.)
Diffstat (limited to 'DOCS/man/en/options.rst')
-rw-r--r--DOCS/man/en/options.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 0772bc2f76..127b3ffe5d 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -1521,16 +1521,13 @@
--rawaudio=<option1:option2:...>
This option lets you play raw audio files. You have to use
``--demuxer=rawaudio`` as well. It may also be used to play audio CDs
- which are not 44kHz 16-bit stereo. For playing raw AC-3 streams use
- ``--rawaudio=format=0x2000 --demuxer=rawaudio``.
+ which are not 44kHz 16-bit stereo.
Available options are:
:channels=<value>: number of channels
:rate=<value>: rate in samples per second
- :samplesize=<value>: sample size in bytes
- :bitrate=<value>: bitrate for rawaudio files
- :format=<value>: fourcc in hex
+ :format=<value>: mplayer audio format (e.g. s16le)
--rawvideo=<option1:option2:...>
This option lets you play raw video files. You have to use