EXT-X-PROGRAM-DATE-TIME usage

classic Classic list List threaded Threaded
4 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".