[FFmpeg-devel] [PATCH 1/4] V13 - Adding SCTE-35 CUI codec

Marton Balint cus at passwd.hu
Tue Oct 4 20:44:01 EEST 2016


On Mon, 3 Oct 2016, Carlos Fernandez Sanz wrote:

> From: Carlos Fernandez <carlos at ccextractor.org>
>
> Signed-off-by: Carlos Fernandez <carlos at ccextractor.org>
> ---
> libavcodec/avcodec.h    | 2 ++
> libavcodec/codec_desc.c | 6 ++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index d72ee07..9064006 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -631,6 +631,8 @@ enum AVCodecID {
>     AV_CODEC_ID_FIRST_UNKNOWN = 0x18000,           ///< A dummy ID pointing at the start of various fake codecs.
>     AV_CODEC_ID_TTF = 0x18000,
> 
> +    AV_CODEC_ID_SCTE_35,/**< Contain no valid time stamp in DTS PTS of avpacket, avpacket data contain time stamp
> +                              in scte-35 format which is relative to DTS/PTS of video stream */

Is this text still correct? I thought packet timestamps are estimated from 
the PCR of the program the scte stream is part of, which are relative to 
the SCTE timestamps in the data part?

Regards,
Marton


More information about the ffmpeg-devel mailing list