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

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

  • 189 Replies
  • 140601 Views
Advertisements
I know this topic is a bit older, but once again I wanna thank you all for your effort.
I am using the M5 and the clean HDMI output has bothered me for a long time and finally I have a working solution.

Now another problem:
Is there any way to flip/ mirror left to right, the hdmi output?

There is a build in function "reverse display" that does exactly what I want. Unfortunatly it is only applied to the internal screen, when flipped in "selfie position". https://support.usa.canon.com/kb/index?page=content&id=ART178336

Background:
I would like to use the camera as a wedding photobooth with a build in monitor.
Hardware solutions to flip the HDMI signal are quite expensive and I would like to avoid a computer software solution.

Best regards
Marius

Re: Clean Canon overlays (G7X II, G5X; EOS M10, M3, also M5, M6, M100 via script)
« Reply #171 on: 26 / September / 2022, 12:47:46 »
i register an account for thanks your and your efforts! my camera is canon eos m6,by reading the wiki,i finally understand all the step!if you are new here too,just follow me:
1.low format your SD card
2. Downlo EosCard (https://pel.hu/eoscard/)
3.put SD card to your PC (windows)
4. Open EosCard refresh, see the fat16 or fat32,check the "Script"(make canon can read your script)
5.use notepad Create two script

First "script.req"(not saved by ".txt")
Contain
Code: [Select]
for DC_scriptdiskSecond  "extend.m"
Contain
Code: [Select]
DIM palette_buffer_ptr = 0x11d4c
DIM active_palette_buffer = 0x11d44
DIM palette_to_zero = 0
 
private sub RegisterProcs()
    System.Create()
    ExecuteEventProcedure("UI.CreatePublic")
end sub
 
private sub Initialize()
    RegisterProcs()
    LockMainPower()
    adr = *palette_buffer_ptr
    adr = adr + (palette_to_zero * 4)
    if *adr <> 0 then
        adr = *adr + 4
        memset(adr, 0, 256 * 4)
    end if
end sub
6 move to SD Card
7 turn on camera playmode press set

Re: Clean Canon overlays (G7X II, G5X; EOS M10, M3, also M5, M6, M100 via script)
« Reply #172 on: 04 / December / 2022, 16:39:03 »
Hi, I've been having trouble getting the clean overlay and disable display off script to work on my M6 running firmware 101a. When I open to playback mode and press SET, the screen turns off with no HDMI output. I believe the camera is supposed to show the shooting mode without the focusing box. If I half/full-press the shutter or press the playback button, the camera wakes and sends me to shooting mode or playback mode. The focusing box is still present in shooting mode. I did not find anyone else online with this issue.

I've tried both the scripts from zeerow and srsa_4c. For the latter, I removed the firmware check. Every time I prepare the card with EOScard, I use HxD following this tutorial to ensure that the card has been properly prepared. I am using .req and .m files with the proper scripts in each and upload them to the root of the memory card.

Other things I've tried:
- 3 different micro SD cards: 512 MB, 1 GB, and 32 GB card
- Low and non-low level card formatting on my camera and computer
- FAT and FAT32 formatting
- Changing shooting modes after the screen turns off. The screen remains off.
- Trying every shooting mode
- Saving the script.req and extend.m files with ANSI and UFT-8 encoding
- 2 different lenses: 22mm and 15-45mm
- Keeping the 15-45mm lens locked and unlocked
- Keeping the HDMI cable in and using no HDMI cable
- Running EOScard as admin
- Write protecting the card with the card's physical switch when pressing SET
- Resetting the camera settings

I also noticed that changing camera settings did not save after waking the device. For example, I would start with a shutter speed of 1/40, change that to 1/20, press the playback button, press SET, the display would turn off, wake the device with the shutter or playback button, and see that the shutter reverted back to 1/40. This happened for every setting including settings in the menu, aperture, ISO, manual/autofocus, white balance, etc.

I apologize for the long post. What seemed like a fun project to repurpose my M6 has become a tedious task of reformatting and trying different combinations of configurations, so any advice would be appreciated.

I seem to have fixed my issue above, although I am not sure how.

I formatted an SD card in FAT32 (Quick Format deselected in Windows) and prepped using EOScard as before. Removing the LockMainPower() line from zeerow's script (similar to srsa_4c's script) and pressing SET in playback mode did not lead to the screen turning off. Half-pressing the shutter to return to shooting mode showed a clean overlay. Great, but the display would still go to sleep eventually.

I put LockMainPower() back into the script (now the script is the same as zeerow's), and now I get a clean overlay and display off disabled? I'm not sure why the script would work now since it is identical to zeerow's. As an experiment, I formatted and prepped a new card and copied zeerow's script again. This led to the problems I had before where the screen would turn off.

Interestingly, I copied the script I had from the working SD card onto this new card, and now the new card works! My script and zeerow's script are identical, so I do not know what could be causing this.

In the end, while I do not know how, I now have a clean overlay on my M6 with the screen off function disabled.


*

Offline obi

  • *
  • 27
Hi guys,

Firstly, thanks a lot for yet another wonderful piece of work. I have tried it on M3 using CHDK 1.6 and it works very well. I have a some questions though.

1. I wanted to know if there is a possibility to capture Camera mic sound as well via HDMI capture.

2. When I am in Rec mode and running the famous old continuous movie script to keep the recording going, I have the script console, script name, and <ALT> displayed there which obviously disappears when I leave the ALT mode but then the script does not work anymore. The use case is to have streaming via HDMI and local recording on the Camera on-going at the same time. If I do set_draw_title_line(0) set_console_layout(0,0,0,0) set_console_autoredraw(-1) at the start of the continuous movie script, it works very well until there is an error caused by the script (for instance I luckily had an SD card issue) which makes a console appear with the exception in it, the script name and <ALT>. Obviously it is not ideal when we are streaming and some issue like that happens. Is it possible to avoid that CHDK overlay in all the cases somehow?

3. I also observed some missing HDMI frames where I saw the default image from the Capture card for a split second? Is it my cheap USB Capture card? Cabling/USB port was not touched. This did not happen very often though. I have observed it only a couple of times during my tests.

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #175 on: 11 / May / 2023, 06:44:45 »
I checked the recently released updated firmwares for M100 (101a) and M6 (101a), and found that the palette related addresses used by the scripts are unchanged.
I updated the M100 script(s) I posted in this thread so that they run on firmwares 100a and 101a. The M6 script (the one posted by zeerow that doesn't check fw version) will run on 100b, 100f, 101a.


My beloved Canon M6 shows firmware 1.0.0 without any letters behind the numbers.
What to do now?
I can't wait to use the M6 for livestream with autofokus and no overlays/ no shut down.
Thank you for your valued work
Conny

Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #176 on: 11 / May / 2023, 15:42:18 »
Quote from: Conny2u link=topic=13489.msg149746#msg149746

My beloved Canon M6 shows firmware 1.0.0 without any letters behind the numbers.
As quoted many time from the Wiki : : "Please note that your camera's firmware version is not 1.0.0.0 or 1.0.1.0. It's a number that will look like 1.01e !"

Please see our FAQ Notes


Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14080
Re: Clean Canon overlays (M10, M3, also M6, M100 via script)
« Reply #177 on: 11 / May / 2023, 20:10:08 »
My beloved Canon M6 shows firmware 1.0.0 without any letters behind the numbers.
What to do now?
If you put a camera jpeg in the "Find Build by Image" area of https://build.chdk.photos/#build=trunk it should show you the correct version string (along with a message saying no builds are available)
Don't forget what the H stands for.


M6 is not listed there.
Why?
People in here reported positive feedback with M6.

*

Offline reyalp

  • ******
  • 14080
M6 is not listed there.
Why?
People in here reported positive feedback with M6.
There is currently no CHDK port for M6 (@cedricb did some work on one, but it's not currently usable https://chdk.setepontos.com/index.php?topic=14578.msg148722#msg148722).

However, as I said, the "Find Build by Image" should identify the firmware version of your camera, as shown in the attached screenshot
Don't forget what the H stands for.

 

Related Topics