[FFmpeg-soc] SVQ3 depacketizer

Martin Storsjö martin at martin.st
Wed Jun 30 10:31:12 CEST 2010


On Wed, 30 Jun 2010, Martin Storsjö wrote:

> > +        /* frame size code */
> > +        init_get_bits(&gb, buf, len << 3);
> > +        config = get_bits(&gb, 3);
> > +        switch (config) {
> > +            case 0: st->codec->width = 160; st->codec->height = 128 /* FIXME: Wiki says 120? */; break;
> 
> Hmm, I guess I should try to generate files with any of these dimensions 
> and see if it uses them then, to get clarity in 128 vs 120. (120 sounds 
> much more natural when combined with 160, though.)

A 160x120 SVQ3 stream seems to have config 0, and a 160x128 file had 
config 7 with a custom size, so I guess this issue is resolved then. This 
also matches the code in libavcodec/svq3.c.

// Martin


More information about the FFmpeg-soc mailing list