[Bug 749226] New: vtdec_hw attempts to play back 422-encoded h264
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon May 11 06:38:38 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=749226
Bug ID: 749226
Summary: vtdec_hw attempts to play back 422-encoded h264
Classification: Platform
Product: GStreamer
Version: git master
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: hfink at toolsonair.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list