Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

reading QCamera received 0x0 bits why?



  • This post is deleted!


  • I wouldn't worry about the informative messages, just run the code inside debugger to see where it fails. (Perhaps you know it from the debug() messages, but don't tell.)

    I don't know what pixelFormats Android manages nowadays, but QVideoFrame::Format_NV21 should usually work (works on my phones), so it is at least good to add to the list.

    And perhaps capturing QCamera's errors might provide information.



  • I wouldn't worry about the informative messages, just run the code inside debugger to see where it fails. (Perhaps you know it from the debug() messages, but don't tell.)

    I don't know what pixelFormats Android manages nowadays, but QVideoFrame::Format_NV21 should usually work (works on my phones), so it is at least good to add to the list.

    And perhaps capturing QCamera's errors might provide information.



  • This post is deleted!


  • @mvuori
    using NV_21 format still the same problem but prove the correctness of supporting the NV_21 pixel format


Log in to reply