Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
SupTitle: an AviSynth PGS (.SUP) Subtitle Plugin
Hi folks,
I've looked around for an AviSynth plugin to hard sub (I mostly hard sub the forced subtitles) my rips but was unable to find any. So I've created an AviSynth plugin called SupTitle to do just that. It handles .SUP files extracted from eac3to (both HD and BD). Note that some users have tried to use SupTitle on DVD and HDTV subs and complained it doesn't work. So let me reiterate - SupTitle handles HD-DVD and Bluray .SUP files extracted by eac3to. You'll need Microsoft .NET Framework 4 installed. Cheers. Current version: v2.0.8 Download: http://www.zachsaw.com/?pg=suptitle_pgs_avisynth_plugin *** Make sure you read the installation guide in detail or you'll get an error message from AviSynth complaining "Could not load plugin". Last edited by Zachs; 15th October 2013 at 05:15. |
![]() |
![]() |
![]() |
#5 | Link |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Ok, here it is.
SupTitle: an AviSynth PGS (.SUP) Subtitle Plugin # Supported colorspaces - YV12, YUY2, RGB24, RGB32 # SIMD optimizations # Alpha channel transparency blending # Handles both HD-DVD and Blu-ray .SUP subtitle files extracted by eac3to # Perfect for hardsubbing forced subtitles with forced flag detection (e.g. subs for foreign dialogues) # Supports seek and jump Note: It takes a while to start especially with large SUP files. SupTitle reads, verifies and caches all the SUP metadata on startup. Last edited by Zachs; 6th July 2009 at 03:46. |
![]() |
![]() |
![]() |
#11 | Link | |
Member of a Library
Join Date: Oct 2002
Posts: 463
|
Quote:
GL |
|
![]() |
![]() |
![]() |
#12 | Link |
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,691
|
I have to ask, why the hell would you do that? There are already subtitle plugins for SD DVD's. VSFilter anyone? There is no point in converting to a HD format (and losing quality in the process), when you could just sub the SD version using already available tools.
|
![]() |
![]() |
![]() |
#13 | Link | |
Member of a Library
Join Date: Oct 2002
Posts: 463
|
Quote:
No conversion to HD planned. ![]() GL |
|
![]() |
![]() |
![]() |
#14 | Link | |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,356
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 | Link | ||
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#18 | Link |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Hmm. Which app did you use to display the subtitle?
I think it depends on how the app converts YUV to RGB. SupTitle uses the following formula: YUV to RGB Conversion B = 1.164(Y - 16) + 2.018(U - 128) G = 1.164(Y - 16) - 0.813(V - 128) - 0.391(U - 128) R = 1.164(Y - 16) + 1.596(V - 128) From here http://www.fourcc.org/fccyvrgb.php Which app created the sup file? |
![]() |
![]() |
![]() |
#19 | Link |
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Also, there seems to be some unknowns in the PGS format such as the sequence of the Y'cbcr bytes.
That's the reason you get to swap cr/cb in BDSup2Sub. I'd be interested to see how a standalone player displays the subtitle. |
![]() |
![]() |
![]() |
#20 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
I tried creating the subtitles with PunkGraphicStream, avs2bdnxml + bdssup2sub and avs2bdnxml + bdsubedit. I don't have a standalone blu-ray player yet, but in MPC-HC and Power DVD all the subtitles are displayed in the correct red colors.
I'm using AviSynth's "blankclip" and it happens in RGB24, RGB32, YUY2 and YV12. While the subtitles appear blue in all four color spaces, in RGB24 and RGB32 the whole image gets green (overlaying anything that was beneath it). For playing I use VirtualDub and MPC-HC. |
![]() |
![]() |
![]() |
Tags |
avisynth, hard sub, plugin, subtitle, suptitle |
Thread Tools | Search this Thread |
Display Modes | |
|
|