Author Topic: SX110IS - howto start porting  (Read 68584 times)

Offline chdkj

  • Full Member
  • ***
  • Posts: 140
Re: SX110IS - howto start porting
« Reply #240 on: 24 / April / 2009, 23:34:13 »
  • Publish
  • I still couldn't record at 98%, but it *seems* to have recorded at 97%. Large files are recorded (20 secs. = 105 Mb), but I can't playback them entirely on my Linux box. Mplayer just playbacks two or three seconds and closes. Sometimes it will play a few more seconds, but never all the way through. They playback correctly on the camera.
    No, you got that backwards. I can play it fine on the camera, I can't play it on the PC. EDIT: I mean, I copy the file to the HD before playing it on the PC.
    I can watch entirely such recorded files (>300 MB) with mplayer and
    kaffeine on my linux box. Something wrong with your config (codecs..)?
    sx110

    Offline chdkj

    • Full Member
    • ***
    • Posts: 140
    Re: SX110IS - howto start porting
    « Reply #241 on: 24 / April / 2009, 23:39:09 »
  • Publish
  • I just tested the new release. Optical zoom now works in video mode, but I do lose focus after 70% or so.

    Also, I changed the recording mode from Bitrate to Quality and the camera kind of crashed when I tried to record video. The screen turned off immediately and the controls would not respond, except the power button, it does turn the camera off. I could turn back on again, no need to remove batteries. Nothing was recorded. I tried three times, same result every time.

    In Quality mode I think camera can't record to SD fast enough. Thats why I think it crushes. If you lower the quality to 98% camera will not crush! Also if video gets busy @ 98% it will crush as well.720is chdk had some kind protection against that. If your SD isn't fast enough for recording it just stops the recording. If you're right on the edge then warning sing flashes on the screen. Also with 720is I found out the difference between different SD card speeds. Generic cards will stop at around 50%. Better cards will go up to 84%. Excellent cards can go to 98% I have one SanDisk 1GB that can do 99%.

    When you zoom 100% without recording, camera can focus no problem. But when you recording and zooming >70% then there is a problem. I think it's a bug.
    I'm using a SanDisk SDHC 4GB Ultra II --> recorded movies with Quality @99%.
    "dd" wrote  to this card with 18.0 MB/s.
    I'm pretty sure is a matter of card performance (like Inferno said).
    « Last Edit: 24 / April / 2009, 23:52:10 by chdkj »
    sx110

    Offline chdkj

    • Full Member
    • ***
    • Posts: 140
    Re: SX110IS - howto start porting
    « Reply #242 on: 24 / April / 2009, 23:41:08 »
  • Publish

  • sure.. i'll explain.
    Auto-ISO-Shift ist not the normal Auto-ISO. Auto-Iso-Shift works like this:

    Rec-Mode -> menu -> activate auto-iso-shift.
    go to P- TV- AV- or M-Mode -> change iso (for example) to 80 (should be a low number).
    Go somewhere, where the light is not so bright (some kind of "darkish" area).
    half-press the shot-button. Now the Print-Button should be blue. press the print-Button.
    Now you should see how the ISO and the exposure-time changed to recommended (AUTO) settings.


    greetings

    Aaahh, I see. Now I understand. Was not aware of this feature. Going to check this.. Thanks for your explanation.
    sx110

    Offline nycjv321

    • Rookie
    • *
    • Posts: 9
    Re: SX110IS - howto start porting
    « Reply #243 on: 24 / April / 2009, 23:43:56 »
  • Publish
  • no... lol ok tried it and optical zoom works now (Yes!!!!) but autofocus doesn't seem to work automatically (I have "Video Quality Control? enabled), bitrate settings work though I have to mess with quality settings  

    Offline nycjv321

    • Rookie
    • *
    • Posts: 9
    Re: SX110IS - howto start porting
    « Reply #244 on: 24 / April / 2009, 23:45:42 »
  • Publish
  • seems to crash when I choose high quality mode, 75% works though (im fine with that)

    Offline Obihoernchen

    • Full Member
    • ***
    • Posts: 104
      • SX110IS Wiki
    Re: SX110IS - howto start porting
    « Reply #245 on: 25 / April / 2009, 00:33:59 »
  • Publish
  • Lol I have a ******* card only about 6mb/write and I can Record @99% without Problems ;)

    updated wiki
    « Last Edit: 25 / April / 2009, 01:34:38 by Obihoernchen »
    Canon PowerShot SX110 IS
    CHDK: at Autobuild now
    Wiki: SX110IS

    Offline chdkj

    • Full Member
    • ***
    • Posts: 140
    Re: SX110IS - howto start porting
    « Reply #246 on: 25 / April / 2009, 01:09:25 »
  • Publish
  • Lol I have a ******* card only about 6mb/write and I can Record @99% without Problems ;)
    ;-)))
    sx110

    Offline chdkj

    • Full Member
    • ***
    • Posts: 140
    Re: SX110IS - howto start porting
    « Reply #247 on: 25 / April / 2009, 01:53:38 »
  • Publish
  • next step...

    Auto Focus Scan during movie records works now. You have to (use the new
    binary attached ...) configure an option "AF key" in OSD\video parameters.
    This AF key triggers a AF scan while recording. It works for me. Because an
    automatic AF scan is not available for SX110 you have to trigger it
    manually. --> start your recording --> if cams has lost the focus then press
    your AF key (I prefer <SET>) --> AF will readjust while movie is still
    recording.

    Solution: enable CAM_AF_SCAN_DURING_VIDEO_RECORD in camera.h and find
    the address for some_flag_for_af_scan (stubs_min.S) in fw dump at
    ROM:FFD19814.

    New version of CHDK for SX110 attached!

    and: dedicated to obihoernchen :-): Startup Sound works. Don't expect to much.
    Solution: corrected wrong entry point of PT_PlaySound in stubs_entry_2.S "NHSTUB(PT_PlaySound, 0xFFC4D9AC)"

    Cheers!

    EDIT: Attachment deleted (final version released on Autobuild already)
    « Last Edit: 04 / November / 2009, 23:52:54 by chdkj »
    sx110

    Offline Obihoernchen

    • Full Member
    • ***
    • Posts: 104
      • SX110IS Wiki
    Re: SX110IS - howto start porting
    « Reply #248 on: 25 / April / 2009, 02:06:52 »
  • Publish
  • next step...

    Auto Focus Scan during movie records works now. You have to (use the new
    binary attached ...) configure an option "AF key" in OSD\video parameters.
    This AF key triggers a AF scan while recording. It works for me. Because an
    automatic AF scan is not available for SX110 you have to trigger it
    manually. --> start your recording --> if cams has lost the focus then press
    your AF key (I prefer <SET>) --> AF will readjust while movie is still
    recording.

    Solution: enable CAM_AF_SCAN_DURING_VIDEO_RECORD in camera.h and find
    the address for some_flag_for_af_scan (stubs_min.S) in fw dump at
    ROM:FFD19814.

    Nice Solution :)

    and: dedicated to obihoernchen :-): Startup Sound works. Don't expect to much.
    Solution: corrected wrong entry point of PT_PlaySound in stubs_entry_2.S "NHSTUB(PT_PlaySound, 0xFFC4D9AC)"

    xD^^ Thanks


    updated wiki
    « Last Edit: 25 / April / 2009, 02:08:23 by Obihoernchen »
    Canon PowerShot SX110 IS
    CHDK: at Autobuild now
    Wiki: SX110IS

    CHDK Forum

    Re: SX110IS - howto start porting
    « Reply #248 on: 25 / April / 2009, 02:06:52 »

    Offline fahd123

    • Rookie
    • *
    • Posts: 7
    Re: SX110IS - howto start porting
    « Reply #249 on: 25 / April / 2009, 02:49:33 »
  • Publish
  • Thanks a lot chdkj
    autofocus is now working :)

    by the way.. instead of SET button.. can i use the Zoom button straightway?

    like when i press zoom, it will zoom and auto focus both at the same time?
    can zoom button be added in AF key[    ]?

    Thanks a lot!

    Offline GnF

    • Rookie
    • *
    • Posts: 12
    Re: SX110IS - howto start porting
    « Reply #250 on: 25 / April / 2009, 08:47:09 »
  • Publish
  • I would like to report what was already known about battery's. Somehow the problem i had with fast wearing battery's was because of old and poor battery's that made me believe that chdk was using a lot more power.
    Measuring with professional equipment only thing i can see is almost the same power usage with and without chdk (might be slight more as already reported with chdk but the difference is so small that i cannot really measure it or report that i really saw it).

    Using Sanyo 2700mA had the same exact results with and without chdk
    Using 3 different pairs of alkaline battery's had the exact same results with and without chdk
    using 2 pairs of non alkaline battery's had the exact same results with and without chdk

    conclusion leads to that the camera with chdk does use the same battery power that the camera without it uses.

    I am really sorry for saying the opposite.

    next step...

    Auto Focus Scan during movie records works now. You have to (use the new
    binary attached ...) configure an option "AF key" in OSD\video parameters.
    This AF key triggers a AF scan while recording. It works for me. Because an
    automatic AF scan is not available for SX110 you have to trigger it
    manually. --> start your recording --> if cams has lost the focus then press
    your AF key (I prefer <SET>) --> AF will readjust while movie is still
    recording.

    Solution: enable CAM_AF_SCAN_DURING_VIDEO_RECORD in camera.h and find
    the address for some_flag_for_af_scan (stubs_min.S) in fw dump at
    ROM:FFD19814.

    New version of CHDK for SX110 attached!

    and: dedicated to obihoernchen :-): Startup Sound works. Don't expect to much.
    Solution: corrected wrong entry point of PT_PlaySound in stubs_entry_2.S "NHSTUB(PT_PlaySound, 0xFFC4D9AC)"

    Cheers!


    Would it be possible for someone to explain how to fix that? I seem not able to find --> configure an option "AF key" in OSD\video parameters. There is no such an option in Video parameters or i am looking in the wrong section of chdk (maybe i should alter a file in notepad?).
    Maybe the build included 3 posts above by chdkj is newer than the latest CHDK Download autobuild?


    Thanks in advance


    Forget it i just found out that 3 posts above is different that CHDK Download page. Does work nicely.
    « Last Edit: 25 / April / 2009, 08:56:07 by GnF »
    Canon SX110 IS

    Offline Hyst

    • Rookie
    • *
    • Posts: 18
    Re: SX110IS - howto start porting
    « Reply #251 on: 25 / April / 2009, 15:23:52 »
  • Publish
  • next step...

    Auto Focus Scan during movie records works now. You have to (use the new
    binary attached ...) configure an option "AF key" in OSD\video parameters.
    This AF key triggers a AF scan while recording. It works for me. Because an
    automatic AF scan is not available for SX110 you have to trigger it
    manually. --> start your recording --> if cams has lost the focus then press
    your AF key (I prefer <SET>) --> AF will readjust while movie is still
    recording.

    Solution: enable CAM_AF_SCAN_DURING_VIDEO_RECORD in camera.h and find
    the address for some_flag_for_af_scan (stubs_min.S) in fw dump at
    ROM:FFD19814.

    New version of CHDK for SX110 attached!

    and: dedicated to obihoernchen :-): Startup Sound works. Don't expect to much.
    Solution: corrected wrong entry point of PT_PlaySound in stubs_entry_2.S "NHSTUB(PT_PlaySound, 0xFFC4D9AC)"

    Cheers!


    Works fine for me. Nice Work! Maybe you're able to add the following feature:
    While shooting a video, you press a button wich toggles the AF-assist-beam (or AF-Light -- the red LED in front) on and off. So that you can shoot videos in dark areas (with at least a little bit light)

    greetings
    Canon Powershot SX110

    Offline Inferno

    • Rookie
    • *
    • Posts: 18
    • In RAW we trust!
    Re: SX110IS - howto start porting
    « Reply #252 on: 25 / April / 2009, 15:26:46 »
  • Publish
  • next step...

    Auto Focus Scan during movie records works now. You have to (use the new
    binary attached ...) configure an option "AF key" in OSD\video parameters.
    This AF key triggers a AF scan while recording. It works for me. Because an
    automatic AF scan is not available for SX110 you have to trigger it
    manually. --> start your recording --> if cams has lost the focus then press
    your AF key (I prefer <SET>) --> AF will readjust while movie is still
    recording.

    Solution: enable CAM_AF_SCAN_DURING_VIDEO_RECORD in camera.h and find
    the address for some_flag_for_af_scan (stubs_min.S) in fw dump at
    ROM:FFD19814.

    New version of CHDK for SX110 attached!

    and: dedicated to obihoernchen :-): Startup Sound works. Don't expect to much.
    Solution: corrected wrong entry point of PT_PlaySound in stubs_entry_2.S "NHSTUB(PT_PlaySound, 0xFFC4D9AC)"

    Cheers!


    I think "mute while focusing" option is very necessary. There are loud audio clicks when focusing. Possibly because red focusing light is used. Because there is 2 clicks when it goes on and when it goes off.
    « Last Edit: 25 / April / 2009, 15:28:19 by Inferno »

    Offline lucmovel

    • Rookie
    • *
    • Posts: 13
    • SX110 IS
    Re: SX110IS - howto start porting
    « Reply #253 on: 25 / April / 2009, 16:08:31 »
  • Publish
  • Several comments:

    1) chdkj, the video zoom problem is definitely solved, I set the AF key in Main menu -> Video parameters, it works fine. Very good work! Thanks for sharing all this.

    2) I don't think I am having a card performance problem. How come I can record the videos and playback them on the camera? Then I transfer them to the PC and can't play them anymore. A PC performance problem seems more likely. I ran new tests at 90% and now I can play the videos, but not every time. Sometimes, the playback gets jerky, it stutters or freezes for a second then it playbacks in fast motion for 2 or 3 seconds. My PC is an old 2200 Sempron, it must be it. The bitrate is so high my PC can't take it.

    3) I don't see the point of applying mute while focusing. Between the camera's noise and interruptions of the audio, what's the difference? Which is worse? Audio is ruined anyway.

    4) Has anyone managed to make any of the motion detection scripts work on the SX110IS?

    Offline zodiac757

    • Rookie
    • *
    • Posts: 39
    Re: SX110IS - howto start porting
    « Reply #254 on: 25 / April / 2009, 19:07:56 »
  • Publish
  • maybe a new bug:
    If I turn on the camera (holding on/off about 2 secs), the lens goes out, but sometimes the cam turns itself off (black screen, and nothing more), and the lens stays out. If I try to turn on-off again, the lens don't goes correctly back, just half way. It is just with the latest version.


    « Last Edit: 25 / April / 2009, 19:20:00 by zodiac757 »

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal