This sample does not work with libavcodec (ffmpeg cannot decode, ffdshow shows black screen) . However it works without problems when WMV9 decoder is used.