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. CameraBin error: "Internal data stream error."
Forum Updated to NodeBB v4.3 + New Features

CameraBin error: "Internal data stream error."

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 2.7k 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.
  • B Offline
    B Offline
    Bluseli
    wrote on 26 Feb 2021, 08:32 last edited by
    #1

    Can someone tell me?
    Why do I use QT's official demo to run the camera,There will be mistakes?
    development environment:Qt5.11.3, arm mp157 development board, Debian system

    Just like this, camerabin error: "internal data stream error."

    I don't know how to debug. Can someone help me

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Feb 2021, 20:11 last edited by
      #2

      Hi and welcome to devnet,

      Use GStreamer on the command line to check whether your camera works correctly.

      You should also inspect your device logs just in case the device is acting up.

      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
      • B Offline
        B Offline
        Bluseli
        wrote on 1 Mar 2021, 03:10 last edited by
        #3

        My camera can use the GST command to take pictures and video recording,

        But I didn't find the GST command to preview the camera image directly on the touch screen, which drives is linxufb,

        QT official camera demo can run, completely OK in the window, but the same USB camera on the arm development board can only run for a period of time, and then it will report an error

        CameraBin error: "Internal data stream error."

        I can not output more debug info,I don't know if the error came from the camera driver or QT demo

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 1 Mar 2021, 19:57 last edited by
          #4

          Did you check your target system logs ? Kernel logs ?

          As for the output on the frame buffer, looks like fbdevsink would be indicated.

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

          B 1 Reply Last reply 3 Mar 2021, 09:31
          0
          • S SGaist
            1 Mar 2021, 19:57

            Did you check your target system logs ? Kernel logs ?

            As for the output on the frame buffer, looks like fbdevsink would be indicated.

            B Offline
            B Offline
            Bluseli
            wrote on 3 Mar 2021, 09:31 last edited by
            #5

            @SGaist Yes, I checked the dmesg log
            The camera driver seems to be OK, and I have output the camera preview image to the touch screen. The GST command is like this:"gst-launch-1.0 -v v4l2src device=/dev/video0 ! fbdevsink"

            I'm confused that I started the application in the form of eglfs, or tried other platforms and development boards, and the camera program worked well. But on the 157 development board, using linuxfb, he crashed.

            There seems to be no problem with the camera driver and the program, but it just crashed.

            Now, I plan to use the GST command in a thread to achieve preview.

            Thank you very much!

            1 Reply Last reply
            0

            1/5

            26 Feb 2021, 08:32

            • Login

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