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.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st August 2009, 01:28   #21  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
OK. It looks like I've got cr/cb swapped.
I'll get it fixed.
Zachs is offline   Reply With Quote
Old 21st August 2009, 05:54   #22  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Ok. It's done.

http://www.zachsaw.co.cc/?pg=suptitl...visynth_plugin

Version 1.0.2

* Changed the way Ycbcr is decoded (you can still switch back to the original method by setting swapCbCr to true).
* Additionally, it now uses the ITU BT.709 colormetry.
* Function arguments forcedOnly and swapCbCr (new) are now named and optional.

E.g. SupTitle("C:\subtitle-forced.sup", forcedOnly=false, swapCbCr=false)
Zachs is offline   Reply With Quote
Old 21st August 2009, 13:55   #23  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Thx, but now the plugin is not loaded by AviSynth (2.5.8) anymore. ("Can't load plugin")
sneaker_ger is offline   Reply With Quote
Old 21st August 2009, 16:21   #24  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Did you replace both SupCore.dll and SupTitle.dll from the distro?
Zachs is offline   Reply With Quote
Old 21st August 2009, 16:37   #25  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Looks like something *is* wrong...
should be some linker settings to do with how managed and unmanaged parts of the dll are linked.
I'm afraid I won't be able to get it fixed till next week.
Will be quite busy over the weekend unfortunately.
Zachs is offline   Reply With Quote
Old 22nd August 2009, 02:23   #26  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
I've recompiled it, could you try it again?

suptitle_v1.0.2.zip 41.34kB
Zachs is offline   Reply With Quote
Old 22nd August 2009, 13:34   #27  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Works and colors are correct. The only remaining issue now is that the whole image becomes green in RGB color spaces.
sneaker_ger is offline   Reply With Quote
Old 22nd August 2009, 16:41   #28  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Yup. I'll look into that.
Zachs is offline   Reply With Quote
Old 24th August 2009, 02:32   #29  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
SupTitle v1.0.3 fixes the green image in RGB colorspaces issue.
Zachs is offline   Reply With Quote
Old 24th August 2009, 04:41   #30  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
"Can't load plugin"
sneaker_ger is offline   Reply With Quote
Old 24th August 2009, 05:51   #31  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Try v1.0.4.
suptitle_v1.0.4.zip

BTW, do you have Microsoft Visual Studio installed? 2008 perhaps?
Reason I want to know is 'cos I still haven't exactly figured out the actual cause of the "can't load plugin" error but I'm guessing it's got to do with some missing MS library files...
It's working on my machine so you'll have to help out a little to see if it works on yours.
Zachs is offline   Reply With Quote
Old 24th August 2009, 06:28   #32  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Try installing these:

"Microsoft Visual C++ 2005 Redistributable Package (x86)"
and
"Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)"
and
Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update
Specifically: vcredist_x86.exe

Last edited by Zachs; 24th August 2009 at 12:59.
Zachs is offline   Reply With Quote
Old 24th August 2009, 12:55   #33  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
After you've installed the above, make sure you have the following folder in your Windows\winsxs folder:

x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_d08d7da0442a985d

Note the build number 4053, which is the MSVC++ SP1 CRT.
Zachs is offline   Reply With Quote
Old 24th August 2009, 15:27   #34  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I had Windows XP with Visual Studio 2008 installed until a few days ago, when the hard disk failed. I'm currently on a Windows 2003 system I had laying around without Visual Studio. Having lost the old versions of SupTitle it could be that version 1.0 would have given the same error on my "new" system and that it's not a regression of SupTitle.
After having installed the vc++ red it works now. But while 1.0.3 fixed the RGB issue it's back in 1.0.4.
sneaker_ger is offline   Reply With Quote
Old 25th August 2009, 01:37   #35  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Yeah you're right. Only in RGB32 though. RGB24 is working fine.

This side-by-side configuration thing (e.g. in our case SupTitle requires a specific build number of the MSVC++ CRT) is something Microsoft introduced to alleviate the long standing problem of DLL Hell. But it introduces another problem in distributing standalone apps. A lot of people have been asking Microsoft to implement an auto-fetch feature, or at least show a proper message which prompts the user to a web page to download the package.
Zachs is offline   Reply With Quote
Old 25th August 2009, 04:07   #36  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
But while 1.0.3 fixed the RGB issue it's back in 1.0.4.
Fixed in v1.0.5.
Zachs is offline   Reply With Quote
Old 25th August 2009, 05:21   #37  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Thx, works fine.
And I also don't get why Microsoft doesn't include the reds into their Service Packs or on Windows Update. They're small and needed for many programs but instead of these small useful packages they redistribute things like live essentials and what not.
sneaker_ger is offline   Reply With Quote
Old 26th August 2009, 01:57   #38  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
FYI, suptitle v1.0.6 is out.
Startup time (load + verify of sup) has been reduced tremendously, as well as further sub rendering speed-ups.
Zachs is offline   Reply With Quote
Old 30th August 2009, 20:57   #39  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I'm having problems with this sample and version 1.0.6:

1.) The suptitles don't appear at all. It works fine in version 1.0.2 though.
2.) Using old versions they appear, but the timing is one frame off. They should appear on 00:00:01.001 but they do on 00:00:01.043. This 1 frame off thing also to happens at the end of subtitles occasionally.
sneaker_ger is offline   Reply With Quote
Old 31st August 2009, 02:29   #40  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
I'll take a look.
Zachs is offline   Reply With Quote
Reply

Tags
avisynth, hard sub, plugin, subtitle, suptitle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT +1. The time now is 07:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.