SHA256
15
0
forked from pool/python-av

Accepting request 974760 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/974760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-av?expand=0&rev=10
This commit is contained in:
2022-05-03 19:19:40 +00:00
committed by Git OBS Bridge
4 changed files with 55 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0402169bc27e38e0f44e0e0e1854cf488337e86206b6d25d6dae2bfd7a1a0230
size 2374416

3
av-9.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2a7c226724d7f7745b376b459c500d9d17bd8d0473b7ea6bf8ddb4f7957c69d
size 2391613

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Mon May 2 21:45:05 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 9.2.0
* Add an io_open argument to av.open for multi-file custom I/O.
* Add support for AV_FRAME_DATA_SEI_UNREGISTERED
* Ship .pxd files to allow other libraries to cimport av
* Fix an ImportError when using Python 3.8/3.9
- Update to version 9.1.0
* Add VideoFrame ndarray operations for rgb48be, rgb48le,
rgb64be, rgb64le pixel formats.
* Add VideoFrame ndarray operations for gray16be,
gray16le pixel formats
* Make it possible to use av.open() on a pipe
* Use the "ASS without timings" format when decoding subtitles.
* Fix crash when closing an output container an encountering an I/O error
* Fix crash when probing corrupt raw format files
* Fix crash when manipulating streams with an unknown codec
* 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.
- Update to version 9.0.2
* Fix framerate when writing video with FFmpeg 4.4
- Update to version 9.0.0
* Re-implement AudioResampler with aformat and buffersink
AudioResampler.resample() now returns a list of frames.
* Remove deprecated methods: AudioFrame.to_nd_array,
VideoFrame.to_nd_array and Stream.seek.
* Fix VideoFrame.to_image with height & width
* Fix setting Stream time_base
* Replace deprecated av_init_packet with av_packet_alloc
* Validate pixel format in VideoCodecContext.pix_fmt setter
* Fix AudioFrame ndarray conversion endianness
* Improve time_base support with filters
* Allow flushing filters by sending None
* Avoid unnecessary vsnprintf() calls in log_callback()
* Make Frame.from_ndarray raise ValueError instead of AssertionError.
-------------------------------------------------------------------
Tue Jan 11 03:17:08 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-av
Version: 8.1.0
Version: 9.2.0
Release: 0
Summary: Python bindings for FFmpeg's libraries
License: BSD-3-Clause
@@ -71,7 +71,18 @@ sed -Ei 's/(from .common import .*), fate_suite(, .*)?/\1\2\ndef fate_suite(*a):
%check
mv av .av
# Skipping tests requiring mpeg4 codec
%pytest_arch tests -k 'not (test_codec_mpeg4 or test_encoding_with_pts or test_stream_index or test_video_default_options or test_codec_tag or test_decoder_extradata or test_encoder_extradata)'
export disabled_tests="test_video_default_options or \
test_decode_video_corrupt or \
test_encoding_with_pts or \
test_decoder_extradata or \
test_encoder_extradata or \
test_encoder_pix_fmt or \
test_default_options or \
test_stream_probing or \
test_stream_index or \
test_codec_mpeg4 or \
test_codec_tag"
%pytest_arch tests -k "not ($disabled_tests)"
mv .av av
%files %{python_files}