Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-05 Thread Philip Jägenstedt
On Wed, 04 Apr 2012 20:56:03 +0200, Ian Hickson i...@hixie.ch wrote: On Wed, 4 Apr 2012, Philip Jägenstedt wrote: In current Opera and Firefox the timeline is always normalized to start at 0, so the time that corresponds to 0 in the original timeline would be at a negative currentTime.

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-05 Thread Ian Hickson
On Thu, 5 Apr 2012, Philip Jägenstedt wrote: On Wed, 04 Apr 2012 20:56:03 +0200, Ian Hickson i...@hixie.ch wrote: On Wed, 4 Apr 2012, Philip Jägenstedt wrote: In current Opera and Firefox the timeline is always normalized to start at 0, so the time that corresponds to 0 in the

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-04 Thread Philip Jägenstedt
On Wed, 04 Apr 2012 02:25:01 +0200, Robert O'Callahan rob...@ocallahan.org wrote: On Tue, Apr 3, 2012 at 9:28 PM, Philip Jägenstedt phil...@opera.com wrote: AFAIK, no browser supports any format for video that does not have timestamps. I have patches being reviewed that add support for

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-04 Thread Philip Jägenstedt
On Tue, 03 Apr 2012 19:13:12 +0200, Ian Hickson i...@hixie.ch wrote: On Tue, 3 Apr 2012, Philip Jägenstedt wrote: It could also do with a good example. The spec says: If the media resource specifies an explicit start time and date, then that time and date should be considered the

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-04 Thread Ian Hickson
On Wed, 4 Apr 2012, Philip Jägenstedt wrote: In current Opera and Firefox the timeline is always normalized to start at 0, so the time that corresponds to 0 in the original timeline would be at a negative currentTime. I still don't really understand what you mean by start here.

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-03 Thread Philip Jägenstedt
Thanks for the spec changes, startDate is now in a state where I'd be happy to implement it! More comments inline: On Tue, 03 Apr 2012 02:21:43 +0200, Ian Hickson i...@hixie.ch wrote: On Fri, 9 Mar 2012, Philip Jägenstedt wrote: On Thu, 08 Mar 2012 19:16:40 +0100, Ian Hickson i...@hixie.ch

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-03 Thread Ian Hickson
On Tue, 3 Apr 2012, Philip Jägenstedt wrote: It could also do with a good example. The spec says: If the media resource specifies an explicit start time and date, then that time and date should be considered the zero point in the media timeline; the timeline offset will be

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-03 Thread Robert O'Callahan
On Tue, Apr 3, 2012 at 9:28 PM, Philip Jägenstedt phil...@opera.com wrote: AFAIK, no browser supports any format for video that does not have timestamps. I have patches being reviewed that add support for using MediaStreams as video sources. These do not have timestamps. Rob -- “You have

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-02 Thread Ian Hickson
On Fri, 9 Mar 2012, Philip Jägenstedt wrote: On Thu, 08 Mar 2012 19:16:40 +0100, Ian Hickson i...@hixie.ch wrote: On Thu, 8 Mar 2012, Philip Jägenstedt wrote: I suggest the property offsetTime, defined as the stream time in seconds which currentTime and duration are relative to.

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-13 Thread Philip Jägenstedt
On Fri, 09 Mar 2012 15:40:26 +0100, Philip Jägenstedt phil...@opera.com wrote: let me first try to summarize what I think the spec says: * currentTime need not start at 0, for streams it will typically represent for how long the server has been serving a stream. * duration is not the

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-09 Thread Philip Jägenstedt
On Thu, 08 Mar 2012 19:16:40 +0100, Ian Hickson i...@hixie.ch wrote: (Oops, sorry. Missed these e-mails in my earlier reply.) On Thu, 8 Mar 2012, Philip Jägenstedt wrote: On Wed, 07 Mar 2012 11:56:42 +0100, Odin Hørthe Omdal odi...@opera.com wrote: startOffsetTime seem to leave people

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Philip Jägenstedt
On Wed, 07 Mar 2012 11:56:42 +0100, Odin Hørthe Omdal odi...@opera.com wrote: startOffsetTime seem to leave people confused, I often have to explain it, and yesterday I read the spec[5] and old emails and got confused myself. It hasn't been implemented after almost 2 years. We (Opera)

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Philip Jägenstedt
On Thu, 08 Mar 2012 11:11:06 +0100, Philip Jägenstedt phil...@opera.com wrote: As hinted above, I don't think that startOffsetTime should really be the first choice for trying to sync live streams. However, knowing the date of a video is still useful, potentially even for the streaming

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Odin Hørthe Omdal
On Thu, 08 Mar 2012 12:50:41 +0100, Ingar Mæhlum Arntzen ingar.arnt...@gmail.com wrote: Here's my reasoning. The progress value that is visualized in the video element (i.e. currentTime) is part of the end-user experience. For this reason it is important that it communicates the appropriate

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Ian Hickson
On Wed, 7 Mar 2012, Odin Hørthe Omdal wrote: startOffsetTime seem to leave people confused, I often have to explain it, and yesterday I read the spec[5] and old emails and got confused myself. It hasn't been implemented after almost 2 years. Can you elaborate on how it's confusing? I don't

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Ian Hickson
(Oops, sorry. Missed these e-mails in my earlier reply.) On Thu, 8 Mar 2012, Philip Jägenstedt wrote: On Wed, 07 Mar 2012 11:56:42 +0100, Odin Hørthe Omdal odi...@opera.com wrote: startOffsetTime seem to leave people confused, I often have to explain it, and yesterday I read the

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-07 Thread Rick Waldron
Thanks for putting this together Odin -- this has long been a point of interest for all of us on the Popcorn.js dev team. Rick On Wed, Mar 7, 2012 at 5:56 AM, Odin Hørthe Omdal odi...@opera.com wrote: startOffsetTime seem to leave people confused, I often have to explain it, and yesterday I