View Single Post
Old 9th June 2010, 06:15   #86  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by Zachs View Post
Post the SUP file somewhere and I'll take a look into it.
It could be that SupTitle's run out of memory.
Good call, Zachs! :) Turns out it actually was the SUP file causing the crash! I tried the first one (faulting Japanese), and that's the one which crashes. I then just now tried the English SUP , and that one doesn't crash; but it doesn't show the subs either, whichever mode I try (forcedOnly true/false, relocate true/false). It doesn't cause a crash, though; so at least that impossible part is solved. I feel we're nearing a solution. :)

This is the exact script I use:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFMS2.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SupTitle.dll")

video=FFVideoSource("D:\Temp\video.mkv").ConvertToYV12()
video=SupTitle(video, "D:\subs\00004 - 12 - Subtitle (PGS).sup", forcedOnly=false, swapCbCr=false, relocate=true, relocOffset="0,142,0,142")
video=Crop(video, 0, 142, 0, -142)
video=ConvertToRGB(video)

return video
__________________
Gorgeous, delicious, deculture!

Last edited by asarian; 9th June 2010 at 06:25. Reason: Added faulting Japanese subs
asarian is offline   Reply With Quote