什么是流式音频文件的网站的用户/ listners的最佳方式 [英] what is the best way to stream a audio file to website users/listners

查看:200
本文介绍了什么是流式音频文件的网站的用户/ listners的最佳方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个音乐网站,将流存储在服务器给用户的音频文件,音频文件将通过放置在网页Flash播放器进行播放。

I'm developing a music site which will stream audio files stored in a server to users, audio files will be played through flash player placed in a webpage..


  1. 当我听说我需要使用的流媒体服务器作为(大小像2MB到3MB)流式音频文件..我需要使用吗?

  1. As I heard I need to use a streaming media server for streaming audio files ( like 2mb to 3mb in size).. Do I need to use one?

我发现了一些流媒体服务器软件如 http://www.icecast.org - 但他们的文档中,它是用来流媒体电台和流媒体直播的目的,但我需要更快传输音频文件,并在尺寸低(低带宽)具有良好的品质。

I found some streaming media server softwares like http://www.icecast.org - but as in their documentation, It is used for streaming radio stations and live streaming purposes, but I just need to stream audio files faster and in low size (low bandwidth) with good quality..

我听说我需要连接code中的音频文件,然后再将其发送给听众和他们的高端音频文件需要再次去codeD。真的吗?我该怎么办呢?如果我需要使用一种特殊的Web服务器,我应该在哪里主机我的档案?任何好的托管服务提供商?

I heard I need to encode the audio files first and then send them to listeners and in their end audio files need to be decoded again. Is that true? How can I do that? if I need to use a special web server, where should I host my files? Any good hosting providers?

如果我在一个正常的Web服务器主机的音频文件,他们将使用HTTP或TCP到我的音频文件,提供给用户/ listners但我发现,HTTP和TCP不用于多媒体用途,如好方法流式音频和视频文件,以及它们用于提供HTML和东西。我发现我应该使用RSTP或UDP流式音频文件..我应该使用什么?

if I host audio files in a normal web server, they will use HTTP or TCP to deliver my audio files to users/ listners but I found that HTTP and TCP are not good ways to use for multi media purposes like streaming audio and video files, and they are used for delivering HTML and stuff. I found I should use RSTP or UDP for streaming audio files.. What should I use?

我知道.mp3文件具有比其它格式更好的质量,但它也给规模庞大的音频文件。我应该使用哪种格式的音频文件?

I know that .MP3 files has much better quality than the other formats but it also gives huge size to the audio files.. which format should I use for audio files?

大多数最优质的音频文件比7MB多所以我打算用软件将其转换我自己,所以我可以得到具有良好的品质一定程度很低大小的文件。如果我我转换音频文件有什么好 BITRATE 我应该用我的文件?

Most of the best quality audio files are more than 7mb so I'm planning to convert them my self using a software so I could get low size files with some level of good quality. If I'm converting my audio files what is the good BITRATE I should use for my files?

有关转换的音频文件,同时保持任何已知的最好软件
在一个良好的质量水平?

Any known best softwares for converting audio files while keeping quality in a good level?

请注意** - 我知道,我不会在现场的开始需要复杂的要求,但我希望像他们正在使用soundcloud.com

Note** - I know that I will not need complex requirements at the beginning of the site but I want to know the best ways like they are using for soundcloud.com

推荐答案

Here's从别人的回复谁actualy运行Shoutcast的电台
和谁是audiotechnicain和的webdesigner也,下面是知识聚集
从超过5000小时了最新的研究!

Here´s a reply from someone who actualy runs a shoutcast radio station and who is an audiotechnicain and webdesigner also, below is knowledge gathered from over 5000 hours of up-to-date research !

6)


  • 音频软件?

您需要有软件,可以:


  • 转换到其他的比特率和格式

  • 规范化audiovolume为所有mp3's一个相同的标准化的水平。 (-1分贝)

  • 在开头和/或结束截止沉默。

  • 均衡音频所以它听起来不错。

  • 添加特效,混音......等等。

最好的,最使用的,非常坚固而且还免费为无畏

Best,most-used, very solid and FREE is "Audacity"

5)


  • 好比特率?

如果比特率是很高的速度较慢的连接西港岛线的听众从bufferunderuns遭殃
即:hickups /短暂的休息音频导致其连接着跟上(高)速

If the bitrate is to high your listeners on slower connections wil suffer from "bufferunderuns" ie: hickups / short breaks in the audio cause their connection cant keep up with the (to high) speed.

如果其低则质量不好。

最好的选择是128 kb / s的这听起来不错,并不会导致欠载大多数。

Best choice is 128 kb/s it sounds good and wont cause underruns for most.

最佳格式为MP3,因为它可以被大多数球员和Shoutcast的提供者进行处理的格式。

Best format is Mp3 since its the format that can be handled by most players and shoutcast-providers.

你的平均文件大小为4分钟轨道上使用将围绕4 MB。

Using above your average filesize for a 4 Min track will be around 4 Mb.

由于MP3播放@ 128KB / s是最流行的,你会得到最好的价格/质量协议
从SHOUTcast服务器提供商。

Since Mp3 @ 128kb/s is the most popular you will get the best price/quality-deal from a shoutcast server provider .

5B)


  • 音频标记?

您没有忘记那一个。

您需要做舒尔让您的音频文件标签,即:什么是显示在
玩家为艺术家 - 标题信息是不是从filename..but取而不是从(ID1 / ID3)变量

You need to make shure to have your audio-files "Tagged" ie: what is displayed in the players as "Artist - Title" information is not taken from the filename..but instead from the (iD1/iD3) "Tag"

最好的,最常用的,非常坚实的软件和免费软件是:mp3tag
它可以做批量还(1000 mp3's一次)

Best, most used, very solid and FREE software is: "mp3tag" it can do "Bulk" also (a 1000 mp3´s at once)

http://www.mp3tag.de/en/

4)


  • codeC?

您上传您的文件到服务器,在上述MP3 @ 128 KB /秒的格式
因为它的最常用的格式,所有玩家都可以玩。

You upload your files to a server in the format described above "Mp3 @ 128 kb/s" since its the most used format all players can play it.

请你在相同的格式(段)上载舒尔作为服务器的输出
这将保持(重要)低处理器负载的服务器上(它不会需要转换)。

Make shure you upload in the same format (above) as the output of the server this will keep a (important) low processor-load on your server (it wont need to convert).

一个Shoutcast的服务器(或其他streamserver)将采取把你单独mp3's,并将其转换
到一个单一的实时数据流,它会创建多个流,多个监听器(100's)。
它还将为您提供的统计数据(NR听众,来自哪里,现在打,之前饰演)

A Shoutcast-server (or other streamserver) will take take your separate mp3´s and convert them into one single realtime stream, it will create multiple streams to multiple listeners (100´s). It will also provide you with statistics (nr of listeners,from where,now playing,played before)

一个监听器可以玩2种方式:

A listener can play it 2 ways:

一,从嵌入您网站上的嵌入式播放器。
B超或点击你的网站至极的链接将在任何(独立)播放器中打开您的流
你的访客已安装(Winamp的,WindowsMediaPlayer中时,RealPlayer,QuickTime的,iTunes的...等)
一个独立的将给予最好的品质,因为这将有更多/更好的audiocontrols(均衡器...等)

a-From a embedded player embedded on your website. b-Or by clicking a link on your website wich will open your stream in any (standalone) player your visitor has installed ( Winamp, WindowsMediaPlayer, Realplayer, Quicktime, iTunes...etc) A standalone will give best quality because it will have more/better audiocontrols (equalizer...etc)

最佳做法是同时提供一个嵌入式播放器和一个简单的点击的链接。
检查出至少20个广播电台的网站时(无论是专业和业余爱好者)
看看他们是如何做到这一点。

Best practice is to offer BOTH a embedded player and a simple clickable link. check out at least 20 radio-station-websites (both professional and amateurs) to see how they do it.

最好的和免费的嵌入式播放器,现在是jPlayer
因为它的双模式(HTML5 /闪光灯),所以所有浏览器和所有移动将发挥它。
和它的一个论坛,教程...等很好的支持。

Best , and free embedded-player right now is "jPlayer" because its dual-mode (HTML5 / Flash) so ALL BROWSERS and ALL MOBILES will play it. and its very well supported with a forum,tutorials...etc

http://www.jplayer.org

2)


  • 托管服务提供商?

谷歌的Shoutcast流或SHOUTcast服务器
比较它们的20最佳价格/质量...使用谷歌再次研究他们。

Google for "Shoutcast streaming" or "Shoutcast server" compare 20 of them for best price / quality...research them again using Google.

他们将有特殊的Shoutcast软件(基于网络),如Centova
你从任何浏览器控制它,你可以实时传输到它...或者建立在你睡觉的发挥无人值守从服务器播放列表(autodj)
您可以创建多个播放列表,这样他们将在一定的发挥次/天/随机...等。

They will have special shoutcast software (webbased) such as "Centova" you control it from any browser, you can stream live to it...or create playlists that play unattended from the server while you sleep ("autodj") You can create multiple playlists such that they will play at certain times/days/random...etc.

您可以只基于autodj播放列表创建整站
就像你不会担心自己上传的连接中断
你可以设置截止自己的电脑。

You could create your whole station based on autodj playlists only like that you wont have to worry about your own upload-connection interrupting and you can shutoff your own pc.

有关autodj你想至少有5 GB存储空间(mp3's)一Shoutcast的服务
这将使你在3〜4天的音乐不重复......在一个巧妙的方式使用播放列表
并考虑到听众将在平均30分钟,并在特定的时间到2小时听,..你可以使他们不会听到同样的歌曲所有的时间舒尔。

For autodj you want a shoutcast service with at least 5 Gb storage (mp3´s) that will give you around 3 to 4 days music without repeats...using the playlists in a clever way and taking into account that listeners will on average listen between 30 mins and 2 hours at certain times,..you can make shure that they will not hear the same tracks all the time.

如果你坚持做活从自己的计算机(直接或通过流服务器提供商则(实时)广播(流)最常用的软件是山姆播报员

If you insist to do "live" (realtime) broadcast (streaming) from your OWN computer (directly or via a stream-server-provider then most used software is "Sam broadcaster"

这就是它...具有良好的Shoutcast服务器供应商开始,然后建立你的网站,并创建
一个可点击的链接流,以后你做嵌入式播放器。

Thats it...start with a good Shoutcast server provider, then built your website and create a clickable link to the stream, after that you do the embedded player.

祝你好运!

(附言:我希望我能得到这么好的信息为我自己的问题myself..unfortunately我得到几乎为零)

(Ps i wish i would get such good info for my own questions myself..unfortunately i get nearly zero)

这篇关于什么是流式音频文件的网站的用户/ listners的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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