
I have been using Final Cut Pro on 12 models of Macbook Air to edit short films. I recently bought a Panasonic G7 to shoot and play with. The AVCHD format output by the camera always feels stuck during editing. I looked for software to convert to MP4, but none of them met my needs. So we summarized the solutions from all parties. Use the Automater that comes with Mac to generate a script, and then quickly convert the video into an mp4 file through FFMPEG, which is a perfect solution.
for f in "$@"
do
fname=$(basename "$f")
fpath=$(dirname "$f")
/usr/local/bin/ffmpeg -i "$f" -c:v copy -c:a aac -strict experimental -b:a 128k "$fpath"/${fname%.*}.mp4
done