Important: Please read the Qt Code of Conduct -

Usb camera integration in qt4

  • Hi,
    I am using qt-everywhere-opensource-src-4.8.5 and cross compiled it for ARM Ti-Am335x processor.
    I am able to run some qt example & demos . Right now can I inteface a usb camera in qt4.8.5.
    I am running Linux on development board and Ubuntu 12.04 on my system.

    Thanks In Advance.

  • Lifetime Qt Champion


    You should have a look at the QtMultimedia module for that.

    Hope it helps

  • HI,
    finally i found qt-gstreamer to stream video.
    In x86 i could able to record video from usb-camera.
    how can i stream video using qt-gstreamer.

    for arm board i am facing problems in gstreamer plugins....for recording also.

  • Lifetime Qt Champion

    What problem ?

  • root@Wega-AM335x:~:$ ./recorder -qws

    (recorder:749): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed

    ** (recorder:749): CRITICAL **: No headers or buffers on pad oggmux0:sink_1538339170

    I am not able to stop the video. when i give ctrl+c. the file is empty file without any data.

    And when i am playing the player

    In terminal

    root@Wega-AM335x:~:$ ./player -qws
    start: could not open overlay

    In lcd
    video is palying but i cant see the video.

    I am saying video is playing because playing time is moving. I could able to forward the video playing time . But i cant see the video.

  • Lifetime Qt Champion

    You should contact the original author of Qt-GStreamer

Log in to reply