- From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Date: Thu, 7 Apr 2011 10:54:24 +1000
- To: Philip Jägenstedt <philipj@opera.com>
- Cc: public-media-fragment@w3.org
Oh, it hadn't occurred to me that we may need fractions of percentages. I think we should allow that. Another use case may be: a video recording of a concert from the distance with a camera that won't zoom any further and you know you can focus in on a specific cropped region. There are further use cases at http://www.w3.org/2008/WebVideo/Fragments/WD-media-fragments-reqs/, e.g. 4.1.4 Scenario 4: Image Region of video over time Silvia. On Thu, Apr 7, 2011 at 4:00 AM, Philip Jägenstedt <philipj@opera.com> wrote: > Trying to figure out what the use case for the percent syntax could be, the > first thing that came to mind is cropping a 4:3 video to 16:9 regardless of > resolution. That would require cropping the height to 3/4 of the original > and offsetting the top by 3/8, which is #xywh=percent:0,37.5,100,75. > However, we only allow integer percentages, so this is not possible, you'd > get an error of 0.5% in y, which is 3.6px for 720p video, clearly not OK. > > If the precision is limited, then this syntax isn't very useful. What to do? > > Also, are there other use cases than cropping away black bars from 16:9 > video encoded as 4:3? > > -- > Philip Jägenstedt > Core Developer > Opera Software > >
Received on Thursday, 7 April 2011 00:55:11 UTC