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. Problems with GStreamer- video player (with phonon) on embedded Linux (Qt 4.8.4)
Forum Updated to NodeBB v4.3 + New Features

Problems with GStreamer- video player (with phonon) on embedded Linux (Qt 4.8.4)

Scheduled Pinned Locked Moved Mobile and Embedded
30 Posts 4 Posters 15.8k 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.
  • S Offline
    S Offline
    SirToby
    wrote on last edited by
    #18

    mh I had release build but i changed to debug (CONFIG += debug) but QT_DEBUG_PLUGINS dosen't work..

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

      Do you also have the debug lib from Qt on your target ?

      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
      • S Offline
        S Offline
        SirToby
        wrote on last edited by
        #20

        I wan't in town yesterday so I couldn't test that yesterday - sorry for that

        I'm sorry but I can't find the debug lib...I crosscompild my Qt again and added the option - debug... but no debug lib was created- and also with the libs I compiled with the debug options, the QT_DEBUG_PLUGINS dosn't work

        BTW I also set the PluginPath with QT_PLUGIN_PATH=... but that wasn't successful neither.

        Also included: qDebug()<<QLibraryInfo::location(QLibraryInfo::PluginsPath);
        It shows the correct Path("/usr/local/Trolltech/QtEmbedded-4.8.4-arm/plugins"
        ), where the plugin is installed...

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

          Did you do a clean build ?

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

            Yes I did...

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

              Just to be on the safe side, did you check the output of the configure script to see if it was a debug or release build ?

              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
              • S Offline
                S Offline
                SirToby
                wrote on last edited by
                #24

                If i checked the right file ist says DEBUG=auto, however the libs I compiled with the debug options are pretty big so I think they are build during debug build

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

                  so if you call

                  @QT_DEBUG_PLUGINS=1 ./myApplication -qws@

                  You don't have any output ?

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

                    mhh I compiled everthing again und copied all libs und plugins on USB.-now the application aborted.. but may thats because of the USB and not gstreamer??

                    (process:673): GLib-GObject-WARNING **: cannot register existing type 'gchar'
                    **
                    GLib-GObject:ERROR:gvaluetypes.c:457:_g_value_types_init: assertion failed: (type == G_TYPE_CHAR)
                    Aborted

                    And thanks again for helping me :)

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

                      It's getting strange...

                      What do you mean by "because of the USB" ? What do you have exactly there ?

                      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
                      • A Offline
                        A Offline
                        abifcxm
                        wrote on last edited by
                        #28

                        SGaist I follow this post and I have a trouble
                        This is my first time working with phonon and gstreamer module actually Im triying play a simple music file.
                        I use your args QT_DEBUG_PLUGINS=1 followed of my app and all it works my app is launching but no audio output. When I close the app an error is showed in the terminal

                        Cannot connect to server socket err= No such file or directory
                        Cannot connect to server request channel
                        Jack server is not running or cannot be started

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

                          Hi and welcome to devnet,

                          Do you have the Jack audio server up and running ?

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

                            i've installed the Jack audio but a message error appears:
                            needs connect to X server
                            actually im working in ubuntu armhf 12.10 without desktop environment or X-server i don't know if there another way to use phonon without Jack Audio

                            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