#!/bin/bash #script for converting mov files to meizu compatible avi #author Unimatrix9 2007 #gnu general public license zenity --info --text "processing the file may take some time, press okey to continue"; echo #(echo; sleep 5) | zenity --progress --text "processing file" --pulsate --auto-close mencoder input.mov -o output.mpg -ovc lavc -oac lavc -lavcopts acodec=mp3:abitrate=128 ; mencoder -vf scale=320:240,expand=240:::1, -sws 9 -ofps 18 -nosound -ovc xvid -xvidencopts bitrate=512:profile=dxnhtntsc:pass=1 output.mpg -o final.avi ; rm output.mpg ; rm divx2pass.log ; zenity --info --text "job done!" ; echo