[FFmpeg-devel] FW: Allow multiple programs in MPEGTS output stream

Michael Niedermayer michaelni
Wed Sep 22 17:34:35 CEST 2010

On Wed, Sep 22, 2010 at 07:52:40AM -0700, Uve W. Rick wrote:
> This may be a stupid question, but I understand that the PAT/PMT/SDT are send at specific intervals.  Why not just call av_gettime() and see if it is time to send them out again? I've been reading this list for a while and calculations for how many packets to send before the PAT/PMT/SDT needs to be sent just keeps getting more and more complicated.

av_gettime() represents the wall clock more or less, a mpeg-ts stream can be
muxed much faster than this so its wrong to use av_gettime()
timestamps must be used (the details of which and what intervalls are in the

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100922/4e71bedb/attachment.pgp>

More information about the ffmpeg-devel mailing list