home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Integration of MPC-HC subtitle's engine
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xppx" data-source="post: 489309" data-attributes="member: 55884"><p><strong>MPC-HC with DirectVobSub working with mix internal and external subs</strong></p><p></p><p>Perhaps this can be of interest to somebody. </p><p></p><p>I stumbled on a bug (can somebody confirm this?) and looked for a solution and found one that solved the internal/external subs issues. </p><p></p><p><span style="color: DarkRed">I managed to setup MP v1.02 in such a way with MPC-HC and DirectVobSub that <strong>it currently plays anything with internal and external (or both) subtitles with CUDA</strong> ('Compute Unified Device Architecture', improved architecture and better than DXVA) <strong>enabled</strong> (of course CUDA only if the movie format allows hardware acceleration).</span></p><p></p><p><span style="color: Navy"><strong>[Alleged BUG]</strong> In the MP Video configuration I finally needed to choose DirectVobSub over MPC-HC because MPC-HC has subtitle synchronisation issues with 1080p MKV's. </span></p><p>I tested it for 5 hours with different MKV's in different setup's (internal/external/mix subs, vobsub enabled/disabled (which shouldn't matter), etc...) but each time the subtitles were displayed 1-3 seconds too early (in case of internal subs) or too late (external subs in combination with a MKV with and without internal subs). </p><p>And if you changed the subtitle language during play-time the delay would change randomly.<span style="color: Navy"><strong>[/BUG]</strong></span></p><p></p><p>Note that this only happened with MKV's which were converted from bluray and were 1080p. All other MKV's worked fine.</p><p></p><p><strong>Then I discovered that the MPC files that I put over the 1.0.2 had another great effect:</strong></p><p></p><p style="margin-left: 20px">Now the original<strong> DirectVobSub also worked with internal subtitles in a MKV container out-of-the-box </strong>and on top of this it also worked for >720p MKV's <strong>and with any mix of internal/external subs</strong>.</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">You can even change the language without any effect on the subtitle synchronisation. It stays fully in sync.</p> <p style="margin-left: 20px">And icing on the cake is the <strong>CUDA architecture which now enables you to run your video in HW acceleration even when using DirectVobSub</strong>.</p><p></p><p>In my current setup in MP (via 'L') I now get the full list of all subs available: internal (if MKV) + external which is what MPC-HC promised.</p><p></p><p>I tested this configuration out with different video formats (WMV, MPEG, AVI, DivX, XviD, MKV (internal, external, mix internal+external) and they all worked like a charm. And due to the specific setup of DirectVobSub the quality of the subtitles is perfect in any video resolution.</p><p></p><p>=~=~=</p><p><strong><em>SETUP</em></strong></p><p>=~=~=</p><p></p><p><u>Software:</u></p><p style="margin-left: 20px"><span style="color: DimGray">MediaPortal 1.0.2;</span></p> <p style="margin-left: 20px"><span style="color: DimGray">MPC subs engine - Binaries for MP 1.0.2;</span></p> <p style="margin-left: 20px"><span style="color: DimGray">MP-TVSeries v2.3.3491 (MediaPortal 1.0.2/1.1.0 Compatible);</span></p> <p style="margin-left: 20px"><span style="color: DimGray">DirectVobSub 2.39;</span></p> <p style="margin-left: 20px"><span style="color: DimGray">Haali Media Splitter (20090111);</span></p> <p style="margin-left: 20px"><span style="color: DimGray">CoreAVC v1.9.5 (CUDA enabled);</span></p> <p style="margin-left: 20px"><span style="color: DimGray">Nvidia 8500GT & Nvidia Display Drivers v190.38 (latest WHQL);</span></p> <p style="margin-left: 20px"><span style="color: DimGray">FFDShow Beta 6 rev3040 (20090724) -> actually not necessary for subtitles;</span></p> <p style="margin-left: 20px"><span style="color: DimGray">Xvid v1.1.3;</span></p> <p style="margin-left: 20px"><span style="color: DimGray">XP SP3 (latest update 20090723)</span></p> <p style="margin-left: 20px"><span style="color: DimGray">And no (polluting) codec pack(s) installed.</span></p><p></p><p><u>Configuration:</u></p><p style="margin-left: 20px"><span style="color: DimGray"></span></p> <p style="margin-left: 20px"><span style="color: DimGray"> <ul> <li data-xf-list-type="ul">MPC-HC installed over MP 1.0.2</li> <li data-xf-list-type="ul">In MP Configuration:<ul> <li data-xf-list-type="ul">In Videos "DirectVobSub" chosen as subtitle engine with autoload ON</li> <li data-xf-list-type="ul">Via advanced in DirectVobSub properties:<ul> <li data-xf-list-type="ul">PAR compensation: Accurate Size</li> <li data-xf-list-type="ul">Vertical padding: extend to 16:9 (gives you the PowerDVD 'read-it-clearly' feature)</li> <li data-xf-list-type="ul">Double if smaller than 720x576 (produces great subtitles on lower resolution, cost is a small CPU increase)</li> <li data-xf-list-type="ul">Always load</li> </ul></li> <li data-xf-list-type="ul">Personal setting: Shadow Depth of 1</li> <li data-xf-list-type="ul">And finally the default language + subtitle you wish</li> <li data-xf-list-type="ul">For the codec settings I chose CoreAVC as H.264 video decoder. The MPEG-2 doesn't matter for subtitling since this is DVD and handled automatically due to the format .</li> <li data-xf-list-type="ul">And no video post-processing anymore (previously you needed to add DirectVobSub Autoload here)</li> </ul></li> <li data-xf-list-type="ul">In the Haali Media Splitter<ul> <li data-xf-list-type="ul">NO autoload VSFilter -> not necessary anymore</li> <li data-xf-list-type="ul">Audio & Subtitle languages of my preference</li> </ul></li> <li data-xf-list-type="ul">CoreAVC with CUDA enabled<ul> <li data-xf-list-type="ul">If the CoreAVC tray icon turns green, you know it works</li> </ul></li> <li data-xf-list-type="ul">FFDShow<ul> <li data-xf-list-type="ul">disabled the H.264/AVC decoder as CoreAVC will handle this</li> <li data-xf-list-type="ul">changed xvid decoder to xvid</li> <li data-xf-list-type="ul">rest of the formats is handled by default</li> <li data-xf-list-type="ul">Subtitles disabled</li> </ul></li> <li data-xf-list-type="ul">Video Rendering Setting: VMR9 (all settings flagged on)</li> </ul></p> <p style="margin-left: 20px"></span> </p><p></p><p>=~=~=~=~=~=~=~=~=~=~=</p><p>Some note on DXVA and CUDA</p><p>=~=~=~=~=~=~=~=~=~=~=</p><p></p><p style="margin-left: 20px">With the DXVA API (Microsoft’s DirectX Video Acceleration), you will be able to play high definition H.264 videos with negligible CPU utilization. </p> <p style="margin-left: 20px">But there are <span style="color: Red">limitations with the DXVA method</span>, and they are (amongst others):</p> <ul style="margin-left: 20px"> <li data-xf-list-type="ul"><span style="color: Red">Only certain renderers can be used depending on operating system </span>(overlay mixer and VMR9 for Windows XP, Enhanced Video Renderer for Windows Vista/7).</li> <li data-xf-list-type="ul">Cannot decode videos that were encoded with numbers of reference frames that exceed certain levels (11 in nVidia GPUs, figures lower than that for ATI GPUs).</li> <li data-xf-list-type="ul"><span style="color: Red">Cannot have any intermediate filters (such as ffdshow Video Decoder or DirectVobSub) between the video decoder and the video renderer.</span></li> </ul> <p style="margin-left: 20px">Now, <span style="color: Green">with CUDA </span>(Compute Unified Device Architecture) support, <span style="color: green">you can eliminate the first and the third limitations</span>, while increasing the threshold in the reference frame limit. </p></blockquote><p></p>
[QUOTE="xppx, post: 489309, member: 55884"] [b]MPC-HC with DirectVobSub working with mix internal and external subs[/b] Perhaps this can be of interest to somebody. I stumbled on a bug (can somebody confirm this?) and looked for a solution and found one that solved the internal/external subs issues. [COLOR="DarkRed"]I managed to setup MP v1.02 in such a way with MPC-HC and DirectVobSub that [B]it currently plays anything with internal and external (or both) subtitles with CUDA[/B] ('Compute Unified Device Architecture', improved architecture and better than DXVA) [B]enabled[/B] (of course CUDA only if the movie format allows hardware acceleration).[/COLOR] [COLOR="Navy"][B][Alleged BUG][/B] In the MP Video configuration I finally needed to choose DirectVobSub over MPC-HC because MPC-HC has subtitle synchronisation issues with 1080p MKV's. [/COLOR] I tested it for 5 hours with different MKV's in different setup's (internal/external/mix subs, vobsub enabled/disabled (which shouldn't matter), etc...) but each time the subtitles were displayed 1-3 seconds too early (in case of internal subs) or too late (external subs in combination with a MKV with and without internal subs). And if you changed the subtitle language during play-time the delay would change randomly.[COLOR="Navy"][B][/BUG][/B][/COLOR] Note that this only happened with MKV's which were converted from bluray and were 1080p. All other MKV's worked fine. [B]Then I discovered that the MPC files that I put over the 1.0.2 had another great effect:[/B] [INDENT]Now the original[B] DirectVobSub also worked with internal subtitles in a MKV container out-of-the-box [/B]and on top of this it also worked for >720p MKV's [B]and with any mix of internal/external subs[/B]. You can even change the language without any effect on the subtitle synchronisation. It stays fully in sync. And icing on the cake is the [B]CUDA architecture which now enables you to run your video in HW acceleration even when using DirectVobSub[/B].[/INDENT] In my current setup in MP (via 'L') I now get the full list of all subs available: internal (if MKV) + external which is what MPC-HC promised. I tested this configuration out with different video formats (WMV, MPEG, AVI, DivX, XviD, MKV (internal, external, mix internal+external) and they all worked like a charm. And due to the specific setup of DirectVobSub the quality of the subtitles is perfect in any video resolution. =~=~= [B][I]SETUP[/I][/B] =~=~= [U]Software:[/U] [INDENT][COLOR="DimGray"]MediaPortal 1.0.2; MPC subs engine - Binaries for MP 1.0.2; MP-TVSeries v2.3.3491 (MediaPortal 1.0.2/1.1.0 Compatible); DirectVobSub 2.39; Haali Media Splitter (20090111); CoreAVC v1.9.5 (CUDA enabled); Nvidia 8500GT & Nvidia Display Drivers v190.38 (latest WHQL); FFDShow Beta 6 rev3040 (20090724) -> actually not necessary for subtitles; Xvid v1.1.3; XP SP3 (latest update 20090723) And no (polluting) codec pack(s) installed.[/COLOR][/INDENT] [U]Configuration:[/U] [INDENT][COLOR="DimGray"] [LIST] [*]MPC-HC installed over MP 1.0.2 [*]In MP Configuration:[LIST] [*]In Videos "DirectVobSub" chosen as subtitle engine with autoload ON [*]Via advanced in DirectVobSub properties:[LIST] [*]PAR compensation: Accurate Size [*]Vertical padding: extend to 16:9 (gives you the PowerDVD 'read-it-clearly' feature) [*]Double if smaller than 720x576 (produces great subtitles on lower resolution, cost is a small CPU increase) [*]Always load [/LIST][*]Personal setting: Shadow Depth of 1 [*]And finally the default language + subtitle you wish [*]For the codec settings I chose CoreAVC as H.264 video decoder. The MPEG-2 doesn't matter for subtitling since this is DVD and handled automatically due to the format . [*]And no video post-processing anymore (previously you needed to add DirectVobSub Autoload here) [/LIST][*]In the Haali Media Splitter[LIST] [*]NO autoload VSFilter -> not necessary anymore [*]Audio & Subtitle languages of my preference [/LIST][*]CoreAVC with CUDA enabled [LIST] [*]If the CoreAVC tray icon turns green, you know it works [/LIST][*]FFDShow[LIST] [*]disabled the H.264/AVC decoder as CoreAVC will handle this [*]changed xvid decoder to xvid [*]rest of the formats is handled by default [*]Subtitles disabled [/LIST] [*]Video Rendering Setting: VMR9 (all settings flagged on) [/LIST][/COLOR] [/INDENT] =~=~=~=~=~=~=~=~=~=~= Some note on DXVA and CUDA =~=~=~=~=~=~=~=~=~=~= [INDENT]With the DXVA API (Microsoft’s DirectX Video Acceleration), you will be able to play high definition H.264 videos with negligible CPU utilization. But there are [COLOR="Red"]limitations with the DXVA method[/COLOR], and they are (amongst others): [LIST] [*][COLOR="Red"]Only certain renderers can be used depending on operating system [/COLOR](overlay mixer and VMR9 for Windows XP, Enhanced Video Renderer for Windows Vista/7). [*]Cannot decode videos that were encoded with numbers of reference frames that exceed certain levels (11 in nVidia GPUs, figures lower than that for ATI GPUs). [*][COLOR="Red"]Cannot have any intermediate filters (such as ffdshow Video Decoder or DirectVobSub) between the video decoder and the video renderer.[/COLOR] [/LIST] Now, [COLOR="Green"]with CUDA [/COLOR](Compute Unified Device Architecture) support, [COLOR="green"]you can eliminate the first and the third limitations[/COLOR], while increasing the threshold in the reference frame limit. [/INDENT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Integration of MPC-HC subtitle's engine
Contact us
RSS
Top
Bottom