How to determine which playpack filter is active - Script Writing - CHDK Forum

How to determine which playpack filter is active

  • 3 Replies
  • 3470 Views
How to determine which playpack filter is active
« on: 28 / January / 2014, 21:10:39 »
Advertisements
Hello, I have a question. I want to playback videos on my camera via script. Since I only want to playback video and not photo, I need to set the playback filter provided by Canon.

When being in Play mode, I can adjust that with a script like this:

Code: [Select]
click("set")  -- entered options menu

click("right")  -- entered filter playback options

click("down")  --
click("down")  --
click("down")  --
click("down")  -- navigated to "filetype filter"

click("right")  -- navigated to "stills" or "movies" selection

click("down")  -- select "movies"

click("set")  -- select and finish adjustments

Now this is the problem I have: The above "click-path" to select the movies filter is valid only the first time after the camera is switched on. Since Canon remembers the settings in the menu the next time I would not have to "down", "down", "down" the whole way, I am already there.

So my question: Is there any chance to find out which recent filtered playback mode is selected, via a a property case "get_prop()"? Could not find something for that.

Thanks a lot!

« Last Edit: 28 / January / 2014, 21:12:11 by Karmaschinken »

*

Offline reyalp

  • ******
  • 14125
Re: How to determine which playpack filter is active
« Reply #1 on: 29 / January / 2014, 00:57:06 »
I thought this setting might be in a param available from get_parameter_data() http://chdk.wikia.com/wiki/Lua/Lua_Reference#Flash_parameters but I didn't see any changed params after messing with it on elph130 and running exam/paramdmp.lua
Don't forget what the H stands for.

Re: How to determine which playpack filter is active
« Reply #2 on: 29 / January / 2014, 06:52:06 »
Hmmm, I will try with this on my camera.but  this, is there a possibility to draw a bitmap on the screen? I found the drawings library, but that does not support bitmaps. Thanks!

Re: How to determine which playpack filter is active
« Reply #3 on: 29 / January / 2014, 08:20:35 »
 
is there a possibility to draw a bitmap on the screen? I found the drawings library, but that does not support bitmaps.
no
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal