Clean Canon overlays (G7X II, G5X; EOS M10, M3, also M5, M6, M100 via script) - page 9 - General Discussion and Assistance - CHDK Forum

Clean Canon overlays (G7X II, G5X; EOS M10, M3, also M5, M6, M100 via script)

  • 189 Replies
  • 157031 Views
*

Offline srsa_4c

  • ******
  • 4451
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #80 on: 17 / May / 2020, 14:48:37 »
Advertisements
but the moment I started to film someone I realized there is still this face tracking blue box that I could not remove.
Can you show a screenshot with that box? I only tried briefly but could not find such blue box on my M10.

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #81 on: 17 / May / 2020, 14:56:35 »
Thanks for the answer. Here it is. I am now in Video mode and the square follow my face, I could not find a way to deactivate this neither in the Canon menu nor the CHDK one.
« Last Edit: 18 / May / 2020, 07:20:46 by fiiix »

*

Offline srsa_4c

  • ******
  • 4451
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #82 on: 17 / May / 2020, 16:11:47 »
Thanks for the answer. Here it is. I am now in Video mode and the square follow my face, I could not find a way to deactivate this neither in the Canon menu nor the CHDK one.
I looked up in the manual (and on my camera). A blue square is connected to servo AF. I only get that in non-movie modes if I half press the shutter. Even if I enable movie servo AF in Canon menu, I don't get blue squares while recording. So, it could be something only the M3 has.

The current clean overlay implementation has a few known issues. One is that some Canon drawings are not removed. It's possible that the blue square is one such drawing, but it's the first time I hear about it.
Try experimenting with AF, continuous focus and servo AF related settings.

*

Offline Ant

  • *****
  • 509
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #83 on: 17 / May / 2020, 16:37:02 »
Maybe there need to disable this option?


Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #84 on: 17 / May / 2020, 16:47:02 »
I tried all the AF settings and the one you mentioned was already in one point. The funny thing is that o line everyone talks about clean overlay for the M3 with CHDK and I can not get it to work perfectly it is very frustrating :)

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #85 on: 18 / May / 2020, 06:04:08 »
Also something to notice is that the blue square only appears on the screen connected to HDMI, not directly on the camera. Also If I enable the Face tracking in the option I have then two different trackers, the blue square as displayed in the picture and the regular white 'cornered' square.

EDIT: OK, My bad guys, everything works perfectly fine. To save some time on my bootcamp partition I was using the Windows Camera too to import the HDMI feed and see what was displayed. The blue square was from Windows Camera, on Mac OBS nothing displays of course. I've been wasting my time for nothing :) Thanks for the help anyway! haha
« Last Edit: 18 / May / 2020, 07:22:39 by fiiix »

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #86 on: 31 / May / 2020, 13:06:51 »
Hello. Clean HDMI script is working well on my Canon M3. Has anyone managed to output 60fps?

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #87 on: 03 / June / 2020, 06:55:41 »
Hello! Can you confirm if you have any builds for this that work for the Canon M6 (mk1)? If so , where do I access the file? Thank you for your help (:


update: CHDK for M3 and M10 now supports this feature out of the box. Patching is not necessary, therefore I removed the attachment. Original post follows.

In case anybody asks for it.

Initial implementation of clearing Canon overlays. I only tested this using the LCD, but I believe it will work for other output devices.


Current features:
- Overlays can be removed in
 - rec mode, or just
 - during movie recording
- CHDK overlays are not affected

CHDK menu: Video parameters -> Clean Canon Overlays
    [Never]     - do not hide overlays
    [Rec]       - hide Canon overlays in rec mode
    [MviRec]    - only hide Canon overlays when recording video

Current known limitations:
- When using the "during recording" setting, some Canon overlays may remain on screen. One that I know is the Canon grid (it needs to be switched off in Canon menu).
- Some extra graphical elements may remain visible, regardless of setting: On the M10, the (blue) background of the mode icon can't be removed. This icon only exists in some modes like Hybrid Auto. I also found that when accessing picture controls (Av, Exp. comp, Tv), background shadow of these controls may be visible.
- The M3 port doesn't currently support alternative output devices (that only affects the CHDK overlay though).
- The M3 code is done blindly, it's possible that a palette other than '0' is used in rec mode (someone could verify this by peeking 'active_palette_buffer' - address is in stubs_min.S).


Tech details

Current implementation is DIGIC 6 specific. Implementing on previous DIGIC generations makes little sense as none of them supports higher resolution output in rec mode. Same goes for the other D6 cameras - HDMI is disabled on them in rec mode. However, it should be possible to make an implementation on D4 and D5 ports that support palette manipulation.

The M3 and M10 seem to have 4 palettes (4 bytes per entry, 256 entries). All 4 are in use while using the camera with LCD, which makes me think that the output device does not influence them.
I believe the palettes are for the ARM side firmware, the Xtensa side only receives the actual 32bit colors when it is instructed to draw something.
The palettes are copied from ROM to RAM on first access and (I think) they remain unchanged afterwards.
As written in the limitations section, not all screen elements respect the palette.

D6 implementation

Conditions are continuously evaluated. When the overlay needs to be removed, the palette is copied to a malloc'd buffer (this is only done once), then the Canon palette is zeroed out (all entries set to 0, which means "invisible"). To make (most of) the overlay disappear, a full-screen empty dialog is displayed and removed quickly. Remaining elements disappear when they are redrawn by the Canon firmware (exception: see "current limitations" above).
When the overlay needs to become visible, the palette is copied back and the dialog-trick is used again.

It's probably possible to improve the current implementation (such as: change the Canon palette pointer instead of copying the whole palette), and add other features (make the overlays visible when user interacts with buttons/wheels/touchscreen).


Test builds are provided on request.

cleancanonoverlays_m3_m10_v1.diff (14.81 kB - downloaded 59 times.)

*

Offline srsa_4c

  • ******
  • 4451
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #88 on: 03 / June / 2020, 17:44:30 »
Hello! Can you confirm if you have any builds for this that work for the Canon M6 (mk1)? If so , where do I access the file?
There are no CHDK builds available for that model, but there are scripts.
The one in this post should work.
The card needs to be prepared to run scripts. Also read my notes from this post.

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #89 on: 04 / June / 2020, 08:21:22 »
Thank you so much (: I’m actually looking for a build that will allow me to override the 30min display shut off. Do you know if anything like that exists? I’ve already found a workaround to get clean hdmi, just need the display to stay on for a longer period of time. Thank you again for your guidance.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal