从托管连接到 Amazon S3

发布于 2024-09-24 14:11:40 字数 447 浏览 3 评论 0 原文

好吧,我已经在谷歌上搜索了一段时间,但我似乎找不到关于如何从我的托管服务器连接到 Amazon S3 帐户的好教程。如果有人知道一个好的分步教程,请发布网址。

以下是有关我想要实现的目标的更多信息。我正在使用 Vidiscript,它是 YouTube 的克隆版本,我想通过将所有视频上传到亚马逊 S3 帐户来节省磁盘空间和带宽,而且我还需要大量上传,因为 vidiscript 不提供一种免费的方式来上传多个视频一次。我想创建一个 cron 作业来检查新上传的视频并将信息添加到数据库中。但我仍然需要想出一种方法来创建视频预览缩略图,因此我可能必须上传到托管,然后创建缩略图,然后上传到亚马逊 S3 帐户,然后从托管中删除文件。

但无论哪种方式,我都需要从托管服务器连接到我的亚马逊 S3 帐户。

我将使用 flowplayer 的伪流媒体插件流式传输所有视频。

任何节省带宽和大量上传的替代解决方案也将受到赞赏。

Ok I been Googling for a while now, and i can't seem to find a good tutorial on how to connect to an Amazon S3 account from my hosting server. If anyones knows of a good step by step tutorial please post url.

Here's a little bit more info on what im trying to accomplish. im using Vidiscript which is a YouTube clone I want to save on disk space and bandwidth by uploading all videos to an amazon S3 account and i also needed away to mass upload since vidiscript doesn't offer a free way to upload more that one video at a time. I wanted to create a cron job that checks for newly upload videos and adds info to database. but I still have to come up with a way to create a preview thumbnail for videos so I might have to upload to hosting then create thumbnails then upload to amazon S3 account then delete files from hosting.

But either way I need to connect to my amazon S3 account from hosting server.

I will be streaming all videos using flowplayer's pseudostreaming plugin.

any alternative solutions to save on bandwidth and mass upload would also be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

只是在用心讲痛 2024-10-01 14:11:40

您可以使用 FUSE 将 AWS S3 目录映射到本地。有几个项目可以实现这一目标。

You can map AWS S3 directory to your local using FUSE. There are several projects to achieve that.

国粹 2024-10-01 14:11:40

看起来 Vidiscript 是基于 PHP 的,所以我会选择 php-aws

Looks like Vidiscript is based on PHP so I'd go with php-aws

吃素的狼 2024-10-01 14:11:40

这是为了回应问题的一部分

“我还需要大量上传,因为 vidiscript 不提供一种免费的方式来一次上传多个视频。我想创建一个 cron 作业来检查新上传的视频并向数据库添加信息”

这是免费批量上传的测试版。

http://dev.vidiscript.co.uk/VidiScriptOriginalNew/

用户名:admin 密码:admin

单击上传,请注意上传表单分为两部分。

您可以为此文件设置一个 cron 作业 http://youServer/VidiscriptFolder/process.php

您可以从 vidiscript.co.uk

This is in response to the part of the problem

"I also needed away to mass upload since vidiscript doesn't offer a free way to upload more that one video at a time. I wanted to create a cron job that checks for newly upload videos and adds info to database"

Here's a beta of free bulk upload.

http://dev.vidiscript.co.uk/VidiScriptOriginalNew/

username:admin password:admin

click on upload ,note that upload form is in 2 parts.

you can setup a cron job for this file http://youServer/VidiscriptFolder/process.php

you can download the updated version of vidiscript from vidiscript.co.uk

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文