Update parsers to better support VP9 profile 2 and friends |
|||
Issue descriptionWhen playing bear-320x240-vp9_profile2.webm in Chrome, the VideoDecoderConfig sets "profile 0" and "I420", which are wrong. After decoding, VpxVideoDecoder sets format to be 17 which is PIXEL_FORMAT_YUV420P10, which is correct. It seems we need to update our demuxers to better support VP9 profile 2 etc. For example, this code doesn't handle profile 2: https://cs.chromium.org/chromium/src/media/formats/webm/webm_video_client.cc?rcl=9d90876be428603f0e129d4d58804efec78e9f6c&l=81
,
Oct 4
I think you can detect pixel format from bit depth + Chroma subsampling field in CodecPrivate: https://www.webmproject.org/docs/container/#vp9-feature-bit-depth, https://www.webmproject.org/docs/container/#vp9-feature-chroma-subsampling.
,
Oct 5
Tom or Frank might know it more precisely than i do.
,
Oct 12
=>chris for tracking. |
|||
►
Sign in to add a comment |
|||
Comment 1 by chcunningham@chromium.org
, Oct 4