Use PHP or Flash to extract a frame from a video

余生长醉 提交于 2019-12-08 07:18:47

问题


The quick question: is there a pure PHP library that can extract a frame from the video to use as the thumbnail? I guess the answer is "no" but let me know if I am wrong :-) ffmpeg wrappers will not go, since I want this feature to work on most hostings without special PHP modules or binaries to launch.

There might also be some tool to do this on the client side with flash for example... This also acceptable. I'll just have to upload the flash-generated content to the server.


回答1:


This script claims to be able to do it just by using GD



来源:https://stackoverflow.com/questions/3147428/use-php-or-flash-to-extract-a-frame-from-a-video

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