[haiku-bugs] Re: [Haiku] #9141: 10bit mkv videos black video

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Dec 2014 14:54:35 -0000

#9141: 10bit mkv videos black video
-----------------------------+-----------------------
   Reporter:  leszek         |      Owner:  nobody
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  Audio & Video  |    Version:  R1/alpha4
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:  9280
Has a Patch:  0              |   Platform:  All
-----------------------------+-----------------------

Comment (by pulkomandy):

 So, this is not related to mkv (which is only a container) but to the
 format used inside it.
 In the case of the attached video this is h264 using the "high 10"
 profile, which is decoded with a pixel format of yuv420p10le. This means:
 * It is an YUV format
 * There are 4 Y samples for one U and V (in a 2x2 grid)
 * It is planar: all Y data comes first, followed by U, then V
 * Each sample is stored on 10 bits (but it seems this is padded to
 16-bits?)
 * The bytes are in little endian order

 http://msdn.microsoft.com/en-
 us/library/windows/desktop/bb970578(v=vs.85).aspx

 There is not (yet) a colorspace in Haiku matching this, and there is also
 not yet a converter to RGB32.

--
Ticket URL: <https://dev.haiku-os.org/ticket/9141#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: