[FFmpeg-user] EXT-X-PROGRAM-DATE-TIME usage

kumar vikram vikramforu at gmail.com
Thu Jan 24 08:33:41 EET 2019

I understand that Pragram datet time tag is more of an informative tag.

I have seen some test stream which specifically give date time and PTS
mapping. Please see the example below:


As naive as it may sound, But I am still curious to know if Progam date
time alone can be used to retrieve PTS value?

I am totally stuck at this point and any advice/sample code would surely

Thanking in advance


On Fri, 11 Jan 2019, 12:19 kumar vikram <vikramforu at gmail.com wrote:

> Thank you for your prompt response.
> I have gone through the wiki link. It talks about how the value in program
> date time is mapped.
> So looking at your responses I understand that this tag is more of
> informative and should be used only to display current fragment date time
> and should not be used to extrapolate pts and depend on demuxer only to
> calculate pts.
> Correct me if my thoughts are going haywire.
> On 10 Jan 2019 18:41, "Moritz Barsnick" <barsnick at gmx.net> wrote:
> > > #EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031+08:00
> >
> > https://en.wikipedia.org/wiki/ISO_8601
> Also:
> https://tools.ietf.org/html/draft-pantos-http-live-streaming-23
>    The EXT-X-PROGRAM-DATE-TIME tag associates the first sample of a
>    Media Segment with an absolute date and/or time.  It applies only to
>    the next Media Segment.
> [...]
>    The client MAY use the value of the EXT-X-PROGRAM-DATE-TIME tag to
>    display the program origination time to the user.
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list