Author Topic: Fast video presets for 5dIII (based on Danne's cine.lua)  (Read 1364 times)

timbytheriver

  • Senior
  • ****
  • Posts: 422
Re: Fast video presets for 5dIII (based on Danne's cine.lua)
« Reply #25 on: January 13, 2020, 06:15:56 PM »
@Danne Got the menu structure working. Now it sets some regs in "Presets" menu – but strangely not CMOS values in Hex.  :o

So here for example it sets all values – except the CMOS[0]

Code: [Select]

menu.set("Presets", "CMOS[0]", "0x333")
menu.set("Presets", "preamp_89ab", "-43")
menu.set("Presets", "gain_0xfe", "-4")
msleep(300)

and here it sets all values – except the CMOS[4]

Code: [Select]

menu.set("Presets", "CMOS[4]", "0x318")
menu.set("Presets", "gain_888x", "-258")
menu.set("Presets", "preamp_89ab", "-60")
msleep(300)


?
5D3 1.1.3
5D2 2.1.2

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 6151
Re: Fast video presets for 5dIII (based on Danne's cine.lua)
« Reply #26 on: January 13, 2020, 06:24:22 PM »
What can I say. Enjoy the learning experience. Sorry, can't help more atm.

timbytheriver

  • Senior
  • ****
  • Posts: 422
Re: Fast video presets for 5dIII (based on Danne's cine.lua)
« Reply #27 on: January 13, 2020, 06:26:07 PM »
Righto.

Anyone have any helpful ideas why lua appears not to want to set HEX values?

Thanks.
5D3 1.1.3
5D2 2.1.2

timbytheriver

  • Senior
  • ****
  • Posts: 422
Re: Fast video presets for 5dIII (based on Danne's cine.lua)
« Reply #28 on: January 13, 2020, 07:52:57 PM »
The answer is (according to a Stack Overflow user):

Code: [Select]
menu.set("Presets", "CMOS[0]", 0x318)
Remove the " " from around the HEX value. :)
5D3 1.1.3
5D2 2.1.2

Dmytro_ua

  • Member
  • ***
  • Posts: 169
  • Kyiv, Ukraine
Re: Fast video presets for 5dIII (based on Danne's cine.lua)
« Reply #29 on: January 13, 2020, 09:55:14 PM »
I didn't test these presets with latest Danne's build so I cannot tell what's going on right now. It was fine tuned to the build mentioned in the first topic (ver 2019Oct15).
As soon as I have time I'll revisit my presets to work smooth with the current build.
5d3 1.1.3 exp | Canon 16-35 4.0L | Canon 50 1.4 | Canon 100mm 2.8 macro
Ronin-S

timbytheriver

  • Senior
  • ****
  • Posts: 422
Re: Fast video presets for 5dIII (based on Danne's cine.lua)
« Reply #30 on: January 14, 2020, 10:22:22 AM »
@Dmytro_ua

The names for some of the submenus have changed. I think that's the main difference. Mine is working now as per my excerpt on the previous page if you want to compare. :)
5D3 1.1.3
5D2 2.1.2