PyAV Media Player
Install avplayer
:
pip install avplayer
If you want to use the tk preview:
pip install avplayer[Pillow]
python -m avplayer --help
opencv-python compatibility
To prevent freeze when using opencv-python's imshow,
do not use import av
at file-scope.
Please refer to the following link:
- AV import leads to OpenCV imshow freeze · Issue #21952 · opencv/opencv
- python - Can't show image with opencv when importing av - Stack Overflow
See the LICENSE file for details. In summary, avplayer is licensed under the MIT license.