mirror of https://github.com/mpv-player/mpv
the on suboption of -rawaudio and -rawvideo do not work anymore since the
demuxer API rework. So remove them and change the docs to use -demuxer raw*. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16599 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
098a7ee1d8
commit
f1e016fb24
|
@ -1107,15 +1107,14 @@ Falls back on IPv4 automatically.
|
||||||
.TP
|
.TP
|
||||||
.B \-rawaudio <option1:option2:...>
|
.B \-rawaudio <option1:option2:...>
|
||||||
This option lets you play raw audio files.
|
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.
|
It may also be used to play audio CDs which are not 44kHz 16-bit stereo.
|
||||||
For playing raw AC3 streams use \-rawaudio on:format=0x2000.
|
For playing raw AC3 streams use \-rawaudio format=0x2000 \-demuxer rawaudio.
|
||||||
.sp 1
|
.sp 1
|
||||||
Available options are:
|
Available options are:
|
||||||
.sp 1
|
.sp 1
|
||||||
.PD 0
|
.PD 0
|
||||||
.RSs
|
.RSs
|
||||||
.IPs on\ \ \
|
|
||||||
Use raw audio demuxer.
|
|
||||||
.IPs channels=<value>
|
.IPs channels=<value>
|
||||||
number of channels
|
number of channels
|
||||||
.IPs rate=<value>
|
.IPs rate=<value>
|
||||||
|
@ -1132,13 +1131,12 @@ fourcc in hex
|
||||||
.TP
|
.TP
|
||||||
.B \-rawvideo <option1:option2:...>
|
.B \-rawvideo <option1:option2:...>
|
||||||
This option lets you play raw video files.
|
This option lets you play raw video files.
|
||||||
|
You have to use \-demuxer rawvideo as well.
|
||||||
.sp 1
|
.sp 1
|
||||||
Available options are:
|
Available options are:
|
||||||
.sp 1
|
.sp 1
|
||||||
.PD 0
|
.PD 0
|
||||||
.RSs
|
.RSs
|
||||||
.IPs on\ \ \
|
|
||||||
Use raw video demuxer.
|
|
||||||
.IPs fps=<value>
|
.IPs fps=<value>
|
||||||
rate in frames per second (default: 25.0)
|
rate in frames per second (default: 25.0)
|
||||||
.IPs sqcif|qcif|cif|4cif|pal|ntsc
|
.IPs sqcif|qcif|cif|4cif|pal|ntsc
|
||||||
|
@ -8959,7 +8957,7 @@ mplayer dummy.avi \-sub source.sub \-dumpmpsub
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.B Convert subtitles to MPsub format without watching the movie:
|
.B Convert subtitles to MPsub format without watching the movie:
|
||||||
mplayer /dev/\:zero \-rawvideo on:pal:fps=xx \-vc null \-vo null \-noframedrop
|
mplayer /dev/\:zero \-rawvideo pal:fps=xx -demuxer rawvideo \-vc null \-vo null \-noframedrop
|
||||||
\-benchmark \-sub source.sub \-dumpmpsub
|
\-benchmark \-sub source.sub \-dumpmpsub
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
|
@ -8977,7 +8975,7 @@ mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
.B Play a 6-channel AAC file with only two speakers:
|
.B Play a 6-channel AAC file with only two speakers:
|
||||||
mplayer \-rawaudio on:format=0xff \-af pan=2:.32:.32:.39:.06:.06:.39:.17:-.17:-.17:.17:.33:.33 adts_he-aac160_51.aac
|
mplayer \-rawaudio format=0xff \-demuxer rawaudio \-af pan=2:.32:.32:.39:.06:.06:.39:.17:-.17:-.17:.17:.33:.33 adts_he-aac160_51.aac
|
||||||
.br
|
.br
|
||||||
You might want to play a bit with the pan values (e.g multiply with a value) to
|
You might want to play a bit with the pan values (e.g multiply with a value) to
|
||||||
increase volume or avoid clipping.
|
increase volume or avoid clipping.
|
||||||
|
|
|
@ -21,7 +21,6 @@ static int bitrate = 0;
|
||||||
static int format = 0x1; // Raw PCM
|
static int format = 0x1; // Raw PCM
|
||||||
|
|
||||||
m_option_t demux_rawaudio_opts[] = {
|
m_option_t demux_rawaudio_opts[] = {
|
||||||
{ "on", &demuxer_type, CONF_TYPE_FLAG, 0,0, DEMUXER_TYPE_RAWAUDIO, NULL },
|
|
||||||
{ "channels", &channels, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },
|
{ "channels", &channels, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },
|
||||||
{ "rate", &samplerate, CONF_TYPE_INT,CONF_RANGE,1000,8*48000, NULL },
|
{ "rate", &samplerate, CONF_TYPE_INT,CONF_RANGE,1000,8*48000, NULL },
|
||||||
{ "samplesize", &samplesize, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },
|
{ "samplesize", &samplesize, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },
|
||||||
|
|
|
@ -23,7 +23,6 @@ static float fps = 25;
|
||||||
static int imgsize=0;
|
static int imgsize=0;
|
||||||
|
|
||||||
m_option_t demux_rawvideo_opts[] = {
|
m_option_t demux_rawvideo_opts[] = {
|
||||||
{ "on", &demuxer_type, CONF_TYPE_FLAG, 0,0, DEMUXER_TYPE_RAWVIDEO, NULL },
|
|
||||||
// size:
|
// size:
|
||||||
{ "w", &width, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL },
|
{ "w", &width, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL },
|
||||||
{ "h", &height, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL },
|
{ "h", &height, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL },
|
||||||
|
|
Loading…
Reference in New Issue