[WARNING] 测试硬件编码器时失败:写入 /Users/kumarprashant/Local Files/pyvideotrans/tmp/41368/test_h264_videotoolbox_1788906576287.mp4 时权限被拒绝。 command=['ffmpeg', '-y', '-hide_banner', '-t', '1', '-i', '/Users/kumarprashant/Local Files/pyvideotrans/videotrans/styles/no-remove.mp4', '-c:v', 'h264_videotoolbox', '-f', 'mp4', '/Users/kumarprashant/Local Files/pyvideotrans/tmp/41368/test_h264_videotoolbox_1788906576287.mp4']
[WARNING] 测试硬件编码器时失败:写入 /Users/kumarprashant/Local Files/pyvideotrans/tmp/41368/test_hevc_videotoolbox_1788906576296.mp4 时权限被拒绝。 command=['ffmpeg', '-y', '-hide_banner', '-t', '1', '-i', '/Users/kumarprashant/Local Files/pyvideotrans/videotrans/styles/no-remove.mp4', '-c:v', 'hevc_videotoolbox', '-f', 'mp4', '/Users/kumarprashant/Local Files/pyvideotrans/tmp/41368/test_hevc_videotoolbox_1788906576296.mp4']
[ERROR] 执行 ffmpeg 时发生未知错误,cmd=['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-i', '/var/folders/m_/dyn8g_sn6cj_546p_kj8r1g80000gn/T/pyvideotran
......
dist._finalize_license_expression()
/Users/kumarprashant/.cache/uv/builds-v0/.tmpCWXNSD/lib/python3.10/site-packages/setuptools/dist.py:765:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
extensions/_pynini.cpp:1353:10: fatal error: 'fst/util.h' file not found
1353 | #include
| ^~~~~~~~~~~~
1 error generated.
error: Command '['c++', '-Wno-unused-result', '-Wsign-compare', '-Wunreachable-code', '-DNDEBUG',
'-g', '-fwrapv', '-O3', '-Wall', '-O3', '-arch', 'arm64', '-mmacosx-version-min=11.0',
'-Wno-nullability-completeness', '-Wno-expansion-to-defined', '-Wno-undef-prefix',
'-fPIC', '-Iextensions', '-I/Users/kumarprashant/.cache/uv/builds-v0/.tmpCWXNSD/include',
'-I/Users/kumarprashant/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/include/python3.10', '-c',
'extensions/_pynini.cpp', '-o', 'build/temp.macosx-11.0-arm64-cpython-310/extensions/_pynini.o', '-std=c++17',
'-Wno-register', '-Wno-deprecated-declarations', '-Wno-unused-function', '-Wno-unused-local-typedefs',
'-funsigned-char', '-stdlib=libc++', '-mmacosx-version-min=10.12']' returned non-zero exit status 1.
hint: This error likely indicates that you need to install a library that provides "fst/util.h" for
`[email protected]`
help: pynini (v2.1.6) was included because pyvideotrans (v4.11) depends on pynini