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:
#EXT-X-MEDIA-SEQUENCE:241909721 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-TARGETDURATION:6 #USP-X-TIMESTAMP-MAP:MPEGTS=2670603168,LOCAL=2019-01-23T05:43:28Z #EXT-X-PROGRAM-DATE-TIME:2019-01-23T05:43:28Z 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 help? Thanking in advance Vikram On Fri, 11 Jan 2019, 12:19 kumar vikram <[email protected] 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" <[email protected]> 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 > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". > > > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
