Return to Snippet

Revision: 11927
at February 24, 2009 04:48 by ping_ch


Initial Code
#!/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

Initial URL

                                

Initial Description

                                

Initial Title
Batch convert video with ffmpeg

Initial Tags
Bash, video, convert

Initial Language
Bash