[FFmpeg-devel] Sideinfo in packets

Michael Niedermayer michaelni at gmx.at
Mon Apr 18 18:20:03 CEST 2011


On Mon, Apr 18, 2011 at 12:27:37PM +0300, Ivan Kalvachev wrote:
> On 4/18/11, Michael Niedermayer <michaelni at gmx.at> wrote:
> > Hi
> >
> > several people complained about the sideinfo "shit" i pulled of libav
> >
> > it breaks ABI very strongly, yes i know (and i wonder if libav devels
> > know)
> >
> > Its a nightmare for applications because no sane human passes streams
> > like this
> >
> > For the first ill soon add a remote branch that is free of this abi
> > breakage. This will be maintained as long as there are volunteers to
> > maintain it. Ill do it as long as its easy (which i expect it to be)
> >
> > For the second, ill work on some merge/split sideinfo code.
> > Plan is that user apps never see the sideinfo and just have
> > a flat bytestream in AVPacket.data
> > This will be either enabled by default or by some flag
> >
> > comments welcome
> 
> I'm not quite sure what the sideinfo thing is supposed to do, so I
> cannot comment on the technical side.

Passing palettes around for 8bpp videos.
These must be passed throzgh AVPackets one way or another to prevent
races in multithreded apps


[...]
> I would suspect that this would be a lot harder than just merging them, but...

yes, thats exactly my problem with it

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110418/d6f18e34/attachment.asc>


More information about the ffmpeg-devel mailing list