[Bug 769580] New: Fail to decode media on OSX because it's not supported by vtdec_hw but vtdec can play it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Aug 6 17:16:01 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769580

            Bug ID: 769580
           Summary: Fail to decode media on OSX because it's not supported
                    by vtdec_hw but vtdec can play it
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: n770galaxy at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hardware decoders usually have constraints on the frame sizes they can handle.

Ideally we should expose such constraints in the sink pad template caps but I
couldn't find a way to query for such constraints in VideoToolbox.

[gst-master] bash-3.2$ GST_DEBUG=*vtdec*:6 gst-launch-1.0 --gst-debug-no-color
filesrc location= ~/media/test.mov ! decodebin ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.147749000 98341 0x7fb5aa0171e0 DEBUG                  vtdec
vtdec.c:179:gst_vtdec_start:<vtdechw0> start
0:00:00.148137000 98341 0x7fb5a88c9b70 DEBUG                  vtdec
vtdec.c:355:gst_vtdec_set_format:<vtdechw0> set_format
0:00:00.148154000 98341 0x7fb5a88c9b70 INFO                   vtdec
vtdec.c:1005:gst_vtdec_set_latency:<vtdechw0> setting latency frames:0
time:0:00:00.000000000
Redistribute latency...
0:00:00.148288000 98341 0x7fb5a88c9b70 INFO                   vtdec
vtdec.c:294:gst_vtdec_negotiate:<vtdechw0> negotiated output format
video/x-raw, format=(string)NV12, width=(int)2592, height=(int)3248,
interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
chroma-site=(string)mpeg2, colorimetry=(string)bt2020, framerate=(fraction)30/1
previous (NULL)
0:00:00.151937000 98341 0x7fb5a88c9b70 WARN                   vtdec
vtdec.c:309:gst_vtdec_negotiate:<vtdechw0> error: VTDecompressionSessionCreate
returned -12906
ERROR: from element
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstVtdecHw:vtdechw0: GStreamer
encountered a general resource error.
Additional debug info:
vtdec.c(309): gst_vtdec_negotiate ():
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstVtdecHw:vtdechw0:
VTDecompressionSessionCreate returned -12906
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.152226000 98341 0x7fb5a88c9b70 DEBUG                  vtdec
vtdec.c:355:gst_vtdec_set_format:<vtdechw0> set_format
0:00:00.152238000 98341 0x7fb5a88c9b70 INFO                   vtdec
vtdec.c:1005:gst_vtdec_set_latency:<vtdechw0> setting latency frames:0
time:0:00:00.000000000
0:00:00.152276000 98341 0x7fb5a88c9b70 INFO                   vtdec
vtdec.c:250:gst_vtdec_negotiate:<vtdechw0> current and peer caps are
compatible, keeping current caps
0:00:00.152344000 98341 0x7fb5a86aa130 DEBUG                  vtdec
vtdec.c:200:gst_vtdec_stop:<vtdechw0> stop
Freeing pipeline ...

-- 
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