添加动态视频内容(YouTube 喜欢)(PHP)

时间:2022-11-22
本文介绍了添加动态视频内容(YouTube 喜欢)(PHP)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我希望为网站上的用户设置视频上传,并希望通过 Flash 播放器观看这些视频.该网站已经部分构建(由其他人),我想知道有哪些技术可以处理视频文件,特别是在 PHP 中.

I'm looking to setup video uploads for users on a site and want to have them viewed through a Flash player. The site is already partially built (by someone else) and I'm wondering what kind of technologies there are to deal with the video files, specifically in PHP.

我认为需要将文件转换为 FLV.之后我认为它只是加载 FLV,就像 Flash 中的 SWF.

I'm thinking the files need to be converted to an FLV. After that I think it's just loading the FLV, like an SWF in Flash.

他们还想用 Flash 流来制作 mp3,所以如果它也能支持 mp3 就很酷了.

They also want to do mp3's with Flash streaming, so it'd be cool if it could also support mp3's.

推荐答案

ffmpeg 是适合你的工具.它是一个主要的开源视频编码库,许多其他工具都基于它.直接使用有点棘手,但我认为有一些包装器.

ffmpeg is the tool for you. It's a major opensource video encoding library that a lot of other tools are based on. It's a bit tricky to use directly, but I think there are a few wrappers around.

这篇关于添加动态视频内容(YouTube 喜欢)(PHP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

上一篇:将 SWF 转换为 PNG 下一篇:从 Flash 保存图像,将其发送到 PHP 并将 URL 字符串返回给 Flash

相关文章

最新文章