I would like to run some video processing jobs on linux based compute engines on Google Cloud DataFlow. Cloud DataFlow requires you to build a setup.py file, or supply dependencies in a requirements.txt.
https://cloud.google.com/dataflow/pipelines/dependencies-python
My video process requires opencv in python with FFMPEG support. I would like to avoid building opencv from source, as this takes nearly 35 minutes for each worker to git clone/make/make install.
There is a linux python binary .whl that works great. But its specifically compiled without FFMPEG.
From https://pypi.python.org/pypi/opencv-python
"IMPORTANT NOTE
MacOS and Linux wheels have currently some limitations:
video related functionality is not supported (not compiled with FFmpeg)"
Is it possible to post-hoc connect FFMPEG to the binary? That is download FFMPEG and its libraries separately and still read video? I know this is contrived, but are are there any options here besides building opencv from source for every new worker?