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

Add dynamic video content (YouTube like) (PHP)(添加动态视频内容(YouTube 喜欢)(PHP))
本文介绍了添加动态视频内容(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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Encryption in JavaScript and decryption with PHP(JavaScript 加密和 PHP 解密)
Best solution to protect PHP code without encryption(无需加密即可保护 PHP 代码的最佳解决方案)
PHP AES encrypt / decrypt(PHP AES 加密/解密)
Upgrading my encryption library from Mcrypt to OpenSSL(将我的加密库从 Mcrypt 升级到 OpenSSL)
How to add/remove PKCS7 padding from an AES encrypted string?(如何从 AES 加密字符串中添加/删除 PKCS7 填充?)
How do I upgrade from PHP 7.0 to 7.3 on google cloud platform?(如何在谷歌云平台上从 PHP 7.0 升级到 7.3?)