Delay timer for normal video recording

Started by mcbeth316, April 18, 2015, 04:03:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mcbeth316

with raw there is an option to set up to a 10sec delay before recording starts...........I shoot mostly handheld stuff and I found this useful for giving me time to frame my shot better........I recent decided to not use raw exclusively for my present project....due to the loss of flexibility I have to contend with since I shoot on a t3i....also learned some techniques that allows me to get gradable footage with .h264 source, so that is less of a concern as it regards raw


so anyway, can that delay feature be made available outside of the raw mod or is there already something available


thanks

dmilligan

This is a great use case for the new lua scripting engine


-- starts/stops movie recording after a delay

recdelaymenu = menu.new
{
    parent = "Movie",
    name = "Delayed Start",
    help = "Start movie recording after a delay",
    depends_on = DEPENDS_ON.MOVIE_MODE,
    update = function(this) return string.format("%ds", this.submenu["Delay Amount"].value) end,
    value = 1,
    submenu =
    {
        {
            name = "Run",
            icon_type = ICON_TYPE.ACTION,
            run_in_separate_task = true,
            update = "",
            depends_on = DEPENDS_ON.MOVIE_MODE,
            select = function(this)
                if camera.mode == MODE.MOVIE and movie.recording == false then
                    local i
                    for i = recdelaymenu.submenu["Delay Amount"].value, 0, -1 do
                        display.print(string.format("Movie Start in %ds", i), 20, 20)
                        msleep(1000)
                    end
                    movie.start()
                    if recdelaymenu.submenu["Stop After"].value > 0 then
                        for i = recdelaymenu.submenu["Stop After"].value, 0, -1 do
                            display.print(string.format("Movie Stop in %ds", i), 20, 20)
                            msleep(1000)
                            if movie.recording == false then break end
                        end
                        if movie.recording then movie.stop() end
                    end
                end
            end
        },
        {
            name = "Delay Amount",
            min = 0,
            max = 600,
            unit = UNIT.TIME
        },
        {
            name = "Stop After",
            min = 0,
            max = 1800,
            unit = UNIT.TIME
        }
    }
}

mcbeth316

I have no experience building ML from source, and I haven't updated ML in some time, something change in shutter fine tuning that throws off my settings in recent builds "nitpick" ;) not a bug, so I reverted to my old build