[NUT-devel] Another suggestion for broadcast [PATCH]

Måns Rullgård mans at mansr.com
Tue Feb 19 21:19:39 CET 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> +transmit_ts (t)
> +    The timestamp at which the first bit of the syncpoint is transmitted.

In MPEG-TS, the PCR value is the time of arrival of the last bit
(actually the byte containing the last bit).  This could be seen as
more logical, as then no timestamp will refer to a time in the past.
I doubt the distinction is relevant in practice, but I wanted to point
it out nonetheless.

> +    MUST be less than or equal to all following dts.

I'm not happy with this.  It allows the clock to reach the DTS of a
frame before the frame has arrived.  Placing restrictions on the
transmit_ts value is not sufficient to avoid this condition.  Instead,
it must be a rule that a frame must be completely received before the
reference clock reaches its DTS value.

> +    Demuxers in non broadcast mode MUST ignore the value of this field.

Why does it matter what demuxers do with it?

> +    Muxers in broadcast mode MUST NOT ommit this field.

"omit"

-- 
Måns Rullgård
mans at mansr.com



More information about the NUT-devel mailing list