C# 的流媒体视频库

发布于 2024-07-12 03:48:25 字数 618 浏览 10 评论 0原文

我正在研究将流视频添加到用 ASP.NET/C# 编写的社交网站的选项。 我对 Flash 也有丰富的经验,因此我很喜欢使用 FLV 播放器,但如果有合适的库可用,我肯定会选择 Silverlight。

  • 该库需要能够以网络格式对用户上传的视频进行编码。
  • 我想播放将基于 Flash 或 Silverlight。
  • 它需要创建视频的缩略图。
  • 它需要有用于流式传输视频的服务器软件或有一些第三方方法来这样做。
  • 我不介意为该软件支付许可费,因此它不必是开源或免费的。
  • 许可证必须允许在商业网站上使用。

我发现的最接近的是 MediaSoft 的产品。 但在开始搜索之前我从未听说过这家公司,也不知道有人使用他们的软件。 他们似乎使用 FFMPEG 进行编码,我听说这可能会给商业网站带来法律问题。 虽然我自己对FFMPEG的授权不是很熟悉,所以如果我听错了请纠正我。

有人用过MediaSoft吗? 您使用过其他效果良好的视频库吗? 您刚刚编写了自己的视频编码和服务库吗?

I'm looking at options for adding streaming video to a social web site written in ASP.NET/C#. I have a great deal of experience with Flash too, so I'm comfortable using FLV players, but I'd definitely go Silverlight if the right library is available.

  • The library would need to be able to encode user uploaded video in a web format.
  • I imagine playback will be Flash or Silverlight based.
  • It would need to create thumbnails of the video.
  • It would need to have server software for streaming the video or have some 3rd party way of doing so.
  • I don't mind paying a licensing fee for the software, so it does not have to be open source or free.
  • The license must allow use on a commercial web site.

The closest thing I have found is MediaSoft's offering. But I never heard of this company before starting my search and don't know anyone using their software. They seem to be using FFMPEG to perform encoding, which I heard can spawn legal issues for commercial web sites. Though I'm not very familiar with the licensing of FFMPEG myself so please correct me if I heard wrong.

Has anyone used MediaSoft? Any other video libraries that you have used that worked well? Did you just end up writing your own video encoding and serving library?

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

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

发布评论

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

评论(2

寂寞花火° 2024-07-19 03:48:25

不确定 Silverlight,但 Flash 将渲染 h.264 和 FLV 视频。 FFMPEG 可以通过 liblame for FLV 转换为两者x264 为 h.264。 它还可以生成缩略图

它和相应的模块根据 LGPL/GPL 获得许可,这意味着只要您拥有要转码的原始电影的权利,您就可以不受限制地使用 FFMPEG 生成视频/缩略图。 GPL/LGPL 许可证限制仅适用于 FFMPEG 代码/二进制文件,除非您决定将这些二进制文件分发给其他人,否则这并不重要。

Not sure about Silverlight, but Flash will render both h.264 and FLV videos. FFMPEG can convert into both via liblame for FLV and x264 for h.264. It can also generate thumbnails.

It and the corresponding modules are licensed under the LGPL/GPL which means you can use FFMPEG to generate videos/thumbnails without restriction as long as you have the rights to the original movies that you're transcoding. The GPL/LGPL license restrictions only apply to the FFMPEG code/binaries which won't matter until you decide to distribute those binaries to other people.

記憶穿過時間隧道 2024-07-19 03:48:25

除了上面的答案之外,您还可以将red5视为流媒体解决方案
http://osflash.org/red5

In addition to the above answer, you can look at red5 as a streaming solution
http://osflash.org/red5

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