Skip to content

cross compile #2035

@predators46

Description

@predators46

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions