ffdshow和ffmpeg的关系

看不少人对ffdshow和ffmpeg的关系有点搞不清楚,所以响应Leon老大的号召,发个帖子简单说明一下。

ffdshow is DirectShow and VFW codec for decoding/encoding many video and audio formats, including DivX and XviD movies using libavcodec, xvid and other opensourced libraries with a rich set of postprocessing filters.

上边是sf的ffdshow的简单说明。我得理解就是,ffdshow是对一些codec(ffmpeg, xvid, and other)的封装,封装成了DirectShow和VFW的标准组件。比如对于xvid来讲,ffdshow是可以选择具体使用那个codec的,ffmpeg(libavcodec) or xvid。

那么封装有没有额外的成本哪?有,但对大部分应用来讲,可以忽略不计。就如c++和c。

先说这么多,欢迎拍砖。

 

写得不错,目前群里面的兄弟都在研究ffmpeg,对ffdshow研究的少,因为ffdshow只是一件外衣,核心还是ffmpeg,估计等一段时间就会有些朋友转向ffdshow的。

 

我再补充几句吧,vfw和dshow里的CODEC分别是通过fourcc码和guid机制寻找的,可以在系统注册codec后调用,比自带编解码库形式更加统一,便于使用。此外,vfw和dshow是代表了两个微软不同时期的音视频处理封装库,里面包含了音视频驱动,音视频处理的一整套方案。

 

1. About ffdshow video decoder

ffdshow is a DirectShow decoding filter for decompressing DIVX movies.
It uses libavcodec from ffmpeg project or for video decompression (it can use
xvid.dll installed with xvid codec too), postprocessing code from mplayer to
enhance visual quality of low bitrate movies, and is based on original
DirectShow filter from XviD, which is GPL'ed educational implementation
of MPEG4 encoder.

2. Features

- fast video decompression using optimized MMX, SSE and 3DNow! code
- support for different codecs: XviD and all DIVX versions
- additional support for MSMPEG4v1, MSMPEG4v2, MSMPEG4v3 and H263
- can act as generic postprocessing filter for other decoders like MPEG1 or MPEG2
- image postprocessing for higher playback quality
- automatic quality control: automatically reduces postprocessing level when CPU load is high
- hue, saturation and luminance correction (MMX optimized)
- two sharpening filters: xsharpen and unsharp mask
- blur and temporal smoother
- tray icon with menu and quick access to configuration dialog
- noising with two selectable algorithms
- resizing and aspect ratio changing
- subtitles
- completely free software: ffdshow is distributed under GPL

3. Configuration

To be written.

4. Web links

ffdshow: http://cutka.szm.sk/ffdshow/ or http://sourceforge.net/projects/ffdshow/
XviD:    http://www.xvid.org/
ffmpeg:  http://ffmpeg.org/
libmpeg2:http://libmpeg2.sourceforge.net/
mplayer: http://www.mplayerhq.hu/
DVD2AVI: http://arbor.ee.ntu.edu.tw/~jackei/dvd2avi/
xsharpen, unsharp mask, msharpen, hue and saturation code
         http://sauron.mordor.net/dgraft/index.html

and
doom9:   http://www.doom9.org/

5. Copying

All used sources (except of cpu utilization detection routine) and ffdshow itself
are distributed under GPL. See copying.txt

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值