如何使用PHP,FLASH录制语音文件 [英] How to record voice files using PHP, FLASH

查看:156
本文介绍了如何使用PHP,FLASH录制语音文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,我需要录制语音(对于没有网络摄像头的人,以便他们只能使用麦克风录制语音)或视频(具有网络摄像头的人 - 如笔记本电脑或外部)文件并保存他们在服务器上,然后保存文件名并在数据库中登录用户ID以供以后访问。

我知道我需要使用某种类型的Flash应用程序。但是有没有什么免费的,可以达到这个目的,或者即使有付费的,也可以达到这个目的,那将是非常好的。我试过谷歌,但可能是我无法去适当的期限或东西后,我无法成功找到一个适当的解决方案。



请帮助我在我们的最新项目中,我有相同的功能,客户端要从网络摄像头进行视频录制,并且视频出现在用户的个人资料页面。



对于服务器,我们执行 RED5服务器。它需要在您的托管Java虚拟机。您可以阅读网站上的详细要求和安装说明。



为了处理录音,我们开发了我们自己的Flash应用程序,因为客户端请求一个自定义的界面来匹配整体网站界面。我不知道细节,因为我们把它外包给一个flash开发者。也许你可以看到关注/由JeroenW开发的闪存录制软件nofollow noreferrer>此线程。要播放录制的视频,您可以使用任何支持播放rtmp视频源的Flash视频播放器。由于文件缺少播放器所需的元数据,因此您无法直接在RED5中播放录制的flv文件。将录制的文件用作rtmp由RED5完成。


I am developing an application where I need to record voice(for those who does not have a webcam so they can use only microphone to record voice) or video(those who have a a webcam - like laptop or external) files and save them on server, thereafter save the file name and logged in users id on database for later access.

I know I need to use some sort of flash app for this. But is there any free one which could server this purpose or even if there are paid ones which could serve this purpose that would be great. I tried google but may be I was not being able to go after the proper term or something, I could not succeed finding a proper solution for this.

Please, help me out!

解决方案

I have same feature in our latest project, the client want to have video recording from webcam and the video appear in the user's profile page.

For the server, we implement the RED5 server. It need a Java virtual machine in your hosting. You can read the detail requirement and installation instruction in the website.

To handle recording, we develop our own flash application, because the client request a custom interface to match with the overall website interface. I don't know the detail, since we outsource it to a fellow flash developer. Maybe you can see follow this thread, the development of flash recording by JeroenW.

To play recorded video, you can use any flash video player that support playing rtmp video source. You cannot play the recorded flv file in RED5 directly, since the file lack of metadata required by the player. Serving the recorded file as rtmp is done by RED5.

这篇关于如何使用PHP,FLASH录制语音文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆