Can google cloud dataflow (apache beam) use ffmpeg

2019-03-01 00:53发布

问题:

Can a dataflow process use ffmpeg to process video or images and if so what would a sample workflow look like

回答1:

Yes. You can make sure the necessary binaries (together with their dependencies) are available on workers using the --filesToStage pipeline option and have a DoFn in your pipeline that shells out to that binary in order to do the processing.