February 13th, 2008
Angelica sourcecode
It took a little longer, but finally here’s the sourcecode for Angelica.
Download AudioVis.tar.gz (302,4 KB)
If you want to include lyrics, the file must contain data in this format:
1 [00:31.09] Finally the hills are without eyes 2 [00:34.50] They are tired of painting a dead man's face red 3 [00:40.01] With their own blood 4 [00:44.31] They used to love having so much to lose 5 [00:49.92] Blink your eyes just once and see everything in ruins
To encode the images into video I used mencoder with these parameters:
1 /usr/bin/mencoder "mf://out/*.png" -mf fps=25 -audiofile data/audio.mp3 \ 2 -o video.avi -oac copy -ovc lavc \ 3 -lavcopts vcodec=mpeg4:vbitrate=16000:mbd=2:trell=yes:v4mv=yes
Feel free to use, change and criticize the code. It’s far from being perfect. ;-)
I’m looking forward to your comments.
