View Single Post
Old 2009-02-03, 21:02   #1 (permalink)
cpp2005
Portal Developer
 
Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 96 Times in 27 Posts


Default Integration of MPC-HC subtitle's engine

Hi
I managed to integrate MPC-HC subtitle's engine to Mediaportal. The main advantage of such integration that it allows hardware acceleration - DirectVobSub is not required and video decoder is connected directly to video renderer.
There are only few changes needed to mediaportal itself - the library is fully contained, including subtitles management and selection. There are some additional features as well:
- modified subtitles configuration to include more options
- both external and internal (embedded) subtitles can be used at the same time. Currently in Mediaportal, in such case only internal subtitles will be used.
Please report your results here!

Attached are the sources and binaries for svn 22244.
mpc-hc_subs_Src.zip - Visual Studio 2008 solution to build mpcSubs.dll for mediaportal
mp_Src.zip - modifications for mediaportal itself


When building mediaportal, note that dshowhelper.dll (from Core\DirectShowHelper\DirectShowHelper) need to be built as well.

Build instructions for mpcSubs.dll:
Download MPC-HC sources (https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk)
Visual Studio 2008 is needed with BaseClasses from SDK samples (Samples\Multimedia\DirectShow\BaseClasses)
Only the following MPC-HC projects are used: BaseClasses, dsutil, subpic, subtitles, libssf.
Extract zip to root directory and use mpc-hc_subs.sln solution file.

The binaries were compiled with Visual Studio 2008 so if you have issues with video playback please install "Visual C++ 2008 Redistributable Package" from here: Download details: Visual C++ 2008 SP1 Redistributable Package (x86)
Download details: Visual C++ 2008 Redistributable Package (x86)

Remember if you have issues with this SVN and you are using the MPC subtitle engine please post them only in this thread because the new engine is not supported by team mediaportal yet.THX
Attached Files
File Type: zip mpc-hc_subs_Src.zip (23.2 KB, 591 views)
File Type: zip mp_Src.zip (126.8 KB, 502 views)
File Type: rar MPC subs engine - Binaries for MP 1.0.2.rar (2.35 MB, 3412 views)

Last edited by cpp2005; 2009-05-29 at 18:22.. Reason: Updated the binaries for MP 1.0.2
cpp2005 is offline   Reply With Quote
56 Users Thank You: