使用DirectShow进行实时视频压缩的适当编解码器 [英] Appropriate codec for real-time video compression with DirectShow

查看:70
本文介绍了使用DirectShow进行实时视频压缩的适当编解码器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以为实时视频压缩建议一个好的编解码器吗?以下是关键要求的列表:

Can anybody suggest a good codec for real-time video compression? Here is a list of key requirements:


  • 必须表示为DirectShow视频压缩过滤器

  • 版税-免费

  • 在相对较低的分辨率(最大640x480)上可与DivX媲美的高质量/比特率输出

  • 快速且实时有效地节省资源压缩

  • 与某些流行格式(例如MPEG-4)兼容,以在不同的视频播放器中广泛支持

  • Must be represented as DirectShow video compression filter
  • Royalty-free
  • Good quality/bitrate output comparable to the DivX on relatively low resolutions (640x480 max)
  • Fast and resources-efficient for real-time compression
  • Compatibility with some popular format (like MPEG-4) for wide support in different video players

我提到了DivX,我认为它是一个非常好的编解码器,但是如果我理解正确,它并不是免版税的,如果要将他们的编解码器集成到软件中,则需要向DivX Inc支付费用。

I mentioned DivX and I think it is a very good codec, but if I understand correctly it is not royalty-free and you need to pay DivX Inc if you want to integrate their codec into your software.

推荐答案

大多数编解码器都可以在DirectShow下直接使用,所以这应该不是问题。

Most codecs work out of the box under directshow, so that should not be a problem.

但是大多数当前编解码器不是免版税的。重复一遍,即使您使用x264,h264也是 不是 免版税的。您必须为编码器支付一定的费用。 Xvid却徒劳无益。唯一真正免版税的编解码器是VP4(OggTheora)和VP8(WebM)。两者在发烧友的PC视频用户之外均未获得太多支持。

But most 'current' codecs are not royalty free. Too repeat this, h264 even when you use x264 is not royalty free. You have to pay for the encoder a certain amount. In this vain Xvid is in the same boat. The only codecs which are really royalty free are VP4 (OggTheora) and VP8 (WebM). Neither enjoys much support outside enthusiast PC video users.

实时压缩并不是当前一代编解码器的目标,特别是x264如果您提供了正确的选项,则可以针对快速,低延迟的编码进行优化参数。

Real-Time compression is not a target of current generation of codecs, on the other hand, especially x264 was optimized for fast, low-latency encoding if you supply the right parameters. You have to check, if your target platform provides enough performance for real-time encoding with this codec.

注意:有许多商用的h264 / MPEG4 / MPEG2编解码器实现,几个供应商。也许其中之一适合您的需求。

NB: There are many commercial h264/MPEG4/MPEG2 codec implementations by several vendors. Maybe one of them fits your needs.

这篇关于使用DirectShow进行实时视频压缩的适当编解码器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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