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. is it any Qt can compatible for ubuntu 20.04.6
Qt 6.11 is out! See what's new in the release blog

is it any Qt can compatible for ubuntu 20.04.6

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 5 Posters 2.6k 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.
  • L Offline
    L Offline
    L4zyM0nday
    wrote on last edited by
    #1

    I want use Qt multimedia in ubuntu but when i debug my Qt always can't run camera and message error.
    CameraBin error: "GStreamer error: negotiation problem."

    or when i using vlc library it's same error camera not running as well
    [00007f8078072df0] main video output error: video output creation failed
    [00007f808804c650] main decoder error: failed to create video output
    [h264 @ 0x7f8080013600] get_buffer() failed
    [h264 @ 0x7f8080013600] thread_get_buffer() failed
    [h264 @ 0x7f8080013600] decode_slice_header error

    anyone can help solutioon for this problem thank you

    jsulmJ JoeCFDJ 2 Replies Last reply
    0
    • A Anonymous_Banned275

      @L4zyM0nday Check your "kits" versions. Once I downloaded Qr example and found out the hard way it would not work with my kit version.

      L Offline
      L Offline
      L4zyM0nday
      wrote on last edited by
      #14

      @AnneRanch thanks i have solution for my error i install all package Gstreamer in synaptic and include virtualbox guest addtion. it's work and my camera can running as well

      1 Reply Last reply
      0
      • L L4zyM0nday

        I want use Qt multimedia in ubuntu but when i debug my Qt always can't run camera and message error.
        CameraBin error: "GStreamer error: negotiation problem."

        or when i using vlc library it's same error camera not running as well
        [00007f8078072df0] main video output error: video output creation failed
        [00007f808804c650] main decoder error: failed to create video output
        [h264 @ 0x7f8080013600] get_buffer() failed
        [h264 @ 0x7f8080013600] thread_get_buffer() failed
        [h264 @ 0x7f8080013600] decode_slice_header error

        anyone can help solutioon for this problem thank you

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

        @L4zyM0nday Does your camera work at all with Linux?

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

        1 Reply Last reply
        0
        • L Offline
          L Offline
          L4zyM0nday
          wrote on last edited by
          #3

          Thank you for your respon, yes my camera is compatible in linux. I have try camera before i run in Qt

          C 1 Reply Last reply
          0
          • L L4zyM0nday

            Thank you for your respon, yes my camera is compatible in linux. I have try camera before i run in Qt

            C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #4

            @L4zyM0nday In what applications does the camera function properly on this system?

            1 Reply Last reply
            0
            • L Offline
              L Offline
              L4zyM0nday
              wrote on last edited by
              #5

              VLC player and guvcview on ubuntu 20

              C 1 Reply Last reply
              0
              • L L4zyM0nday

                I want use Qt multimedia in ubuntu but when i debug my Qt always can't run camera and message error.
                CameraBin error: "GStreamer error: negotiation problem."

                or when i using vlc library it's same error camera not running as well
                [00007f8078072df0] main video output error: video output creation failed
                [00007f808804c650] main decoder error: failed to create video output
                [h264 @ 0x7f8080013600] get_buffer() failed
                [h264 @ 0x7f8080013600] thread_get_buffer() failed
                [h264 @ 0x7f8080013600] decode_slice_header error

                anyone can help solutioon for this problem thank you

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by JoeCFD
                #6

                @L4zyM0nday I could display videos on Ubuntu 18.04. Check if something is missing.
                Try to run
                strace your app
                or to debug gstreamer with
                export GST_DEBUG=5 or higher from
                https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c
                to see what is wrong. Likely some plugins are missing.
                But the gstreamer version in ubuntu 20.04.6 is very old. My linux version is 22.04 and my gstreamer version is 1.22.5.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  L4zyM0nday
                  wrote on last edited by
                  #7

                  i try your solution, I install ubuntu 22 and use gstreamer 0.2 but my error still same

                  CameraBin error: "GStreamer error: negotiation problem."

                  i don't know what is problem.

                  JoeCFDJ 1 Reply Last reply
                  0
                  • L L4zyM0nday

                    i try your solution, I install ubuntu 22 and use gstreamer 0.2 but my error still same

                    CameraBin error: "GStreamer error: negotiation problem."

                    i don't know what is problem.

                    JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by JoeCFD
                    #8

                    @L4zyM0nday What is your Qt version and gstreamer version? I do not think there is gstreamer 0.2.
                    Show the output
                    gst-launch-1.0 --version
                    can you show your screen output after export GST_DEBUG=2 and your app is run?

                    and can you run vlc to show video now?

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      L4zyM0nday
                      wrote on last edited by L4zyM0nday
                      #9

                      on ubuntu 20 my Qt version is 5.15 and Gstreamer 1.16.3
                      on ubuntu 22 my qt version is 5.15 and Gstreamer 1.20
                      ![Screenshot 2024-02-02 225956.png](Something went wrong while parsing server response)

                      there same error andScreenshot 2024-02-02 231610.png my camera still not show on app![Screenshot 2024-02-02 225956.png](Something went wrong while parsing server response)
                      and sorry i can't upload my screen desktop, i don't know when i upload pictures always error : parse-error

                      JoeCFDJ 1 Reply Last reply
                      0
                      • L L4zyM0nday

                        on ubuntu 20 my Qt version is 5.15 and Gstreamer 1.16.3
                        on ubuntu 22 my qt version is 5.15 and Gstreamer 1.20
                        ![Screenshot 2024-02-02 225956.png](Something went wrong while parsing server response)

                        there same error andScreenshot 2024-02-02 231610.png my camera still not show on app![Screenshot 2024-02-02 225956.png](Something went wrong while parsing server response)
                        and sorry i can't upload my screen desktop, i don't know when i upload pictures always error : parse-error

                        JoeCFDJ Offline
                        JoeCFDJ Offline
                        JoeCFD
                        wrote on last edited by JoeCFD
                        #10

                        @L4zyM0nday can you play a local video file? can not see your pic. Can you show the video with vlc?

                        L 1 Reply Last reply
                        0
                        • L L4zyM0nday

                          VLC player and guvcview on ubuntu 20

                          C Offline
                          C Offline
                          ChrisW67
                          wrote on last edited by
                          #11

                          @L4zyM0nday said in is it any Qt can compatible for ubuntu 20.04.6:

                          VLC player and guvcview on ubuntu 20

                          So nothing can access your camera properly on this system when running Ubuntu 22?
                          This sounds very much like a problem outside Qt.

                          1 Reply Last reply
                          0
                          • JoeCFDJ JoeCFD

                            @L4zyM0nday can you play a local video file? can not see your pic. Can you show the video with vlc?

                            L Offline
                            L Offline
                            L4zyM0nday
                            wrote on last edited by
                            #12

                            @JoeCFD yes i can play video and camera with vlc

                            A 1 Reply Last reply
                            0
                            • L L4zyM0nday

                              @JoeCFD yes i can play video and camera with vlc

                              A Offline
                              A Offline
                              Anonymous_Banned275
                              wrote on last edited by
                              #13

                              @L4zyM0nday Check your "kits" versions. Once I downloaded Qr example and found out the hard way it would not work with my kit version.

                              L 1 Reply Last reply
                              0
                              • A Anonymous_Banned275

                                @L4zyM0nday Check your "kits" versions. Once I downloaded Qr example and found out the hard way it would not work with my kit version.

                                L Offline
                                L Offline
                                L4zyM0nday
                                wrote on last edited by
                                #14

                                @AnneRanch thanks i have solution for my error i install all package Gstreamer in synaptic and include virtualbox guest addtion. it's work and my camera can running as well

                                1 Reply Last reply
                                0
                                • L L4zyM0nday has marked this topic as solved on

                                • Login

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