FFmpeg scripting?

Peter Alcibiades palcibiades-first at yahoo.co.uk
Thu Jun 25 05:57:44 EDT 2015


batch conversion recipe: the following to be  run in the directory which has
the .avi files

#!/bin/bash
for file in *.avi; do
    ffmpeg -i "$file" -c:a libmp3lame "Converted\\$file";
done;
#!/bin/bash
for file in *.m4a; do
    ffmpeg -i "$file" -acodec copy "C\\$file";
done;

Clipped from somewhere, never used in anger, but looks OK.

Al



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/FFmpeg-scripting-tp4693269p4693299.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list