I have a list like
List<String> image={'a.jpg','1jpeg'}
These image are coming from gallery when user select them from gallery. Now I know how to pass single image to ffmpeg like
String img1=img[0].path;
String command='-i $img -y ${OUTPUT_PATH}';
But don't understand how to pass whole list in flutter. I am badly stuck from many days please help me