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.
Subscribe to:
Post Comments (Atom)
Progress on the campaign manager
You can see that you can build tactical maps automatically from the world map data. You can place roads, streams, buildings. The framework ...
-
The tent smelled of ozone, sawdust, and cheap miracles. On a rickety stage, a man named Constantine adjusted the frayed cuffs of his tuxedo...
-
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...
-
My plan was to get the most use possible from the $5 raspberry Pi Zero that I managed to get my hands onto by buying a full kit that include...
No comments:
Post a Comment