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 |
Le mer. 18 nov. 2020 10 h 30, Lusine <[hidden email]> a écrit : Hi Folks, Check which decoder is picked by decodebin. It is likely ffmpeg vs openh264.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Nicolas,
I've changed my pipeline to explicitly choose the decoder but again I see huge performance degradation: gst-launch-1.0 filesrc location=~/videos/shallow_1280.mp4 ! qtdemux ! avdec_h264 ! x264enc ! mp4mux ! filesink location=out.mp4 My build: <http://gstreamer-devel.966125.n4.nabble.com/file/t379720/build.png> Installed version: <http://gstreamer-devel.966125.n4.nabble.com/file/t379720/install.png> -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Lusine
Hi Folks, This issue still remains: there is huge performance degradation
after building gstreamer from source. What am I missing? -- 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 wrote
> Hi Folks, This issue still remains: there is huge performance degradation > after building gstreamer from source. What am I missing? > > > > -- > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Quoted from: http://gstreamer-devel.966125.n4.nabble.com/performance-issue-when-building-gstreamer-from-souce-tp4695919p4697583.html On what platform are you compiling ? I assume you're using gst-build with meson. If so, I suggest you to check the meson-logs.txt file. What feature is enabled/disabled, what library maybe missing.. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |