PyAV icon indicating copy to clipboard operation
PyAV copied to clipboard

cross compile

Open predators46 opened this issue 2 months ago • 0 comments

python version 3.14.0 ffmpeg version 6.1.3

I got an error while building the av. This happened in av-16.x version but I succeeded in av-14.0.x version.

2025-10-25T08:21:35.2212578Z       |                                         ^
2025-10-25T08:21:35.2335799Z src/av/codec/hwaccel.c: In function '__pyx_pymod_exec_hwaccel':
2025-10-25T08:21:35.2383236Z src/av/codec/hwaccel.c:7163:54: error: 'AV_HWDEVICE_TYPE_D3D12VA' undeclared (first use in this function); did you mean 'AV_HWDEVICE_TYPE_D3D11VA'?
2025-10-25T08:21:35.2389110Z  7163 |   __pyx_t_3 = __Pyx_PyLong_From_enum__AVHWDeviceType(AV_HWDEVICE_TYPE_D3D12VA); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 27, __pyx_L1_error)
2025-10-25T08:21:35.2394000Z       |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
2025-10-25T08:21:35.2398357Z       |                                                      AV_HWDEVICE_TYPE_D3D11VA
2025-10-25T08:21:35.2406871Z src/av/codec/hwaccel.c:7163:54: note: each undeclared identifier is reported only once for each function it appears in

predators46 avatar Oct 25 '25 09:10 predators46