[Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.14,1.15
Diego Biurrun
diego at biurrun.de
Thu Oct 24 02:31:41 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.14,1.15
- Next message: [Mplayer-cvslog] CVS: main/libaf af.c,1.9,1.10 af.h,1.5,1.6 af_channels.c,1.4,1.5 af_delay.c,1.1,1.2 af_dummy.c,1.1,1.2 af_format.c,1.2,1.3 af_resample.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Anders Johansson writes:
> > Anders Johansson writes:
> > > Modified Files:
> > > dec_audio.c
> > > Log Message:
> > > Adding -format and -af switches
> >
> > Could you please add these to the man page? Thanks
>
> There are basically three new switches and some generic documentation
> that needs to be added to the documentation at the moment for the new
> audio filter layer. The documentation is valid both for mencoder and
> for mplayer. I will write some more docs for the -af switches when the
> source is starting to stabilize (couple of weeks from now).
great
> Audio filters
> The audio filters in MPlayer can be used for changing the properties
> of the audio stream(s) before the sound reaches the encoding in
> mencoder or the sound card in mplayer. The filters are currently
> enabled automatically so that any audio data can be played or
> recorded to any type of output device or audio encoder. The properties
> that can be changed are number of channels and sample frequency and
> format. The settings are probed and automatically configured but can
> be overridden by using the -channels -rate and -format switches
> respectively.
>
> -channels
> Change the number of playback channels. If the number of output
> channels is bigger than the number of input channels empty channels
> are inserted. The exception is mixing from mono to stereo, then the
> mono channel is repeated in both the output channels. If the number of
> output channels is smaller than the number of input channels the
> exceeding channels are truncated. A mixer filter will correct the
> shortcomings of this filter in the future.
I suppose this is different from the -channels option that we have
currently, right?
> -rate
> Select output sample rate from the filter layer in <Hz>.
MPlayer complains about unknown option -rate, do you mean -srate?
> -format
> Select the format used for output from the filter layer. The
> format is selected according to the defines in libao2/afmt.h.
Will there be an alternative to giving these hex values in the future?
Diego
- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.14,1.15
- Next message: [Mplayer-cvslog] CVS: main/libaf af.c,1.9,1.10 af.h,1.5,1.6 af_channels.c,1.4,1.5 af_delay.c,1.1,1.2 af_dummy.c,1.1,1.2 af_format.c,1.2,1.3 af_resample.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list