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. Play music with qt 5

Play music with qt 5

Scheduled Pinned Locked Moved General and Desktop
33 Posts 4 Posters 11.0k Views 1 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.
  • P Offline
    P Offline
    paul_espinosa
    wrote on last edited by
    #18

    un the terminal apear this
    GLFS: Unable to query physical screen size, defaulting to 100 dpi.
    EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
    EGLFS: Unable to query screen depth, defaulting to 32.
    EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
    HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
    This plugin does not support propagateSizeHints()

    1 Reply Last reply
    0
    • P Offline
      P Offline
      paul_espinosa
      wrote on last edited by
      #19

      un the terminal apear this
      GLFS: Unable to query physical screen size, defaulting to 100 dpi.
      EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
      EGLFS: Unable to query screen depth, defaulting to 32.
      EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
      defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
      HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
      This plugin does not support propagateSizeHints()

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

        Do it again but for define QT_DEBUG_PLUGINS=1

        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
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #21

          Do it again but for define QT_DEBUG_PLUGINS=1

          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
          • P Offline
            P Offline
            paul_espinosa
            wrote on last edited by
            #22

            i need compilated again qt with QT_DEBUG_PLUGINS=1???

            other question now i am triying with gstreamer but i installed precompiled version ...of this page

            https://wiki.matthiasbock.net/index.php/Hardware-accelerated_video_playback_on_the_Raspberry_Pi#gstreamer

            i run some examples in the console but i need to add to qt 4 ...to play misic with gstreamer

            my file.pro

            INCLUDE PATH += /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
            LIBS += -L/ /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
            LIBS += -lglib-2.0 -lpthread -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt

            and in the main.cpp
            #include <gst/gst.h>

            but show this error gst/gst.h no such file or directory
            how i can writhe or use correctly this libs ????

            i need play mp3 in my raspberry in an aplicacion

            1 Reply Last reply
            0
            • P Offline
              P Offline
              paul_espinosa
              wrote on last edited by
              #23

              i need compilated again qt with QT_DEBUG_PLUGINS=1???

              other question now i am triying with gstreamer but i installed precompiled version ...of this page

              https://wiki.matthiasbock.net/index.php/Hardware-accelerated_video_playback_on_the_Raspberry_Pi#gstreamer

              i run some examples in the console but i need to add to qt 4 ...to play misic with gstreamer

              my file.pro

              INCLUDE PATH += /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
              LIBS += -L/ /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
              LIBS += -lglib-2.0 -lpthread -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt

              and in the main.cpp
              #include <gst/gst.h>

              but show this error gst/gst.h no such file or directory
              how i can writhe or use correctly this libs ????

              i need play mp3 in my raspberry in an aplicacion

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

                No, it's an environment variable.

                Install the dev package first

                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
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #25

                  No, it's an environment variable.

                  Install the dev package first

                  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
                  • P Offline
                    P Offline
                    paul_espinosa
                    wrote on last edited by
                    #26

                    thank i can compilate the libs

                    now i need help or some tutorial to play mp3 with gsstreamer

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      paul_espinosa
                      wrote on last edited by
                      #27

                      thank i can compilate the libs

                      now i need help or some tutorial to play mp3 with gsstreamer

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

                        Then you should consider using QtGStreamer

                        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
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #29

                          Then you should consider using QtGStreamer

                          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
                          • P Offline
                            P Offline
                            paul_espinosa
                            wrote on last edited by
                            #30

                            i need write and read data of text
                            i want to create an application that save location of songs.
                            and other application for read this information to play the song ...someone can i help me with some information ... i readed about csv files but how i can write and read this files ..or there are some better way to do this

                            1 Reply Last reply
                            0
                            • P Offline
                              P Offline
                              paul_espinosa
                              wrote on last edited by
                              #31

                              i need write and read data of text
                              i want to create an application that save location of songs.
                              and other application for read this information to play the song ...someone can i help me with some information ... i readed about csv files but how i can write and read this files ..or there are some better way to do this

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

                                You already have answers "here":https://qt-project.org/forums/viewthread/52623/

                                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
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #33

                                  You already have answers "here":https://qt-project.org/forums/viewthread/52623/

                                  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