MediaPortal Forums HTPC/MediaCenter
Old 2009-02-06, 19:45   #41 (permalink)
MP Donator
 
Join Date: Dec 2007
Posts: 292
Thanks: 16
Thanked 4 Times in 4 Posts

Country:

My System

Default

Quote:
Originally Posted by cpp2005 View Post
Quote:
Originally Posted by mr viggo View Post
I'm just curious, how would this "hack" interfere with MPs internal sub engine regarding other containers/codecs when trying to show subs.
The new engine is intended to replace DirectVobSub. So, it will work whenever DirectVobSub was working
So to enable this, do we disable VSFilter loading in Haali media splitter and this will take over?
__________________
My HTPC Blog: http://stokedtech.blogspot.com/
stoked is offline   Reply With Quote
Old 2009-02-06, 19:49   #42 (permalink)
Portal Translator
 
hoborg's Avatar
 
Join Date: Jun 2008
Location: Nový Jičín
Age: 32
Posts: 2,116
Thanks: 6
Thanked 541 Times in 199 Posts

Country:

My System

Send a message via ICQ to hoborg
Default

Best you can do is unregister "VSFilter.dll".
__________________
My projects:
SAF (Standalone Filters) + MP Czech translation
MCE standby tool addon
My easy Amiga emulation
HOBRing
hoborg is offline   Reply With Quote
Old 2009-02-06, 20:30   #43 (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

Default

i'm now using this patch with MP (i compiled the latest svn with the sources from CPP2005 so configuration work to) and i must say that i don't have any issue so far,divx/xvid subtitles are working (i unregistred vsfilter) no conflicts so far.Thx again CPP2005 and i hope this will be integrated soon (and a i dont have to compile MP my own)
__________________
Click the image to open in full size.

Flavio
Pretoriano is offline   Reply With Quote
2 Users Thank You:
Old 2009-02-06, 20:49   #44 (permalink)
MP Donator
 
red5goahead's Avatar
 
Join Date: Nov 2007
Posts: 222
Thanks: 24
Thanked 6 Times in 6 Posts

Country:

My System

Default

Quote:
Originally Posted by Pretoriano View Post
i'm now using this patch with MP (i compiled the latest svn with the sources from CPP2005 so configuration work to) and i must say that i don't have any issue so far,divx/xvid subtitles are working (i unregistred vsfilter) no conflicts so far.Thx again CPP2005 and i hope this will be integrated soon (and a i dont have to compile MP my own)
I quote you. Flavio e buona serata.

CPP2005 remember check the sub synch because seem there is some problem. the video/audio seems lags from its sub. the sub hastes for about half second. the internal sub slide delay control seems not work.

ps:I tried with an MKV 720p h.264/ac3 and its srt files.

again cpp2005.
red5goahead is offline   Reply With Quote
Old 2009-02-06, 20:59   #45 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 32
Posts: 8,587
Thanks: 361
Thanked 655 Times in 424 Posts


Default

Quote:
Originally Posted by red5goahead View Post
the internal sub slide delay control seems not work.
I'm almost sure that it has never worked
__________________
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
These User Thank You:
Old 2009-02-06, 21:02   #46 (permalink)
MP Donator
 
red5goahead's Avatar
 
Join Date: Nov 2007
Posts: 222
Thanks: 24
Thanked 6 Times in 6 Posts

Country:

My System

Default

Quote:
Originally Posted by tourettes View Post
Quote:
Originally Posted by red5goahead View Post
the internal sub slide delay control seems not work.
I'm almost sure that it has never worked
Ok so it's time to go...
red5goahead is offline   Reply With Quote
These User Thank You:
Old 2009-02-06, 21:19   #47 (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

Default

Quote:
Originally Posted by tourettes View Post
Quote:
Originally Posted by red5goahead View Post
the internal sub slide delay control seems not work.
I'm almost sure that it has never worked
so thats why ,i almost breaked my remote one day.

And yes subs are a bit outsynch here too,not much but it is...
__________________
Click the image to open in full size.

Flavio
Pretoriano is offline   Reply With Quote
These User Thank You:
Old 2009-02-06, 22:55   #48 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 403
Thanks: 26
Thanked 32 Times in 18 Posts

Country:

My System

Default

2 bugs to report
1: Slight delay as others have reported.

2: When I close MediaPortal, the MediaPortal.exe process keeps running in the background and I have to kill it with Task Manager. This is due to loading of mpcSubs.dll. As a test, I changed MpcSubtitles.cs to NOT import the DLL and just stubbed out empty methods as below, and then when I exit MediaPortal it exits just fine:

Code:
    /*
    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern unsafe bool SetDevice(void* device, int w, int h);

    [DllImport("mpcSubs.dll", ExactSpelling = true, CharSet = CharSet.Unicode)]
    public static extern void SetDefaultStyle([In] ref SubtitleStyle style);

    [DllImport("mpcSubs.dll", ExactSpelling = true, CharSet = CharSet.Unicode)]
    public static extern bool LoadSubtitles(string filename, IGraphBuilder graphBuilder);

    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern int GetCount();

    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    [return: MarshalAs(UnmanagedType.BStr)]
    public static extern string GetLanguage(int i);

    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern int GetCurrent();
    
    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern void SetCurrent(int current);

    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern bool GetEnable();
    
    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern void SetEnable(bool enable);

    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern void Render();

    [DllImport("mpcSubs.dll", ExactSpelling = true)]
    public static extern void FreeSubtitles();
    */

    public static unsafe bool SetDevice(void* device, int w, int h) { return true; }

    public static void SetDefaultStyle([In] ref SubtitleStyle style) { }

    public static bool LoadSubtitles(string filename, IGraphBuilder graphBuilder) { return true; }

    public static int GetCount()  { return 1; }

    public static string GetLanguage(int i) { return "English"; }

    public static int GetCurrent() { return 1; }
    
    public static void SetCurrent(int current) { }

    public static bool GetEnable() { return true; }
    
    public static void SetEnable(bool enable) { }

    public static void Render() { } 

    public static void FreeSubtitles() { }
__________________
MediaPortal Install Guide

Last edited by damaster; 2009-02-06 at 23:54..
damaster is offline   Reply With Quote
Old 2009-02-07, 01:25   #49 (permalink)
MP Donator
 
Join Date: Mar 2008
Age: 31
Posts: 288
Thanks: 100
Thanked 19 Times in 18 Posts

Country:

My System

Default

Quote:
Originally Posted by damaster View Post
When I close MediaPortal, the MediaPortal.exe process keeps running in the background and I have to kill it with Task Manager.
Same here.
mr viggo is offline   Reply With Quote
Old 2009-02-07, 06:37   #50 (permalink)
Portal Developer
 
Join Date: Nov 2006
Posts: 141
Thanks: 0
Thanked 96 Times in 27 Posts


Default

Ok I'm checking it, tourettes may be you have a hint why it would stay in memory?
Regarding delay: with what kind of subtitles did you get it (all/external/internal)? And what renderer are you using?

Quote:
Originally Posted by stoked View Post
So to enable this, do we disable VSFilter loading in Haali media splitter and this will take over?
DirectVobSub is removed automatically from graph, so you don't have to do anything to enable it.

damaster, mr viggo
can you check mediaportal logs, if there are any errors after it stays in memory?

Last edited by cpp2005; 2009-02-07 at 06:44.. Reason: Automerged Doublepost
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 08:44.


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