@vanden
l-smash outputs a double width format that was designed before avisynth had native high bit depth support, you can revert it like this:
Code:
LWLibavVideoSource("%source_file%")
ConvertFromDoubleWidth(bits=10)
With wolfberry's x265 built you don't need a piping tool.
Unfortunately I cannot reproduce the exception.