Av

Latest version: v12.0.0

Safety actively analyzes 624429 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

12.0.0

-------

Major:

- Add type hints.
- Update FFmpeg to 6.1.1 for the binary wheels.
- Update libraries for the binary wheels (notably dav1d to 1.4.1).
- Deprecate VideoCodecContext.gop_size for decoders by JoeSchiff in (:issue:`1256`).
- Deprecate frame.index by JoeSchiff in (:issue:`1218`).

Features:

- Allow using pathlib.Path for av.open by WyattBlue in (:issue:`1231`).
- Add `max_b_frames` property to CodecContext by davidplowman in (:issue:`1119`).
- Add `encode_lazy` method to CodecContext by rawler in (:issue:`1092`).
- Add `color_range` to CodecContext/Frame by johanjeppsson in (:issue:`686`).
- Set `time_base` for AudioResampler by daveisfera in (:issue:`1209`).
- Add support for ffmpeg's AVCodecContext::delay by JoeSchiff in (:issue:`1279`).
- Add `color_primaries`, `color_trc`, `colorspace` to VideoStream by WyattBlue in (:issue:`1304`).
- Add `bits_per_coded_sample` to VideoCodecContext by rvanlaar in (:issue:`1203`).
- AssSubtitle.ass now returns as bytes by WyattBlue in (:issue:`1333`).
- Expose DISPLAYMATRIX side data by hyenal in (:issue:`1249`).

Fixes:

- Convert deprecated Cython extension class properties to decorator syntax by JoeSchiff
- Check None packet when setting time_base after decode by philipnbbc in (:issue:`1281`).
- Remove deprecated `Buffer.to_bytes` by WyattBlue in (:issue:`1286`).
- Remove deprecated `Packet.decode_one` by WyattBlue in (:issue:`1301`).

11.0.0

-------

Major:

- Add support for FFmpeg 6.0, drop support for FFmpeg < 5.0.
- Add support for Python 3.12, drop support for Python < 3.8.
- Build binary wheels against libvpx 1.13.1 to fix CVE-2023-5217.
- Build binary wheels against FFmpeg 6.0.

Features:

- Add support for the `ENCODER_FLUSH` encoder flag (:issue:`1067`).
- Add VideoFrame ndarray operations for yuv444p/yuvj444p formats (:issue:`788`).
- Add setters for `AVFrame.dts`, `AVPacket.is_keyframe` and `AVPacket.is_corrupt` (:issue:`1179`).

Fixes:

- Fix build using Cython 3 (:issue:`1140`).
- Populate new streams with codec parameters (:issue:`1044`).
- Explicitly set `python_requires` to avoid installing on incompatible Python (:issue:`1057`).
- Make `AudioFifo.__repr__` safe before the first frame (:issue:`1130`).
- Guard input container members against use after closes (:issue:`1137`).

10.0.0

-------

Major:

- Add support for FFmpeg 5.0 and 5.1 (:issue:`817`).
- Drop support for FFmpeg < 4.3.
- Deprecate `CodecContext.time_base` for decoders (:issue:`966`).
- Deprecate `VideoStream.framerate` and `VideoStream.rate` (:issue:`1005`).
- Stop proxying `Codec` from `Stream` instances (:issue:`1037`).

Features:

- Update FFmpeg to 5.1.2 for the binary wheels.
- Provide binary wheels for Python 3.11 (:issue:`1019`).
- Add VideoFrame ndarray operations for gbrp formats (:issue:`986`).
- Add VideoFrame ndarray operations for gbrpf32 formats (:issue:`1028`).
- Add VideoFrame ndarray operations for nv12 format (:issue:`996`).

Fixes:

- Fix conversion to numpy array for multi-byte formats (:issue:`981`).
- Safely iterate over filter pads (:issue:`1000`).

9.2.0

------

Features:

- Update binary wheels to enable libvpx support.
- Add an `io_open` argument to `av.open` for multi-file custom I/O.
- Add support for AV_FRAME_DATA_SEI_UNREGISTERED (:issue:`723`).
- Ship .pxd files to allow other libraries to `cimport av` (:issue:`716`).

Fixes:

- Fix an `ImportError` when using Python 3.8/3.9 via Conda (:issue:`952`).
- Fix a muxing memory leak which was introduced in v9.1.0 (:issue:`959`).

9.1.1

------

Fixes:

- Update binary wheels to update dependencies on Windows, disable ALSA on Linux.

9.1.0

------

Features:

- Add VideoFrame ndarray operations for rgb48be, rgb48le, rgb64be, rgb64le pixel formats.
- Add VideoFrame ndarray operations for gray16be, gray16le pixel formats (:issue:`674`).
- Make it possible to use av.open() on a pipe (:issue:`738`).
- Use the "ASS without timings" format when decoding subtitles.

Fixes:

- Update binary wheels to fix security vulnerabilities (:issue:`921`) and enable ALSA on Linux (:issue:`941`).
- Fix crash when closing an output container an encountering an I/O error (:issue:`613`).
- Fix crash when probing corrupt raw format files (:issue:`590`).
- Fix crash when manipulating streams with an unknown codec (:issue:`689`).
- Remove obsolete KEEP_SIDE_DATA and MP4A_LATM flags which are gone in FFmpeg 5.0.
- Deprecate `to_bytes()` method of Packet, Plane and SideData, use `bytes(packet)` instead.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.