[FFmpeg-devel] [PATCH] libvpx: alt reference frame / lag

Reimar Döffinger Reimar.Doeffinger
Tue Jun 15 23:48:14 CEST 2010

On Tue, Jun 15, 2010 at 11:14:53PM +0200, Reimar D?ffinger wrote:
> On Tue, Jun 15, 2010 at 04:23:27PM -0400, James Zern wrote:
> > Other options seem to be framing the two packets or perhaps
> > putting more dependence on the container, e.g., the invisible bit in
> > the SimpleBlock header.
> Why do you need anything at all? You have one single frame, consisting
> of one data part that consists of data that instructs the decoder how
> to build a special reference and another part that contains the "real"
> frame.
> I can't see why you would need framing, unless there's an encoder that
> likes to put random data in-between those two parts and the length of
> which is impossible to figure out...

And if you really think you absolutely need to be able to drop the droppable
part of the frame with high performance and without doing it in the decoder,
just adding the length of the droppable part as additional 4 bytes at the
very end of the packet should make this possible without little to no
compatibility issues.
I doubt it's such an important thing though...

More information about the ffmpeg-devel mailing list