#!/bin/bash
# john meister 14nov2013 # updating mkavi to mkallavi to include two directories 9 may 2015
# DIRNAME=`pwd | awk -F / '{print $4}'` ##### /var/www/thisdomain/public_html/Time_Lapse/2015_04_07 (7th field)
#######################################################################################################
DIRNAME=`pwd | awk -F / '{print $7}'` # note this directory
chmod 644 *.jpg
find . -type f -size 0 -exec rm {} \;
ls *.jpg > $DIRNAME.files.txt
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4 -o $DIRNAME.avi -mf type=jpeg:fps="24" mf://@$DIRNAME.files.txt
/home/john/bin/mkpg "Time Lapse $DIRNAME"
echo "$DIRNAME.avi
|
The Art of Linux System Administration published by O'Reilly Media Study Guide for the LPIC-2 Certification Exams |
![]() Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |