EOR (was: Re: [NUT-devel] a few things about nut.txt)

Rich Felker dalias at aerifal.cx
Fri Nov 24 19:34:47 CET 2006


On Fri, Nov 24, 2006 at 06:37:33PM +0100, Ivo wrote:
> How about this:
> 
> Index: nut.txt
> ===================================================================
> --- nut.txt     (revision 21193)
> +++ nut.txt     (working copy)
> @@ -601,11 +601,16 @@
>        12  FLAG_CODED       if set, coded_flags are stored in the frame 
> header.
>        13  FLAG_INVALID     if set, frame_code is invalid.
>  
> +    A frame with FLAG_EOR set marks the beginning of a gap in a stream.
>      EOR frames MUST be zero-length and must be set keyframe.
>      All streams SHOULD end with EOR, where the pts of the EOR indicates the
>      end presentation time of the final frame.
>      An EOR set stream is unset by the first content frames.
>      EOR can only be unset in streams with zero decode_delay .
> +    A muxer SHOULD use EOR frames for subtitle streams to mark large 
> periods
> +    where subtitles are absent.

s/large//

> +    EOR frames for non-subtitle streams are only valid at the end of the
> +    stream.

It would be nice to have a note that they are syntactically valid but
that they need not be interpreted for compliance with the current
version of NUT and that processes generating NUT files MUST NOT write
EOR for non-subtitle streams.

Rich




More information about the NUT-devel mailing list