GNOME Bugzilla – Bug 749226
vtdec_hw attempts to play back 422-encoded h264
Last modified: 2018-11-03 13:35:14 UTC
When trying to play back 422-encoded h264, vtdec_hw still tries to decode the stream, even though the HW decoder is only able to decode 420. This results in corrupt images since the stream is interpreted as 420. There are a few things that can be done: * Make sure to also pass on the pixel format in gst_vtdec_set_format * Use CMVideoFormatDescriptionCreateFromH264ParameterSets to get the correct description (works when stream-format=avc, should be available in codec_data in caps). I guess this should be the preferred way. A sample 422-encoded file is attached.
Attachment failed (too large), here is a dropbox link to the file: https://www.dropbox.com/s/vwqwdg1uzl1ne0y/lupo_candlelight_h264_yuv422p_8bit_720p.mov?dl=0
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/251.