Av

Latest version: v14.1.0

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

Scan your dependencies

Page 6 of 8

0.5.2

Not secure
------

Build:

- Fixed Windows build, which broke in v0.5.1.
- Compiler checks are not cached by default. This behaviour is retained if you
``source scripts/activate.sh`` to develop PyAV.
(:issue:`256`)
- Changed to ``PYAV_SETUP_REFLECT_DEBUG=1`` from ``PYAV_DEBUG_BUILD=1``.

0.5.1

Not secure
------

Build:

- Set ``PYAV_DEBUG_BUILD=1`` to force a verbose reflection (mainly for being
installed via ``pip``, which is why this is worth a release).

0.5.0

Not secure
------

Major:

- Dropped support for Libav in general.
(:issue:`110`)
- No longer uses libavresample.

Minor:

- ``av.open`` has ``container_options`` and ``stream_options``.
- ``Frame`` includes ``pts`` in ``repr``.

Patch:

- EnumItem's hash calculation no longer overflows.
(:issue:`339`, :issue:`341` and :issue:`342`.)
- Frame.time_base was not being set in most cases during decoding.
(:issue:`364`)
- CodecContext.options no longer needs to be manually initialized.
- CodexContext.thread_type accepts its enums.

0.4.1

Not secure
------

Minor:

- Add `Frame.interlaced_frame` to indicate if the frame is interlaced.
(:issue:`327` by :gh-user:`MPGek`)
- Add FLTP support to ``Frame.to_nd_array()``.
(:issue:`288` by :gh-user:`rawler`)
- Expose ``CodecContext.extradata`` for codecs that have extra data, e.g.
Huffman tables.
(:issue:`287` by :gh-user:`adavoudi`)

Patch:

- Packets retain their refcount after muxing.
(:issue:`334`)
- `Codec` construction is more robust to find more codecs.
(:issue:`332` by :gh-user:`adavoudi`)
- Refined frame corruption detection.
(:issue:`291` by :gh-user:`Litterfeldt`)
- Unicode filenames are okay.
(:issue:`82`)

0.4.0

Not secure
------

Major:

- ``CodecContext`` has taken over encoding/decoding, and can work in isolation
of streams/containers.
- ``Stream.encode`` returns a list of packets, instead of a single packet.
- ``AudioFifo`` and ``AudioResampler`` will raise ``ValueError`` if input frames
inconsistent ``pts``.
- ``time_base`` use has been revisited across the codebase, and may not be converted
between ``Stream.time_base`` and ``CodecContext.time_base`` at the same times
in the transcoding pipeline.
- ``CodecContext.rate`` has been removed, but proxied to ``VideoCodecContext.framerate``
and ``AudioCodecContext.sample_rate``. The definition is effectively inverted from
the old one (i.e. for 24fps it used to be ``1/24`` and is now ``24/1``).
- Fractions (e.g. ``time_base``, ``rate``) will be ``None`` if they are invalid.
- ``InputContainer.seek`` and ``Stream.seek`` will raise TypeError if given
a float, when previously they converted it from seconds.

Minor:

- Added ``Packet.is_keyframe`` and ``Packet.is_corrupt``.
(:issue:`226`)
- Many more ``time_base``, ``pts`` and other attributes are writable.
- ``Option`` exposes much more of the API (but not get/set).
(:issue:`243`)
- Expose metadata encoding controls.
(:issue:`250`)
- Expose ``CodecContext.skip_frame``.
(:issue:`259`)

Patch:

- Build doesn't fail if you don't have git installed.
(:issue:`184`)
- Developer environment works better with Python3.
(:issue:`248`)
- Fix Container deallocation resulting in segfaults.
(:issue:`253`)

0.3.3

Not secure
------

Patch:

- Fix segfault due to buffer overflow in handling of stream options.
(:issue:`163` and :issue:`169`)
- Fix segfault due to seek not properly checking if codecs were open before
using avcodec_flush_buffers.
(:issue:`201`)

Page 6 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.