Differences between revisions 2 and 3
Revision 2 as of 2012-03-16 08:36:45
Size: 575
Editor: SamatJain
Comment:
Revision 3 as of 2012-03-28 01:01:20
Size: 690
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
# GoPro HD Hero 2
find . -name '*JPG' -print0 | xargs -0 -P2 -n8 mogrify -crop 3840x2880+0+720 -resize 1920x1080

   1 parallel -u 'echo {}; jpegtran -rotate 180 -perfect -copy all -outfile {}.tran {} && mv {}.tran {}' ::: *.jpg
   2 
   3 # Crop top
   4 find . -name '*JPG' -print0 | xargs -0 -P2 -n8 mogrify -crop 2592x1944+0+486 -resize 1920x1080
   5 # GoPro HD Hero 2
   6 find . -name '*JPG' -print0 | xargs -0 -P2 -n8 mogrify -crop 3840x2880+0+720 -resize 1920x1080
   7 
   8 # LDR tonemapping
   9 parallel -u 'echo {}; ~/sys/tonemap/tonemapping ~/sys/tonemap/default.tnp {} {}.tonemapped && mv {}.tonemapped {}' ::: *.JPG
  10 
  11 mencoder mf://*.JPG -mf fps=15:type=jpg -ovc lavc -oac lavc -of lavf -lavfopts format=webm -lavcopts threads=4:acodec=vorbis:vcodec=libvpx -ffourcc VP80 -o $(basename $(pwd)).webm

SamatsWiki: GoPro (last edited 2017-04-14 09:43:49 by SamatJain)