开发者

Windows Media Player Control (winforms) - capture current frame as bitmap?

I am using Windows Media Player control in a winforms app, I would like to periodically capture the playing frame into a bitmap and save it locally. Does WMP expose the current playing frame? Surely the WMP librarty should expose the current frame, but I have looked all over for it to no avail...pls help.

p.s. I am looking for a more elegant approach than the hack method of capture the screen and cropping it开发者_Go百科.


http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/994554ec-219e-4090-9ddf-befd51bd4912

The answer is to use a DrawingVisual, DrawingConext and RenderTargetBitmap. Some discussion of it above.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜