Modifying a lua script from a1ex... this is a proud day for me especially since it worked. Thank you thank you thank you for scripting this a1ex!!!
These have shutter speed changes depending on frame rate. The shutter change has to be put after the frame rate change otherwise you will crash the script since the canon wont allow you to use a shutter lower then 1/60 in a 60p mode.
Check this before you use because I KNOW nothing about ML code but I was able to quickly toggle between 1920 2.35:1 24fps and 1920x800 60fps. Much faster. I assume this will only work in manual mode since shutter speed is being modified.
-- 1920x800 60p, no sound
-- close ML menu to get into LiveView
menu.close()
-- change settings from ML menu
menu.set("Movie", "Crop mode", "1920 50/60 3x3")
menu.set("Movie", "RAW video", "ON")
menu.set("Movie", "FPS override", "OFF")
menu.set("RAW video", "Aspect ratio", "2.35:1")
menu.set("RAW video", "Data format", "10-bit")
menu.set("RAW video", "Preview", "Real-time")
menu.set("Sound recording", "Enable sound", "OFF")
menu.set("Overlay", "Global Draw", "ON, all modes")
menu.set("Display", "Clear overlays", "Recording")
-- etc
-- close x5 zoom, should it happen to be enabled
lv.zoom = 1
-- FIXME: user needs to switch to 720p60 from Canon menu
while menu.get("FPS override", "Actual FPS", "") ~= "59.940" or not camera.gui.idle do
display.notify_box("Please switch to 720p60 from Canon menu.")
msleep(500)
end
-- finally set the resolution
-- fixme: doesn't seem to work if you have fine-tuned it
menu.set("RAW video", "Resolution", 1920)
camera.shutter = 1/125
-- finished!
display.notify_box(string.format(
"Ready!\n%s %s",
menu.get("RAW video", "Resolution", ""),
menu.get("FPS override", "Actual FPS", "")
),
2000
)
-- 1920x818 24p with sound
-- close ML menu to get into LiveView
menu.close()
-- change settings from ML menu
menu.set("Movie", "Crop mode", "OFF")
menu.set("Movie", "RAW video", "ON")
menu.set("Movie", "FPS override", "OFF")
menu.set("RAW video", "Aspect ratio", "2.35:1")
menu.set("RAW video", "Data format", "12-bit")
menu.set("RAW video", "Preview", "Real-time")
menu.set("Sound recording", "Enable sound", "ON")
menu.set("Overlay", "Global Draw", "ON, all modes")
menu.set("Display", "Clear overlays", "OFF")
-- etc
-- FIXME: user needs to switch to 1080p24 from Canon menu
lv.zoom = 1
-- close x5 zoom, should it happen to be enabled
lv.zoom = 1
while menu.get("FPS override", "Actual FPS", "") ~= "23.976" or not camera.gui.idle do
display.notify_box("Please switch to 1080p24 from Canon menu.")
msleep(500)
end
-- finally set the resolution
-- fixme: doesn't seem to work if you have fine-tuned it
menu.set("RAW video", "Resolution", 1920)
camera.shutter = 1/50
-- finished!
display.notify_box(string.format(
"Ready!\n%s %s",
menu.get("RAW video", "Resolution", ""),
menu.get("FPS override", "Actual FPS", "")
),
2000
)
Definitely triple check these before using ha ha warning I stink at this it might break your cam ha ha.