-
Notifications
You must be signed in to change notification settings - Fork 7
Instructions to upgrade to v0.11.0
Kesh Ikuma edited this page Dec 23, 2024
·
1 revision
As of v0.11.0, all ffmpegio
related projects are to the ffmpegio
package. This effectively deprecates the following distribution packages:
-
ffmpegio-core
(PyPI only) -
ffmpegio-plugin-numpy
(GitHub only) ffmpegio-plugin-mpl
ffmpegio-plugin-downloader
ffmpegio-plugin-static-ffmpeg
It is recommended to uninstall all ffmpegio
packages first before proceeding to avoid package and plugin name conflicts.
pip uninstall ffmpegio ffmpegio-core ffmpegio-pluing-mpl ffmpegio-downloader ffmpegio-static--ffmpeg
(Only specify the packages that are on your system.)
Then reinstall only ffmpegio
pip install ffmpegio
In Python, no modification should be necessary UNLESS your use case needs to read media data as dict
s AND you have both ffmpegio
and numpy
installed. Then, use the new use()
function to specify the media reader output format:
import ffmpegio
ffmpegio.use('read_bytes') # 'read_numpy' is the default if numpy is found
# rest of your code...