<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EstiloCorreo18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I´m trying to build a docker image of gstreamer 1.18.0 but I´m finding some problems with the plugins as gst-launch can´t find a lot of them, it is the first time I´m trying to build gstreamer so maybe I´m doing wrong things, can anyone
help me? Though I´m reading the docs and searching the web I´m not able to get somethin running. This is my dockerfile: <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal"><br>
<span style="color:#F286C4">FROM</span> <span style="color:#97E1F1">ubuntu</span>:rolling<br>
<span style="color:#F286C4">WORKDIR</span> <i><span style="color:#FFB86C">/root</span></i><br>
<span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">apt-get</span></i> <i><span style="color:#FFB86C">-y</span></i> <i><span style="color:#FFB86C">update</span></i><br>
<span style="color:#7B7F8B"># Install dependencies<br>
</span><span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">DEBIAN_FRONTEND=noninteractive</span></i> <i><span style="color:#FFB86C">apt-get</span></i> <i><span style="color:#FFB86C">install</span></i> <i><span style="color:#FFB86C">-y</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">build-essential</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">python3</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">git</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">ninja-build</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">bison</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">flex</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libmount-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">pkg-config</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">autoconf</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">automake</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">autopoint</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libtool</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">yasm</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">nasm</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">git-core</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">gettext</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libegl1-mesa-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libgl1-mesa-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libgles2-mesa-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libavfilter-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libglib2.0-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libgirepository1.0-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libpthread-stubs0-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libssl-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">liborc-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libmpg123-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libmp3lame-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libsoup2.4-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libshout3-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libpulse-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libva-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libxv-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libalsa-ocaml-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libcdparanoia-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libopus-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libpango1.0-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvisual-0.4-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvorbisidec-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libaa1-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libcaca-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libdv4-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libflac-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libjack-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libtag1-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libdrm-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvpx-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libwavpack-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libass-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libzbar-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libx265-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libx264-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libwildmidi-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvulkan-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libx11-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libxrandr-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libwayland-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">wayland-protocols</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libwebp-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libwebrtc-audio-processing-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvdpau-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libsrtp2-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvo-aacenc-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libvo-amrwbenc-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libbs2b-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libdc1394-22-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libdts-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libfaac-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libfaad-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libfdk-aac-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libfluidsynth-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libcurl-ocaml-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libgme-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libgsm1-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">librtmp-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libcurl-ocaml-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libjpeg-turbo8-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">liba52-0.7.4-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libcdio-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libtwolame-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libx264-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libmpeg2-4-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libsidplay1-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">gobject-introspection</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libudev-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">python3-pip</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">python3-gi</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">python-gi-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">graphviz</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libopencv-dev</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">libnice-dev</span></i> <br>
<span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">pip3</span></i> <i><span style="color:#FFB86C">install</span></i> <i><span style="color:#FFB86C">--user</span></i> <i><span style="color:#FFB86C">meson</span></i><br>
<span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">git</span></i> <i><span style="color:#FFB86C">clone</span></i> <i><span style="color:#FFB86C">-b</span></i> <i><span style="color:#FFB86C">1.18</span></i> <i><span style="color:#FFB86C"><a href="https://gitlab.freedesktop.org/gstreamer/gst-build">https://gitlab.freedesktop.org/gstreamer/gst-build</a></span></i> <i><span style="color:#FFB86C">&&</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">cd</span></i> <i><span style="color:#FFB86C">gst-build</span></i> <i><span style="color:#FFB86C">&&</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">/root/.local/bin/meson</span></i> <i><span style="color:#FFB86C">build</span></i> <i><span style="color:#FFB86C">--prefix=/usr</span></i> <i><span style="color:#FFB86C">--libdir=/usr/lib</span></i> <i><span style="color:#FFB86C">--buildtype=release</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">-D</span></i> <i><span style="color:#FFB86C">ugly=enabled</span></i> <i><span style="color:#FFB86C">-D</span></i> <i><span style="color:#FFB86C">bad=enabled</span></i> <i><span style="color:#FFB86C">-D</span></i> <i><span style="color:#FFB86C">good=enabled</span></i> <i><span style="color:#FFB86C">-D</span></i> <i><span style="color:#FFB86C">base=enabled</span></i> <span style="color:#62E884">\<br>
</span> <i><span style="color:#FFB86C">-D</span></i> <i><span style="color:#FFB86C">gst-plugins-ugly:x264enc=enabled</span></i><br>
<span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">cd</span></i> <i><span style="color:#FFB86C">gst-build</span></i> <i><span style="color:#FFB86C">&&</span></i> <i><span style="color:#FFB86C">ninja</span></i> <i><span style="color:#FFB86C">-C</span></i> <i><span style="color:#FFB86C">build<br>
</span></i><span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">cd</span></i> <i><span style="color:#FFB86C">gst-build</span></i> <i><span style="color:#FFB86C">&&</span></i> <i><span style="color:#FFB86C">ninja</span></i> <i><span style="color:#FFB86C">-C</span></i> <i><span style="color:#FFB86C">build</span></i> <i><span style="color:#FFB86C">install<br>
</span></i><span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">cd</span></i> <i><span style="color:#FFB86C">gst-build</span></i> <i><span style="color:#FFB86C">&&</span></i> <i><span style="color:#FFB86C">ninja</span></i> <i><span style="color:#FFB86C">-C</span></i> <i><span style="color:#FFB86C">build</span></i> <i><span style="color:#FFB86C">uninstalled</span></i><br>
<span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">export</span></i> <i><span style="color:#FFB86C">LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib<br>
</span></i><span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">export</span></i> <i><span style="color:#FFB86C">GST_PLUGIN_SYSTEM_PATH_1_0=</span></i>$GST_PLUGIN_SYSTEM_PATH_1_0<i><span style="color:#FFB86C">:/usr/lib/x86_64-linux-gnu/gstreamer-1.0<br>
</span></i><span style="color:#F286C4">RUN</span> <i><span style="color:#FFB86C">export</span></i> <i><span style="color:#FFB86C">GST_PLUGIN_SCANNER=/usr/libexec/gstreamer-1.0/gst-plugin-scanner</span></i><o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> and normally this is what I get when I try to do something easy:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal">docker run --net=host --rm -it gstreamer:v1.18 gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay config-interval=3 ! rtpsink uri=rtp://<a href="http://239.1.1.1:1234">239.1.1.1:1234</a><br>
WARNING: erroneous pipeline: no element "x264enc"<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal">docker run --net=host --rm -it gstreamer:v1.18 gst-launch-1.0 videotestsrc ! autovideosink<br>
WARNING: erroneous pipeline: no element "autovideosink"<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal">docker run --net=host --rm -it gstreamer:v1.18 gst-launch-1.0 videotestsrc num-buffers=1 ! fakevideosink<br>
WARNING: erroneous pipeline: no element "fakevideosink"<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks a lot for your help as you can see I´m a little bit lost.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Saludos,<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
Raúl Mansilla.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>