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)
The Digital Town Hall: Architectural Constraints as Democratic Defense
J. Rogers, SE Ohio. A Sociological Analysis of the Distributed Dunbar Protocol 1. Abstract The transition from analog democratic feedback l...
-
The tent smelled of ozone, sawdust, and cheap miracles. On a rickety stage, a man named Constantine adjusted the frayed cuffs of his tuxedo...
-
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...
-
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...
No comments:
Post a Comment