-
-
Notifications
You must be signed in to change notification settings - Fork 59
Description
I was interested in getting a hardware accelerated version of ffmpeg running on google colab that I could use through imageio-ffmpeg.
I followed the steps discussed here to compile a minimal ffmpeg version with hardware acceleration on colab:
https://pytorch.org/audio/stable/hw_acceleration_tutorial.html
https://colab.research.google.com/drive/1DDah_IaGULEO66CfQWltRqaVheBkiXdN#sandboxMode=true
Unfortunately, this led to "broken pipe" issues. It took me a bit of time to track this down to features that were missing for compatibility with imageio-ffmpeg in the minimal ffmpeg configure step. Adding the following seems to work so far but I am not sure if this what should be recommended:
--enable-demuxer=rawvideo--enable-muxer=null--enable-filter=null--enable-filter=nullsrc--enable-protocol=pipe
Some documentation about this and/or a short test function that checks the output of ffmpeg -demuxers, ffmpeg -muxers, ffmpeg -filters, ffmpeg -protocols and the like for the minimum set of features would be great.