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

Ulion ulion2002 at gmail.com
Mon Dec 10 18:18:28 CET 2007


2007/12/6, Ulion <ulion2002 at gmail.com>:
> 2007/11/24, Ulion <ulion2002 at gmail.com>:
> > 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.
>
> Updates:
> Works with lasted channel reorder patch;
> Fix encode crash bug when not adding iec header;
> Fix command line sample_rate parameter not set bug.

Updated for ffac3 table name change in recent svn.

Now the reorder function patch is already commited, then I schedule
the final day of this patch.
If there's no objection, I will commit it in 3 days.

-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: af_lavcac3enc16.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071211/4b998259/attachment.txt>


More information about the MPlayer-dev-eng mailing list