summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-28 15:13:43 +0200
committerwm4 <wm4@nowhere>2013-06-28 15:14:51 +0200
commit07131a9523eea9aef16f63b371cfefa5e9a286cf (patch)
treee7e3e5c4cadeb35a6ff02154635bf62046230fb2 /DOCS
parenteb2b307788786e734b27fba8ff2630dd70f03d72 (diff)
downloadmpv-07131a9523eea9aef16f63b371cfefa5e9a286cf.tar.bz2
mpv-07131a9523eea9aef16f63b371cfefa5e9a286cf.tar.xz
options: rename --rawvideo to --demuxer-rawvideo, same with --rawaudio
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/changes.rst2
-rw-r--r--DOCS/man/en/options.rst71
2 files changed, 39 insertions, 34 deletions
diff --git a/DOCS/man/en/changes.rst b/DOCS/man/en/changes.rst
index c376039152..629cff3ba4 100644
--- a/DOCS/man/en/changes.rst
+++ b/DOCS/man/en/changes.rst
@@ -131,6 +131,8 @@ Command line switches
-subfile --sub
-lavdopts ... --vd-lavc-...
-lavfdopts --demuxer-lavf-...
+ -rawaudio ... --demuxer-rawaudio-...
+ -rawvideo ... --demuxer-rawvideo-...
=================================== ===================================
*NOTE*: ``-opt val`` becomes ``--opt=val``.
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index c972837d6e..cf7e0f05e6 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -546,6 +546,43 @@
Encryption key the demuxer should use. This is the raw binary data of
the key converted to a hexadecimal string.
+--demuxer-rawaudio-channels=<value>
+ Number of channels (or channel layout) if ``--demuxer=rawaudio`` is used
+ (default: stereo).
+
+--demuxer-rawaudio-format=<value>
+ Sample format for ``--demuxer=rawaudio`` (default: s16le).
+
+--demuxer-rawaudio-rate=<value>
+ Sample rate for ``--demuxer=rawaudio`` (default: 44KHz).
+
+--demuxer-rawvideo-fps=<value>
+ Rate in frames per second for ``--demuxer=rawvideo`` (default: 25.0).
+
+--demuxer-rawvideo-w=<value>, --demuxer-rawvideo-h=<value>
+ Image dimension in pixels for ``--demuxer=rawvideo``.
+
+ *EXAMPLE*:
+
+ - ``mpv sample-720x576.yuv --demuxer=rawvideo --demuxer-rawvideo=w=720:h=576``
+ Play a raw YUV sample.
+
+--demuxer-rawvideo-format=<value>
+ Colorspace (fourcc) in hex or string for ``--demuxer=rawvideo``
+ (default: YV12).
+
+--demuxer-rawvideo-mp-format=<value>
+ Colorspace by internal video format for ``--demuxer=rawvideo``. Use
+ ``--demuxer-rawvideo-mp-format=help`` for a list of possible formats.
+
+--demuxer-rawvideo-codec=<value>
+ Set the video codec instead of selecting the rawvideo codec when using
+ ``--demuxer=rawvideo``. This uses the same values as codec names in
+ ``--vd`` (but it doesn't accept decoder names).
+
+--demuxer-rawvideo-size=<value>
+ Frame size in bytes when using ``--demuxer=rawvideo``.
+
--doubleclick-time=<milliseconds>
Time in milliseconds to recognize two consecutive button presses as a
double-click (default: 300).
@@ -1581,40 +1618,6 @@
achannels=<value> (radio capture only)
Number of audio channels to capture.
---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.
-
- Available options are:
-
- :channels=<value>: number of channels
- :rate=<value>: rate in samples per second
- :format=<value>: mpv audio format (e.g. s16le)
-
---rawvideo=<option1:option2:...>
- This option lets you play raw video files. You have to use
- ``--demuxer=rawvideo`` as well.
-
- Available options are:
-
- :fps=<value>: rate in frames per second (default: 25.0)
- :w=<value>: image width in pixels
- :h=<value>: image height in pixels
- :format=<value>: colorspace (fourcc) in hex or string
- constant.
- :mp-format=<value>: colorspace by internal video format
- Use ``--rawvideo=mp-format=help``
- for a list of possible formats.
- :codec: set the video codec (instead of selecting
- the rawvideo codec)
- :size=<value>: frame size in Bytes
-
- *EXAMPLE*:
-
- - ``mpv sample-720x576.yuv --demuxer=rawvideo --rawvideo=w=720:h=576``
- Play a raw YUV sample.
-
--really-quiet
Display even less output and status messages than with ``--quiet``.