google / mediapy

This Python library makes it easy to display images and videos in a notebook.
https://pypi.org/project/mediapy/
Apache License 2.0
389 stars 18 forks source link

Setup ffmpeg in github workflow. #26

Closed hhoppe closed 1 year ago

hhoppe commented 1 year ago

This fixes the github workflow failure. The previous command "apt-get install ffmpeg" seems to no longer work. This relies on a third-party action defined in: https://github.com/marketplace/actions/setup-ffmpeg https://github.com/FedericoCarboni/setup-ffmpeg

Conchylicultor commented 1 year ago

Alternativelly, you can use https://github.com/google/etils/blob/2ee5759301b2609619478b705e78e5eb89642486/.github/workflows/pytest_and_autopublish.yml#L19

(which do not require an alternative package)

Let me know what you prefer

hhoppe commented 1 year ago

Thanks @Conchylicultor ; that is much simpler. I updated the branch to use that.