EXT-X-PROGRAM-DATE-TIME usage

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

EXT-X-PROGRAM-DATE-TIME usage

kumar vikram
Hi all,

I am working on a client which supports HLS protocol.
I have a small query regarding HLS EXT-X-PROGRAM-DATE-TIME tag. This tag
has the following format

#EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031+08:00

What is the significance of this value? Can this value be used to
caluculate the presentation time stamp for the fragment? If yes, please
suggest how can we use it for both VOD and LIVE profile?

Thanking in advance
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
tth
Reply | Threaded
Open this post in threaded view
|

Re: EXT-X-PROGRAM-DATE-TIME usage

tth
Le 10/01/2019 13:20:29, kumar vikram a écrit :
> Hi all,
>
> I am working on a client which supports HLS protocol.
> I have a small query regarding HLS EXT-X-PROGRAM-DATE-TIME tag. This  
> tag
> has the following format
>
> #EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031+08:00

    https://en.wikipedia.org/wiki/ISO_8601


tTh.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: EXT-X-PROGRAM-DATE-TIME usage

Moritz Barsnick
> > #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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: EXT-X-PROGRAM-DATE-TIME usage

kumar vikram
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" <[hidden email]> 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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: EXT-X-PROGRAM-DATE-TIME usage

kumar vikram
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 <[hidden email] 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" <[hidden email]> 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
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
>
>
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".