Precision of #xywh=percent:...

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 Wednesday, 6 April 2011 18:00:39 UTC