Kickass photo album
Somewhat rough attempt at making this work. Doesn't do a good job with matching file extensions or setting mime types for different falvors of video. No longer attempts transcoding video to the right resolution. |
||
|---|---|---|
| photos | ||
| src | ||
| .cvsignore | ||
| .gitignore | ||
| album.launch | ||
| album.png | ||
| pom.xml | ||
| Readme.md | ||
Album
Quickstart
- Open
src/test/java/org/forkalsrud/album/Runner.javaand run themainmethod. - Visit http://localhost:8080/photo/album/
Requirements
- ffmpeg
- exiftool (perl-Image-ExifTool)
- mplayer
Configuration
Create a file: ~/forkalsrud.org/photo.properties and for each named "root"
(photo in the example below), point the base property and dbdir properties
to the directory holding the photos, and the directory to be populated with
BerkeleyDB files to your photo folder:
root.photo.base=/home/photo
root.photo.dbdir=/home/resin/web/db
Additionally, you may add a path to the ffmpeg program binary if needed.
ffmpeg.path=/home/resin/bin/ffmpeg