选择用于视频捕获和处理的库/框架记录

发布于 2024-12-22 09:13:46 字数 545 浏览 2 评论 0原文

在我们开展的一个项目中,我们正在寻找视频捕捉和视频捕捉工具。录音库。我们的基础工作(基于谷歌搜索)显示 vlc (libvlc)、ffmpeg (libavcodec) 和 gstreamer 是三个流行的免费开源库/多媒体框架。这些库如何在以下参数上进行比较:

  1. 许可策略允许在商业产品中使用,而无需开源使用该库的产品的任何组件
  2. 能够在多线程环境中有效使用(库本质上应该是线程安全的)
  3. 易于使用和维护
  4. 文档:API应该有详细的文档记录...这是相对的...:)

我们的主要目的是能够捕获RTSP视频流(H.264/MPEG-2) /MJPEG 编码),将这些流转换为原始数据视频/帧,以便可以用于分析/处理,然后压缩这些帧并将其以 MP4 文件的形式存储在磁盘上(使用 MPEG2 / H.264 编码)。

PS我们知道FFmpeg也是vlc的组件之一,因为vlc使用libavcodec库。 gstreamer 也是如此吗?它有任何 ffmpeg 依赖性吗?

等待您的回复。

问候,

索拉布·甘地

In one of the project that we have undertaken we are looking for a video capture & recording library. Our groundwork (based on google search) shows that vlc (libvlc), ffmpeg (libavcodec) and gstreamer are the three popular free and open source libraries / multimedia frameworks available for the same. How do these libraries compare on the following parameters:

  1. Licensing policy to allow use within a commercial product without the need to open source any of the components of the product that is using the library
  2. Ability to be used effectively in a multi-threaded environment (library should be inherently thread-safe)
  3. Easy to use and maintain
  4. Documentation: API should be well documented...this is relative...:)

Our primary intention is to be able to capture RTSP video streams (H.264/MPEG-2/MJPEG encoded), convert these streams to raw video / frames so that it can be used for analysis / processing and later on compress these frames and store it on the disk in the form of an MP4 file (using MPEG2 / H.264 encoding).

P.S. We understand that FFmpeg is also one of the components of vlc since vlc uses libavcodec library. Is the same true for gstreamer as well? Does it have any ffmpeg dependency?

Awaiting your responses.

Regards,

Saurabh Gandhi

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

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

发布评论

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

评论(1

战皆罪 2024-12-29 09:13:46

我建议你使用Gstreamer。

Gstremer 是多媒体框架,它有很多用于各种任务的插件。插件是一种类型的库。 用于捕获 rtsp转换原始视频在 mp4 中进行混合 我想您会很容易地在 Gstermer 中找到最好的插件。您只需为此编写一个应用程序。

   1. Licensing policy to allow use within a commercial product without
   the need to open source any of the components of the product that is 
   using the library

我对这个不太了解

   2. Ability to be used effectively in a multi-threaded environment 
    (library should be inherently thread-safe)

,Gstremer 内部负责所有线程。

 3. Easy to use and maintain

是的 Gstremer 易于使用和维护

 4. Documentation: API should be well documented...this is relative...:)

是的 Gstremer 有管理良好的记录 API

没有 Gstermer 框架不依赖 ffmpeg。但实际上 gstremer 有一些基于 ffmpeg 的插件。那就是gst-ffmpeg

I suggest you to use Gstreamer.

Gstremer is multimedia framework and it has so many plug-in for various task. Plugin are one type of library. And for Capturing rtsp , converting raw video , and muxing in mp4 all have i think you will easily find out the best plug-in in Gstermer. yOU just need to write one application for this.

   1. Licensing policy to allow use within a commercial product without
   the need to open source any of the components of the product that is 
   using the library

i dont know much about this

   2. Ability to be used effectively in a multi-threaded environment 
    (library should be inherently thread-safe)

yea Gstremer internally take care for all threading.

 3. Easy to use and maintain

yea Gstremer is easy to use and maintain

 4. Documentation: API should be well documented...this is relative...:)

yea Gstremer has verry well managed documented API

No Gstermer framework has no dependency on ffmpeg.but Actualy gstremer has some plugin which are based on ffmpeg. that is gst-ffmpeg

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