<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 <<a href="mailto:lusinehayrapetyan1992@gmail.com">lusinehayrapetyan1992@gmail.com</a>> 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've attached screenshot): <br>
<<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>> <br>
gst-launch-1.0 filesrc location=~/videos/shallow_1280.mp4 ! decodebin !<br>
x264enc ! mp4mux ! filesink location=out.mp4 <br>
<br>
Then I'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've tried the<br>
latest master branch and 1.16 branch and both are slow:<br>
<<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>> <br>
<br>
I don'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 <build_directory><br>
ninja -C </path/to/build_directory><br>
ninja -C </path/to/build_directory> 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>