Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Currently these are the most popular video frameworks available on Win32 platforms:</p> <ol> <li><p>Video for Windows: old windows framework coming from the age of Win95 but still widely used because it is very simple to use. Unfortunately it supports only AVI files for which the proper VFW codec has been installed.</p></li> <li><p>DirectShow: standard WinXP framework, it can basically load all formats you can play with Windows Media Player. Rather difficult to use.</p></li> <li><p><a href="http://ffmpeg.mplayerhq.hu/" rel="noreferrer">Ffmpeg</a>: more precisely libavcodec and libavformat that comes with Ffmpeg open- source multimedia utility. It is extremely powerful and can read a lot of formats (almost everything you can play with <a href="http://www.videolan.org/vlc/" rel="noreferrer">VLC</a>) even if you don't have the codec installed on the system. It's quite complicated to use but you can always get inspired by the code of ffplay that comes shipped with it or by other implementations in open-source software. Anyway I think it's still much easier to use than DS (and much faster). It needs to be comipled by MinGW on Windows, but all the steps are explained very well <a href="http://arrozcru.no-ip.org/ffmpeg/" rel="noreferrer">here</a> (in this moment the link is down, hope not dead).</p></li> <li><p><a href="http://developer.apple.com/quicktime/download/" rel="noreferrer">QuickTime</a>: the Apple framework is not the best solution for Windows platform, since it needs QuickTime app to be installed and also the proper QuickTime codec for every format; it does not support many formats, but its quite common in professional field (so some codec are actually only for QuickTime). Shouldn't be too difficult to implement.</p></li> <li><p><a href="http://www.gstreamer.net/" rel="noreferrer">Gstreamer</a>: latest open source framework. I don't know much about it, I guess it wraps over some of the other systems (but I'm not sure).</p></li> </ol> <p>All of this frameworks have been implemented as backend in OpenCv Highgui, except for DirectShow. The default framework for Win32 OpenCV is using VFW (and thus able only to open some AVI files), if you want to use the others you must download the CVS instead of the official release and still do some hacking on the code and it's anyway not too complete, for example FFMPEG backend doesn't allow to seek in the stream. If you want to use QuickTime with OpenCV <a href="http://path.berkeley.edu/~zuwhan/QTforOpenCVWin/" rel="noreferrer">this</a> can help you.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload