Monthly Archives: October 2009

Lens selection thoughts

Just a thought on lens selection:

Zooms

Tokina 12-24 f/4 (3.01 at photozone.de) (around CND$500 used on ebay)

Sigma 24-70 f2.8 (2.67 at photozone.de)  (around CND$500 used on craigslist)
Canon 24-70 f2.8 L (4.24 at photozone.de) (around CND$1300 used on craigslist)

Canon 70-200 f4 IS ( CND$1150 on craigslist)

This would cover  quite a wide range with 3 lenses.

Primes

To get the really large apertures, primes seem to be the only way to go.

Canon 100mm f2.0  (4.19 at photozone) (CND$425 on craigslist)

Canon 50mm f1.4 (4.19 at photozone) (CND$400 on craigslist)

Sigma 30mm f1.4 (3.06 on photozone.de) (1/2 the price of the Canon 35mm f1.4 with arguably better wide performance then the canon, but sigma lens is only for crop bodies) CND$400-500 craigslist
Canon 35mm f1.4 (3.74 at photozone.de) (CND$1350 on craigslist)

Bash scripts I've found usefull

To convert avi files to mp3s (used this page as reference)

This script converts all the avi files in a folder to mp3s.
for file in .; do for filename in *.avi; do mplayer -dumpaudio "$filename" -dumpfile "$filename".mp3; done; done

Tried the above script, and I kept getting core dumps. Modified it to use ffmpeg instead of mplayer.

for file in .; do for filename in *.avi; do ffmpeg -i "$filename" -ab 128k -vn "${filename%.avi}.mp3"; done; done

To convert mp4 files, I found this at this site. It uses some pretty advanced techniques (at least to me) to pass the output of one program (faad) to another (lame).
I added the -V9 (V9=lowest VBR quality), since I wanted a small file size.

#!/bin/bash
for i in *.m4a; do
echo "Converting: ${i%.m4a}.mp3"
faad -o - "$i" | lame -V9 - "${i%.m4a}.mp3"
done