videos = Dir["#{dir}/*.{mov,MOV,avi,AVI,mpg,MPG,mpeg,MPEG,wmv,WMV,asx,ASX}"]
msg 2, "\t#{videos.length} videos"
videos = Dir["#{dir}/*.{mov,MOV,avi,AVI,mpg,MPG,mpeg,MPEG,wmv,WMV,asx,ASX}"]
msg 2, "\t#{videos.length} videos"
system("mkdir -p #{dest_dir}")
msg 2, "Outputting in #{dest_dir}..."
final_images = []
images.each { |img|
system("mkdir -p #{dest_dir}")
msg 2, "Outputting in #{dest_dir}..."
final_images = []
images.each { |img|
sub(/\.[^\.]+$/, '') + '-704.jpg'
final_images << File.basename(dest_img)
if !File.exists?(dest_img)
sub(/\.[^\.]+$/, '') + '-704.jpg'
final_images << File.basename(dest_img)
if !File.exists?(dest_img)