Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to start gstreamer pipeline on click of qt button and stoping it on click of another button

How to start gstreamer pipeline on click of qt button and stoping it on click of another button

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt 5.11.3qt5gstreamergstreamer video
5 Posts 4 Posters 819 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vicky_mac
    wrote on 13 Mar 2020, 11:41 last edited by vicky_mac
    #1

    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.

    J 1 Reply Last reply 13 Mar 2020, 12:14
    0
    • V vicky_mac
      13 Mar 2020, 11:41

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 13 Mar 2020, 12:14 last edited by
      #2

      @vicky_mac What exactly is the problem? How to react on button press? Or how to start/stop GStreamer?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply 16 Mar 2020, 05:03
      2
      • J jsulm
        13 Mar 2020, 12:14

        @vicky_mac What exactly is the problem? How to react on button press? Or how to start/stop GStreamer?

        V Offline
        V Offline
        vicky_mac
        wrote on 16 Mar 2020, 05:03 last edited by
        #3

        @jsulm i want to start and stop gstreamer pipeline on press of button

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          Yairsh
          wrote on 21 Apr 2020, 11:27 last edited by
          #4

          Hi @vicky_mac. I'm facing the same problem. did you manage to solve this?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 21 Apr 2020, 18:03 last edited by
            #5

            @vicky_mac you should show the code you are using to manage your pipeline.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved