Code Monkey home page Code Monkey logo

plotbitrate's People

Contributors

ccoenen avatar cubicibo avatar jamesgkent avatar pszemus avatar rezun avatar silverwingedhawk avatar vinhtq115 avatar zeroepoch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plotbitrate's Issues

TypeError float argument

I'm new to python, but I thought I'd give your script a try. Using the basic command "plotbitrate.py Wildlife.mwv" gives an error in line 151 frame_time = float(node.get('pkt_pts_time')) which says TypeError: float() argument must be a string or a number, not 'NoneType'.

I have the latest Zeranoe build (x64 Windows 7) of ffmpeg in my path. FFprobe seems to read the default video file without problems, but I have no experience with processing xml. Is this a problem with my video source, ffprobe or the python script? Using python 3.5.

Matplotlib deprecation.

MatplotlibDeprecationWarning: 
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use manager.set_window_title or GUI-specific methods instead.
  matplot.figure(figsize=[10, 4]).canvas.set_window_title(window_title)```

Frames without timestamp cause crash

Hi,
I have recently encountered a stream with some images that have no timestamp.

Example:
<frame media_type="video" stream_index="3" key_frame="1" pkt_size="23754" width="600" height="882" pix_fmt="yuvj444p" pict_type="I" coded_picture_number="0" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="pc" color_space="bt470bg" chroma_location="center"/>
This happens when frames are attached:
screenshot_20171029_143818

According to ffmpeg docs you need to use "V" as stream option instead of "v" from the current "video" option to ignore attachments.
This fixes the problem

Thank you

force same bitrate scale

Hi!
I wonder if it would be possible to force a scale for the bitrate?
In case one would look at different encodings of the same file this would help to compare the different bitrate distribution. At the moment the scale of the bitrate always adapts if there is a big change in the bitrate distribution.
Lets say if I would know the minimun and maximum from a first plot could I then add to the command line like -scalemin 0 -scalemax 60000?

Please consider it as a feature request, not like reporting an issue! :)

Warning: QT_DEVICE_PIXEL_RATIO is deprecated

I:\>plotbitrate "input.1080p.WEBRip.x265.10bit].mkv"
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
   QT_SCALE_FACTOR to set the application global scale factor.

What's this? Can you help me?
Thanks!

PS

  • Python 3.10.1
  • ffmpeg version N-105057-g68d0a7e446-20220103 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11.2.0 (crosstool-NG 1.24.0.498_5075e1f)
  • matplotlib: 3.5.1

Gettin xml.etree.ElementTree.ParseError

I get the same error no matter if I use the pip installer or if I use the plotbitrate.py directly:

python3 plotbitrate.py -f xml_raw -o frames.xml file.mp4
Traceback (most recent call last):
File "/home/.../plotbitrate.py", line 691, in
main()
File "/home/.../plotbitrate.py", line 637, in main
save_raw_xml(
File "/home/.../plotbitrate.py", line 274, in save_raw_xml
try_get_frame_time_from_node(eTree.fromstring(line))
File "/usr/lib/python3.10/xml/etree/ElementTree.py", line 1343, in XML
return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 2, column 0

Using Python 3.10.12 in Kubuntu 22.04.

"python3 plotbitrate.py file.mp4" and "python3 plotbitrate.py -f csv_raw -o frames.csv file.mp4" works fine.

AttributeError: 'module' object has no attribute 'which'

Hello,

I have to admit I am not familiar with Python.
I use Anacaonda distribution (Python Version: 2.7.9) on Windows 7 and placed your script in ffmpeg directory. When I try to use it I got this error:
[...]
n\plotbitrate.py", line 51, in
if not shutil.which("ffprobe"):
AttributeError: 'module' object has no attribute 'which'

Thanks a lot in advance for your help!!

[Request] Support unknown frames

Hi,
could you please consider support for unknown frames.
ffprobe spits them out as
pict_type="?"

It can happen for fairly new codecs, currently ffmpeg does not know the frame types of AV1 video for example.
Thanks

ability to specify `ffprobe` path

I don't have ffprobe on my path, I would like to be able to specify its location somehow. It would be ok as a parameter or an environment variable or a config file. I think this would also be useful in cases where people keep different versions of ffmpeg around.

Size mismatch between sum of "pkt_size" values and size in XML output

Hello!
I am not sure whether this is a bug, maybe there is a point that I am not realized of. I generated the following XML file according to my video input.

ss

In the format tag, it shows the total size as 207124356 Bytes. However, my script calculates the sum of all "pkt_size" values as 207070641 Bytes. Can I ask you the reason for this difference? Am I missing something?
Thanks!

Cannot install under macOS

I am running into a lot of errors attempting to install this under macOS 12.1 running on an M1 Mac with Python 3.9.

It first attempts to download various versions of PyQT, then fails with:

lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/sip/QtCore/qtextcodec.sip:26:10: fatal error: 'qtextcodec.h' file not found
    #include <qtextcodec.h>
             ^~~~~~~~~~~~~~
    1 error generated.
    make[1]: *** [sipQtCorecmodule.o] Error 1
    make: *** [sub-QtCore-make_first-ordered] Error 2

It then goes on to attempt to install even more versions, finally fails at:

    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest__QOpenGLFunctions_4_1_Core.o cfgtest__QOpenGLFunctions_4_1_Core.cpp
    cfgtest__QOpenGLFunctions_4_1_Core.cpp:1:10: fatal error: 'qopenglfunctions_4_1_core.h' file not found
    #include <qopenglfunctions_4_1_core.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    make: *** [cfgtest__QOpenGLFunctions_4_1_Core.o] Error 1
    Checking to see if the dbus-python support should be built...
    The dbus-python package does not seem to be installed.
    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
        main()
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-o6wkygce/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-o6wkygce/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-o6wkygce/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 501, in setup
        self.verify_configuration(tool)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-o6wkygce/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 582, in verify_configuration
        self.abi_version = resolve_abi_version(self.abi_version)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-o6wkygce/overlay/lib/python3.9/site-packages/sipbuild/module/abi_version.py", line 74, in resolve_abi_version
        raise UserException(
    sipbuild.exceptions.UserException
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz#sha256=2f230f2dbd767099de7a0cb915abdf0cbc3256a0b5bb910eb09b99117db7a65b (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmpkl1mutmw Check the logs for full command output.
  Downloading PyQt5-5.14.0.tar.gz (3.2 MB)
     |████████████████████████████████| 3.2 MB 10.6 MB/s
ERROR: pyqt5 from https://files.pythonhosted.org/packages/7c/5b/e760ec4f868cb77cee45b4554bf15d3fe6972176e89c4e3faac941213694/PyQt5-5.14.0.tar.gz#sha256=0145a6b7de15756366decb736c349a0cb510d706c83fda5b8cd9e0557bc1da72 (from plotbitrate) has a pyproject.toml file that does not comply with PEP 518: 'build-system.requires' contains an invalid requirement: 'sip >=5.0.1 <6

This is using Python 3.9.7 installed via pyenv.

Here is the entire installation log:

➜ pip install plotbitrate


Collecting plotbitrate
  Downloading plotbitrate-1.0.8.0-py3-none-any.whl (11 kB)
Collecting pyqt5
  Downloading PyQt5-5.15.6.tar.gz (3.2 MB)
     |████████████████████████████████| 3.2 MB 5.9 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmpugmofuao
         cwd: /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_cdd09e638b644c5481d6c664fe356d85
    Complete output (24 lines):
    Querying qmake about your Qt installation...
    /opt/homebrew/bin/qmake -query
    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
        main()
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-k3etkmeg/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-k3etkmeg/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-k3etkmeg/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 603, in setup
        self.update(tool)
      File "project.py", line 160, in update
    sipbuild.exceptions.UserException
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3b/27/fd81188a35f37be9b3b4c2db1654d9439d1418823916fe702ac3658c9c41/PyQt5-5.15.6.tar.gz#sha256=80343bcab95ffba619f2ed2467fd828ffeb0a251ad7225be5fc06dcc333af452 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmpugmofuao Check the logs for full command output.
  Downloading PyQt5-5.15.5.tar.gz (3.2 MB)
     |████████████████████████████████| 3.2 MB 11.8 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmpwlyapvjy
         cwd: /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_76f6a19fbe7949b486f349e795432de4
    Complete output (24 lines):
    Querying qmake about your Qt installation...
    /opt/homebrew/bin/qmake -query
    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
        main()
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-dz3v4cl6/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-dz3v4cl6/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-dz3v4cl6/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 603, in setup
        self.update(tool)
      File "project.py", line 160, in update
    sipbuild.exceptions.UserException
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/72/bf/4e7c66eefa9ede1ec01d065d220373667f4ca3285a83a6430eefc254904c/PyQt5-5.15.5.tar.gz#sha256=b411b7a8fa03901c9feb1dcbac7ea1fc3ce20b9ae682762b777cd5398749ca2b (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmpwlyapvjy Check the logs for full command output.
  Downloading PyQt5-5.15.4.tar.gz (3.3 MB)
     |████████████████████████████████| 3.3 MB 8.6 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp6tbr1k_n
         cwd: /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_bffae6f7cce84a74b9473bc037ba95b1
    Complete output (24 lines):
    Querying qmake about your Qt installation...
    /opt/homebrew/bin/qmake -query
    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
        main()
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-w4wqcpgf/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-w4wqcpgf/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-w4wqcpgf/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 603, in setup
        self.update(tool)
      File "project.py", line 160, in update
    sipbuild.exceptions.UserException
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8e/a4/d5e4bf99dd50134c88b95e926d7b81aad2473b47fde5e3e4eac2c69a8942/PyQt5-5.15.4.tar.gz#sha256=2a69597e0dd11caabe75fae133feca66387819fc9bc050f547e5551bce97e5be (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp6tbr1k_n Check the logs for full command output.
  Downloading PyQt5-5.15.3.tar.gz (3.3 MB)
     |████████████████████████████████| 3.3 MB 9.2 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp23nvl756
         cwd: /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_83189bcec57a461eaae0994cae48cce6
    Complete output (24 lines):
    Querying qmake about your Qt installation...
    /opt/homebrew/bin/qmake -query
    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
        main()
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-ljsc4oym/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-ljsc4oym/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-ljsc4oym/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 603, in setup
        self.update(tool)
      File "project.py", line 160, in update
    sipbuild.exceptions.UserException
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6e/86/d715e71771cece0e060f2ebab20f3ded067b08a0927dfb3143530cae8098/PyQt5-5.15.3.tar.gz#sha256=965ba50e7029b37f218a54ace24e87c77db3e5a9f0b83baeb21fb57b4154b838 (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.6). Command errored out with exit status 1: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp23nvl756 Check the logs for full command output.
  Downloading PyQt5-5.15.2.tar.gz (3.3 MB)
     |████████████████████████████████| 3.3 MB 9.6 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp4l5l_m41
         cwd: /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_f3446c0665484c1ca898d68d56a511de
    Complete output (24 lines):
    Querying qmake about your Qt installation...
    /opt/homebrew/bin/qmake -query
    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
        main()
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-3k_ss6km/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-3k_ss6km/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-build-env-3k_ss6km/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 603, in setup
        self.update(tool)
      File "project.py", line 160, in update
    sipbuild.exceptions.UserException
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/28/6c/640e3f5c734c296a7193079a86842a789edb7988dca39eab44579088a1d1/PyQt5-5.15.2.tar.gz#sha256=372b08dc9321d1201e4690182697c5e7ffb2e0770e6b4a45519025134b12e4fc (from https://pypi.org/simple/pyqt5/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp4l5l_m41 Check the logs for full command output.
  Downloading PyQt5-5.15.1.tar.gz (3.3 MB)
     |████████████████████████████████| 3.3 MB 6.1 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/werner/.pyenv/versions/3.9.7/bin/python3.9 /Users/werner/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmpay6h_hxa
         cwd: /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f
    Complete output (383 lines):
    Querying qmake about your Qt installation...
    /opt/homebrew/bin/qmake -query
    This is the GPL version of PyQt 5.15.1 (licensed under the GNU General Public License) for Python 3.9.7 on darwin.
    Found the license file 'pyqt-gpl.sip'.
    Checking to see if the QtCore bindings can be built...
    /opt/homebrew/bin/qmake QtCore.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtCore/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtCore -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtCore.o ../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/config-tests/cfgtest_QtCore.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtCore.app/Contents/MacOS/QtCore cfgtest_QtCore.o   -F/opt/homebrew/lib -framework QtCore -framework DiskArbitration -framework IOKit
    /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtCore/QtCore.app/Contents/MacOS/QtCore /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtCore/cfgtest_QtCore.out
    Checking to see if the QtNetwork bindings can be built...
    /opt/homebrew/bin/qmake QtNetwork.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtNetwork/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtNetwork.o ../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/config-tests/cfgtest_QtNetwork.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtNetwork.app/Contents/MacOS/QtNetwork cfgtest_QtNetwork.o   -F/opt/homebrew/lib -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit
    /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtNetwork/QtNetwork.app/Contents/MacOS/QtNetwork /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtNetwork/cfgtest_QtNetwork.out
    Checking to see if the QtGui bindings can be built...
    /opt/homebrew/bin/qmake QtGui.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtGui/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtGui -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtGui.o ../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/config-tests/cfgtest_QtGui.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtGui.app/Contents/MacOS/QtGui cfgtest_QtGui.o   -F/opt/homebrew/lib -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtGui/QtGui.app/Contents/MacOS/QtGui /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtGui/cfgtest_QtGui.out
    Checking to see if the QtWidgets bindings can be built...
    /opt/homebrew/bin/qmake QtWidgets.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtWidgets/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtWidgets -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtWidgets.o cfgtest_QtWidgets.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtWidgets.app/Contents/MacOS/QtWidgets cfgtest_QtWidgets.o   -F/opt/homebrew/lib -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtQml bindings can be built...
    /opt/homebrew/bin/qmake QtQml.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtQml/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtQml -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtQml.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtQml.o cfgtest_QtQml.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtQml.app/Contents/MacOS/QtQml cfgtest_QtQml.o   -F/opt/homebrew/lib -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QAxContainer bindings can be built...
    /opt/homebrew/bin/qmake QAxContainer.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QAxContainer/.qmake.stash
    Project ERROR: Unknown module(s) in QT: axcontainer
    Checking to see if the QtAndroidExtras bindings can be built...
    /opt/homebrew/bin/qmake QtAndroidExtras.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtAndroidExtras/.qmake.stash
    Project ERROR: Unknown module(s) in QT: androidextras
    Checking to see if the QtBluetooth bindings can be built...
    /opt/homebrew/bin/qmake QtBluetooth.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtBluetooth/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtBluetooth.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtBluetooth.o cfgtest_QtBluetooth.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtBluetooth.app/Contents/MacOS/QtBluetooth cfgtest_QtBluetooth.o   -F/opt/homebrew/lib -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtBluetooth -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtDBus bindings can be built...
    /opt/homebrew/bin/qmake QtDBus.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtDBus/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtDBus -I/opt/homebrew/lib/QtDBus.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtDBus.o cfgtest_QtDBus.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtDBus.app/Contents/MacOS/QtDBus cfgtest_QtDBus.o   -F/opt/homebrew/lib -framework QtDBus -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtDesigner bindings can be built...
    /opt/homebrew/bin/qmake QtDesigner.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtDesigner/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_OPENGLWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtDesigner -I/opt/homebrew/lib/QtDesigner.framework/Headers -I/opt/homebrew/include -I/opt/homebrew/include/QtUiPlugin -I/opt/homebrew/lib/QtOpenGLWidgets.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtOpenGL.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtXml.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtDesigner.o cfgtest_QtDesigner.cpp
    In file included from cfgtest_QtDesigner.cpp:2:
    /opt/homebrew/lib/QtDesigner.framework/Headers/customwidget.h:4:4: warning: Header <QtDesigner/customwidget.h> is deprecated. Please include <QtUiPlugin/customwidget.h> instead. [-W#warnings]
    #  warning Header <QtDesigner/customwidget.h> is deprecated. Please include <QtUiPlugin/customwidget.h> instead.
       ^
    1 warning generated.
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtDesigner.app/Contents/MacOS/QtDesigner cfgtest_QtDesigner.o   -F/opt/homebrew/lib -framework QtDesigner -framework QtOpenGLWidgets -framework QtWidgets -framework QtOpenGL -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtXml -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the Enginio bindings can be built...
    /opt/homebrew/bin/qmake Enginio.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_Enginio/.qmake.stash
    Project ERROR: Unknown module(s) in QT: enginio
    Checking to see if the QtHelp bindings can be built...
    /opt/homebrew/bin/qmake QtHelp.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtHelp/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtHelp.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtSql.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtHelp.o cfgtest_QtHelp.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtHelp.app/Contents/MacOS/QtHelp cfgtest_QtHelp.o   -F/opt/homebrew/lib -framework QtHelp -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtSql -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtMacExtras bindings can be built...
    /opt/homebrew/bin/qmake QtMacExtras.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtMacExtras/.qmake.stash
    Project ERROR: Unknown module(s) in QT: macextras
    Checking to see if the QtMultimedia bindings can be built...
    /opt/homebrew/bin/qmake QtMultimedia.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtMultimedia/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtMultimedia.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtMultimedia.o cfgtest_QtMultimedia.cpp
    cfgtest_QtMultimedia.cpp:1:10: fatal error: 'QAudioDeviceInfo' file not found
    #include <QAudioDeviceInfo>
             ^~~~~~~~~~~~~~~~~~
    1 error generated.
    make: *** [cfgtest_QtMultimedia.o] Error 1
    Checking to see if the QtMultimediaWidgets bindings can be built...
    /opt/homebrew/bin/qmake QtMultimediaWidgets.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtMultimediaWidgets/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtMultimediaWidgets.framework/Headers -I/opt/homebrew/lib/QtMultimedia.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtMultimediaWidgets.o cfgtest_QtMultimediaWidgets.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtMultimediaWidgets.app/Contents/MacOS/QtMultimediaWidgets cfgtest_QtMultimediaWidgets.o   -F/opt/homebrew/lib -framework QtMultimediaWidgets -framework QtMultimedia -framework AudioToolbox -framework CoreAudio -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework Foundation -framework QuartzCore -framework VideoToolbox -framework ApplicationServices -framework AudioUnit -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework AVFoundation -framework AGL -framework OpenGL
    Checking to see if the QtNetworkAuth bindings can be built...
    /opt/homebrew/bin/qmake QtNetworkAuth.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtNetworkAuth/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NETWORKAUTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtNetworkAuth.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtNetworkAuth.o cfgtest_QtNetworkAuth.cpp
    cfgtest_QtNetworkAuth.cpp:5:17: warning: unused variable 'v' [-Wunused-variable]
        const char *v = QTNETWORKAUTH_VERSION_STR;
                    ^
    1 warning generated.
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtNetworkAuth.app/Contents/MacOS/QtNetworkAuth cfgtest_QtNetworkAuth.o   -F/opt/homebrew/lib -framework QtNetworkAuth -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtNfc bindings can be built...
    /opt/homebrew/bin/qmake QtNfc.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtNfc/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NFC_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtNfc.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtNfc.o cfgtest_QtNfc.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtNfc.app/Contents/MacOS/QtNfc cfgtest_QtNfc.o   -F/opt/homebrew/lib -framework QtNfc -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtOpenGL bindings can be built...
    /opt/homebrew/bin/qmake QtOpenGL.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtOpenGL/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtOpenGL.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtOpenGL.o cfgtest_QtOpenGL.cpp
    cfgtest_QtOpenGL.cpp:1:10: fatal error: 'qgl.h' file not found
    #include <qgl.h>
             ^~~~~~~
    1 error generated.
    make: *** [cfgtest_QtOpenGL.o] Error 1
    Checking to see if the QtPositioning bindings can be built...
    /opt/homebrew/bin/qmake QtPositioning.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtPositioning/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtPositioning.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtPositioning.o cfgtest_QtPositioning.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtPositioning.app/Contents/MacOS/QtPositioning cfgtest_QtPositioning.o   -F/opt/homebrew/lib -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtPositioning -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtLocation bindings can be built...
    /opt/homebrew/bin/qmake QtLocation.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtLocation/.qmake.stash
    Project ERROR: Unknown module(s) in QT: location
    Checking to see if the QtPrintSupport bindings can be built...
    /opt/homebrew/bin/qmake QtPrintSupport.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtPrintSupport/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtPrintSupport.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtPrintSupport.o ../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/config-tests/cfgtest_QtPrintSupport.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtPrintSupport.app/Contents/MacOS/QtPrintSupport cfgtest_QtPrintSupport.o   -F/opt/homebrew/lib -framework QtPrintSupport -framework ApplicationServices -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtCore -framework DiskArbitration -framework IOKit -lcups -framework AGL -framework OpenGL
    /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtPrintSupport/QtPrintSupport.app/Contents/MacOS/QtPrintSupport /var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtPrintSupport/cfgtest_QtPrintSupport.out
    Checking to see if the QtQuick bindings can be built...
    /opt/homebrew/bin/qmake QtQuick.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtQuick/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtQuick -I/opt/homebrew/lib/QtQuick.framework/Headers -I/opt/homebrew/lib/QtOpenGL.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtQmlModels.framework/Headers -I/opt/homebrew/lib/QtQml.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtQuick.o cfgtest_QtQuick.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtQuick.app/Contents/MacOS/QtQuick cfgtest_QtQuick.o   -F/opt/homebrew/lib -framework QtQuick -framework QtOpenGL -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtQmlModels -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtQuick3D bindings can be built...
    /opt/homebrew/bin/qmake QtQuick3D.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtQuick3D/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_QUICK3D_LIB -DQT_QUICK3DRUNTIMERENDER_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_QUICK3DUTILS_LIB -DQT_SHADERTOOLS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtQuick3D.framework/Headers -I/opt/homebrew/lib/QtQuick3DRuntimeRender.framework/Headers -I/opt/homebrew/lib/QtQuick.framework/Headers -I/opt/homebrew/lib/QtOpenGL.framework/Headers -I/opt/homebrew/lib/QtQuick3DUtils.framework/Headers -I/opt/homebrew/lib/QtShaderTools.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtQmlModels.framework/Headers -I/opt/homebrew/lib/QtQml.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtQuick3D.o cfgtest_QtQuick3D.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtQuick3D.app/Contents/MacOS/QtQuick3D cfgtest_QtQuick3D.o   -F/opt/homebrew/lib -framework QtQuick3D -framework QtQuick3DRuntimeRender -framework QtQuick -framework QtOpenGL -framework QtQuick3DUtils -framework QtShaderTools -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtQmlModels -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtQuickWidgets bindings can be built...
    /opt/homebrew/bin/qmake QtQuickWidgets.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtQuickWidgets/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtQuickWidgets.framework/Headers -I/opt/homebrew/lib/QtQuick.framework/Headers -I/opt/homebrew/lib/QtOpenGL.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtQmlModels.framework/Headers -I/opt/homebrew/lib/QtQml.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtQuickWidgets.o cfgtest_QtQuickWidgets.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtQuickWidgets.app/Contents/MacOS/QtQuickWidgets cfgtest_QtQuickWidgets.o   -F/opt/homebrew/lib -framework QtQuickWidgets -framework QtQuick -framework QtOpenGL -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtQmlModels -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtRemoteObjects bindings can be built...
    /opt/homebrew/bin/qmake QtRemoteObjects.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtRemoteObjects/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_REMOTEOBJECTS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtRemoteObjects.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtRemoteObjects.o cfgtest_QtRemoteObjects.cpp
    cfgtest_QtRemoteObjects.cpp:5:17: warning: unused variable 'v' [-Wunused-variable]
        const char *v = QTREMOTEOBJECTS_VERSION_STR;
                    ^
    1 warning generated.
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtRemoteObjects.app/Contents/MacOS/QtRemoteObjects cfgtest_QtRemoteObjects.o   -F/opt/homebrew/lib -framework QtRemoteObjects -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtSensors bindings can be built...
    /opt/homebrew/bin/qmake QtSensors.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtSensors/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_SENSORS_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtSensors.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtSensors.o cfgtest_QtSensors.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtSensors.app/Contents/MacOS/QtSensors cfgtest_QtSensors.o   -F/opt/homebrew/lib -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtSensors -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtSerialPort bindings can be built...
    /opt/homebrew/bin/qmake QtSerialPort.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtSerialPort/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtSerialPort.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtSerialPort.o cfgtest_QtSerialPort.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtSerialPort.app/Contents/MacOS/QtSerialPort cfgtest_QtSerialPort.o   -F/opt/homebrew/lib -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtSerialPort -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtSql bindings can be built...
    /opt/homebrew/bin/qmake QtSql.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtSql/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtSql.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtSql.o cfgtest_QtSql.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtSql.app/Contents/MacOS/QtSql cfgtest_QtSql.o   -F/opt/homebrew/lib -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtSql -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtSvg bindings can be built...
    /opt/homebrew/bin/qmake QtSvg.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtSvg/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtSvg.framework/Headers -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtSvg.o cfgtest_QtSvg.cpp
    cfgtest_QtSvg.cpp:1:10: fatal error: 'qsvgwidget.h' file not found
    #include <qsvgwidget.h>
             ^~~~~~~~~~~~~~
    1 error generated.
    make: *** [cfgtest_QtSvg.o] Error 1
    Checking to see if the QtTest bindings can be built...
    /opt/homebrew/bin/qmake QtTest.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtTest/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtTest"' -I. -I/opt/homebrew/lib/QtWidgets.framework/Headers -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtTest.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtTest.o cfgtest_QtTest.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtTest.app/Contents/MacOS/QtTest cfgtest_QtTest.o   -F/opt/homebrew/lib -framework QtWidgets -framework QtGui -framework ImageIO -framework Metal -framework QtTest -framework Security -framework AppKit -framework ApplicationServices -framework Foundation -framework QtCore -framework DiskArbitration -framework IOKit -framework AGL -framework OpenGL
    Checking to see if the QtTextToSpeech bindings can be built...
    /opt/homebrew/bin/qmake QtTextToSpeech.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtTextToSpeech/.qmake.stash
    Project ERROR: Unknown module(s) in QT: texttospeech
    Checking to see if the QtWebChannel bindings can be built...
    /opt/homebrew/bin/qmake QtWebChannel.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtWebChannel/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtWebChannel.framework/Headers -I/opt/homebrew/lib/QtQml.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtWebChannel.o cfgtest_QtWebChannel.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtWebChannel.app/Contents/MacOS/QtWebChannel cfgtest_QtWebChannel.o   -F/opt/homebrew/lib -framework QtWebChannel -framework QtQml -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtWebKit bindings can be built...
    /opt/homebrew/bin/qmake QtWebKit.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtWebKit/.qmake.stash
    Project ERROR: Unknown module(s) in QT: webkit
    Checking to see if the QtWebKitWidgets bindings can be built...
    /opt/homebrew/bin/qmake QtWebKitWidgets.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtWebKitWidgets/.qmake.stash
    Project ERROR: Unknown module(s) in QT: webkitwidgets
    Checking to see if the QtWebSockets bindings can be built...
    /opt/homebrew/bin/qmake QtWebSockets.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtWebSockets/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtWebSockets.framework/Headers -I/opt/homebrew/lib/QtNetwork.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtWebSockets.o cfgtest_QtWebSockets.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtWebSockets.app/Contents/MacOS/QtWebSockets cfgtest_QtWebSockets.o   -F/opt/homebrew/lib -framework QtWebSockets -framework QtNetwork -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtWinExtras bindings can be built...
    /opt/homebrew/bin/qmake QtWinExtras.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtWinExtras/.qmake.stash
    Project ERROR: Unknown module(s) in QT: winextras
    Checking to see if the QtX11Extras bindings can be built...
    /opt/homebrew/bin/qmake QtX11Extras.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtX11Extras/.qmake.stash
    Project ERROR: Unknown module(s) in QT: x11extras
    Checking to see if the QtXml bindings can be built...
    /opt/homebrew/bin/qmake QtXml.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtXml/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtXml.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest_QtXml.o cfgtest_QtXml.cpp
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib -o QtXml.app/Contents/MacOS/QtXml cfgtest_QtXml.o   -F/opt/homebrew/lib -framework QtXml -framework QtCore -framework DiskArbitration -framework IOKit
    Checking to see if the QtXmlPatterns bindings can be built...
    /opt/homebrew/bin/qmake QtXmlPatterns.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest_QtXmlPatterns/.qmake.stash
    Project ERROR: Unknown module(s) in QT: xmlpatterns
    Checking to see if the _QOpenGLFunctions_2_0 bindings can be built...
    /opt/homebrew/bin/qmake _QOpenGLFunctions_2_0.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest__QOpenGLFunctions_2_0/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest__QOpenGLFunctions_2_0.o cfgtest__QOpenGLFunctions_2_0.cpp
    cfgtest__QOpenGLFunctions_2_0.cpp:1:10: fatal error: 'qopenglfunctions_2_0.h' file not found
    #include <qopenglfunctions_2_0.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    make: *** [cfgtest__QOpenGLFunctions_2_0.o] Error 1
    Checking to see if the _QOpenGLFunctions_2_1 bindings can be built...
    /opt/homebrew/bin/qmake _QOpenGLFunctions_2_1.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest__QOpenGLFunctions_2_1/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest__QOpenGLFunctions_2_1.o cfgtest__QOpenGLFunctions_2_1.cpp
    cfgtest__QOpenGLFunctions_2_1.cpp:1:10: fatal error: 'qopenglfunctions_2_1.h' file not found
    #include <qopenglfunctions_2_1.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    make: *** [cfgtest__QOpenGLFunctions_2_1.o] Error 1
    Checking to see if the _QOpenGLFunctions_4_1_Core bindings can be built...
    /opt/homebrew/bin/qmake _QOpenGLFunctions_4_1_Core.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/cfgtest__QOpenGLFunctions_4_1_Core/.qmake.stash
    make
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/homebrew/lib/QtGui.framework/Headers -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o cfgtest__QOpenGLFunctions_4_1_Core.o cfgtest__QOpenGLFunctions_4_1_Core.cpp
    cfgtest__QOpenGLFunctions_4_1_Core.cpp:1:10: fatal error: 'qopenglfunctions_4_1_core.h' file not found
    #include <qopenglfunctions_4_1_core.h>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    make: *** [cfgtest__QOpenGLFunctions_4_1_Core.o] Error 1
    Checking to see if the dbus-python support should be built...
    The dbus-python package does not seem to be installed.
    These bindings will be built: Qt, QtCore, QtNetwork, QtGui, QtWidgets, QtQml, QtBluetooth, QtDBus, QtDesigner, QtHelp, QtMultimediaWidgets, QtNetworkAuth, QtNfc, QtPositioning, QtPrintSupport, QtQuick, QtQuick3D, QtQuickWidgets, QtRemoteObjects, QtSensors, QtSerialPort, QtSql, QtTest, QtWebChannel, QtWebSockets, QtXml, pylupdate, pyrcc.
    Generating the Qt bindings...
    Generating the QtCore bindings...
    Generating the QtNetwork bindings...
    Generating the QtGui bindings...
    Generating the QtWidgets bindings...
    Generating the QtQml bindings...
    Generating the QtBluetooth bindings...
    Generating the QtDBus bindings...
    Generating the QtDesigner bindings...
    Generating the QtHelp bindings...
    Generating the QtMultimediaWidgets bindings...
    Generating the QtNetworkAuth bindings...
    Generating the QtNfc bindings...
    Generating the QtPositioning bindings...
    Generating the QtPrintSupport bindings...
    Generating the QtQuick bindings...
    Generating the QtQuick3D bindings...
    Generating the QtQuickWidgets bindings...
    Generating the QtRemoteObjects bindings...
    Generating the QtSensors bindings...
    Generating the QtSerialPort bindings...
    Generating the QtSql bindings...
    Generating the QtTest bindings...
    Generating the QtWebChannel bindings...
    Generating the QtWebSockets bindings...
    Generating the QtXml bindings...
    Generating the pylupdate bindings...
    Generating the pyrcc bindings...
    Generating the .pro file for the Qt module...
    Generating the .pro file for the QtCore module...
    Generating the .pro file for the QtNetwork module...
    Generating the .pro file for the QtGui module...
    Generating the .pro file for the QtWidgets module...
    Generating the .pro file for the QtQml module...
    Generating the .pro file for the QtBluetooth module...
    Generating the .pro file for the QtDBus module...
    Generating the .pro file for the QtDesigner module...
    Generating the .pro file for the QtHelp module...
    Generating the .pro file for the QtMultimediaWidgets module...
    Generating the .pro file for the QtNetworkAuth module...
    Generating the .pro file for the QtNfc module...
    Generating the .pro file for the QtPositioning module...
    Generating the .pro file for the QtPrintSupport module...
    Generating the .pro file for the QtQuick module...
    Generating the .pro file for the QtQuick3D module...
    Generating the .pro file for the QtQuickWidgets module...
    Generating the .pro file for the QtRemoteObjects module...
    Generating the .pro file for the QtSensors module...
    Generating the .pro file for the QtSerialPort module...
    Generating the .pro file for the QtSql module...
    Generating the .pro file for the QtTest module...
    Generating the .pro file for the QtWebChannel module...
    Generating the .pro file for the QtWebSockets module...
    Generating the .pro file for the QtXml module...
    Generating the .pro file for the pylupdate module...
    Generating the .pro file for the pyrcc module...
    Generating the top-level .pro file...
    Generating the Makefiles...
    /opt/homebrew/bin/qmake -recursive PyQt5.pro
    Info: creating stash file /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/.qmake.stash
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/Qt/Qt.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtCore/QtCore.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtNetwork/QtNetwork.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtGui/QtGui.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtWidgets/QtWidgets.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtQml/QtQml.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtBluetooth/QtBluetooth.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtDBus/QtDBus.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtDesigner/QtDesigner.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtHelp/QtHelp.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtMultimediaWidgets/QtMultimediaWidgets.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtNetworkAuth/QtNetworkAuth.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtNfc/QtNfc.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtPositioning/QtPositioning.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtPrintSupport/QtPrintSupport.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtQuick/QtQuick.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtQuick3D/QtQuick3D.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtQuickWidgets/QtQuickWidgets.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtRemoteObjects/QtRemoteObjects.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtSensors/QtSensors.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtSerialPort/QtSerialPort.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtSql/QtSql.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtTest/QtTest.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtWebChannel/QtWebChannel.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtWebSockets/QtWebSockets.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtXml/QtXml.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/pylupdate/pylupdate.pro
    Reading /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/pyrcc/pyrcc.pro
    Compiling the project...
    make
    _in_process.py: 'make' failed returning 2
    cd Qt/ && ( test -e Makefile || /opt/homebrew/bin/qmake -o Makefile /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/Qt/Qt.pro ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile
    /Library/Developer/CommandLineTools/usr/bin/clang -c -pipe -O2  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -fno-exceptions -Wall -Wextra -fPIC -DPy_LIMITED_API=0x03040000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -I. -I. -I.. -I/Users/werner/.pyenv/versions/3.9.7/include/python3.9 -I/opt/homebrew/share/qt/mkspecs/macx-clang -o sipQtcmodule.o sipQtcmodule.c
    rm -f Qt
    /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -undefined dynamic_lookup -headerpad_max_install_names  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -bundle -o Qt sipQtcmodule.o
    mv -f Qt Qt.plugin/Contents/MacOS/Qt
    cp -f Qt.plugin/Contents/MacOS/Qt Qt.abi3.so
    cd QtCore/ && ( test -e Makefile || /opt/homebrew/bin/qmake -o Makefile /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/tmp29tyf3k6/QtCore/QtCore.pro ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile
    /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -fno-exceptions -Wall -Wextra -fPIC -DPy_LIMITED_API=0x03040000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -I.. -I../../pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/qpy/QtCore -I/Users/werner/.pyenv/versions/3.9.7/include/python3.9 -I/opt/homebrew/lib/QtCore.framework/Headers -I. -I/opt/homebrew/share/qt/mkspecs/macx-clang -F/opt/homebrew/lib -o sipQtCorecmodule.o sipQtCorecmodule.cpp
    /private/var/folders/3h/9h8lqbnx0p372m8qh7fpd1dh0000gn/T/pip-install-lamwofmw/pyqt5_ce31d08ed9cc4127a13e259c9bf04a4f/sip/QtCore/qtextcodec.sip:26:10: fatal error: 'qtextcodec.h' file not found
    #include <qtextcodec.h>
             ^~~~~~~~~~~~~~
    1 error generated.
    make[1]: *** [sipQtCorecmodule.o] Error 1
    make: *** [sub-QtCore-make_first-ordered] Error 2
    ----------------------------------------

Any idea what causes this?

Cannot plot for files that start at time != 0

some files such as transport stream may start at a time other than zero.
currently this tool correctly gets the duration, but because the iterator starts at t=0, the plot is always empty and shows peak and mean of 0 bitrate. this also means the calculation in the progress reporting is incorrect on these files.
Will open a pull request shortly.

qt.qpa.plugin: Could not load the Qt platform plugin "xcb"

  • Ubuntu 22.04 (Jammy)
  • Pretty much default packages installed.
  • This version of Ubuntu logs into Wayland by default. But I was logging into Xorg session because I'm using FFmpeg x11grab to capture the screen (which wouldn't work on Wayland).

plotbitrate failed to run with a core dump and no helpful messages to help the user troubleshoot the issue. The complete output was:

$ sudo python3 -m pip install plotbitrate
$ plotbitrate /tmp/video.mp4
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, vkkhrdisplay, minimal, vnc, eglfs, minimalegl, xcb, wayland-egl, offscreen, wayland.

Aborted (core dumped)

I happened to know a bit about this and was able to find a tip about enabling the env var QT_DEBUG_PLUGINS=1.

$ QT_DEBUG_PLUGINS=1 plotbitrate /tmp/video.mp4
qt.core.plugin.factoryloader: checking directory path "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archlevel": 1,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("linuxfb")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vkkhrdisplay"
        ]
    },
    "archlevel": 1,
    "className": "QVkKhrDisplayIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vkkhrdisplay")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqminimal.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqvnc.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archlevel": 1,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vnc")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqeglfs.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archlevel": 1,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("eglfs")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqminimalegl.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqoffscreen.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
qt.core.plugin.factoryloader: looking at "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so"
qt.core.plugin.loader: Found metadata in lib /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ...
qt.core.library: "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)
qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" : "Cannot load library /usr/local/lib/python3.10/dist-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, vkkhrdisplay, minimal, vnc, eglfs, minimalegl, xcb, wayland-egl, offscreen, wayland.

Aborted (core dumped)

This is the key message:

libxcb-cursor.so.0: cannot open shared object file: No such file or directory

Fixed with:

$ sudo apt-get update && sudo apt-get install libxcb-cursor0

I'd suggest either of:

  • Fixing the Python package installation, if this is a bug in there.
  • Detecting this kind of issues in the installation and showing the user a more helpful message that can guide them to fix the issue.
  • Adding install instructions in the README. Otherwise other users won't have the knowledge to solve this issue like I had.

In any case: thanks for this tool!

Is it possible to change moving average window length?

Hello!

Thank you for this useful tool.

In order to use it in my project, I need to try different moving average window lengths while generating bitrate/time graphs from my frames. Is it possible to do this in plotbitrate, or do I need to use plain ffmpeg for this purpose?

Cheers!

Doesn't work for audio files (e.g. MP3)

The README says it's "a script for plotting the bitrate of an audio or video stream over time" but I haven't had any luck with plotting audio as there's no frames for it to work with.

Progress: 100.0%
Traceback (most recent call last):
  File "/home/james/.local/bin/plotbitrate", line 8, in <module>
    sys.exit(main())
  File "/home/james/.local/lib/python3.10/site-packages/plotbitrate.py", line 661, in main
    peak, mean = add_area(
  File "/home/james/.local/lib/python3.10/site-packages/plotbitrate.py", line 583, in add_area
    offset = math.floor(frames_list[0].time)
IndexError: list index out of range

Per-frame bitrate graph?

The old version of plotbitrate (4553220) painted the bitrate for each frame separately. Although I-frames usually have extremely high bitrate, I find this this graph a lot more informative because it allows me to analyze videos in more detail - such a graph shows well number of B-frames, GOP size, scenecuts and other small details. Unfortunately, I didn't find the same mode in the new version, and if it really does not exist, then it would be good if it appeared again :)

(Oh, it seems this issue is an opposite of #12 :)

Crashes with this on a video file...

Traceback (most recent call last):
File "/private/tmp/plotbitrate-master/plotbitrate.py", line 157, in
frame_time = float(node.get('pkt_pts_time'))
TypeError: float() argument must be a string or a number

Using Python 3.3 on a mac. Installed with macports 'port install python33 py33-matplotlib'
also had to edit the first line to '#!/usr/bin/env python3.3' to get it to run.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.