It´s simple. In here I added your first two scripts into preset 1 and preset 2. Simply add following code into a lua script and run it in your camera:
-- My presets
--console will be all over if not applied
console.hide()
menu.close()
function main1()
console.hide()
menu.close()
-- 1920 25fps 2.35:1
-- Sets all parameters for 1920 25fps 2.35:1
lv.start()
lv.zoom = 1
console.hide()
menu.close()
-- this script should never run on Autorun, "menu.set" is not working so running menu.select instead
if menu.get("1920 25fps 2.35:1", "Autorun", "") == "ON" then
menu.select("Scripts", "1920 25fps 2.35:1")
menu.open() -- open ML menu
key.press(KEY.SET)
key.press(KEY.WHEEL_DOWN)
key.press(KEY.WHEEL_DOWN)
key.press(KEY.SET)
menu.close()
display.notify_box("Autorun is disabled!")
msleep(3000)
return
end
-- enable sound
menu.set("Sound recording", "Enable sound", "ON")
if menu.get("Sound recording", "Enable sound", "") ~= "ON" then
display.notify_box("\nPlease, enable: \n\nmlv_lite.mo \nmlv_snd.mo \ncrop_rec.mo \n\n ... and run script again", 6000)
return
end
-- warnings
while camera.mode ~= MODE.MOVIE do
display.notify_box("\nSwitch to MOVIE mode")
msleep(1000)
end
-- checking for crop_rec.mo
menu.set("Movie", "Crop mode", "OFF")
msleep(300)
if menu.get("Movie", "Crop mode", "") ~= "OFF" then
display.notify_box("\nYou forgot to enable crop_rec.mo", 5000)
return
end
-- checking if video mode is set to 1920p 25 fps in Canon's menu
menu.set("Movie", "FPS override", "OFF")
msleep(300)
if menu.get("FPS override", "Actual FPS", "") <= "24" or menu.get("FPS override", "Actual FPS", "") >= "49" then
menu.set("Overlay", "Global Draw", "OFF")
display.notify_box("\nSet 1920 25fps in Canon menu\n\n ... and run script again", 4000)
return
end
if menu.get("FPS override", "Actual FPS", "") >= "24" and menu.get("FPS override", "Actual FPS", "") <= "26" then
camera.shutter.value=1/50
--camera.iso.value=800
-- crop mode
menu.set("Crop mode", "bitdepth", "OFF")
menu.set("Crop mode", "ratios", "OFF")
menu.set("Crop mode", "focus aid", "default mode")
menu.set("Crop mode", "set 25fps", "OFF")
msleep(300)
-- movie
menu.set("Movie", "RAW video", "ON")
menu.set("Movie", "HDR video", "OFF")
menu.set("RAW video", "Crop rec preview", "OFF")
menu.set("RAW video", "Resolution", 1920)
menu.set("RAW video", "Aspect ratio", "2.35:1")
menu.set("RAW video", "Data format", "14-bit lossless")
menu.set("RAW video", "Preview", "Auto")
-- Overlay
menu.set("Overlay", "Focus Peak", "ON")
menu.set("Overlay", "Zebras", "OFF")
menu.set("Overlay", "Magic Zoom", "OFF")
menu.set("Overlay", "Cropmarks", "OFF")
menu.set("Overlay", "Spotmeter", "Percent")
menu.set("Overlay", "False color", "OFF")
menu.set("Overlay", "Histogram", "RAW RGB, Log")
menu.set("Overlay", "Waveform", "OFF")
menu.set("Overlay", "Vectorscope", "OFF")
menu.set("Display", "Clear overlays", "OFF")
-- done, turn on global draw
menu.set("Overlay", "Global Draw", "LiveView")
-- go back to menu origin
menu.select("Scripts")
msleep(200)
menu.open()
msleep(200)
menu.close()
msleep(600)
key.press(KEY.MENU)
msleep(600)
key.press(KEY.MENU)
msleep(600)
-- success!
display.notify_box("\nScript is done")
else
display.notify_box("\nSmth went wrong! Run script again", 2000)
end
end
function main2()
console.hide()
menu.close()
-- 3x 1920 25fps 2.35:1
-- Sets all parameters for Crop x3 1920 25fps 2.35:1
lv.start()
lv.zoom = 1
console.hide()
menu.close()
-- this script should never run on Autorun, "menu.set" is not working so running menu.select instead
if menu.get("3x 1920 25fps 2.35:1", "Autorun", "") == "ON" then
menu.select("Scripts", "3x 1920 25fps 2.35:1")
menu.open() -- open ML menu
key.press(KEY.SET)
key.press(KEY.WHEEL_DOWN)
key.press(KEY.WHEEL_DOWN)
key.press(KEY.SET)
menu.close()
display.notify_box("Autorun is disabled!")
msleep(3000)
return
end
-- enable sound
menu.set("Sound recording", "Enable sound", "ON")
if menu.get("Sound recording", "Enable sound", "") ~= "ON" then
display.notify_box("\nPlease, enable: \n\nmlv_lite.mo \nmlv_snd.mo \ncrop_rec.mo \n\n ... and run script again", 6000)
return
end
-- warnings
while camera.mode ~= MODE.MOVIE do
display.notify_box("\nSwitch to MOVIE mode")
msleep(1000)
end
-- checking for crop_rec.mo
menu.set("Movie", "Crop mode", "1920 1:1")
msleep(300)
if menu.get("Movie", "Crop mode", "") ~= "1920 1:1" then
display.notify_box("\nYou forgot to enable crop_rec.mo", 5000)
return
end
-- checking if video mode is set to 1920p 25 fps in Canon's menu
menu.set("Movie", "FPS override", "OFF")
msleep(300)
if menu.get("FPS override", "Actual FPS", "") <= "24" or menu.get("FPS override", "Actual FPS", "") >= "49" then
menu.set("Overlay", "Global Draw", "OFF")
display.notify_box("\nSet 1920 25fps in Canon menu\n\n ... and run script again", 4000)
return
end
if menu.get("FPS override", "Actual FPS", "") >= "24" and menu.get("FPS override", "Actual FPS", "") <= "26" then
camera.shutter.value=1/50
--camera.iso.value=800
-- crop mode
menu.set("Crop mode", "bitdepth", "OFF")
menu.set("Crop mode", "ratios", "2.35:1")
menu.set("Crop mode", "set 25fps", "OFF")
menu.set("Crop mode", "x3crop", "OFF")
msleep(300)
-- movie
menu.set("Movie", "HDR video", "OFF")
menu.set("Movie", "RAW video", "ON")
menu.set("RAW video", "Crop rec preview", "OFF")
menu.set("RAW video", "Resolution", 1920)
menu.set("RAW video", "Aspect ratio", "2.35:1")
menu.set("RAW video", "Data format", "14-bit lossless")
menu.set("RAW video", "Preview", "Auto")
-- Overlay
menu.set("Overlay", "Focus Peak", "ON")
menu.set("Overlay", "Zebras", "OFF")
menu.set("Overlay", "Magic Zoom", "OFF")
menu.set("Overlay", "Cropmarks", "OFF")
menu.set("Overlay", "Spotmeter", "Percent")
menu.set("Overlay", "False color", "OFF")
menu.set("Overlay", "Histogram", "RAW RGB, Log")
menu.set("Overlay", "Waveform", "OFF")
menu.set("Overlay", "Vectorscope", "OFF")
menu.set("Display", "Clear overlays", "OFF")
-- done, turn on global draw
menu.set("Overlay", "Global Draw", "LiveView")
-- go back to menu origin
menu.select("Scripts")
msleep(200)
menu.open()
msleep(200)
menu.close()
msleep(600)
key.press(KEY.MENU)
msleep(600)
key.press(KEY.MENU)
msleep(600)
-- success!
display.notify_box("\nScript is done")
else
display.notify_box("\nSmth went wrong! Run script again", 2000)
end
end
function main3()
console.hide()
menu.close()
--replace this with your settings for preset 3
end
function main4()
console.hide()
menu.close()
--replace this with your settings for preset 4
end
mymenu = menu.new
{
parent = "Movie",
name = "My awesome presets",
help = "Choose a customized preset",
submenu =
{
{
name = "preset 1",
select = function(this) task.create(main1) end,
help = "1920 25fps 2.35:1",
},
{
name = "preset 2",
select = function(this) task.create(main2) end,
help = "3x 1920 25fps 2.35:1",
},
{
name = "preset 3",
select = function(this) task.create(main3) end,
help = "8k",
},
{
name = "preset 4",
select = function(this) task.create(main4) end,
help = "x3zoom 24fps",
},
},
}
What I did was adding your preset changes replacing this part for main1():
--replace this with your settings for preset 1
Replaced this part for main2()
--replace this with your settings for preset 2
This way you can go on and build a whole bunch of presets into a listed menu. Easiest would be to just try the above example in a lua file put into camera. Maybe expand to like ten presets and select from one and same menu.