Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem with Qt Multimedia
Forum Updated to NodeBB v4.3 + New Features

Problem with Qt Multimedia

Scheduled Pinned Locked Moved Unsolved General and Desktop
c++multimediaqmediaplayerlogoutqt 5.8
65 Posts 4 Posters 45.7k Views 2 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #47

    Can you play that file with the gstreamer tools directly ?

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

    6 1 Reply Last reply
    0
    • SGaistS SGaist

      Can you play that file with the gstreamer tools directly ?

      6 Offline
      6 Offline
      6EQUJ5
      wrote on last edited by
      #48

      @SGaist How would I do that?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #49

        gst-play-1.0 your_video_file

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

        6 1 Reply Last reply
        0
        • SGaistS SGaist

          gst-play-1.0 your_video_file

          6 Offline
          6 Offline
          6EQUJ5
          wrote on last edited by 6EQUJ5
          #50

          @SGaist The command doesn't exist. Even though I installed libgstreamer1.0-dev.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #51

            That's the development package to be able to use the library in your own projects. You need to install the GStreamer tools.

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

            6 1 Reply Last reply
            0
            • SGaistS SGaist

              That's the development package to be able to use the library in your own projects. You need to install the GStreamer tools.

              6 Offline
              6 Offline
              6EQUJ5
              wrote on last edited by
              #52

              @SGaist What package do I need to install for the GStreamer tools?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #53

                Please learn to use the tools from your distribution apt-cache search gstreamer | grep tools.

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

                6 1 Reply Last reply
                1
                • SGaistS SGaist

                  Please learn to use the tools from your distribution apt-cache search gstreamer | grep tools.

                  6 Offline
                  6 Offline
                  6EQUJ5
                  wrote on last edited by
                  #54

                  @SGaist I installed all the packages that came up with that command. gst-play-1.0 still doesn't work.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #55

                    What doesn't work ?

                    You can't read the file using the command ?

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

                    6 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      What doesn't work ?

                      You can't read the file using the command ?

                      6 Offline
                      6 Offline
                      6EQUJ5
                      wrote on last edited by
                      #56

                      @SGaist The command still doesn't exist according to the terminal even with sudo.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #57

                        Seriously, did you even try to search where that file could be found ?

                        In this case it's the package gstreamer1.0-plugins-base-apps and the tools package is a dependency of that one.

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

                        6 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Seriously, did you even try to search where that file could be found ?

                          In this case it's the package gstreamer1.0-plugins-base-apps and the tools package is a dependency of that one.

                          6 Offline
                          6 Offline
                          6EQUJ5
                          wrote on last edited by
                          #58

                          @SGaist I'm sorry. I may be at least an amateur programmer, but I'm definitely not a Linux expert, so I lack knowledge. I tried googling to get gst-play-1.0 to work but came up with nothing.

                          Installing gstreamer1.0-plugins-base-apps allowed me to use the gst-play-1.0 command. But, when I try to play a video file (MP4) the same thing happens! I get logged out!

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #59

                            Then you have determined that it's not a Qt problem. There's something fishy going on with your machine.

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

                            6 1 Reply Last reply
                            0
                            • SGaistS SGaist

                              Then you have determined that it's not a Qt problem. There's something fishy going on with your machine.

                              6 Offline
                              6 Offline
                              6EQUJ5
                              wrote on last edited by 6EQUJ5
                              #60

                              @SGaist It works fine in Windows 10 though. What could possibly be wrong with Debian Linux?

                              jsulmJ 1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #61

                                You are comparing apple to oranges. Both are completely different OSs with completely different multimedia backends.

                                I don't know what is going on with your Debian but you sure have something either misconfigured or buggy. However, it's not something Qt related. You should check with the Debian folks.

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

                                6 1 Reply Last reply
                                0
                                • 6 6EQUJ5

                                  @SGaist It works fine in Windows 10 though. What could possibly be wrong with Debian Linux?

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #62

                                  @6EQUJ5 I would guess bad graphics driver.
                                  You could check the output of dmesg command. In general you should ask this question in a Debian forum or mailing list and attach information about your system (especially graphics hardware).

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

                                  1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    You are comparing apple to oranges. Both are completely different OSs with completely different multimedia backends.

                                    I don't know what is going on with your Debian but you sure have something either misconfigured or buggy. However, it's not something Qt related. You should check with the Debian folks.

                                    6 Offline
                                    6 Offline
                                    6EQUJ5
                                    wrote on last edited by
                                    #63

                                    @SGaist I will do that.

                                    @jsulm The output of sudo dmesg is here: https://pastebin.com/VY243fPh

                                    Also, I will ask for help on Debian mailing list/forum with the output.

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #64

                                      Compare it with the output of dmesg after you got kicked of your session.

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

                                      6 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        Compare it with the output of dmesg after you got kicked of your session.

                                        6 Offline
                                        6 Offline
                                        6EQUJ5
                                        wrote on last edited by 6EQUJ5
                                        #65

                                        @SGaist New output (after getting logged out): https://pastebin.com/yJK4tFeQ

                                        Output of diff dmesgOutputBeforeLogout.txt dmesgOutputAfterLogout.txt: https://pastebin.com/5jGtEiUd (differences between two outputs)

                                        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