SX260 HS Porting Thread - page 38 - DryOS Development - CHDK Forum supplierdeeply

SX260 HS Porting Thread

  • 642 Replies
  • 206195 Views
*

Offline voyteckst

  • *
  • 10
  • SX260HS_100c
Re: SX260 HS Porting Thread
« Reply #370 on: 03 / September / 2012, 16:24:27 »
Advertisements
Maybe there is possibility to   write script which will start new recording and after certain time/filesize finish and start new one?

Like this ?  http://chdk.wikia.com/wiki/Continuous_Video_Scripts
Yes... I answered from mobile phone without checking wiki first (just thought it should be possible) ::)

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #371 on: 04 / September / 2012, 00:48:34 »
Maybe there is possibility to   write script which will start new recording and after certain time/filesize finish and start new one?
Like this ?  http://chdk.wikia.com/wiki/Continuous_Video_Scripts
Great script writing, but it needs to be done from within CHDK so you can use the zoom and it will focus and change exposure during the video like it does without CHDK.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX260 HS Porting Thread
« Reply #372 on: 04 / September / 2012, 03:47:57 »
Great script writing, but it needs to be done from within CHDK so you can use the zoom and it will focus and change exposure during the video like it does without CHDK.
There have been hundreds of posts and many discussions about this on the forum.  Feel free to search for them and then join the hunt for a better way to do this.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #373 on: 06 / September / 2012, 18:16:35 »
"Minor" bug in SX260 port:

When entering param values for a script, you can press the zoom lever to change the digits that you adjust. On the SX260, the lever is too sensitive. It goes right by the 10's and 100's to 1K. It' snot usable this way.

I just got the G1X and the zoom works correctly for entering parameters, so it's probably a problem with the port.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos


*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #374 on: 07 / September / 2012, 19:53:17 »
Been testing the G1X CHDK RAW saving to see if it has the same problem as the sx260. It DOES have a similar problem with saving RAW files. I've attached a photo (screen grab cropped) of a DNG file produced by the G1X. Every OTHER photo I do in either P or AUTO mode produces the exact same pattern.

The G1X also has its own RAW saving. If I save G1X RAW and CHDK RAW at the same time, I get all white pictures. With RAW +JPG on the G1X, the JPG is also all white. Interestingly, the 2 second preview of the last picture taken remains the same: the last picture taken before switching to G1X RAW (and CHDK RAW).

Note that unlike the SX260, the pattern at the top of the picture is identical in all bad DNGs. The entire picture is there, just covered up by the lines at the top.

G1X 100g 1.2.0-2132   9/6/2012

Edit: Same result with 1.1.0-2133
« Last Edit: 07 / September / 2012, 20:31:47 by lapser »
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #375 on: 07 / September / 2012, 21:45:33 »
Focusing Crash?

I reported a camera shutoff (crash) when I started a script the first time after turning the camera on. This also just happened on the G1X, and I saved the ROMLOG, which shows a focus problem. One of the things I do at the beginning of the script is this:
    dof=get_dofinfo()
    f=dof.hyp_dist
    print(dof.hyp_valid,"=valid hyp=",dof.hyp_dist)
    set_focus(f)
    set_aflock(1)

I had the camera in manual focus set to close range before starting the script, so the focus motor probably didn't have time to focus before I took the shot. Is this a problem that's expected, and can be solved with a short delay?
« Last Edit: 07 / September / 2012, 21:50:05 by lapser »
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline reyalp

  • ******
  • 14079
Re: SX260 HS Porting Thread
« Reply #376 on: 08 / September / 2012, 01:21:10 »
Been testing the G1X CHDK RAW saving to see if it has the same problem as the sx260. It DOES have a similar problem with saving RAW files. I've attached a photo (screen grab cropped) of a DNG file produced by the G1X. Every OTHER photo I do in either P or AUTO mode produces the exact same pattern.
by "every other photo" you mean, photo #1 is good, #2 is bad #3 is good etc ?
If so, is does this happen when shooting in continuous mode, or shooting quickly, or even with a long time between shots ?

Does this happen using CHDK raw as well as DNG ? May be hard to tell with GX1 since I'm not sure anything will understand the 14 bit raw, but sx260 should be convertible with rawconvert at least.
Quote
The G1X also has its own RAW saving. If I save G1X RAW and CHDK RAW at the same time, I get all white pictures. With RAW +JPG on the G1X, the JPG is also all white.
I'd say don't do that then, there's not much value in capturing both kinds of raw at the same time.
Don't forget what the H stands for.

Re: SX260 HS Porting Thread
« Reply #377 on: 08 / September / 2012, 01:29:32 »
Quote
The G1X also has its own RAW saving. If I save G1X RAW and CHDK RAW at the same time, I get all white pictures. With RAW +JPG on the G1X, the JPG is also all white.
I'd say don't do that then, there's not much value in capturing both kinds of raw at the same time.
@lapser :  do you have the setting for "RAW buffer cached" enabled ?  As I understand what that does, it could corrupt one of the buffers if they are being used differently than they were when that option was added.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #378 on: 10 / September / 2012, 19:47:34 »
@lapser :  do you have the setting for "RAW buffer cached" enabled ?  As I understand what that does, it could corrupt one of the buffers if they are being used differently than they were when that option was added.
Just tested it, and it happens with RAW buffer cache enabled OR disabled. Picture #1,3,5, etc. are good, and picture #2,4,6 etc. are bad. I waited at least a few seconds between shots, sometimes longer.

The G1X saves CR2 RAW files with the lens correction already applied, so there's no reason to create CRW or DNG. I thought it might be relevant to the sx260 RAW bug in AUTO mode. I doubt I'll ever want to shoot RAW in AUTO mode anyway, so I'm ready to move on and call it a known issue.

I haven't found anything that will let me view CRW files out of either camera, so I'm not sure if they're bad, or it's in the DNG conversion. I tried all the programs I could find searching here.

Anything else that needs to be done or tested before posting the SX260 port to the main download area?
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline reyalp

  • ******
  • 14079
Re: SX260 HS Porting Thread
« Reply #379 on: 10 / September / 2012, 22:57:03 »
I haven't found anything that will let me view CRW files out of either camera, so I'm not sure if they're bad, or it's in the DNG conversion. I tried all the programs I could find searching here.
You can't find any programs that open it because it's just a sensor dump. For the sx260, you should be able to use http://chdk.wikia.com/wiki/CHDK_Tools#rawconvert.c to convert it into something you can use to see if the data is valid.
Don't forget what the H stands for.

 

Related Topics