Skip to content

build(deps-dev): update av requirement from <14.0,>=12.0.0 to >=12.0.0,<19.0#17

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/av-gte-12.0.0-and-lt-19.0
Open

build(deps-dev): update av requirement from <14.0,>=12.0.0 to >=12.0.0,<19.0#17
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/av-gte-12.0.0-and-lt-19.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on av to permit the latest version.

Release notes

Sourced from av's releases.

v18.0.0

Major

  • Remove Support for Python 3.10
  • Upgrade binary wheels to ffmpeg 8.1.2

Features

  • Support HW encoding via a hwaccel parameter on OutputContainer.add_stream (e.g. h264_vaapi, h264_nvenc, h264_videotoolbox); software frames passed to encode are uploaded to the device automatically by @​WyattBlue (#2156).
  • Expose sw_format on VideoCodecContext, and allow configuring the software format of hardware encoders by @​WyattBlue.
  • Add options parameter to AudioResampler for passing libswresample options (e.g. resampler, filter_size, cutoff) by @​WyattBlue (#2262).
  • Support yuv420p10le in VideoFrame.to_ndarray and VideoFrame.from_ndarray by @​WyattBlue (#1981).
  • Add at parameter to Graph.push and Graph.vpush to push a frame to a single buffer source by index, for multi-input filters like overlay by @​WyattBlue.
  • find_best_pix_fmt_of_list now returns the loss as a PixFmtLoss enum.IntFlag instead of a plain int by @​WyattBlue (#2300).
  • Add Colorspace.BT2020 by @​mark-oshea.
  • BitStreamFilterContext now accepts a Codec or a codec-name str as in_stream to pin the input codec without a full Stream by @​WyattBlue.

Fixes

  • Fix VideoFrame.reformat (and to_ndarray/to_rgb/to_image) raising OSError Operation not supported on frames tagged with reserved or otherwise unsupported color_primaries/color_trc values (e.g. VP9 and NVDEC output); a transfer/primaries conversion is now only performed when explicitly requested by @​WyattBlue (#2208).
  • Fix add_mux_stream producing unwritable Matroska files by extracting codec extradata from the bitstream before the header is written by @​WyattBlue (#2198).
  • Encode GPU frames (e.g. CUDA frames from DLPack) directly with pix_fmt="cuda" by adopting the frame's hw_frames_ctx before opening the encoder by @​WyattBlue (#2199).
  • Fix a crash when reading VideoCodecContext.pix_fmt before it is set; it now returns None by @​CarlosRDomin.
  • Preserve frame attributes (pts, time_base, colorspace, etc.) when downloading hardware frames to system memory by @​CarlosRDomin.

New Contributors

Full Changelog: PyAV-Org/PyAV@v17.1.0...v18.0.0

Changelog

Sourced from av's changelog.

v18.0.0

Breaking:

  • Remove Python 3.10

Features:

  • Support HW encoding via a hwaccel parameter on OutputContainer.add_stream (e.g. h264_vaapi, h264_nvenc, h264_videotoolbox); software frames passed to encode are uploaded to the device automatically by :gh-user:WyattBlue (:issue:2156).
  • Use FFmpeg 8.1.2 in the binary wheels by :gh-user:WyattBlue.
  • Expose sw_format on VideoCodecContext, and allow configuring the software format of hardware encoders by :gh-user:WyattBlue.
  • Add options parameter to AudioResampler for passing libswresample options (e.g. resampler, filter_size, cutoff) by :gh-user:WyattBlue (:issue:2262).
  • Support yuv420p10le in VideoFrame.to_ndarray and VideoFrame.from_ndarray by :gh-user:WyattBlue (:issue:1981).
  • Add at parameter to Graph.push and Graph.vpush to push a frame to a single buffer source by index, for multi-input filters like overlay by :gh-user:WyattBlue.
  • find_best_pix_fmt_of_list now returns the loss as a PixFmtLoss enum.IntFlag instead of a plain int by :gh-user:WyattBlue (:issue:2300).
  • Add Colorspace.BT2020 by :gh-user:mark-oshea.
  • BitStreamFilterContext now accepts a Codec or a codec-name str as in_stream to pin the input codec without a full Stream by :gh-user:WyattBlue.

Fixes:

  • Fix VideoFrame.reformat (and to_ndarray/to_rgb/to_image) raising OSError Operation not supported on frames tagged with reserved or otherwise unsupported color_primaries/color_trc values (e.g. VP9 and NVDEC output); a transfer/primaries conversion is now only performed when explicitly requested by :gh-user:WyattBlue (:issue:2208).
  • Fix add_mux_stream producing unwritable Matroska files by extracting codec extradata from the bitstream before the header is written by :gh-user:WyattBlue (:issue:2198).
  • Encode GPU frames (e.g. CUDA frames from DLPack) directly with pix_fmt="cuda" by adopting the frame's hw_frames_ctx before opening the encoder by :gh-user:WyattBlue (:issue:2199).
  • Fix a crash when reading VideoCodecContext.pix_fmt before it is set; it now returns None by :gh-user:CarlosRDomin.
  • Preserve frame attributes (pts, time_base, colorspace, etc.) when downloading hardware frames to system memory by :gh-user:CarlosRDomin.

v17.1.0

Breaking:

  • Remove the undertested av.option and av.descriptor APIs, along with the related Codec and Filter descriptor accessors.

Features:

  • Use FFmpeg 8.1.1 in the binary wheels by :gh-user:WyattBlue.
  • Build Linux ARMv7 binary wheels by :gh-user:WyattBlue.
  • Expose AVCodecContext.global_quality by :gh-user:WyattBlue in (:pr:2246).
  • Expose Stream.discard so demuxing and seeking can skip unwanted streams by :gh-user:WyattBlue (:issue:2272).
  • Add Stream.set_display_matrix() and Stream.set_display_rotation() to write the container display (rotation) matrix on output streams by :gh-user:hmaarrfk in (:pr:2287).
  • Add Container.video_codec_id to force a specific video codec on a container by :gh-user:WyattBlue (:issue:2243).

Fixes:

  • Add cython.final to leaf classes, ensuring that they are not subclassed by :gh-user:WyattBlue.
  • Warn that CodecContext.decode() is not memory safe in some cases.
  • Fix memory leaks in FFmpegError, AudioLayout channel layouts, and Frame.opaque, and break a reference cycle between FilterLink and Graph by :gh-user:lgeiger.
  • Reduce excessive logging lock contention by :gh-user:WyattBlue (:issue:2276).
  • Fix a crash when accessing Stream from multiple threads under FFmpeg 8.1 by :gh-user:WyattBlue (:issue:2247).

... (truncated)

Commits
  • 54a4395 Release 18.0.0
  • debd890 Accept Codec or codec name as BitStreamFilterContext in_stream
  • 52b8f6b Make transfer/primaries conversion opt-in in reformat, fixes #2208
  • 69ecd26 Update ffmpeg binary
  • daa8231 We set -Wno-incompatible-pointer-types in setup.py
  • f5f5f7b Return None for unset video codec pix_fmt
  • e5104e4 Allow configuring hardware encoder sw_format
  • d0d7746 Expose sw_format on VideoCodecContext
  • 3c95a75 actions/checkout 6 => 7
  • dd22c37 Simplify code
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [av](https://github.com/PyAV-Org/PyAV) to permit the latest version.
- [Release notes](https://github.com/PyAV-Org/PyAV/releases)
- [Changelog](https://github.com/PyAV-Org/PyAV/blob/main/CHANGELOG.rst)
- [Commits](PyAV-Org/PyAV@v12.0.0...v18.0.0)

---
updated-dependencies:
- dependency-name: av
  dependency-version: 18.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 6, 2026
@dependabot
dependabot Bot requested a review from leozitogs as a code owner July 6, 2026 11:09
@dependabot dependabot Bot added the python Pull requests that update python code label Jul 6, 2026
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants