how to get multiple inputs in FFmpeg using inp.txt file here is original command : ffmpeg -i sample.mp4 -i img0.png -i img1.png -i img2.png -filter_complex "[0][1]overlay=x=20:y=20:enable='between(t,1.5,1.8)'[v1]; [v1][2]overlay=x=20:y=20:enable='between(t,1.8,3)'[v2]; [v2][3]overlay=x=20:y=20:enable='gt(t,3)'[v3]" -map "[v3]" -map 0:a outa.mp4
but I tried to get inputs from *inp.txt (I have sent this file in attachment)* here is that command : ffmpeg -f concat -i inp.txt -filter_complex "[0][1]overlay=x=20:y=20:enable='between(t,1.5,1.8)'[v1]; [v1][2]overlay=x=20:y=20:enable='between(t,1.8,3)'[v2]; [v2][3]overlay=x=20:y=20:enable='gt(t,3)'[v3]" -map "[v3]" -map 0:a outa.mp4 but the above command is showing an error :: *Invalid file index 0 in filtergraph description [0][1]overlay=x=20:y=20:enable='between(t,0,1)'[v1];* I donot know how to give inputs by using input file I am attaching my inp.txt file. the first input is of mp4 type and the rest are of .png > > >
file 'sample.mp4' file 'img0.png' file 'img1.png' file 'img2.png'
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".