In your script AviSynth reads FFIndex(vid), sees the space, then ignores everything after that and passes FFIndex(vid) into ep. Since FFIndex(vid) is not a clip it cannot be trimmed. This would be a better layout for your script:
Code: Select all
vid="C:\Users\Naval Wing\Desktop\memeless.m2ts"
FFIndex(vid)
ep=AudioDub(FFVideoSource(vid), FFAudioSource(vid)).tDecimate()
ep.Trim(0, 100)
Note: I took out the aud value because it wasn't needed. I also took out the whole bit with a because that wasn't needed as well as you could either simply do ep.Trim(0,100) or return ep.Trim(0,100).
I have to ask, why are you using tdecimate()? It doesn't appear that you are removing interlacing and if the clip is 29.97fps progressive then removing frames would make it choppy.