ffmpeg的替代方案,用于动态创建视频缩略图 [英] Alternative to ffmpeg for dynamically creating video thumbnails

查看:460
本文介绍了ffmpeg的替代方案,用于动态创建视频缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

托管我的网站的服务器没有ffmpeg,并且不允许我安装任何其他扩展.我还有其他方法可以动态制作视频缩略图吗?也许是某种Web服务,我在其中传递视频文件,结果得到一个图片文件.顺便说一下,我正在使用php.

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.

推荐答案

使用外部服务是不可行的,因为即使找到一个外部服务,也必须将整个视频推向该视频并返回缩略图结果.

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.

我建议您将视频托管在可以安装ffmpeg或其他会生成缩略图的实用程序的地方,然后从原始服务器位置访问(参考)全部交易.

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.

另一种选择是在客户端上创建缩略图.您能描述一下创建和上传视频的方式吗?

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

这篇关于ffmpeg的替代方案,用于动态创建视频缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆