Skip to content
QtWS25 Last Chance
  • 0 Votes
    9 Posts
    4k Views
    Pablo J. RoginaP
    @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.
  • 0 Votes
    8 Posts
    4k Views
    G
    Solved problem by stopping/starting camera while tab switching.
  • QCameraInfo

    Unsolved General and Desktop camera viewfinder qcamerainfo dll
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Are you running them from Qt Creator ? If not did you deploy the QtMultimedia plugins for your second application ?
  • 0 Votes
    1 Posts
    988 Views
    No one has replied
  • Customize QOrbitCameraController setup

    Unsolved General and Desktop camera orbit
    3
    0 Votes
    3 Posts
    1k Views
    L
    Hi, Regardless to the linked topic on my post. m.sue was talking about some new implementation commin in qt5.8 for QOrbitCameraController. My question is, so, to know if a new functionalities are done about QOrbitCameraController ? Also, i woukld like to bring my interest to know the road dev for this part (camera manipulation) in qt3d. View manipulation always benefit to be easily customizable, like the tree roof points listed in my post. thx.
  • UYVY camera Preview

    Unsolved General and Desktop camera cameraviewfinde yuv uyvy gstreamer
    9
    0 Votes
    9 Posts
    5k Views
    RiteshPanchalR
    I have successfully build QT 5.8.0 on nVidia TX1 board. But with QML video surface sink element still getting Reddish preview. https://drive.google.com/open?id=0B8d7zQv-G71oM1JONzlpR2t1OWc I also tried 5.8.0 QT C++ camera example. but for this example camera preview seen for 1-2 sec and then ubuntu hangs. And also the preview appear with wrong color conversion format. So i tried minimal camera example. https://drive.google.com/open?id=0B8d7zQv-G71odXN6ZTkxRTRuOGM But when i start camera following error comes Unable to open the camera "" for read to query the parameter info: "No such file or directory" So how can i preview UYVY camera preview in this example?
  • 0 Votes
    2 Posts
    1k Views
    jerome_isAviableJ
    I think not. It seems to not deeply use the same "gstreamer plugins". I'm also not sure of my answer, but it is the impression i have. You can maybe try to change some camera parameters from qml code, but not sure you will have the same result (it's look like luminosity problem).
  • QCamera stop working on Android after 4~5 pictures

    Unsolved QML and Qt Quick qml android camera
    5
    0 Votes
    5 Posts
    2k Views
    KroMignonK
    Hi all, I have open a ticket on Qt bug report system => QTBUG-54709 It seems to be an issue with the image preview callback function. Hope this can be fixed for next Qt release :)
  • QCamera switches not to Active State

    Unsolved General and Desktop camera
    14
    0 Votes
    14 Posts
    5k Views
    Andy314A
    @Drshaw19 No, never solved the problem. I take the standard windows camera now. The communication is a little bit complicated but it works for me.
  • Camera QML preview problem

    Unsolved Mobile and Embedded camera qml qt 5.6
    3
    0 Votes
    3 Posts
    1k Views
    SkroopaS
    @mvuori Tried to build *.apk on Qt 5.7.0 RC - the same error. I think, that bug for a long time.
  • Fix Camera's frame rate and change it resolution

    Unsolved QML and Qt Quick camera qml qt 5.6.0 android
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Access IP camera from Qt

    Solved Mobile and Embedded ip camera camera qml
    18
    0 Votes
    18 Posts
    15k Views
    mkrrM
    @kolegs Thank you so much. I created this code and the performance was very better. I'm reading two IP cameras now with it. Of course that the delay is existing (each 2 seconds the image is updated). I think that I need to improve my code. I'm using 98% of my CPU, but I need to do many routines :( Thank you so much again
  • 0 Votes
    3 Posts
    1k Views
    NFanjatN
    Thank you, I'll do that ASAP
  • 0 Votes
    2 Posts
    1k Views
    jsulmJ
    QContactManager is part of QtMobility, it is not part of standard Qt. Do you have QtMobility? http://doc-snapshots.qt.io/qt-mobility/qcontactmanager.html
  • DC1394 machine vision camera

    Unsolved QML and Qt Quick camera qml dc1394
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    The backend allows you to work with both widgets and QML. AFAIK the QQuickImageProvider is used the other way around, you ask images to it. Don't be afraid of the task, a QtMultimedia backend is really not that hard to implement.
  • display a camera in Qt Quick

    Unsolved QML and Qt Quick camera cameraviewfinde qt quick multim
    3
    0 Votes
    3 Posts
    1k Views
    CharbyC
    Here is a complete workshop explaining how to handle the Camera with QtQuick - in addition the demo project in github shows how to read QRCodes with QZXing : https://forum.qt.io/topic/63838/qt-qml-workshop-materials/3
  • Checking for selecting

    Solved General and Desktop qaction camera
    10
    0 Votes
    10 Posts
    4k Views
    S
    Hi @SGaist ! I moved the 2 lines : QCameraViewfinder *viewfinder = new QCameraViewfinder(this); setCentralWidget(viewfinder); from my principale function to the MaFenetre::onActionSelected function, and that work ! Thanks a lot guys, you're magic here ! I was searching for days !
  • Getting raw H.264 and AAC data from QML Camera

    Unsolved QML and Qt Quick camera h264 c++ and qml cod
    6
    0 Votes
    6 Posts
    6k Views
    SkroopaS
    @SGaist Thanks for you reply. The only way to create what I need - using Android functions directly and I must forgot about crossplatform for my app (if you want to use, for example, hardware acceleration or something). The code bellow is the main class (java, for use with QAndroidJniObject), that draws camera preview, using hardware: import org.qtproject.qt5.android.bindings.QtApplication; import org.qtproject.qt5.android.bindings.QtActivity; import android.hardware.Camera; import android.media.MediaCodec; import android.media.MediaCodecInfo; import android.media.MediaFormat; import android.media.MediaMuxer; import android.app.Notification; import android.app.NotificationManager; import android.content.Context; import android.graphics.SurfaceTexture; import android.view.TextureView.SurfaceTextureListener; import android.view.TextureView; import android.view.Gravity; import android.widget.FrameLayout; import android.os.Bundle; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; public class CameraAndroid extends QtActivity implements SurfaceTextureListener { private static NotificationManager notificationManager; private static Notification.Builder notificationBuilder; private static CameraAndroid cameraAndroid; public CameraAndroid() { cameraAndroid = this; } private static MediaCodec mediaCodec; private static TextureView textureView; private static Camera camera; static int encWidth = 640, encHeight = 480; public static int start() { // Camera not started yet if(camera == null) { Camera.CameraInfo info = new Camera.CameraInfo(); // Set front facing camera by default int numCameras = Camera.getNumberOfCameras(); for (int i = 0; i < numCameras; i++) { Camera.getCameraInfo(i, info); if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { camera = Camera.open(i); break; } } if (camera == null) { camera = Camera.open(); } if (camera == null) return 9001; Camera.Parameters params = camera.getParameters(); Camera.Size cameraSize = params.getPreferredPreviewSizeForVideo(); for (Camera.Size size : params.getSupportedPreviewSizes()) { if (size.width == encWidth && size.height == encHeight) { params.setPreviewSize(encWidth, encHeight); break; } } // New camera preview size if (cameraSize != null) { params.setPreviewSize(cameraSize.width, cameraSize.height); } camera.setParameters(params); textureView.setLayoutParams(new FrameLayout.LayoutParams(camera.getParameters().getPreviewSize().width, camera.getParameters().getPreviewSize().height, Gravity.CENTER)); } return 0; } public static int stop() { if (camera != null) { camera.stopPreview(); camera.release(); camera = null; } return 0; } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); textureView = new TextureView(this); textureView.setSurfaceTextureListener(this); setContentView(textureView); // <------------------------- Draws on all entire screen :(((( } @Override public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { try { if(start() == 0) { camera.setPreviewTexture(surface); camera.startPreview(); } } catch (IOException ioe) { return 9002; } } @Override public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { } @Override public void onSurfaceTextureUpdated(SurfaceTexture surface) {} @Override public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { stop(); return true; } } But now, I can't see QML elements of my app! :(( Is it possible to draw QML elements over/above TextureView, change draw order or something? What I must to do? Many thanks!
  • QML Camera running in Android dies

    Unsolved QML and Qt Quick qml camera qt programming android
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied