[MPlayer-dev-eng] NUT type 2 frames

Michael Niedermayer michaelni at gmx.at
Wed Apr 21 00:30:37 CEST 2004


Hi

On Tuesday 20 April 2004 22:26, Ville Saari wrote:
> Shouldn't the startcodes of type 2 frames be part of the container instead
> of a particular stream? When the file is played, there's usually more than
> just one stream being used and all those streams must have a keyframe at or
> near a seek point if they are supposd to be blayed, but only one startcode
> is needed to find that point. If there are n streams, then there must be n
> startcodes at each seek point of which n-1 are just waste of space and
> complicate the seeking.
>
> What if the startcode is removed from the frame and made a packet on its
> own instead? A startcode packet followed by a startcodeless type 2 frame
> would be bit-by-bit equivalent to current type 2 frame, but the
> startcode could then be omitted from all but one stream to save bits.
hmm, i think u missunderstand it, not all keyframes are type 2 frames, so a 
seek point has 1 startcode not n

[...]
-- 
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