CVS: main/DOCS/man/en mplayer.1,1.1117,1.1118
CVS change done by Reimar Döffinger CVS Update of /cvsroot/mplayer/main/DOCS/man/en In directory mail:/var2/tmp/cvs-serv21432/DOCS/man/en Modified Files: mplayer.1 Log Message: 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*. Index: mplayer.1 =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/man/en/mplayer.1,v retrieving revision 1.1117 retrieving revision 1.1118 diff -u -r1.1117 -r1.1118 --- mplayer.1 25 Sep 2005 16:20:41 -0000 1.1117 +++ mplayer.1 25 Sep 2005 17:29:43 -0000 1.1118 @@ -1107,15 +1107,14 @@ .TP .B \-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 AC3 streams use \-rawaudio on:format=0x2000. +For playing raw AC3 streams use \-rawaudio format=0x2000 \-demuxer rawaudio. .sp 1 Available options are: .sp 1 .PD 0 .RSs -.IPs on\ \ \ -Use raw audio demuxer. .IPs channels=<value> number of channels .IPs rate=<value> @@ -1132,13 +1131,12 @@ .TP .B \-rawvideo <option1:option2:...> This option lets you play raw video files. +You have to use \-demuxer rawvideo as well. .sp 1 Available options are: .sp 1 .PD 0 .RSs -.IPs on\ \ \ -Use raw video demuxer. .IPs fps=<value> rate in frames per second (default: 25.0) .IPs sqcif|qcif|cif|4cif|pal|ntsc @@ -8959,7 +8957,7 @@ . .TP .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 . .TP @@ -8977,7 +8975,7 @@ . .TP .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 You might want to play a bit with the pan values (e.g multiply with a value) to increase volume or avoid clipping.
Hi, On Sun, Sep 25, 2005 at 07:29:48PM +0200, Reimar DXffinger CVS wrote:
Log Message: 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*.
It seems that this change also allows to use rawaudio and rawvideo, e.g. I tried this: -rawvideo pal:fps=23 /dev/zero -demuxer rawvideo -audiofile /dev/null -rawaudio channels=2 -audio-demuxer rawaudio Maybe somebody can check if I am right and document this? Greetings, Reimar Döffinger
On Sun, Sep 25, 2005 at 07:31:11PM +0200, Reimar Döffinger wrote:
Hi, On Sun, Sep 25, 2005 at 07:29:48PM +0200, Reimar DXffinger CVS wrote:
Log Message: 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*.
It seems that this change also allows to use rawaudio and rawvideo, e.g. I tried this: -rawvideo pal:fps=23 /dev/zero -demuxer rawvideo -audiofile /dev/null -rawaudio channels=2 -audio-demuxer rawaudio
Maybe somebody can check if I am right and document this?
A very nice addition to this would be to make the raw demuxers succeed for 'autodetection' (as the last demuxer tried) if any of the raw subopts have been set. This way -demuxer raw* could sometimes be omitted. :) Rich
On Sun, Sep 25, 2005 at 07:31:11PM +0200, Reimar Döffinger wrote:
On Sun, Sep 25, 2005 at 07:29:48PM +0200, Reimar DXffinger CVS wrote:
Log Message: 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*.
It seems that this change also allows to use rawaudio and rawvideo, e.g. I tried this: -rawvideo pal:fps=23 /dev/zero -demuxer rawvideo -audiofile /dev/null -rawaudio channels=2 -audio-demuxer rawaudio
What's so surprising about being able to use rawaudio and rawvideo? Diego
On Wed, Sep 28, 2005 at 10:10:22PM +0200, Diego Biurrun wrote:
On Sun, Sep 25, 2005 at 07:31:11PM +0200, Reimar Döffinger wrote:
On Sun, Sep 25, 2005 at 07:29:48PM +0200, Reimar DXffinger CVS wrote:
Log Message: 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*.
It seems that this change also allows to use rawaudio and rawvideo, e.g. I tried this: -rawvideo pal:fps=23 /dev/zero -demuxer rawvideo -audiofile /dev/null -rawaudio channels=2 -audio-demuxer rawaudio
What's so surprising about being able to use rawaudio and rawvideo?
He means using both at once. And this was always possible with -audio-demuxer option anyway. It's nothing new; I used it quite often for muxing external ac3 files. BTW lavf can now read .ac3 files without needing rawaudio, but it seems to be broken with regard to pts and creates invalid avi files if used to mux ac3 into avi. Rich
participants (4)
-
Diego Biurrun -
Reimar Döffinger -
Rich Felker -
syncmail@mplayerhq.hu