Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
helper_scripts [2013/06/28 12:09] beandog |
helper_scripts [2013/06/28 12:10] beandog |
||
---|---|---|---|
Line 2: | Line 2: | ||
This is just a collection of little scripts. | This is just a collection of little scripts. | ||
+ | |||
+ | === avi2mpg === | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/bash | ||
+ | F=`basename $1 .avi` | ||
+ | MPG=${F}.mpg | ||
+ | if [[ ! -f ${MPG} ]]; then | ||
+ | mencoder $1 -o $MPG -profile dvd | ||
+ | fi | ||
+ | </code> | ||
=== close_trays === | === close_trays === | ||
Line 68: | Line 79: | ||
done | done | ||
</code> | </code> | ||
- |