Google Cloud Dataflow(Apache Beam)可以使用ffmpeg处理视频或图像数据吗? [英] Can google cloud dataflow (apache beam) use ffmpeg to process video or image data
本文介绍了Google Cloud Dataflow(Apache Beam)可以使用ffmpeg处理视频或图像数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
数据流流程可以使用ffmpeg来处理视频或图像吗?如果可以,示例工作流程是什么样的
Can a dataflow process use ffmpeg to process video or images and if so what would a sample workflow look like
推荐答案
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.
这篇关于Google Cloud Dataflow(Apache Beam)可以使用ffmpeg处理视频或图像数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文