+ if [ "$profile" == "iphone" ]; then
+ # SCALE: 480x320
+ # scale width to 480, set height appropriately, but keep a multiple of 16
+ #SCALE=",scale=480:-10"
+ # scale the video down however far is necessary to fit in 480x320
+ SCALE=",dsize=480:320:0,scale=-8:-8"
+ else
+ # SCALE: 320x240
+ # scale width to 320, set height appropriately, but keep a multiple of 16
+ #SCALE=",scale=320:-10"
+ # scale the video down however far is necessary to fit in 320x240
+ SCALE=",dsize=320:240:0,scale=-8:-8"
+ fi