[FFmpeg-devel] [PATCH] attachments support in matroska demuxer

Michael Niedermayer michaelni
Fri Jan 4 23:55:36 CET 2008


On Sat, Jan 05, 2008 at 01:01:47AM +0300, Evgeniy Stepanov wrote:
> On Thursday 03 January 2008 04:23:09 Michael Niedermayer wrote:
> > >   It seems to me that attachment would fit pretty well, each one
> > >   in its own AVStream. Does this sound reasonable ?
> > > - Here is how remuxing to other formats (avi, mov...) could work:
> > >     * supported codec (jpeg poster) could be muxed as a normal
> > >       JPEG stream with only one picture
> > >     * ttf streams should be written in a separate file (that's
> > >       the way various players expect to find ttf fonts when
> > >       demuxing AVI, IIRC)
> > >
> > > - I think the only required API modifications to support this
> > >   would be:
> > >     * adding AVStream.filename and maybe AVStream.id_of_link_stream.
> > >     * adding CODEC_ID_TTF ? (ugly, but shouldn't cause much trouble)
> > >     * adding a way to mux ttf font in a separate file (maybe use
> > >       a separate muxer for this, ie. call 2 different muxers from
> > >       ffmpeg. seems ugly, but I've no better idea right now).
> >
> > Well, there are a few more things i think
> > We need name / (mime) type to remux attachments
> > (CD Cover / ? / tiff)
> > (Fan art / image/x-photoshop / psd)
> > There also could be other things like Author, ...
> 
> And what about stream count limit ? 20 is probably too low, I've definitely 

MAX_STREAMS should be removed independant of the attachment stuff, a a patch
replacin it by av_realloc() and local_array[s->nb_streams] is welcome


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080104/b08db910/attachment.pgp>



More information about the ffmpeg-devel mailing list