Skip to content

Building whl files #1361

Closed Answered by WyattBlue
FanofVS asked this question in 1. Help
Apr 1, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

To build your own wheels, you would fork pyav-ffmpeg, edit the build script to your liking, then make a GitHub release. You would then change scripts/ffmpeg-6.1.json to point to your new release url. Then you would run this bash command to generate the wheels:

      - name: Build wheels
        env:
          CIBW_ARCHS: ${{ matrix.arch }}
          CIBW_BEFORE_ALL_LINUX: yum install -y alsa-lib libxcb
          CIBW_BEFORE_BUILD: python scripts/fetch-vendor.py --config-file scripts/ffmpeg-6.1.json /tmp/vendor
          CIBW_BEFORE_BUILD_WINDOWS: python scripts\fetch-vendor.py --config-file scripts\ffmpeg-6.1.json C:\cibw\vendor
          CIBW_ENVIRONMENT_LINUX: LD_LIBRARY_PATH=/tmp/vendo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FanofVS
Comment options

Answer selected by WyattBlue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants