GNOME Bugzilla – Bug 759139
h264parse: does not honor width and height sink caps
Last modified: 2015-12-07 21:15:16 UTC
The OpenPLi dvbmediasink, has video/x-h264 width: [ 16, 4096 ] height: [ 16, 4096 ] capability, but it seems that h264parse (or other element) does not honor the sink caps. The following stream (among other) fails because we are receiving caps without width and height. # GST_DEBUG_FILE=/tmp/debug5.log GST_DEBUG_NO_COLOR=1 GST_DEBUG=basesink:5,h264parse:5,dvb*:5 gst-launch-1.0 playbin uri=http://skyianywhere2-i.akamaihd.net/hls/live/200275/tg24/playlist.m3u8 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPlayBin:playbin0/GstPlaySink:playsink: No volume control found Additional debug info: /opt/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.7+gitAUTOINC+8b49a3f845-r29/git/gst/playback/gstplaysink.c(2852): gen_audio_chain (): /GstPlayBin:playbin0/GstPlaySink:playsink: Volume/mute is not available Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Missing element: H.264 decoder WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true'. Additional debug info: /opt/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.7+gitAUTOINC+8b49a3f845-r29/git/gst/playback/gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0 ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:02.526383036 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
Created attachment 316904 [details] debug level 5 of basesink, h264parse and dvbmediasink
Ah so it's actually behaving correctly. From your description in the other bug I understood that it actually linked to your sink with the incomplete caps. So what is left here is the other bug (or not) that h264parse first outputs incomplete caps for a while. Bug #755885