https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 9960a26cbec690d94bef1132478b6b2d023694b1 authored by Daniel Fort on 19 August 2017, 20:28:02 UTC
Closed branch crop_rec-700D
Tip revision: 9960a26
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