How to play -ve resolutions using Qcamera



  • My video device has a resolution of ( 1920 x -1080p ).
    How do I play it from QT camera Application (QCamera class)?

    Qt Camera Application actually plays it but the preview is not available.
    How do I preview in QT for a resolution of ( 1920 x -1080p ) using camera example.

    If this can't be done by camera example, what else would be the ideal way?


  • Lifetime Qt Champion

    Hi,

    What video device are you talking about ?
    On what OS ?
    Which version of Qt ?
    Do you get any message on the console when running the camera example ?



  • @SGaist
    Thanks for the reply!

    My device is the Media driver (Directshow) where I am simulating data.
    OS : Windows 10
    QT Version : 5.9.2

    I get the following messages for the both the resolutions (1920 x 1080) and (1920 x -1080)
    "Failed to get the video control"
    "Failed to find the video proc amp"

    But, when the resolution is (1920 x 1080) my data is streaming and also a preview is available in the QT camera example.

    when the resolution is (1920 x -1080) my data is streaming but there is no preview available in the QT camera example.
    When I select the device in the camera example it starts playing but there is no preview of the data.

    I hope you get my problem statement.


  • Lifetime Qt Champion

    I didn't realise: -1080p ? What that's minus sign doing there ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.