| |
#1 (permalink)
|
| Portal Developer Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 97 Times in 27 Posts
| 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 Last edited by cpp2005; 2009-05-29 at 18:22.. Reason: Updated the binaries for MP 1.0.2 |
| | |
| 56 Users Thank You: | 1stdead, 4roma, akiaki, Arkard, armandp, arryo, bazzz, damaster, DAx_dk, DoXer, Edalex, edterbak, emphatic, Estranged02, eXces, fforde, FlipGer, frenzy, fullerms, gibman, graham.reeds, Henkie Flits, high, kirill_mmm, kszabo, lloydsmart, magnetism, midgar, mr viggo, nestochi, nipper575, offbyone, olavm, Pretoriano, Raytestrak, risu, RMK, RoChess, ronzelver, rtv, Sebastiii, seco, shotek, SMa, stoked, S_Behn, THDBASED, tontsa, tourettes, uggabugga, Vattenmelon, vuego, wouter1971, zeebee, ziphnor, zOnk.oNe |
| | #2 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 32
Posts: 8,604
Thanks: 361
Thanked 657 Times in 426 Posts
| Nice work! I think if testing goes well this should be included in MP 1.0.2 (as 1.0.1 has just gone into feature freeze few days ago). I didn't yet check the code (or MP changes) but intend to do so in near future. Here are few things that should be noted: - We are already using a specific BaseClasses version for you DirectShow filters, MPC code should be ported to use the same version (we don't want to have duplicate / different versions in SVN / MP) - If possible please provide .patch files for MP side changes (makes easier to check the diffs as you can base those on different SVN version)
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" |
| | |
| | #4 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 32
Posts: 8,604
Thanks: 361
Thanked 657 Times in 426 Posts
| "svn 21527" is most likely later than that, sorry too lazy to check it now ![]()
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" |
| | |
| | #7 (permalink) |
| Portal Tester | Hi,i have the same problem like seco,when i run "configuration.exe" windows give me the "program stoped working " error and i'm using MediaPortal with the latest SVN (in fact my original "configuration.exe" and "core.dll" says version 1.0.0.21527 but the attached files are version 1.0.0.0). ![]() |
| | |
| These User Thank You: |
| | #8 (permalink) |
| Portal Developer Join Date: Jan 2005 Age: 32
Posts: 8,604
Thanks: 361
Thanked 657 Times in 426 Posts
| Thanks, how about unifying the baseclasses version / usage? ![]()
__________________ http://day2.no-ip.org/ "Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen" |
| | |
| | #9 (permalink) |
| Portal Translator Join Date: Jun 2008 Location: Nový Jičín Age: 32
Posts: 2,121
Thanks: 6
Thanked 543 Times in 200 Posts
Country: | Great.
__________________ My projects: SAF (Standalone Filters) + MP Czech translation MCE standby tool addon My easy Amiga emulation HOBRing |
| | |
| | #10 (permalink) |
| Portal Developer Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 97 Times in 27 Posts
| What baseclasses are used in mediaportal? In DirectShowFilters readme it is specified to use latest from C:\Program Files\Microsoft SDKs\Windows\v61. I used the same, so it should not be a problem. Pretoriano Both configuration and mediaportal didn't work? You don't have to use configuration, if you had subtitles enabled it should work right away. |
| | |
![]() |
| Bookmarks |
| Tags |
| engine, integration, mpchc, subtitle |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/general-development-no-feature-request-here-48/integration-mpc-hc-subtitles-engine-54130/ | ||||
| Posted By | For | Type | Date | |
| Clube do Media Portal - Página 36 - HT Forum | This thread | Refback | 2009-12-10 03:19 | |
| Media Portal alternatief voor Windows Media Center (Deel 3) - Client Software Algemeen - GoT | This thread | Refback | 2009-12-01 15:57 | |
| SAF - Komplett codec-paket för MP? - Minhembio forum | This thread | Refback | 2009-11-19 02:58 | |
| DXVA with MediaPortal under W7 for mkv with subs - AVS Forum | This thread | Refback | 2009-11-06 20:05 | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MPC HC full compatibility possible? | THX-UltraII | General Support | 2 | 2009-01-29 11:39 |
| Audio problems using MPC-HC in MP | Twitchstick | Codecs, External Players | 0 | 2008-11-26 06:14 |
| MPC-HC codecs and VMR9 options? | jo16v | Codecs, External Players | 0 | 2008-10-27 17:32 |
| MPC-HC can't play Mediaportal .ts recordings | kiwijunglist | Codecs, External Players | 9 | 2008-09-23 04:09 |
| DXVA enabled MPC-HC source in MP? | us1111 | Improvement Suggestions | 9 | 2008-09-23 03:22 |