Proper video with Zoom & Focus - page 3 - Feature Requests - CHDK Forum  

Proper video with Zoom & Focus

  • 45 Replies
  • 15028 Views
*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Proper video with Zoom & Focus
« Reply #20 on: 18 / March / 2008, 03:19:38 »
Advertisements
Because unlock_video_zoom() calls PutsCameraLog(). I afraid, that this function can store some camera log in flash memory (flash endurance is not too big) in some cases.

Are you sure that PutsCameraLog() stores something in NVRAM? It can just accumulate some info in regular RAM for debug purpose or for saving into a file later? What do you think?
CHDK Developer.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Proper video with Zoom & Focus
« Reply #21 on: 18 / March / 2008, 03:22:56 »
ah ok, thanks for clearing that up.
but we still dont know if it is working (or not) on other cameras (besides those cams that were reported here), right? so you have to wait for further tests by the forum-goers.
can you enable the video zoom by default?

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Proper video with Zoom & Focus
« Reply #22 on: 18 / March / 2008, 03:33:06 »
Are you sure that PutsCameraLog() stores something in NVRAM?

Of course, no.
edit: But NVRAM (small RAM with backup battery) and flash - two different things. Writing to NVRAM is safe, but we can read this log from flash.

It can just accumulate some info in regular RAM for debug purpose or for saving into a file later? What do you think?

Yes, maybe this log stored in flash only on camera error.
But I have not read the Canon documentation and do not want to risk  :)
« Last Edit: 18 / March / 2008, 04:36:43 by ewavr »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Proper video with Zoom & Focus
« Reply #23 on: 18 / March / 2008, 04:30:07 »
but we still dont know if it is working (or not) on other cameras (besides those cams that were reported here), right? so you have to wait for further tests by the forum-goers.
can you enable the video zoom by default?

Today I will change sources for all cameras like for A620.


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Proper video with Zoom & Focus
« Reply #24 on: 18 / March / 2008, 12:42:26 »
Well, optical zoom can be enabled (at least on A710) with another way: simply write zero to some variable (this is absolutely safe :D).
For a710 its address is 0x74E4, for A620 0x806C.
I don't know, what is better, function can be found automatically, but variable - no.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Proper video with Zoom & Focus
« Reply #25 on: 18 / March / 2008, 13:41:54 »
hm, i'm willing to help if it doesnt exceed my limited knowledge :D

on the other hand - why not release the already found way, and then research later :D

edit: added archive with compiled binaries for all supported platforms here (latest rev): a few enhancements, bugfixes
« Last Edit: 18 / March / 2008, 18:03:18 by PhyrePhoX »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Proper video with Zoom & Focus
« Reply #26 on: 18 / March / 2008, 20:00:06 »
I changed movie_rec.c for all cameras like A620. Now optical zoom in video works on IXUS700(SD500) (tested).

*

Offline a710is

  • ****
  • 250
  • A710 IS
Re: Proper video with Zoom & Focus
« Reply #27 on: 19 / March / 2008, 02:41:09 »
so when are we gonna see some compiled builds? I'm not good at that really.  :(


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Proper video with Zoom & Focus
« Reply #28 on: 19 / March / 2008, 02:50:27 »
like i already wrote TWO posts above i compiled all binaries in my thread (a few enhancements, bugfixes).

to speed things up here is the direct link: zSHARE - 334_enhancements_purgeraw.zip
updated to latest revision from ewavr.
thanks, everything is working fine now.

*

Offline a710is

  • ****
  • 250
  • A710 IS
Re: Proper video with Zoom & Focus
« Reply #29 on: 19 / March / 2008, 04:49:45 »
Thank you ewavr and PhyrePhoX ! this video zoom is awesome.
only thing is that my camera doesn't always focus right. I'm working on that focus script now but it would be great if the video manual focus would also be unlocked

edit: this really isn't that important but I should mention it, if the camera goes to digital zoom in video recording, the ability to zoom optically stops. if digital zoom is disabled, it's all fine.

is it possible to enable zoom in alt mode as well so that we can also zoom while using the focus script?

« Last Edit: 19 / March / 2008, 05:13:53 by a710is »

 

Related Topics