/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash for i in *MPG; do ORIGINAL=`basename $i .MPG` NEWNAME=${ORIGINAL}-S.mpg ffmpeg -i $i -f mp4 -b 1024k -vcodec mpeg4 -acodec libmp3lame -ar 44100 $NEWNAME done