Last modified: 2011-05-04 13:02:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30769, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28769 - pixels displayed in some videos as a decimal
pixels displayed in some videos as a decimal
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OggHandler (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-01 19:40 UTC by Sisa
Modified: 2011-05-04 13:02 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sisa 2011-05-01 19:40:22 UTC
In some videos, the information to the image size is not displayed as an integer.
Example: http://commons.wikimedia.org/wiki/File:CumberlandObelisk.ogg
Comment 1 Derk-Jan Hartman 2011-05-03 14:49:36 UTC
This is related to bug 16149 and r65927.

Native width is 640px the numerator 12 and the denominator 11. Resulting in 698,181818181818182


This is caused by incorrect usage of aspect ratios in the image production btw. The 12:11 and 16:11 ARs are specifically for videos with a height of 576 pixels. http://en.wikipedia.org/wiki/Pixel_aspect_ratio#Digital_video_processing
Comment 2 Mark A. Hershberger 2011-05-03 17:27:55 UTC
(In reply to comment #1)
> This is caused by incorrect usage of aspect ratios in the image production btw.
> The 12:11 and 16:11 ARs are specifically for videos with a height of 576
> pixels.
> http://en.wikipedia.org/wiki/Pixel_aspect_ratio#Digital_video_processing

It sounds like the fix isn't as easy as just slapping int() on it, then, right?

Can you take this one?
Comment 3 Derk-Jan Hartman 2011-05-04 11:26:53 UTC
Well really the video should have been differently distributed, but we should handle these, just by slapping intval() on it indeed.

I'll take that on.
Comment 4 Derk-Jan Hartman 2011-05-04 13:02:00 UTC
r87391

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links