Freitag, 10. Dezember 2010

TimeTracker Application

Finished Version 1.0 of TimeTracker - my first public qooxdoo application.

Its a small application for monitoring the spend time on projects and tasks. This app uses the browsers localStorage to save all project and task data so there is no server-side part and also reloads and browser restarts are survived.

The app is installed here for public acccess:
Sources could be found on github.

Just give it a try. :-)

Mittwoch, 8. September 2010

Converting VDR recordings to Matroska (MP4/AC3)

After testing some tools, I decided to go with HandBrake which does an awesome job in automatic cropping.

The script below does start a HandBrake job using the ac3 audio stream if available, otherwise the first other mp2 stream. The script could be used as VDR postrecording hook for automatically convert recordings.


AUDIO=`ffmpeg -i $INFILE 2>&1  |grep "Audio" |grep "ac3" |sed -e 's/.*Stream #0.\([0-9]\).*/\1/g'`
if [ "x$AUDIO" != "x" ] ; then
AUDIO="-a $AUDIO -E ac3"
AUDIO=`ffmpeg -i $INFILE 2>&1  |grep "Audio" |grep "mp2" |grep "stereo" |sed -e 's/.*Stream #0.\([0-9]\).*/\1/g'`
AUDIO="-a $AUDIO -E faac"
TITLE=`egrep "^T" "$1/info"  |sed -e "s/^T //"`
EPISODE=`egrep "^S" "$1/info"  |sed -e "s/^S //"`
if [ "x$EPISODE" != "x" ]; then

echo "Executing: /usr/bin/HandBrakeCLI -i \"$INFILE\" -o \"$OUTFILE\" $AUDIO -b 2000" 1>> $LOGFILE
nice -n 19 /usr/bin/HandBrakeCLI -i "$INFILE" -o "$OUTFILE" $AUDIO -b 2000 2>> $LOGFILE 1>> /dev/null
echo "Converted $INFILE to $OUTFILE" >> $LOGFILE

Freitag, 6. August 2010

„Wo Liebe ist und Weisheit, da ist weder Furcht noch Ungewissheit;
wo Geduld und Demut, weder Zorn noch Aufregung;
wo Armut und Freude, nicht Habsucht und Geiz;
wo Ruhe und Besinnung, nicht Zerstreuung noch Haltlosigkeit.“

Franz von Assisi

Montag, 2. August 2010

„Hindernisse sind diese furchterregenden Sachen, die du dann siehst, wenn du dein Ziel aus den Augen verlierst.“

Henry Ford