You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

convertvideosavitomp4 242B

4 yıl önce
4 yıl önce
4 yıl önce
123456789101112
  1. #!/bin/sh
  2. #mkdir convert
  3. for f in *.avi; do ffmpeg -i "$f" "${f%.avi}.mp4"; done
  4. #find -name '*.avi' -exec ffmpeg -i {} {}.mp4 \;
  5. #find a safe way to delete old files?
  6. #find . -name "*.avi.mp4" -exec rename 's/\.avi.mp4$/\.mp4/i' {} \;