Alternative to ffmpeg for dynamically creating video thumbnails

我只是一个虾纸丫 提交于 2019-12-18 17:06:56

问题


The server hosting my website doesn't have ffmpeg and I am not allowed to install any additional extensions. Is there any other way I can make video thumbnails dynamically? Perhaps some kind of web service, where I pass the video file and as a result I get a picture file. I'm using php, by the way.


回答1:


Using external service won't be feasible, since even if you find one, you'll have to PUSH whole video to it and get the thumbnail results back.

I recommend you that you host your videos somewhere where you can install ffmpeg or some other utility that will produce your thumbnails, then access (reference) whole deal from your original server location.

EDIT:

Yet another alternative is to create thumbnails on the client. Can you describe what is the way of creating and uploading videos?




回答2:


Do it in the browser with HTML5's video tag and canvas: https://gist.github.com/adamjimenez/5917897




回答3:


See here:

http://www.facelooktube.info/wb/?category_name=svtm1

This software is created for creating thumbnails from video files. It can be used for video portals on low-cost servers without ffmpeg or you can use it if you need to replace auto created thumbnail of uploaded video.




回答4:


Sothink's Video Encoder Engine may do what you expect. It said on the product page that can auto create meaningful thumbnail image and Add PNG watermark image as logo. Hope it helps.




回答5:


Try this: php video toolkit



来源:https://stackoverflow.com/questions/6081045/alternative-to-ffmpeg-for-dynamically-creating-video-thumbnails

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