https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: e8909486756fafd9e2038683caff66ee981635df authored by alex@thinkpad on 16 August 2018, 13:38:21 UTC
Merged unified into dm-spy-experiments
Tip revision: e890948
dualisovideo.sh
#!/bin/bash
# Converts Dual ISO RAW videos to AVI MJPEG
# usage: dualisovideo.sh foo.raw
# output. video.avi
# You may want to tweak exposure or whatever other ufraw settings, maybe use enfuse for tonemapping...

mkdir tmp
rm tmp/*
raw2dng $1 tmp/
cr2hdr tmp/*.dng --same-levels
ufraw-batch --out-type=jpg tmp/*.DNG --exposure=4 --clip=film
rm video.avi
ffmpeg -i tmp/%6d.jpg -vcodec mjpeg -qscale 1 video.avi
back to top