[MPlayer-dev-eng] [PATCH] Alternate syntax for -af pan

Attila Kinali attila at kinali.ch
Sat Mar 6 13:44:12 CET 2010


On Sun, 28 Feb 2010 15:12:21 +0100
Nicolas George <nicolas.george at normalesup.org> wrote:

> With the rise of market share of blu-ray, I expect we will see more and more
> of files with a lot of channels. Since (1) not all codecs can remix the
> channels to suit the output hardware and (2) a lot of files will be wrong
> anyway, I expect we will see a rise in the need for -af pan.

>       EXAMPLE:
> 	 mplayer -af pan=3:fl~i0:fr~i1:o2~0.5i0+0.5i1 media.avi
> 	      Does the same as the second example above.
> 	 mplayer -af pan='2:
> 	      fl ~ 0.4fl + 0.4rl + 0.2fc :
> 	      fr ~ 0.4fr + 0.4rr + 0.2fc' media.avi
> 	      Would downmix 5.0 surround (or 5.1 discarding  the  LFE)
> 	      to stereo.  Note that this syntax allows sensibly-placed
> 	      spaces (provided they are quoted at the shell level).

I'm not sure whether this is the best possible syntax for pan,
it is definitly an improvement over the existing syntax.

Any other comments?

			Attila Kinali

-- 
Why does it take years to find the answers to
the questions one should have asked long ago?



More information about the MPlayer-dev-eng mailing list