开发者

Video mixer filter

I need to find a video filter in order to mix multiple video streams (let's say, maximum 4). I've found a video mixer filter from MediaLooks and is ok, but the problem is that i'm trying to use it in a school project (for the entire semester) and so the 30 days trial is kind of unacceptable.

So my question to you is that: are y开发者_如何学JAVAou aware of a free direct show filter that could help. If this is not working then it means i must write one. The problem here is that i don't know from where to start.


If you need output to the display, you can use the VMR. If you need output to file, then I think you will need to write something. The standard solution to this is to write an allocator/presenter plugin for the VMR that allows you to get back the mixed video and then save it somewhere. This is more efficient that a fully software-only mixer filter.

G


I finally ended up by implementing my own filter.


The VideoMixerRender9 (and 7) will do the trick for you. You can set the opacity and area each video going into the VMR9. I suggest playing with it from within graphedit.

I would also like to suggest skipping that all together. If you use WPF, you will get far more media capabilities, much easier.

If you want low level DirectShow support, you can try my project, WPF Mediakit. I have a control called MediaUriElement that is similar to WPF's MediaElement.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜