App Engine Java - Extract thumbnail from mp4 video

孤者浪人 提交于 2020-01-16 19:43:11

问题


I have some video stored on Google Cloud Storage in mp4, i need the extract a thumbnail from them.

I looked to a number of solutions, and looks like they don't work with App Engine.

for example: http://www.xuggle.com/xuggler/

Do you have library that i could use to do this on Google App Engine in Java?


回答1:


I finally went with Google Compute Engine and ffmpeg, implementation is in progress...




回答2:


This question looks related to Is there a Java API for mp4 files?

Xuggler says their project is a mix of java and native code. Native code will not run on java app engine.

Search for java mp4 video decoder and look for a decoders that only use java code. Perhaps this one will work: http://jcodec.org/guide/movstitch.html.




回答3:


OK, after some searching, I've found following: Video website on google application engine

Sounds like similar problem to yours. The only difference is that the other thread checks for python solution. However answers seem to be quite programming language independent, so I think it will be worth a read.

For the documentation/inspirational purposes, it might be worth to describe your solution in this thread once you go for it.



来源:https://stackoverflow.com/questions/13315479/app-engine-java-extract-thumbnail-from-mp4-video

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!