This is the smallest example that results in never ending transcoding:
ffmpeg -y -filter_complex movie=filename=\'./frames/image0.png\':loop=0,trim=duration=2 ./f