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 > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th December 2007, 09:37   #1  |  Link
Gujs
Registered User
 
Join Date: May 2004
Posts: 9
SUP subtitles

Hello,

I would like to know if it is possible to load sup subtitle format in avisynth scripts?

Thanks for help,

Gujs
Gujs is offline   Reply With Quote
Old 4th December 2007, 14:40   #2  |  Link
Gilron
Registered User
 
Join Date: Feb 2007
Posts: 17
http://forum.doom9.org/showthread.php?t=119390

I remember giving it a quick try but couldn't make it work.
Gilron is offline   Reply With Quote
Old 5th December 2007, 09:40   #3  |  Link
Gujs
Registered User
 
Join Date: May 2004
Posts: 9
It doesn't work for me either. Is there another way?
Gujs is offline   Reply With Quote
Old 5th December 2007, 13:41   #4  |  Link
Gilron
Registered User
 
Join Date: Feb 2007
Posts: 17
I recompiled the source with the latest Visual C++ Express and it seems to be working - at least with Avisynth 2.57. See the attachment, there's only the DLL in that zip file, you could try if it works on your system.
Attached Files
File Type: zip SUPtext.zip (7.5 KB, 1243 views)
Gilron is offline   Reply With Quote
Old 9th July 2023, 04:44   #5  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
I keep getting an "invalid arguments" error.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 9th July 2023, 21:03   #6  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
For Blu-ray's & HD-DVD's sup, there is SupTitle ;
http://avisynth.nl/index.php/SupTitle
http://forum.doom9.org/showthread.php?t=148167

Other sup formats can be converted to Blu-ray sup with Subtitle Edit.
Music Fan is offline   Reply With Quote
Old 10th July 2023, 02:42   #7  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by Music Fan View Post
For Blu-ray's & HD-DVD's sup, there is SupTitle
Yeah, that doesn't work reliably either.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 10th July 2023, 08:21   #8  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Oh, maybe a working solution here (using textsub.vdf made for Virtualdub) ;
https://forum.videohelp.com/threads/...nth#post342220
But this is 20 years old, thus probably not BD Sup compliant.
Music Fan is offline   Reply With Quote
Old 10th July 2023, 08:26   #9  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 450
There is SubImageFile (with BlendSubtitles.avsi for easier usage).
StvG is offline   Reply With Quote
Old 10th July 2023, 23:46   #10  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Quote:
Originally Posted by StvG View Post
There is SubImageFile (with BlendSubtitles.avsi for easier usage).
"Couldn't locate decompressor for format 'G3"

EDIT: I finally got it working! I can now output video that is an error-for-error match for what you'd see on a TV. Thanks, StvG!



__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 11th July 2023 at 02:43.
Katie Boundary is offline   Reply With Quote
Old 11th July 2023, 03:16   #11  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,056
Fortunately, there are four different subtitle tracks with all different bugs, so I can use Trim() to switch between them and combine them like so:

Code:
ffvideosource("01.mkv").BlendSubImage("01.track_4.sup")

sub6=BlendSubImage("01.track_6.sup")
sub7=BlendSubImage("01.track_7.sup")

v=trim(sub6,0,10341)+trim(sub7,10342,10862)+trim(sub6,10863,0)
a=nicdtssource("01jpn.dts")

audiodub(v,a).crop(240,0,-240,-0).arearesize(640,480)

EDIT: I got as far as Episode 3 before noticing that some lines of dialog are missing from ALL FOUR subtitle tracks. Gkids and Shout Factory completely buttfucked the North American Blu-Ray release of Evangelion.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 11th July 2023 at 05:54.
Katie Boundary is offline   Reply With Quote
Reply

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 19:27.


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