Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. camera
    Log in to post
    • All categories
    • B

      Unsolved Digital zoom for live stream
      General and Desktop • rtsp digital-zoom camera opencv c++ • • BigBen

      4
      0
      Votes
      4
      Posts
      164
      Views

      JonB

      @BigBen
      Yes, you always need to write a new class which derives from the base class if you need to override a virtual method, as QWidget::paintEvent().

      The Analog Clock Example illustrates overriding paintEvent(). There will be hundreds of other examples online.

    • S

      Solved QtMultimedia (Qt 6.2.3): Camera example shows a green screen on Linux
      Qt 6 • qt6 qtmultimedia camera example • • Stavros Vaionitis

      8
      0
      Votes
      8
      Posts
      630
      Views

      H

      This is because of virtualbox 3d acceleration support opengl version 2.0
      it looks like qt multimedia(6.2) need opengl at least 3.0 version

      Below was how to know it.
      mesa log enable and log like below

      Mesa: glGenTextures 1
      Mesa: glBindTexture GL_TEXTURE_2D 2
      Mesa: FLUSH_VERTICES in bind_texture_object
      Mesa: FLUSH_VERTICES in teximage
      Mesa: glTexImage2D GL_TEXTURE_2D 0 GL_R8 960 360 1 0 GL_RED GL_UNSIGNED_BYTE (nil)
      Mesa debug output: GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_R8)

      GL_R8 variable is available upper than opengl 3.0

      That's why we have to see green screen in virtualbox 3d acceleration

    • A

      Unsolved One camera with multiple video output
      General and Desktop • camera • • AkshayFP

      1
      0
      Votes
      1
      Posts
      114
      Views

      No one has replied

    • A

      Solved Hazy camera video on Android
      Mobile and Embedded • camera android • • AkshayFP

      2
      0
      Votes
      2
      Posts
      170
      Views

      A

      Never mind. I had to set the surface format version to 3.0 in main, at the top.

      int main(int argc, char *argv[]) { QSurfaceFormat f; f.setVersion(3,0); QGuiApplication app(argc, argv); //... }
    • S

      Unsolved Video recording
      General and Desktop • qlabel videocapture video recording camera camera live • • Sai Raul

      2
      0
      Votes
      2
      Posts
      181
      Views

      jsulm

      @Sai-Raul Start here: https://doc.qt.io/qt-5/videooverview.html

    • H

      Solved Qt and Android - How to launch camera by using Qandroidjniobject
      Mobile and Embedded • qtandroid android qt creator qandroidjniobje camera • • HemantZ

      3
      0
      Votes
      3
      Posts
      451
      Views

      M

      How did you get the taken picture from the camera?

    • M

      Unsolved QML Camera works strange in Linux Framebuffer
      QML and Qt Quick • qml camera embedded • • MintogoDeveloper

      1
      0
      Votes
      1
      Posts
      265
      Views

      No one has replied

    • D

      Unsolved How to use Smartphone Hardware in Qt Android App ?
      Mobile and Embedded • android app gps camera sensor • • Domo93

      3
      0
      Votes
      3
      Posts
      365
      Views

      T

      @domo93 You clearly haven't read the Qt documentation or looked at the examples, because everything you asked for is there.

      https://doc.qt.io/qt-5/android.html
      https://doc.qt.io/qtcreator/creator-deploying-android.html

    • J

      Unsolved Fresh app development
      General and Desktop • pyqt camera beginner raspberrypi ui design • • Jarenward

      2
      0
      Votes
      2
      Posts
      499
      Views

      jsulm

      @Jarenward said in Fresh app development:

      which Qt is for me?

      There is only one Qt :-)
      PyQt is a Python binding for Qt and still requires Qt libraries (binaries). So, even if you use PyQt you will need to have Qt libraries which you are using.
      If I understood you correctly you need your UI on a computer (not Pi), right? This part is simple - just install the latest stable Qt version an start coding :-)
      For the other part you can either directly develop on Pi (using Raspbian you can easily install Qt with apt) or you have to cross compile Qt to develop on your PC. You don't have to cross compile everything, just what you need. See https://wiki.qt.io/Raspberry_Pi_Beginners_Guide

    • S

      Unsolved Preprocessing images from Camera before Viewfinder
      General and Desktop • media camera video • • sergboec

      7
      0
      Votes
      7
      Posts
      1191
      Views

      S

      Ok.
      I have found a solution

      QImage imageToReturn = QImage((uchar*)converted_image.data, converted_image.cols, converted_image.rows, QImage::Format_RGB888); imageToReturn.convertToFormat(QImage::Format_RGB32);

      I have found that when i started to compare metadata between QImage constructed from cv::Mat data and QImage constructed as in second example

    • L

      Unsolved Microsoft Surface Camera Resolution and Zoom Options
      QML and Qt Quick • qml camera surface tablet • • larkei15

      1
      0
      Votes
      1
      Posts
      441
      Views

      No one has replied

    • Y

      Unsolved CameraRecorder without audio
      QML and Qt Quick • camera camerabin audio gstreamer recording • • YenZi

      8
      0
      Votes
      8
      Posts
      1891
      Views

      Y

      @Cleiton-Bueno thanks for your suggestion. I have disabled audio in my kernel completely now. Now I get the message CameraBin warning: "Could not open audio device for recording." which shows, that I really removed audio support.
      Unfortunately, this still doesn't solve my basic issue, which is a extremely sluggish video output when the videoRecorder property is enabled in the Camera. That means, the audio encoding was not causing this problem at all.

      Thx, Jens

    • Y

      Unsolved QML Camera initialisation in background ?
      QML and Qt Quick • camera qml threading • • YenZi

      2
      1
      Votes
      2
      Posts
      639
      Views

      Diracsbracket

      Hi @YenZi
      A little bit late, but could using a Loader and settings its asynchronous property to true work?
      http://doc.qt.io/qt-5/qml-qtquick-loader.html#asynchronous-prop

    • michalos

      Unsolved Camera Example - changing settings does not work
      General and Desktop • camera examples windows • • michalos

      4
      0
      Votes
      4
      Posts
      872
      Views

      SGaist

      For example: QCameraImageProcessing

    • X

      Unsolved Segmentation Fault trying to display camera feed
      Language Bindings • python pyqt camera segfault • • Xenoshell

      1
      0
      Votes
      1
      Posts
      676
      Views

      No one has replied

    • G

      Solved Streaming camera video data over network [video out]
      General and Desktop • camera video out rtp • • gsharma

      3
      0
      Votes
      3
      Posts
      1767
      Views

      SGaist

      Hi,

      To add to @raven-worx, there's also the QtGStreamer project that might be of interest.

    • G

      Solved Show camera footage on widget and Send the video out on udp port
      General and Desktop • camera video out udp qt 5 • • gsharma

      9
      0
      Votes
      9
      Posts
      3289
      Views

      Pablo J. Rogina

      @gsharma Ok, I forgot to mention my test environment, sorry about that.
      Well, maybe it's a good reason to update your Qt version...
      Best regards.

    • G

      Solved CameraBin error: "Internal data flow error." on tab switching
      General and Desktop • camera tab switching camerabin • • gsharma

      8
      0
      Votes
      8
      Posts
      3549
      Views

      G

      Solved problem by stopping/starting camera while tab switching.

    • M

      Unsolved QCameraInfo
      General and Desktop • camera viewfinder qcamerainfo dll • • mlathrop

      2
      0
      Votes
      2
      Posts
      923
      Views

      SGaist

      Hi,

      Are you running them from Qt Creator ?
      If not did you deploy the QtMultimedia plugins for your second application ?

    • K

      Unsolved Inconsistent RBG/BGR format in video frames from Android cameras
      Mobile and Embedded • android camera qimage rgb bgr • • karelc

      1
      0
      Votes
      1
      Posts
      790
      Views

      No one has replied