View Full Version : SUP subtitles
Gujs
4th December 2007, 09:37
Hello,
I would like to know if it is possible to load sup subtitle format in avisynth scripts?
Thanks for help,
Gujs
Gilron
4th December 2007, 14:40
http://forum.doom9.org/showthread.php?t=119390
I remember giving it a quick try but couldn't make it work.
Gujs
5th December 2007, 09:40
It doesn't work for me either. Is there another way?
Gilron
5th December 2007, 13:41
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.
Katie Boundary
9th July 2023, 04:44
I keep getting an "invalid arguments" error.
Music Fan
9th July 2023, 21:03
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.
Katie Boundary
10th July 2023, 02:42
For Blu-ray's & HD-DVD's sup, there is SupTitle
Yeah, that doesn't work reliably either.
Music Fan
10th July 2023, 08:21
Oh, maybe a working solution here (using textsub.vdf made for Virtualdub) ;
https://forum.videohelp.com/threads/85830-Subtitles-with-AVISynth#post342220
But this is 20 years old, thus probably not BD Sup compliant.
StvG
10th July 2023, 08:26
There is SubImageFile (https://github.com/Asd-g/AviSynthPlus-SubImageFile) (with BlendSubtitles.avsi (https://github.com/Asd-g/AviSynthPlus-SubImageFile/blob/main/BlendSubtitles.avsi) for easier usage).
Katie Boundary
10th July 2023, 23:46
There is SubImageFile (https://github.com/Asd-g/AviSynthPlus-SubImageFile) (with BlendSubtitles.avsi (https://github.com/Asd-g/AviSynthPlus-SubImageFile/blob/main/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!
https://i.imgur.com/gVgHMU7.png
https://i.imgur.com/NyoDeWQ.png
Katie Boundary
11th July 2023, 03:16
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:
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.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.