Public feed #600175

unimatrix9

public text v1 · immutable
Raw Edit
·published 2007-07-02 17:50 UTC
rendered paste body
#!/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 /dev/null && mencoder -vf scale=320:240,expand=240:::1, -sws 9 -ofps 18 -srate 44100 -oac mp3lame -lameopts aq=6:cbr:br=128 -ovc xvid -xvidencopts bitrate=512:profile=dxnhtntsc:pass=2 output.mpg -o final.avi ; rm output.mpg ; rm divx2pass.log ;
zenity --info --text "job done!" ; echo