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.

[HELP] SubTitle
#2
The Vapoursynth script itself:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SubtitleFilter/VSFilterMod/VSFilterMod.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Loading C:\Users\Frédéric\Downloads\The Fifth Estate 2013 MULTi VFF-VFQ-VOA AC3 1080p HDLight x264.GHT-zone-Telechargement.ws.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/FRDRIC~1/DOWNLO~1/THEFIF~1.MKV", format="YUV420P8", cache=0)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 24000/1001
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# Loading C:\Users\Frédéric\Downloads\assange.srt using VSFilterMod
clip = core.vsfm.TextSubMod(clip=clip, file="C:/Users/Frédéric/Downloads/assange.srt")
# Output
clip.set_output()
looks fine to me.

The encoding call:
"C:\PROGRA~1\Hybrid\64bit\VAPOUR~1\vspipe.exe" "C:\Users\Frédéric\AppData\Local\Temp\encodingTempSynthSkript_22_55_12_5110.vpy" - --y4 | "C:\PROGRA~1\Hybrid\64bit\x264.exe" --bitrate 2200 --profile baseline --ratetol 2.0 --qcomp 0.5 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --aq-mode 0 --sar 1:1 --qpfile "C:\Users\FRDRIC~1\AppData\Local\Temp\toto_22_55_12_5110_05.qp" --non-deterministic --range tv --colormatrix bt709 --demuxer y4m  --input-range tv --fps 24000/1001 --output-depth 8 --output "C:\Users\FRDRIC~1\AppData\Local\Temp\22_55_12_5110_06.264" -
seems fine too, but according to the error there seems to be a problem with the decoding or piping.

->
1. Does the Vapoursynth preview work?
2. Might be related to the special characters inside the path. Try placing the source files into paths without special characters and also change the temp and output folder to folders without special characters. (might be a problem with one of the filters not handling the characters properly)
3. Might be a problem with the subtitle file.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
SubTitle - by frederic - 23.08.2019, 23:19
RE: SubTitle - by Selur - 25.08.2019, 01:12
RE: SubTitle - by frederic - 28.08.2019, 18:51
RE: SubTitle - by Selur - 28.08.2019, 18:57
RE: SubTitle - by frederic - 30.08.2019, 21:25
RE: SubTitle - by Selur - 30.08.2019, 21:32
RE: SubTitle - by frederic - 31.08.2019, 11:04
RE: SubTitle - by Selur - 31.08.2019, 11:13
RE: SubTitle - by frederic - 31.08.2019, 17:01
RE: SubTitle - by frederic - 01.09.2019, 22:38
RE: SubTitle - by Selur - 02.09.2019, 16:36
RE: SubTitle - by Selur - 02.09.2019, 19:40
RE: SubTitle - by frederic - 06.09.2019, 14:05
RE: SubTitle - by Selur - 06.09.2019, 15:53
RE: SubTitle - by frederic - 06.09.2019, 17:26

Forum Jump:


Users browsing this thread: 2 Guest(s)