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

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)