Thread: L-SMASH Source
View Single Post
Old 26th November 2019, 10:35   #1041  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 480
I have a script that converts a video with x264 and splits the source to X parts to encode the parts in parallel.
I found the performance to be better with less threads and more parts than with straight 36 threads per encode (a Ryzen 3900X with 12cores/24threads).

So I create the parts via Vapoursynth and L-Smash to get the cutting frame accurate so I have
Code:
video = core.lsmas.LWLibavSource(source=r"%Source%", cachefile=r"Q:\%directory%\video.lwi")
in more than one part of the script.

First it was just
Code:
video = core.lsmas.LWLibavSource(source=r"%Source%")
but I wanted all the temp files in one directory for easier cleaning after finishing. And I just forgot one place to change it so the lwi file got created in both places.
Rumbah is offline   Reply With Quote