performance issue when building gstreamer from souce

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

performance issue when building gstreamer from souce

Lusine
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





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: performance issue when building gstreamer from souce

Nicolas Dufresne-5


Le mer. 18 nov. 2020 10 h 30, Lusine <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel