Use the -loop
option to loop each image then use the trim filter. No need for the movie filter. Example:
ffmpeg -loop 1 -i input0.png -loop 1 -i input1.png -filter_complex "[0]trim=duration=2,setpts=PTS-STARTPTS[v0];[1]trim=duration=4,setpts=PTS-STARTPTS[v1];[0]trim=duration=1,setpts=PTS-STARTPTS[v2];[1]trim=duration=5,setpts=PTS-STARTPTS[v3];[v0][v1][v2][v3]concat=n=3:v=0:a=0,format=yuv420p" output.mp4
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…