[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: performance issue when building gstreamer from souce
From:       Nicolas Dufresne <nicolas () ndufresne ! ca>
Date:       2020-11-25 12:39:24
Message-ID: CAKQmDh9p=+JY77ubwt2WquF-bzPL-T5HavTEGBY-RVhYkAyhxw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le mer. 18 nov. 2020 10 h 30, Lusine <lusinehayrapetyan1992@gmail.com> a
écrit :

> Hi Folks,
> On my Ubuntu 18 machine I have installed gstreamer. Version is 1.16.2.
> Running the following command takes 5 second(I've attached screenshot):
> <http://gstreamer-devel.966125.n4.nabble.com/file/t379720/gstreamer1.png>
> gst-launch-1.0 filesrc location=~/videos/shallow_1280.mp4 ! decodebin !
> x264enc ! mp4mux ! filesink location=out.mp4
>
> Then I've uninstalled this gstreamer and built it from the source code with
> meson and ninja and now the same command takes 20 seconds. I've tried the
> latest master branch and 1.16 branch and both are slow:
> <
> http://gstreamer-devel.966125.n4.nabble.com/file/t379720/gstreamer_built.png>
>
>
> I don't know why I see this difference? Maybe there is some missing
> configuration when building gstreamer, I did the following steps for
> building:
> git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git
> cd gst-build
> meson <build_directory>
> ninja -C </path/to/build_directory>
> ninja -C </path/to/build_directory> install
>

Check which decoder is picked by decodebin. It is likely ffmpeg vs openh264.

>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

[Attachment #5 (text/html)]

<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Le mer. 18 nov. 2020 10 h 30, Lusine &lt;<a \
href="mailto:lusinehayrapetyan1992@gmail.com">lusinehayrapetyan1992@gmail.com</a>&gt; \
a écrit  :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Folks,<br> On my Ubuntu 18 \
machine I have installed gstreamer. Version is 1.16.2.<br> Running the following \
command takes 5 second(I&#39;ve attached screenshot): <br> &lt;<a \
href="http://gstreamer-devel.966125.n4.nabble.com/file/t379720/gstreamer1.png" \
rel="noreferrer noreferrer" \
target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/t379720/gstreamer1.png</a>&gt; \
<br> gst-launch-1.0 filesrc location=~/videos/shallow_1280.mp4 ! decodebin !<br>
x264enc ! mp4mux ! filesink location=out.mp4 <br>
<br>
Then I&#39;ve uninstalled this gstreamer and built it from the source code with<br>
meson and ninja and now the same command takes 20 seconds. I&#39;ve tried the<br>
latest master branch and 1.16 branch and both are slow:<br>
&lt;<a href="http://gstreamer-devel.966125.n4.nabble.com/file/t379720/gstreamer_built.png" \
rel="noreferrer noreferrer" \
target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/t379720/gstreamer_built.png</a>&gt; \
<br> <br>
I don&#39;t know why I see this difference? Maybe there is some missing<br>
configuration when building gstreamer, I did the following steps for<br>
building:<br>
git clone <a href="https://gitlab.freedesktop.org/gstreamer/gst-build.git" \
rel="noreferrer noreferrer" \
target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-build.git</a><br> cd \
gst-build<br> meson &lt;build_directory&gt;<br>
ninja -C &lt;/path/to/build_directory&gt;<br>
ninja -C &lt;/path/to/build_directory&gt; install<br></blockquote></div></div><div \
dir="auto"><br></div><div dir="auto">Check which decoder is picked by decodebin. It \
is likely ffmpeg vs openh264.</div><div dir="auto"><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer \
noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br> \
_______________________________________________<br> gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" \
rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br> <a \
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer \
noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
 </blockquote></div></div></div>



_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic