Hardware Accelerated GStreamer on Raspberry Pi 2

Samuel Hurst samuelh at rd.bbc.co.uk
Mon Jun 29 09:47:59 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, me again...

It turns out that gst-omx doesn't like the video resolution of a
running stream changing while it's running. This is a bit of a problem
for adaptive streaming like MPEG-DASH. When you run an MPEG-DASH
stream that contains only a single video representation, the stream
will play back fine:

$ gst-launch-1.0 playbin
uri="http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-v4-a4.
mpd"

However, if you run a stream that contains multiple video
representations, the moment that dashdemux attempts to switch up
representations to a higher bitrate it fails:

$ gst-launch-1.0 playbin
uri="http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-common
_init.mpd"
[...]
ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebi
n0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0:
Could not configure supporting library.
Additional debug info:
gstomxvideodec.c(1605): gst_omx_video_dec_loop ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebi
n0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0:
Unable to reconfigure output port

This seems related to an old GStreamer bug #710948 where the decoder
would fail to recover on an MPEG2 stream changing aspect ratio. I'm
running gst-omx 1.2.0 which should include the work that Sebastian did
(I'm seeing no reversions in git) and I don't see any reason in the
patches that means it should only work for MPEG2 and not H.264. Is
this a regression, or another bug? I can raise a bugzilla ticket for
it if it turns out to be that way.

I've attached the debug log with GST_DEBUG="omx:6,omxvideodec:6" if it
helps.

Cheers,
Sam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJVkXa/AAoJEJGbiYWuJo/5OuMP/1Oy7S3YPvcQ5Cf2s+lUHJUH
LU+q/ty95H/5SLBUAPVIrp9DJsBrTm+L7hRTojL4sSMi0N9xHnyRZt8Qmr0sJx4N
TG7FlrOGDCGoj3284YNiHPmsv71zAkiBqDrrSyXXGFjF+F7DxEKxo+DsiDjlIgRe
Xj/C8OXvbI4hZtmEs9VPlMqiqdslyj/IFHvdtrgpVgsmI3h7R77ArRw9xeKCQEiK
ln97zQwVqG9gL8J+XOLUtpJhhpvFHLi6iCGuMhjcjtEIPZ+qONwnvakvC+LCUzQQ
tU1XlRkjg4ebCz7bUqZ2C1lWsd/8Pn08IjgqJxcZsbAPkxV93of/mQmZDlwVd12A
x5BxM8U6IkGkMWp1ymP4ZZvbMjBdbHQSqkaxSybM6W7p9bmhnZhXT/P8hHdrYRdZ
g7bbR1oMHR3+8Sl0VM16zeB7guNcqCEghL7umwETrKrFGvTIYKxB5CMoeA5wLQVL
ABSX2Q9YkJBX3i/CVkPlZQ5Bdj+zq6Y/PxWJQRygNBU1YZW14wc6dbYoFQzH7gTz
lzhnLS+oplVNe48K3G1X+5IyrSaQlsZcGGg57rFq41qVzWYR5P47TkrVCLZQSXII
RMALZg5QkqHcXVDP2plHgcm1yDFBe4j35lElD+/NGkSyK62FdIdWCk9Yb3hiytPh
kpU6ajR22EHRewqBqg/0
=wO/P
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omx-dash-dbg.log.xz
Type: application/octet-stream
Size: 116140 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150629/fc26be89/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omx-dash-dbg.log.xz.sig
Type: application/octet-stream
Size: 543 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150629/fc26be89/attachment-0003.obj>


More information about the gstreamer-devel mailing list