MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Development » General Development (no feature request here!)


Reply
 
LinkBack (4) Thread Tools Display Modes
Old 2009-02-03, 21:02   4 links from elsewhere to this Post. Click to view. #1 (permalink)
Portal Developer
 
Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 97 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, 592 views)
File Type: zip mp_Src.zip (126.8 KB, 503 views)
File Type: rar MPC subs engine - Binaries for MP 1.0.2.rar (2.35 MB, 3416 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
Old 2009-02-03, 21:11   #2 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 32
Posts: 8,604
Thanks: 361
Thanked 657 Times in 426 Posts


Default

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"
tourettes is online now   Reply With Quote
Old 2009-02-03, 22:10   #3 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 28
Posts: 371
Thanks: 12
Thanked 86 Times in 31 Posts

Country:

My System

Default

I'm getting weird errors when trying to run attached Configuration.exe, it doesn't run at all.

Should this work with 1.0 final (if not, binaries for it would be nice)?

Last edited by seco; 2009-02-03 at 22:17..
seco is offline   Reply With Quote
Old 2009-02-03, 22:11   #4 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 32
Posts: 8,604
Thanks: 361
Thanked 657 Times in 426 Posts


Default

"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"
tourettes is online now   Reply With Quote
Old 2009-02-03, 22:23   #5 (permalink)
Portal Developer
 
Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 97 Times in 27 Posts


Default

tourettes
Ok, I included the patch file in mp_Src.zip.

seco
21527 is the latest svn.
cpp2005 is offline   Reply With Quote
Old 2009-02-03, 22:34   #6 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 28
Posts: 371
Thanks: 12
Thanked 86 Times in 31 Posts

Country:

My System

Default

Quote:
Originally Posted by cpp2005 View Post
seco
21527 is the latest svn.
Yeah, I know, but I don't want to run latest SVN because I have working 1.0 final setup.
seco is offline   Reply With Quote
Old 2009-02-04, 00:00   #7 (permalink)
Portal Tester
 
Pretoriano's Avatar
 
Join Date: Oct 2007
Age: 30
Posts: 511
Thanks: 105
Thanked 133 Times in 87 Posts

Country:

My System

Exclamation

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).
__________________
Click the image to open in full size.

Flavio
Pretoriano is offline   Reply With Quote
These User Thank You:
Old 2009-02-04, 07:04   #8 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 32
Posts: 8,604
Thanks: 361
Thanked 657 Times in 426 Posts


Default

Quote:
Originally Posted by cpp2005 View Post
tourettes
Ok, I included the patch file in mp_Src.zip.
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"
tourettes is online now   Reply With Quote
Old 2009-02-04, 07:55   #9 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 2,121
Thanks: 6
Thanked 543 Times in 200 Posts

Country:

My System

Send a message via ICQ to hoborg
Default

Great.
__________________
My projects:
SAF (Standalone Filters) + MP Czech translation
MCE standby tool addon
My easy Amiga emulation
HOBRing
hoborg is online now   Reply With Quote
Old 2009-02-04, 13:37   #10 (permalink)
Portal Developer
 
Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 97 Times in 27 Posts


Default

Quote:
Originally Posted by tourettes View Post
Thanks, how about unifying the baseclasses version / usage?
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.
cpp2005 is offline   Reply With Quote
Reply

Bookmarks

Tags
engine, integration, mpchc, subtitle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT +1. The time now is 00:20.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden