[FFmpeg-soc] vp8 de/packetizers
Ronald S. Bultje
rsbultje at gmail.com
Wed Aug 11 17:13:38 CEST 2010
Hi,
On Wed, Aug 11, 2010 at 3:46 AM, Josh Allmann <joshua.allmann at gmail.com> wrote:
> On 4 August 2010 03:32, Luca Barbato <lu_zero at gentoo.org> wrote:
>> On 08/04/2010 09:59 AM, Martin Storsjö wrote:
>>> David, how large is this first data partition approximately? The frames
>>> are fragmented into RTP packets of around ~1450 bytes (usually) - so if
>>> we've got the first packet of a frame but not the rest, would we be better
>>> off returning this than just skipping it?
>>
>> Even better: is there a way to get this information?
>>
>> If is common for every packet/there is a known upper bound, we can pass
>> it through the sdp, or if not we could think about storing the value in
>> an extension header.
>>
>
> Not sure; I'd have to dig through the bitstream spec for this. Ronald,
> do you happen to know off the top of your head?
1450 bytes should surely be enough for frame header, but the problem
is that this would depend on frame size (since things like mbmode are
per-MB), so for an infinitely-sized frame, this'd be larger. I'd
recommend to just not bother and discard until the next keyframe.
Ronald
Ronald
More information about the FFmpeg-soc
mailing list