comparison DOCS/man/en/mplayer.1 @ 16493:851d10933f27

Fix af_pan commandline mess and (hopefully) improve description. It should now output the right number of channels and it doesn't silently clamp values to the too restrictive [0, 1] range.
author reimar
date Thu, 15 Sep 2005 11:41:23 +0000
parents 3191dcb27a12
children 954c94e46fcc
comparison
equal deleted inserted replaced
16492:5bec810fc9dc 16493:851d10933f27
3984 An example how to downmix a six-channel file to two channels with 3984 An example how to downmix a six-channel file to two channels with
3985 this filter can be found in the examples section near the end. 3985 this filter can be found in the examples section near the end.
3986 .PD 0 3986 .PD 0
3987 .RSs 3987 .RSs
3988 .IPs <n>\ \ 3988 .IPs <n>\ \
3989 number of input channels (1\-6) 3989 number of output channels (1\-6)
3990 .IPs <lij> 3990 .IPs <lij>
3991 How much of input channel j is mixed into output channel i (0\-1). 3991 How much of input channel i is mixed into output channel j (0\-1).
3992 So in principle you first have n numbers saying what to do with the
3993 first input channel, then n numbers that act on the second input channel
3994 etc.
3995 If you don't specify any numbers for some input channels, 0 is assumed.
3992 .RE 3996 .RE
3993 .sp 1 3997 .sp 1
3994 .RS 3998 .RS
3995 .I EXAMPLE: 3999 .I EXAMPLE:
3996 .RE 4000 .RE
3997 .RSs 4001 .RSs
3998 .IPs "mplayer \-af pan=1:0.5:0.5 \-channels 1 media.avi" 4002 .IPs "mplayer \-af pan=1:0.5:0.5 media.avi"
3999 Would down-mix from stereo to mono. 4003 Would down-mix from stereo to mono.
4000 .IPs "mplayer \-af pan=3:1:0:1:0.5:0.5 \-channels 3 media.avi" 4004 .IPs "mplayer \-af pan=3:1:0:0.5:0:1:0.5 media.avi"
4001 Would give 3 channel output leaving channels 0 and 1 intact, 4005 Would give 3 channel output leaving channels 0 and 1 intact,
4002 and mix channels 0 and 1 into output channel 2 (which could 4006 and mix channels 0 and 1 into output channel 2 (which could
4003 be sent to a subwoofer for example). 4007 be sent to a subwoofer for example).
4004 .RE 4008 .RE
4005 .PD 1 4009 .PD 1
8961 .B Playback on Zoran cards (new style): 8965 .B Playback on Zoran cards (new style):
8962 mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi 8966 mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi
8963 . 8967 .
8964 .TP 8968 .TP
8965 .B Play a 6-channel AAC file with only two speakers: 8969 .B Play a 6-channel AAC file with only two speakers:
8966 mplayer \-rawaudio on:format=0xff \-af pan=6:.32:.39:.06:.17:-.17:.33:.32:.06:.39:-.17:.17:.33 adts_he-aac160_51.aac 8970 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
8967 .br 8971 .br
8968 You might want to play a bit with the pan values (e.g multiply with a value) to 8972 You might want to play a bit with the pan values (e.g multiply with a value) to
8969 increase volume or avoid clipping. 8973 increase volume or avoid clipping.
8970 . 8974 .
8971 .SH EXAMPLES OF MENCODER USAGE 8975 .SH EXAMPLES OF MENCODER USAGE