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

编程入门 行业动态 更新时间:2024-10-09 22:16:17
本文介绍了添加动态视频内容(如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.

我' m认为这些文件需要转换成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)

本文发布于:2023-11-01 11:01:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1549159.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:内容   动态   视频   PHP   YouTube

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!