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
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