575
Comment:
|
690
|
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