Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - dbalex

#1
General Help Q&A / Re: Custom HDR sequence?
December 05, 2016, 09:08:58 PM
Any news on a fix for this issue?
#2
General Help Q&A / Re: Custom HDR sequence?
January 29, 2016, 07:54:50 PM
Ok perfect, works great now! thanks for all the help!
#3
General Help Q&A / Re: Custom HDR sequence?
January 29, 2016, 10:48:32 AM
log2(16) * 16 + 8= 72, right ?  Because that's not working as well, a bit weird because f4 written as 4.0 works even if it's 40

Anything else that I'm missing?
#4
General Help Q&A / Re: Custom HDR sequence?
January 28, 2016, 10:32:50 PM
thanks msleep work like a charm, exactly what I needed. Now I understand a bit better, thanks guys! I added three beeps to tell me when the sequence starts :)

I just noticed now but it seems like the aperture settings is not correctly adjusted while running the sequence. At the 4th camera shot it's supposed to set it to f16 but it seems to set it to f22. Any idea why it's not adjusting to the correct aperture?

menu.new
{
  name = "Run Bracket",
  select = function() task.create(run_bracket) end,
  depends_on = DEPENDS_ON.M_MODE,
}

run_bracket = function()
  camera.aperture.value = 4.0
  camera.shutter.value = 1.0
  beep(3)
  msleep(6000)
  camera.shoot()
 
  camera.shutter.value = 1/4
  camera.shoot()
 
  camera.shutter.value = 1/32
  camera.shoot()
 
  camera.aperture.value = 16.0
  camera.shutter.value = 1/16
  camera.shoot()

  camera.shutter.value = 1/125
  camera.shoot()

  camera.shutter.value = 1/1000
  camera.shoot()

  camera.shutter.value = 1/8000
  camera.shoot()

end
#5
General Help Q&A / Re: Custom HDR sequence?
January 28, 2016, 08:43:10 PM
Ok so now I'm trying to add a delay before the first picture. I think I'm doing it wrong because it tells me an error.
can someone tell me how I can interpret this ML LUA API? http://davidmilligan.github.io/ml-lua/modules/camera.html#shoot


I don't understand how I can translate those in .lua code. I read in the ML Lua API

"Functions

shoot ([wait=64[, should_af=true]])
Take a picture
Parameters:

wait int how long to wait for camera to be ready to take a picture (default 64)
should_af bool whether or not to use auto focus (default true)"




so I made a little change (in red) to the code written by dmilligan to try to add a delay (64=64 seconds?) and disable autofocus:

menu.new
{
  name = "Run Bracket",
  select = function() task.create(run_bracket) end,
  depends_on = DEPENDS_ON.M_MODE,
}

run_bracket = function()
  camera.aperture.value = 4.0
  camera.shutter.value = 1.0
  camera.shoot([wait=64[, should_af=false]])
 
  camera.shutter.value = 1/4
  camera.shoot()
 
  camera.shutter.value = 1/32
  camera.shoot()
 
  camera.aperture.value = 16.0
  camera.shutter.value = 1/16
  camera.shoot()

  camera.shutter.value = 1/125
  camera.shoot()

  camera.shutter.value = 1/1000
  camera.shoot()

  camera.shutter.value = 1/8000
  camera.shoot()

end


But this code doesn't work and tells me : error near [

Can someone tell me what's the problem or where I can learn this? I would really like to do this by myself but now I'm a bit stuck because I don't know how to translate the 'ML LUA API' to .lua code.

Thanks!
#6
General Help Q&A / Re: Custom HDR sequence?
January 26, 2016, 08:01:08 PM
@Garry: I will if I make any progress, but I already tried some mods and can't seem to make them work. I don't really understand how to write the .lua code so I will need to dive into it before making any progress :)
#7
General Help Q&A / Re: Custom HDR sequence?
January 22, 2016, 06:38:42 PM
Awesome it runs now ! I will try now on my own to customize the script even more to my needs. But it's a great start, Thanks for the help !
#8
General Help Q&A / Re: Custom HDR sequence?
January 20, 2016, 08:08:36 PM
haha quite calm I see :)

now I have the lua module but I get the error: When loading bad argument #1 to 'create' (function expected) stack traceback [c] in function 'ta_
any idea what this could be?
#9
General Help Q&A / Re: Custom HDR sequence?
January 20, 2016, 07:58:09 PM
Yes thanks that was it, I have a too old build. I thought since it's only one month old it was ok, but it seems it was already outdated :)

#10
General Help Q&A / Re: Custom HDR sequence?
January 20, 2016, 07:43:54 PM
Ok loading a module I already tried with the other modules, but in my list, I can't find the lua module or the script I put on my cf card.
#11
General Help Q&A / Re: Custom HDR sequence?
January 20, 2016, 06:26:18 PM
Euhm... No... I'm not sure but I looked in all the menus and can't find anything to load the modules. How do I load it? Is there a tutorial explaining all this somewhere that I've missed?
Sorry for all the questions but this is all new for me :)
#12
General Help Q&A / Re: Custom HDR sequence?
January 19, 2016, 10:57:06 PM
Ok I just made a little test but I must say I'm not really understanding everything here. Is there a tutorial somwhere that explains step by step how to use .lua scripts with magic lantern? I tried writing the code you wrote in notepad on my computer saved the file, changed the .txt in .lua and put it in ml/scripts folder but when I switch my camera on I don't really see anything different, can't find a new menu to trigger the script.

Can someone point me in the right direction?

Thanks!

#13
General Help Q&A / Re: Custom HDR sequence?
January 19, 2016, 10:32:04 PM
Great thanks !  Will test it out this weekend when I have some time to understand how all this works :)
#14
General Help Q&A / Re: Custom HDR sequence?
January 18, 2016, 11:49:13 AM
Great! I will look into lua scripts.
Can I make tests of scripts on my camera or do I risk something if the script has some errors?

Thanks!
#15
General Help Q&A / Custom HDR sequence?
January 17, 2016, 10:49:57 PM
Hi guys,

Is it possible to use a custom HDR sequence? I would like to shoot the following sequence.

f/4, 1s
f/4, 1/4 s
f/4, 1/32 s
f/16, 1/16 s
f/16, 1/125 s
f/16, 1/1000 s
f/16, 1/8000 s

Is there a way to do that with Magic Lantern?

Thanks!