[MPlayer-dev-eng] Nut startcodes

Michael Niedermayer michaelni at gmx.at
Tue Apr 27 13:15:03 CEST 2004


Hi

On Tuesday 27 April 2004 06:29, Ville Saari wrote:
> On Mon, Apr 26, 2004 at 06:07:01PM -0400, D Richard Felker III wrote:
[...]
> > Agree. If you want to seek to time X (and assuming you don't have an
> > index) you binary search for the first startcode before time X, then
> > walk the packets to the timestamp you want.
>
> Yes, but if the first I-frame after startcode is later than X, you need
> to start two startcodes before X.
>
> It might be useful for the specification to require, that every stream
> must have at least one keyframe between any two startcodes. This would
> ensure that you never need to start more than two startcodes before X.
that requirement has sideeffects, like causing very few startcodes, which is 
problematic for seeking & error recovery

-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en




More information about the MPlayer-dev-eng mailing list