[FFmpeg-devel] [PATCH]Add Dirac support to ffmpeg via libdirac_* and Schroedinger libraries]

Aurelien Jacobs aurel
Fri Apr 4 15:05:03 CEST 2008


On Fri, 04 Apr 2008 21:17:57 +1100
Anuradha Suraparaju <anuradha at rd.bbc.co.uk> wrote:

> On Fri, 2008-04-04 at 09:13 +0200, Luca Barbato wrote:
> > Anuradha Suraparaju wrote:
> > @@ -861,6 +875,10 @@
> >   x11_grab_device_demuxer_deps="x11grab XShmCreateImage"
> >   x11_grab_device_demuxer_extralibs="-lX11 -lXext"
> > 
> > +# parsers
> > +dirac_parser_deps="dirac"
> > +schro_parser_deps="schro"
> > +
> >   # protocols
> >   http_protocol_deps="network"
> >   rtp_protocol_deps="udp_protocol"
> > 
> > We have already a demuxer and a parser for drc, would be possible using it?
> I couldn't find it in the trunk. Are the demuxer and parser for drc a
> result of the GSoC project? If they already exist and do the job, I'll
> be glad to use them.

Yes.
Just grab it from svn:
svn co svn://svn.mplayerhq.hu/soc/dirac

> > --- ffmpegsvn_trunk/libavcodec/avcodec.h	2008-04-01 09:14:03.000000000 +1000
> > +++ ffmpegsvn_trunk_dirac_schro/libavcodec/avcodec.h	2008-04-01 
> > 09:15:43.000000000 +1000
> > @@ -182,6 +182,8 @@
> >       CODEC_ID_8SVX_EXP,
> >       CODEC_ID_8SVX_FIB,
> >       CODEC_ID_ESCAPE124,
> > +    CODEC_ID_SCHRO = 0xFFFE,
> > +    CODEC_ID_DIRAC = 0xFFFF,
> > 
> > why this?
> While I was writing the code and testing it I didn't want the CODEC id's
> to interfere with ones that were being included. I'll remove the numbers
> associated with codec ids for Schroedinger and Dirac.

Anyway, as both use the same bitstream, they must use the same CODEC_ID_
(and the same muxer/demuxer/parser...).

Aurel




More information about the ffmpeg-devel mailing list