W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] HTML5 video: frame accuracy / SMPTE

From: Philip Jägenstedt <philipj@opera.com>
Date: Wed, 19 Jan 2011 09:54:47 +0100
Message-ID: <op.vpjsdilhsr6mfa@kirk>
On Wed, 19 Jan 2011 05:01:14 +0100, Rob Coenen <coenen.rob at gmail.com>  
wrote:

> I'm really happy to see that Chromium has landed a fix for frame-accurate
> seeking, making SMPTE timecode compliant operations with HTML5 video
> possible.
> The fix for Firefox is underway (
> https://bugzilla.mozilla.org/show_bug.cgi?id=626273 ) and I have filed  
> bugs
> at both Webkit/Safari ( https://bugs.webkit.org/show_bug.cgi?id=52697)  
> and
> Microsoft Internet Explorer 9 (
> https://connect.microsoft.com/IE/feedback/details/636755 )
>
> BTW I tried with Opera 11, but it would only allow me to seek to full
> seconds, not frames?

Thanks for pointing this out, it turns out that when seeking I was  
accidentally truncating to seconds when converting the double to the  
internal time representation (uint64 nanoseconds). Remember kids, the cast  
operator takes precedence over multiplication! Anyway, this is now fixed  
and will be in a future Opera release.

-- 
Philip J?genstedt
Core Developer
Opera Software
Received on Wednesday, 19 January 2011 00:54:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC