How to start gstreamer pipeline on click of qt button and stoping it on click of another button
-
wrote on 13 Mar 2020, 11:41 last edited by vicky_mac
hi,
I am able to decode and play video by using gstreamer pipeline in qt.
Now i am running gstreamer pipeline insile MainWindow function.So now gstreamer runs all the time and whenever the video comes over ethernet it decodes and displays it .But the CPU utilization is high as gstreamer is running continuously which is not required.
I want to start and stop gstreamer pipeline on click of button or any event.
Please let me know how it can be done.
Thank you.
-
hi,
I am able to decode and play video by using gstreamer pipeline in qt.
Now i am running gstreamer pipeline insile MainWindow function.So now gstreamer runs all the time and whenever the video comes over ethernet it decodes and displays it .But the CPU utilization is high as gstreamer is running continuously which is not required.
I want to start and stop gstreamer pipeline on click of button or any event.
Please let me know how it can be done.
Thank you.
@vicky_mac What exactly is the problem? How to react on button press? Or how to start/stop GStreamer?
-
@vicky_mac What exactly is the problem? How to react on button press? Or how to start/stop GStreamer?
-
wrote on 21 Apr 2020, 11:27 last edited by
Hi @vicky_mac. I'm facing the same problem. did you manage to solve this?
-
@vicky_mac you should show the code you are using to manage your pipeline.