You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardware acceleration should be available through av.codec.hwaccel.HWAccel as documented in PyAV's type hints.
Notes
The hwaccel module appears to be missing from av.codec, despite being present in PyAV's type definitions.
After reinstalling the av, it seems like the latest version is 14.0.1, but what you put in requirements.txt is >=14.1.0. After checking the PyAV repo, you also have made changes two weeks ago. Let me know what should be done.
The text was updated successfully, but these errors were encountered:
Sorry about that. I've only just implemented hardware acceleration in PyAV 2 weeks ago in PyAV-Org/PyAV#1685
It is planned to be part of the 14.1.0 release but that hasn't been released yet.
In the mean time you can install PyAV from Github instead, with FFmpeg from Homebrew.
Something like (sorry untested - I did this a long time ago) -
brew install ffmpeg
git clone https://github.com/PyAV-Org/PyAV.git
cd PyAV
make # possibly some missing libraries here that you'll have to install through Homebrew
pip uninstall av
pip install .
Description
When trying to use hardware acceleration with VideoReader, this error occurs:
Environment
Expected Behavior
Hardware acceleration should be available through
av.codec.hwaccel.HWAccel
as documented in PyAV's type hints.Notes
The
hwaccel
module appears to be missing fromav.codec
, despite being present in PyAV's type definitions.After reinstalling the av, it seems like the latest version is 14.0.1, but what you put in requirements.txt is >=14.1.0. After checking the PyAV repo, you also have made changes two weeks ago. Let me know what should be done.
The text was updated successfully, but these errors were encountered: