L-Smash doesn't know native AviSynth+ formats >8 bit, only hacked formats. Either use ffms or try:
For 8 bit output simply:
Code:
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov", format="YUV420P8")
x264 --input-depth 8 --output-depth 8 "input.avs" -o "output.264"
For 10 bit pipe/output:
Code:
LoadPlugin("LSMASHSource.dll")
LSMASHVideoSource("test2.mov")
ConvertFromDoubleWidth(bits=10)
ConvertBits(16)
x264 --input-depth 16 --output-depth 10 "input.avs" -o "output.264"