如何生成 Flash 影片 (.flv) 的缩略图
我正在使用 ColdFusion,需要从服务器上存储的 Flash 影片生成缩略图。我听说过 ffMpeg 但不知道如何使用它。 (一旦你把它放在你的服务器上,下一步是什么?)
I'm using ColdFusion and need to generate a thumbnail from a flash movie stored on the server. I have heard of ffMpeg but have no idea how to use it. (Once you put it on your server what's the next step?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 cfexecute 在 CF 服务器上运行命令行。
Karthik 链接了一篇博客文章,建议使用以下 ffmpeg 语法:
所以你可以这样做:
我没有像这样运行 ffmpeg,你可能需要尝试语法才能得到你喜欢的结果,但是一旦完成,您的工作流程就非常简单了。
您还可能会遇到执行
fmpeg.exe
的问题,具体取决于运行 ColdFusion 服务器实例的用户帐户。You can use cfexecute to run a command line on the CF server.
Karthik linked a blog post that suggests the following syntax for ffmpeg:
So you could do something like this:
I haven't run ffmpeg like this and you'll likely need to experiment with the syntax to get a result you like, but once you do your workflow is pretty straightforward.
You may also run into issues executing
fmpeg.exe
depending on the user account your ColdFusion server instance is running as.FFMpeg 文档:http://www.ffmpeg.org/documentation.html
您可能想要检查:http://blog.prashanthellina.com/ 2008/03/29/creating-video-thumbnails-using-ffmpeg/
http://www.flashcomguru.com/index.cfm/2006/4/25/ffmpegthumbs
使用 ColdFusion 是不可能的,但请检查以下内容:http://old.nabble.com/Create-a-thumbnail-image -来自-.flv-video-file-once-uploaded-td22683497.html
Documentation of FFMpeg: http://www.ffmpeg.org/documentation.html
You might want to check: http://blog.prashanthellina.com/2008/03/29/creating-video-thumbnails-using-ffmpeg/
http://www.flashcomguru.com/index.cfm/2006/4/25/ffmpegthumbs
with ColdFusion its not possible but check this: http://old.nabble.com/Create-a-thumbnail-image-from-.flv-video-file-once-uploaded-td22683497.html