Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

Sony RX 100 V not working with Camera and VideoOutput. QtMultimedia 5.12



  • Hello Everyone,

    I am trying to include Sony RX 100 V as Webcam into my QML application. The code is really simple:

        VideoOutput {
            id: videoOutput
            anchors.fill: parent
            source: camera
    
            Camera {
                id: camera
                deviceId: camId
            }
        }
    

    I am currently building on MacOS with 5.13.2 clang. The integrated webcam in my laptop is working fine. If I plug in the Sony RX 100 V it can be found but, the screen is empty. Here is the output:

    .....
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230441] LvdlClient	LiveView Updated. Dur 35.277000 ms
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230441] LvdlClient	FillBuffer
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230441] LvdlClient	Create Send Buffer.
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230441] LvdlClient	Get LiveView Size: 82048
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230442] LvdlClient	Perse Data
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230442] LvdlClient	Recieve Ack.
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230442] LvdlClient	Send Image Buffer. Size: 82048
    2020-12-21 09:04:25.619 ImagingEdgeWebcam[3214:230442] LvdlClient	WriteToPipe
    2020-12-21 09:04:25.619 GolfScan[3204:230437] LvdlServer	Read Body.
    2020-12-21 09:04:25.619 GolfScan[3204:230437] LvdlServer	ReadFromPipe
    2020-12-21 09:04:25.620 ImagingEdgeWebcam[3214:230442] LvdlClient	Wait Event.
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	Parse Data.
    2020-12-21 09:04:25.620 ImagingEdgeWebcam[3214:230442] LvdlClient	Read Header.
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	ImageMarkerProc
    2020-12-21 09:04:25.620 ImagingEdgeWebcam[3214:230442] LvdlClient	ReadFromPipe
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	Recv Image Size: 82048
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	SetBuffer
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	GetBmpBuff
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	Finish GetBmpBuff
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	DecompressJpeg
    2020-12-21 09:04:25.620 GolfScan[3204:230437] LvdlServer	Create Decompress
    2020-12-21 09:04:25.621 GolfScan[3204:230437] LvdlServer	Jpeg Read Header
    2020-12-21 09:04:25.621 GolfScan[3204:230437] LvdlServer	offset top: -52, offset bot: -52
    2020-12-21 09:04:25.621 GolfScan[3204:230437] LvdlServer	offset lef: 0, offset rig: 0
    2020-12-21 09:04:25.621 GolfScan[3204:230437] LvdlServer	Start Decompress.
    2020-12-21 09:04:25.621 GolfScan[3204:230437] LvdlServer	Read Offset
    2020-12-21 09:04:25.621 GolfScan[3204:230437] LvdlServer	Jpeg Scanlines
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	Finish Decompress
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	Destroy Decompress
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	Finish SetBuffer
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	LoopTime: 36.732000
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	Send Ack
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	WriteToPipe
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	GetBuffer.
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	Read Header.
    2020-12-21 09:04:25.625 GolfScan[3204:230437] LvdlServer	ReadFromPipe
    2020-12-21 09:04:25.644 GolfScan[3204:230315] LvdlServer	-[Stream fillFrame]
    2020-12-21 09:04:25.644 GolfScan[3204:230315] LvdlServer	Copy Buffer.
    2020-12-21 09:04:25.653 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectHasProperty Device(33) kCMIODevicePropertyStreams self=0x118a13710 hasProperty=1
    2020-12-21 09:04:25.653 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectGetPropertyDataSize Device(33) kCMIODevicePropertyStreams self=0x118a13710 size=4
    2020-12-21 09:04:25.653 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectHasProperty Device(33) kCMIODevicePropertyStreams self=0x118a13710 hasProperty=1
    2020-12-21 09:04:25.653 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectGetPropertyDataSize Device(33) kCMIODevicePropertyStreams self=0x118a13710 size=4
    2020-12-21 09:04:25.653 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectHasProperty Device(33) kCMIODevicePropertyStreams self=0x118a13710 hasProperty=1
    2020-12-21 09:04:25.653 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectGetPropertyData Device(33) kCMIODevicePropertyStreams self=0x118a13710 data(int)=34
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230441] LvdlClient	LiveView Updated. Dur 39.875000 ms
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230441] LvdlClient	FillBuffer
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230441] LvdlClient	Create Send Buffer.
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230441] LvdlClient	Get LiveView Size: 81664
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230442] LvdlClient	Perse Data
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230442] LvdlClient	Recieve Ack.
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230442] LvdlClient	Send Image Buffer. Size: 81664
    2020-12-21 09:04:25.659 ImagingEdgeWebcam[3214:230442] LvdlClient	WriteToPipe
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	Read Body.
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	ReadFromPipe
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	Parse Data.
    2020-12-21 09:04:25.660 ImagingEdgeWebcam[3214:230442] LvdlClient	Wait Event.
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	ImageMarkerProc
    2020-12-21 09:04:25.660 ImagingEdgeWebcam[3214:230442] LvdlClient	Read Header.
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	Recv Image Size: 81664
    2020-12-21 09:04:25.660 ImagingEdgeWebcam[3214:230442] LvdlClient	ReadFromPipe
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	SetBuffer
    2020-12-21 09:04:25.660 GolfScan[3204:230437] LvdlServer	GetBmpBuff
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	Finish GetBmpBuff
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	DecompressJpeg
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	Create Decompress
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	Jpeg Read Header
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	offset top: -52, offset bot: -52
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	offset lef: 0, offset rig: 0
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	Start Decompress.
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	Read Offset
    2020-12-21 09:04:25.661 GolfScan[3204:230437] LvdlServer	Jpeg Scanlines
    2020-12-21 09:04:25.666 GolfScan[3204:230437] LvdlServer	Finish Decompress
    2020-12-21 09:04:25.666 GolfScan[3204:230437] LvdlServer	Destroy Decompress
    2020-12-21 09:04:25.666 GolfScan[3204:230437] LvdlServer	Finish SetBuffer
    2020-12-21 09:04:25.666 GolfScan[3204:230437] LvdlServer	LoopTime: 41.483000
    2020-12-21 09:04:25.666 GolfScan[3204:230437] LvdlServer	Send Ack
    2020-12-21 09:04:25.666 GolfScan[3204:230437] LvdlServer	WriteToPipe
    2020-12-21 09:04:25.667 GolfScan[3204:230437] LvdlServer	GetBuffer.
    2020-12-21 09:04:25.667 GolfScan[3204:230437] LvdlServer	Read Header.
    2020-12-21 09:04:25.667 GolfScan[3204:230437] LvdlServer	ReadFromPipe
    2020-12-21 09:04:25.677 GolfScan[3204:230315] LvdlServer	-[Stream fillFrame]
    2020-12-21 09:04:25.677 GolfScan[3204:230315] LvdlServer	Copy Buffer.
    2020-12-21 09:04:25.686 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectHasProperty Device(33) kCMIODevicePropertyStreams self=0x118a13710 hasProperty=1
    2020-12-21 09:04:25.686 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectGetPropertyDataSize Device(33) kCMIODevicePropertyStreams self=0x118a13710 size=4
    2020-12-21 09:04:25.686 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectHasProperty Device(33) kCMIODevicePropertyStreams self=0x118a13710 hasProperty=1
    2020-12-21 09:04:25.686 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectGetPropertyDataSize Device(33) kCMIODevicePropertyStreams self=0x118a13710 size=4
    2020-12-21 09:04:25.686 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectHasProperty Device(33) kCMIODevicePropertyStreams self=0x118a13710 hasProperty=1
    2020-12-21 09:04:25.686 GolfScan[3204:230436] CMIOMS: HardwarePlugIn_ObjectGetPropertyData Device(33) kCMIODevicePropertyStreams self=0x118a13710 data(int)=34
    .......
    

    What is wrong? Does someone have experience?

    Thank you very much!

    David


Log in to reply