View Full Version : Incorporating a third party mpeg2 decoder into MV

March 10, 2006, 22:28:44
I must preface this post with the following comment: I am extremely new to video processing, filters, etc.

I am using MontiVisions workbench to develop my video processing application. So far, so good. I have need of an mpeg2 decoder filter that does not "hammer" my processor. (I am using a dual core 3.2GHz P4). All of the current mpeg2 decoders that I see in MV Workbench use about 50% of my processor. I recently found an application called VideoLAN Client (open source and freely redistributable). This app incorporates an extremely efficient mpeg2 decoder (also open source and freely redistributable) that only uses about 6% of my cpu. The mpeg2 decoder is a stand-alone piece of software (written in C++). Now my question: How can this mpeg2 decoder be made to appear as a filter that can be inserted into a MV filtergraph? I am not aware of any way to build a filter.

Bernd Peretzke
March 13, 2006, 11:31:22

Did you test the mpeg decoder from MainConcept (http://www.mainconcept.com) ? They have fast and high quality decoder.

The ffdshow project (http://ffdshow.sourceforge.net/) provides a DShow filter that uses the ffmpeg code but I don't think it is faster than the MainConcept decoder. But I didn't test it.

Take care with license issues if you use open source codecs. The code could be free but you have to pay for using MPEG.


March 13, 2006, 13:08:27
Thanks Bernd. I will try immediately.