Chhobi is a photo organizer software released under the GPL.
Chhobi lets you organize your photos using keywords and captions. The keywords 
and captions are stored in the image metadata using the exif/iptc standard (as 
opposed to a proprietary format in a separate database).
This program is written in C++ using the QT toolkit and exiv2 and sqlite3 
libraries. It fills the following niche:

1. A cross platform open source photo organizer (works on Mac, Win and *nix)
2. Stores user generated info (comments and keywords) in the image metadata itself
3. Keeps a copy of the user info in a sqlite database for fast and efficient searching.

Generate .pro file
------------------
http://doc.trolltech.com/4.2/qmake-common-projects.html#building-and-installing-in-debug-and-release-modes
qmake -project \
"LIBS += -L/usr/local/lib/ -lexiv2" \
"QT += sql" \
"RC_FILE = Icons/chhobi.icns" \
"CONFIG += debug_and_release" \
"CONFIG(debug, debug|release) {
     TARGET = debug_binary
 } else {
     TARGET = release_binary
 }"

Create makefile
---------------
qmake

Create binary
-------------
make release -j4


AVI reader
http://www.webkinesia.com/games/videoformats.php

