![]() |
|
[BUG] Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth (/thread-1551.html) Pages:
1
2
|
RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Selur - 03.11.2020 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 lastThat 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. RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Maria111 - 03.11.2020 I am sending you the links of the files. File 01.The Darkest Fathoms.mp4 - Google Drive Subtitles https://drive.google.com/file/d/1jm1SA5nJpkkMesPJ8SPsDBX_A5X4sRW2/view?usp=sharing RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Selur - 03.11.2020 Got the files, will look at them. RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Selur - 03.11.2020 Okay, I can reproduce the issue that the subtitles are not showing. -> looking into it ![]() 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")# 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")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 RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Maria111 - 03.11.2020 Can you embed them in frame(burn them ) with avisynth and assrender? RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Selur - 03.11.2020 Nope,.. it crashes with: [Window Title]
Error
[Main Instruction]
Error requesting frame 1913
[Content]
WindowsError: exception: access violation reading 0x8080807F
[OK] [Abbrechen]
RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Selur - 03.11.2020 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 RE: Vapoursynth not recognizing subtitles for harcoding.Neither does Avisynth - Selur - 03.11.2020 Send you a link to a dev version with some instructions to use Avisynth MT 2.6 and AssRender in Hybrid. Cu Selur |