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

Michael Niedermayer michael at niedermayer.cc
Sat Aug 20 21:47:40 EEST 2016

On Sat, Aug 20, 2016 at 10:04:15AM -0700, Carlos Fernandez Sanz wrote:
> On Fri, Aug 19, 2016 at 11:48 AM, Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> > can you document in a comment briefly what is in the AVPackets
> > for most codecs that is clear, SCTE-35 is maybe a bit special
> > also what the dts/pts values of teh AVPackets mean
> Really don't know what kind of comments or where to add them...
> dts/pts are dts/pts :-)
> Can you point me to a variable or function etc that is not clear?

dts are decode timestamps, that is for video thats when a packet
enters an idealized decoder, pts is the timestamp when the video frame
is presented
for audio pts == dts generally as theres no reordering or delay in
the ideallized decoder that is assumed

what do they mean for SCTE-35 ?

IIUC SCTE-35 can describe various timespans, how do these relate to
dts/pts ? are the dts/pts entirely meaningless and just used for
transport stream interleaving or do they somehow match the start of
some timestamp? Are the timespans inside relative to the dts/pts or

I think writing a few words about this would make it easier for
applications to use this instead of just passing opaque SCTE-35 packets
between libavformat and libavcodec

> I'll be happy to add comments but I need a bit of assistance here.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160820/7dff1f28/attachment.sig>

More information about the ffmpeg-devel mailing list