snipplets.dev/code/Bash/find_ffmpeg.sh

4 lines
138 B
Bash
Raw Permalink Normal View History

2024-05-24 00:05:08 +03:00
#!/bin/sh
find . -name "*.avi" -exec sh -c 'ffmpeg -n -i "$1" -c:v libx264 -preset veryfast -c:a copy $(basename "$1" .avi).mp4' _ {} \;