Advanced photography workflow tips.

As always a work in progress.....Think of this as my personal work in progress whiteboard. 

Ultimate convert images to a movie. 

ffmpeg -r 30 -f image2 -start_number 2786 -i IMG_%04d.JP-vf hflip,vflip,scale=1920:-1 -codec:v prores -profile:v 3 bannanasky_deflickered.mov




recursively resize. (careful)
find . -name '*.jpg' -o -name '*.JPG' -print0 | xargs -0 mogrify -resize 1024">" -quality 40

find . -name "*.JPG~" -type f -delete



Move odd numbered images to a directory called odd.

mkdir odd; mv *[13579].JPG odd

likewise copy

mkdir odd; cp *[13579].JPG odd

then to quickly make another sequence out of those files...



ffmpeg -r 30 -f image2 -i %04d.JP-vf hflip,vflip,scale=1920:-1 -codec:v prores -profile:v 3 preview.mov



Ufraw:

for file in *.UFR ; do mv $file `echo $file | sed 's/\(.*\.\)UFR/\1ufraw/'` ; done
ufraw-batch *.ufraw --out-type=jpeg




http://transcoding.wordpress.com/2012/01/29/prores-ffmpeg/

ffmpeg -i input.mov -vcodec prores -profile:v NUMBER -an output.mov

For different flavors of ProRes replace NUMBER with a number from zero to 3 where:
0 : ProRes422 (Proxy)
1 : ProRes422 (LT)
2 : ProRes422 (Normal)
3 : ProRes422 (HQ)


ffmpeg -f image2 -r 30 -i a_%04d.jpg -codec:v prores -profile:v 3 movie.mov


#max size that works so far 5008x3339 pixels. not sure if the limitation is on the width or height.


new hyperlapse workflow?
http://www.transcoding.org/
http://public.hronopik.de/vid.stab/features.php?lang=en
http://thejoe.it/en/2013/03/02/stabilizzare-un-video-mosso-deshake-con-transcode-su-linux/


open darktable.app/ --args /Volumes/VIDEOS/RAW_TIMELAPSE/20140806\ tungee2\ 200mm/2ndsession/
-------------

isight or any other camera high quality capture
(it will do up to 100fps)

ffmpeg -f qtkit -video_device_index 0 -i "" -r 30 -codec:v prores -profile:v 1 out2.mov

ffmpeg -f qtkit -list_devices true -i ""


----------
registax  --- works on star videos!

turn in camera sharpening off !!.

ffmpeg -i MVI_9673.MOV -vcodec rawvideo -acodec none MVI_9673.avi

for i in *.MOV
do
ffmpeg -i $i \
-acodec none \
-vcodec rawvideo \
$(echo $i | sed 's/\.MOV$//').avi
done

---------------------
imagemagick
also need to install ufraw

convert *.CR2 -average average.jpg

try tif output (many, bits)
convert *.CR2 -average average.jpg

-complex operator

perform complex mathematics on an image sequence
Choose from these operators:
  add
  conjugate
  divide
  magnuitude-phase
  multiply
  real-imaginary
  subtract


-----------------------

The best tool for the command line on osx.
https://code.google.com/p/cdto/


------------------------




ML Raw
http://www.magiclantern.fm/forum/index.php?topic=9560.0