From 07131a9523eea9aef16f63b371cfefa5e9a286cf Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Jun 2013 15:13:43 +0200 Subject: options: rename --rawvideo to --demuxer-rawvideo, same with --rawaudio --- DOCS/man/en/changes.rst | 2 ++ DOCS/man/en/options.rst | 71 ++++++++++++++++++++++++++----------------------- 2 files changed, 39 insertions(+), 34 deletions(-) (limited to 'DOCS') 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= + Number of channels (or channel layout) if ``--demuxer=rawaudio`` is used + (default: stereo). + +--demuxer-rawaudio-format= + Sample format for ``--demuxer=rawaudio`` (default: s16le). + +--demuxer-rawaudio-rate= + Sample rate for ``--demuxer=rawaudio`` (default: 44KHz). + +--demuxer-rawvideo-fps= + Rate in frames per second for ``--demuxer=rawvideo`` (default: 25.0). + +--demuxer-rawvideo-w=, --demuxer-rawvideo-h= + 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= + Colorspace (fourcc) in hex or string for ``--demuxer=rawvideo`` + (default: YV12). + +--demuxer-rawvideo-mp-format= + Colorspace by internal video format for ``--demuxer=rawvideo``. Use + ``--demuxer-rawvideo-mp-format=help`` for a list of possible formats. + +--demuxer-rawvideo-codec= + 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= + Frame size in bytes when using ``--demuxer=rawvideo``. + --doubleclick-time= Time in milliseconds to recognize two consecutive button presses as a double-click (default: 300). @@ -1581,40 +1618,6 @@ achannels= (radio capture only) Number of audio channels to capture. ---rawaudio= - 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=: number of channels - :rate=: rate in samples per second - :format=: mpv audio format (e.g. s16le) - ---rawvideo= - This option lets you play raw video files. You have to use - ``--demuxer=rawvideo`` as well. - - Available options are: - - :fps=: rate in frames per second (default: 25.0) - :w=: image width in pixels - :h=: image height in pixels - :format=: colorspace (fourcc) in hex or string - constant. - :mp-format=: 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=: 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``. -- cgit v1.2.3