ubuntu-20.04.2.0-desktop-amd64 - Your GStreamer installation is missing a plug-in. - code : 12

2,000 views
Skip to first unread message

lionel mazeyrat

unread,
Aug 3, 2021, 10:29:25 AM8/3/21
to gstreamer-java
Hello,

I try to run on ubunutu 20.04  my swing dev running on windows 10 with no issue.
gstreamer is install and in the PATH

when I run the playbin with an rtsp h264 stream I have the following issue :
any idea ?

errorMessage : class org.freedesktop.gstreamer.elements.URIDecodeBin - uridecodebin0 - GstURIDecodeBin - ERROR : Your GStreamer installation is missing a plug-in. - code : 12

gst-inspect-1.0 seems to return all the needed plugins ?

lionel mazeyrat

unread,
Aug 3, 2021, 10:33:23 AM8/3/21
to gstreamer-java
with a test command:

gst-launch-1.0 -v rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov protocols="tcp" ! rtph264depay ! decodebin ! videoconvert ! autovideosink

ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(4678): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: H.264 (Constrained Baseline Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)0142c01effe100156742c01ed903c56840000003004000000c03c58b9201000468cb8cb2, level=(string)3, profile=(string)constrained-baseline)

Is there anything to do to fix this ?

Neil C Smith

unread,
Aug 3, 2021, 10:34:08 AM8/3/21
to gstream...@googlegroups.com
On Tue, 3 Aug 2021 at 15:29, lionel mazeyrat <lionel....@gmail.com> wrote:
> errorMessage : class org.freedesktop.gstreamer.elements.URIDecodeBin - uridecodebin0 - GstURIDecodeBin - ERROR : Your GStreamer installation is missing a plug-in. - code : 12
>
> gst-inspect-1.0 seems to return all the needed plugins ?

Yes, you're missing a plugin! ;-)

Try with the debug env variable previously suggested and see if you
see exactly which. Ubuntu splits up the plugins into a good few
packages.

Best wishes,

Neil

--
Neil C Smith
Codelerity Ltd.
www.codelerity.com

Codelerity Ltd. is a company registered in England and Wales
Registered company number : 12063669
Registered office address : Office 4 219 Kensington High Street,
Kensington, London, England, W8 6BD

Neil C Smith

unread,
Aug 3, 2021, 10:38:01 AM8/3/21
to gstream...@googlegroups.com
On Tue, 3 Aug 2021 at 15:33, lionel mazeyrat <lionel....@gmail.com> wrote:
> no suitable plugins found:
> Missing decoder: H.264 (Constrained Baseline Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)0142c01effe100156742c01ed903c56840000003004000000c03c58b9201000468cb8cb2, level=(string)3, profile=(string)constrained-baseline)
>
> Is there anything to do to fix this ?

Obvious thing to check would be whether plugins ugly is installed.
Both libAV and VAAPI sets also have h264 decoders I think.

lionel mazeyrat

unread,
Aug 3, 2021, 11:36:48 AM8/3/21
to gstreamer-java

Neil C Smith

unread,
Aug 3, 2021, 11:42:19 AM8/3/21
to gstream...@googlegroups.com
On Tue, 3 Aug 2021 at 16:36, lionel mazeyrat <lionel....@gmail.com> wrote:
> to solve the issue:
>
> https://linuxconfig.org/how-to-fix-missing-plugin-gstreamer-on-ubuntu-18-04-bionic-beaver-linux/
> sudo apt install ubuntu-restricted-extras

Sure, that is one way to do it, because that meta package relies on
the GStreamer packages mentioned.

However, if you're using Ubuntu a lot, I'd take the time to check
which GStreamer packages provide which GStreamer plugins / elements.
Reply all
Reply to author
Forward
0 new messages