Important: Please read the Qt Code of Conduct -

Video app for a specific driver (linux)

  • Hi all,

    I am currently developping a camera driver under linux/Ubuntu, as a school project. This driver does'nt incorporate the linux video framework or other video drivers, it works alone and by itself.
    As for now, I have an appplication that can open the driver, action the camera's motors, take pictures, etc.

    I am really new to Qt but from what I read it could be an easy solution to my problem. Altough, I am having a hard time figuring out where to start.

    Here is what I want to do,
    I would like to be able to stream video (or continuously display frames took from the camera) into an application. So in other words I would like my camera to act like a camera.
    I have looked the video classes in QtMultimedia 5.3 but I think, correct me if I am wrong, that these classes use the underlying linux video framework.

    Finally, I would like to have an opinion on what could or should I use for my need.

    Thank you

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    IIRC, QtMultimedia used either v4l or gstreamer. Since you implemented your own driver outside any standard, you'll have to write your own backend for QtMultimedia. There's no real guide for that, however the other backends are well written, you can take some inspiration there.

    Hope it helps

Log in to reply