This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth
#11
I got a debug output but no explaination to it.
ClearAutoloadDirs()
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\MedianBlur2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\assrender.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: E:\The REAL ADVENTURES of JONNY QUEST (1996-1997) - Complete JOHNNY TV Series, Season 1-2 S01-S02 - 480p DVDRip x264\Season 1 (1996-97)\The Real Adventures of Jonny Quest - S01 E01 - The Darkest Fathoms (480p - DVDRip).mp4
#  color sampling YV12@8, matrix: bt601, scantyp: top field first, luminance scale: limited
Source = LWLibavVideoSource("E:\THEREA~1\SEASON~2\THEREA~2.MP4",cache=false,format="YUV420P8", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
SourceFiltered = Source
Source = Source.AssumeTFF()
Source = Source.QTGMC(Preset="Fast", ediThreads=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.SelectEven()
SourceFiltered = SourceFiltered.AssumeTFF()
SourceFiltered = SourceFiltered.QTGMC(Preset="Fast", ediThreads=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.SelectEven()
# filtering
# embedding subtitles
# Loading subtitle: C:\Users\Rafaela\Desktop\01.The Darkest Fathoms.ass
SourceFiltered = SourceFiltered.AssRender("C:\Users\Rafaela\Desktop\01.The Darkest Fathoms.ass", vfr="D:\TEMP\synthTempTimeCodes__mp4_4148d02dbfa4968fc55d91b3be959c2b_853323747.tc")
# stacking horizontal for filter preview
# adjust color to RGB24
SourceFiltered = SourceFiltered.ConvertToRGB24(matrix="Rec601")
# adjust color to RGB24
Source = Source.ConvertToRGB24(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(4)
return last
is the script used for FilterPreview.

That Hybrid isn't wast with that script is probably due to the FilterView coupled with QTGMC, you might probably use Vapoursynth or 64bit Avisynth.
-> if you can share a sample with the subtitles belonging

-> unclear what the problem is.
Reply
#12
I am sending you the links of the files.

File


01.The Darkest Fathoms.mp4 - Google Drive

S
ubtitles
https://drive.google.com/file/d/1jm1SA5n...sp=sharing
Reply
#13
Got the files, will look at them.
Reply
#14
Okay, I can reproduce the issue that the subtitles are not showing.
-> looking into it Smile

Correction they are showing,..
okay, for me Hybrid is using:
# Loading C:\Users\Selur\Desktop\01.The Darkest Fathoms.ass using SubText
clip = core.sub.TextFile(clip=clip, file="C:/Users/Selur/Desktop/01.The Darkest Fathoms.ass", fontdir="I:/Hybrid/settings/fonts")
while in your script:
# Loading subtitle: C:\Users\Rafaela\Desktop\01.The Darkest Fathoms.ass
SourceFiltered = SourceFiltered.AssRender("C:\Users\Rafaela\Desktop\01.The Darkest Fathoms.ass", vfr="D:\TEMP\synthTempTimeCodes__mp4_4148d02dbfa4968fc55d91b3be959c2b_853323747.tc")
is used.

I'll send you a link to my current dev version.
You also might want to enable 'Filtering->(De-)Interlace/Telecine->Overwrite input scan type' and set it to telecine.

Cu Selur


Attached Files Thumbnail(s)
       
Reply
#15
Can you embed them in frame(burn them ) with avisynth and assrender?
Reply
#16
Nope,..
it crashes with:
[Window Title]
Error

[Main Instruction]
Error requesting frame 1913

[Content]
WindowsError: exception: access violation reading 0x8080807F


[OK] [Abbrechen]
-> I'll try to find out more Smile
Reply
#17
Seems to be a compatibility issue between Avisynth+ and AssRenderer.
-> I'll look into it, I still have some code to allow using Avisynth 2.6MT.

Cu Selur
Reply
#18
Send you a link to a dev version with some instructions to use Avisynth MT 2.6 and AssRender in Hybrid.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)