Create two files, start each one with #!/bin/bash
Then the second line of each file is one of the following two lines:
e200:
mencoder $1 -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=64 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=256 -vf scale,harddup -ofps 24 -zoom -xy 220 -o $1_220.mpg
c200:
mencoder $1 -of mpeg -oac lavc -lavcopts acodec=mp2:abitrate=128 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=256 -vf scale,harddup -ofps 12 -zoom -xy 132 -o $1_tny.mpg
make each file executable with
chmod +x filename
for each file.
To run the script run scriptname.sh videofilename.avi
It will create a new smaller file next to the video file itself.
A blog devoted to challenging dogma, where ever and who ever is shoveling it.
Subscribe to:
Post Comments (Atom)
How Science Makes Simple Ideas Illegible So They Will Read as "Real Science"
J. Rogers, SE Ohio The Gatekeeping Reflex Einstein said it out loud Einstein criticized his own field in public, and he named the exact ...
-
So, I saw this kit on Amazon. It seemed too good too be true. The kit was priced right, it was less than 2 dollars for each board. Of co...
-
J. Rogers, SE Ohio Abstract Database query optimization is traditionally approached through indexing strategies, statistics updates, and har...
-
First the bad news. For som e reason the Amazon Web S ervice console was running very badly under F irefox. It was taking forever to load a...
No comments:
Post a Comment