[bug PyQt 5.15.2] segmentation fault using QVideoFilterRunnable
Phil Thompson
phil at riverbankcomputing.com
Wed Feb 10 22:09:52 GMT 2021
On 10/02/2021 17:53, Adrian Fiergolski wrote:
> On 10.02.2021 18:35, Phil Thompson wrote:
>> On 10/02/2021 16:30, Adrian Fiergolski wrote:
>>> Hi,
>>>
>>> I am getting segmentation fault using QVideoFilterRunnable. I try to
>>> follow the example from the documentation.
>>>
>>> I am enclosing the testcase and the log from the debugger (gdb).
>>>
>>> My setup: yocto (with meta-qt5 gatesgarth, PyQt 5.15.2) running on
>>> Cortex A-53, kernel 5.4).
>>>
>>> I got the same issue with PyQt 5.13.2 on my embedded platform. The
>>> problem is reproducible on a PC (running Ubuntu 20.04 with installed
>>> qt5-default and pyqt5-dev).
>>>
>>> Once the filter is commented out (case.qml:17), everything runs
>>> smoothly.
>>>
>>> Do you know any workaround for that? I need to process data from a
>>> camera in OpenCV (I wanted to do it the QVideoFilterRunnable:run) and
>>> paint the resulting processed frame.
>>
>> I suspect that this needs hard-coded support for QVideoFilterRunnable
>> in the same way that PyQt supports QValidator in QML.
>>
>> There is no workaround that I'm aware of.
>
> Hi Phil,
>
> Thank you for your reply. I am new to Qt. Could you elaborate on your
> answer?
I'm not sure what you mean - PyQt would need to be enhanced to support
this particular use case.
Phil
More information about the PyQt
mailing list