[MPlayer-dev-eng] [PATCH] [TEST AFILTER] Encode ac3 at runtime using lavc

Ulion ulion2002 at gmail.com
Sat Nov 24 16:18:12 CET 2007


2007/11/24, Ulion <ulion2002 at gmail.com>:
> 2007/11/22, Ulion <ulion2002 at gmail.com>:
> > 2007/11/22, Diego Biurrun <diego at biurrun.de>:
> > > On Wed, Nov 21, 2007 at 12:59:25AM +0800, Ulion wrote:
> > > > 2007/11/20, Diego Biurrun <diego at biurrun.de>:
> > > > > On Tue, Nov 20, 2007 at 07:23:46PM +0800, Ulion wrote:
> > > > > > 2007/11/20, Diego Biurrun <diego at biurrun.de>:
> > > > > > > >
> > > > > > > > Sorry for my mistake in Makefile, fix again.
> > > > > > > >
> > > > > > > > --- DOCS/man/en/mplayer.1     (revision 25106)
> > > > > > > > +++ DOCS/man/en/mplayer.1     (working copy)
> > > > > > > > @@ -4695,6 +4695,30 @@
> > > > > > > > +.B lavcac3enc[=tospdif[:bitrate[:minchn]]]
> > > > > > > > +Encode multi-channel audio to AC-3 at runtime using libavcodec.
> > > > > > > > +Supports input 16-bit little-endian or big-endian format, max 6 channels.
> > > > > > >
> > > > > > > input formats
> > > > > > >
> > > > > > > > --- libaf/af_lavcac3enc.c     (revision 0)
> > > > > > > > +++ libaf/af_lavcac3enc.c     (revision 0)
> > > > > > > > @@ -0,0 +1,289 @@
> > > > > > > > +/*
> > > > > > > > + * Audio filter for encoding AC-3 stream at runtime using libavcodec.
> > > > > > >
> > > > > > > Audio filter for runtime AC-3 encoding with libavcodec
> > > > > > >
> > > > > > --- DOCS/man/en/mplayer.1     (revision 25118)
> > > > > > +++ DOCS/man/en/mplayer.1     (working copy)
> > > > > > @@ -4695,6 +4695,31 @@
> > > > > > +.B lavcac3enc[=tospdif[:bitrate[:minchn]]]
> > > > > > +Encode multi-channel audio to AC-3 at runtime using libavcodec.
> > > > > > +Supports input 16-bit little-endian or big-endian formats, maximum 6 channels.
> > > > >
> > > > > input formats
> > > >
> > > > I'm not sure, check whether current fix is what you want.
> > >
> > > No, it has to be
> > >
> > >   Supports 16-bit little-endian or big-endian input formats,
> > >
> > > attributes come before the noun in English.
> > >
> >
> > Got it. Fixed version here, indeed only native-endian now supported so
> > the line also changes.
> > Other stuff: when use libavcodec .so, we define some ac3 macroes and
> > extern array announce.
>
> Updates: switch to work with libavcodec.a only, use the ac3.h file
> from libavcodec directory.
> default bitrate value array wrong index fix.

Sorry for wrong patch mixed with other patch.
Here's the fixed patch.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af_lavcac3enc13.diff
Type: text/x-diff
Size: 13766 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071124/9914bcc3/attachment.diff>


More information about the MPlayer-dev-eng mailing list