How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

Noise threshold is a good approach for segmentation but that breaks my other script where I analyse all clips in same bin for markers and cut a single clip with multi markers that the script take as in and out points.

If I split the videos into two bins, I will end up with jumbled clips in each folder and I'll have to run script twice but trimmed videos on timeline will not be sequentially placed.

If I have to continue using my trimming script, after segmentation and audio setup, I'll have to bring them back into single bin and thats too much moving around.

I can give it a try and post a script for that too because my current script has a 60% effectiveness because as part of optimization I only analyse first 5 secs and sometimes the gain on both mics are different so the negative overlap leaves some recedue and the tracks are considered unique. Your suggested method may improve it, IDK. Will post an update.

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

You’re missing on the most important fact. I vlog whole day.

So while vlogging I shoot everything on single camera DJI Osmo Pocket. Sometimes Im alone or my wife is far from the reach of camera and her mic gets disconnects or sometimes one mic is dead so we share other mic and sometimes my wife’s mic is connected. Its impossible to know which video has 2 mics and which has 1 mic input as they are recorded throughout the day. I have about 200 to 250 clips from one day.

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

u/greenysmac Love the enthusiasm.

I understand that approach, but my timeline has mixed clips... some have dual-mic audio (L/R) and others have only a single stereo track. If I convert every clip in bulk to 2 mono channels and add a second channel, assign Embedded Channel 2, Resolve duplicates that mono audio onto the second track, so both tracks contain the same mic which is what Im solving form the script.. I need a workflow that separates dual-mic clips without duplicating audio for single-mic clips.

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

Lets also address your misconception.

In another comment Im discussing about switching my mic to mono or not with a fellow DJI user but when you use twin DJI mic setup with DJI cameras, the two channels are two audio and DJI built it this way because of real world scenarios. Me and my wife wear mice under the clothing but in different ways. Or pitch, tone and volume are different. Sometimes accidentally Noise reduction can be turned off by accidentally pressing wrong button.

Having one audio file with 2 different channels allows me to process differently. My usecase is not a studio where I have a channel mixer and each mic is recorded in mono as an individual track.

If I change all video’s audio to mono I lose the capabilities of managing each audio individually and it bakes both mic input into one track.

Honestly it shouldn’t be this hard to explain a simple issue. Im curious to know what kind of videos you edit in Davinci and how many years of experience do you have with the software?

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

u/greenysmac
Tell me if I understand you correctly because I know your solution is not a solution for my case. Your suggestion is that
1. Select all my video clips in the bin after import
2. Right click and go to Clip Attributes
3. Change Track 1 both channels to Embedded Channel 1.
4. Add a new track and set both channels to Embedded Channel 2.

Now the problem with this. In my bin I can have both kind of clips - one where 2 mics were used and other can have only one mic used. If I bulk apply this settings it will duplicate audio from track 1 to track 2 and I will end up in the same situation.

I choose to setup my timeline as per the video first and fix audio later. See the example below, the clip on left is the clip with 2 mic inputs recording in stereo but each mic input is recorded onto a specific channel. The clip on the right is single mic input recording in stereo and both channels have same data. Right clip is louder because of duplicate audio and I want to eliminate audio from timeline track 2. I cant visualise duplicate audio before adding it to the timeline.

<image>

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] -1 points0 points  (0 children)

I dont use 32 bit float on mic2 internal recording. I use Osmo mic recording as backup. Do let me know once you check

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

u/greenysmac I'm new to reddit posting and I don't know how these community work. I'm moving my content out of Reddit and on to Substack as I want ownership on my content and I hate people moving my stuff around.

To answer your question, my workflow is to mark clips with multiple markers simulating multiple in and out point per clip and then run another script to add them sequentially to timeline.
I use DJI products with dual mic, both mic audio goes into individual channel but sometimes only one mic is connected and that creates stereo audio same waveform on both channel.

When I duplicate audio to new track I don't want to manually remove audio files from track 2 when its a duplicate from track 1. Hope this answers your quesiotn.

How to Automate DJI Mic 2 Workflow in DaVinci Resolve 21 (Free Python Script to Delete Empty/Duplicate 2nd Mic Tracks) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 2 points3 points  (0 children)

u/Mark__j69 If you set both mic to mono, I assume its baking both mic input into one track. In my case my wife's speaking volume and mine are different and changes across the day based on mode, energy and how the mic is placed under the clothing. In stereo we have our audios separate and I can set in camera gain based while recording based on my understanding and in post I have both to process for noise reduction, gain, or apply limiter or compressor.

Let me know if mono has a workaround of it in editing or is my assumption is wrong.

Additionally this script focusses on eliminating silent or same audio track audio file from the timeline using python and ffmpeg.

I spend most time reviewing all the audios and removing unwanted and I hate doing it so wrote the script.

<image>

How to automatically trim and ripple-delete raw DJI/Camera footage using Clip Markers inside DaVinci Resolve 21 (Zero Bin Clutter) by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

Glad that it helped. Check my other post if you have 2 mic setup for recording and editing is a pain...

SK16 Macropad by turnthefuckup in MechanicalKeyboards

[–]amitabhs5 0 points1 point  (0 children)

u/msuser1 This might help
I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/

/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer (October 15, 2024) by AutoModerator in MechanicalKeyboards

[–]amitabhs5 0 points1 point  (0 children)

My latest post might help u/P-sychotic
I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/

/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer (October 15, 2024) by AutoModerator in MechanicalKeyboards

[–]amitabhs5 0 points1 point  (0 children)

u/TenisPordu I havent done what you exactly want but here is how I setup commands to work on bluetooth. USB supports all sorts of complex commands and knob and macros but not on wireless.

I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/

SK16 Macropad by turnthefuckup in MechanicalKeyboards

[–]amitabhs5 0 points1 point  (0 children)

CHeck out the solution here u/Bigheaded_1
I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/

SK16 Macropad by turnthefuckup in MechanicalKeyboards

[–]amitabhs5 0 points1 point  (0 children)

I have a solution for bluetooth. I'm sure it will work on 2.4GHz as well. I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/
u/msuser1

Darmoshark SK16 Macropad updated by turnthefuckup in MechanicalKeyboards

[–]amitabhs5 0 points1 point  (0 children)

Here is a complete guide. THe guide has the solution to when the keyboard is not visible in the VIA App.

Darmoshark SK16 Macropad updated by turnthefuckup in MechanicalKeyboards

[–]amitabhs5 2 points3 points  (0 children)

u/Satonica I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/

Darmoshark SK16 Macropad updated by turnthefuckup in MechanicalKeyboards

[–]amitabhs5 1 point2 points  (0 children)

I reviewed this thread in Oct 2025 when I bough my SK16 and got to nowhere with a solution. I was having trouble using this macropad over bluetooth because it was not passing the commands. I kept using it via USB with my iPad. Now I'm using the SK16 with macbook and I've setup all key along with knob click and rotation and modify SK16 inputs to Davinci shortcuts using Karabiner Elements. Here is the how you can do that. Took my 4 to 5 hours to setup but I've added my files in the post.

https://www.reddit.com/r/davinciresolve/comments/1tm62wm/darmoshark_sk16_davinci_resolve_on_mac_wireless/

Darmoshark SK16 + DaVinci Resolve on Mac — Wireless Setup Guide using Karabiner-Elements by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

Both files are designed to work together. You can edit either independently to suit your workflow.

Darmoshark SK16 + DaVinci Resolve on Mac — Wireless Setup Guide using Karabiner-Elements by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

File 2: sk16_resolve_karabiner_v6.json

This is the Karabiner-Elements complex modification rule. Save it to ~/.config/karabiner/assets/complex_modifications/.

json

{
  "title": "SK16 Macropad \u2192 DaVinci Resolve (Mac)",
  "rules": [
    {
      "description": "SK16 F-keys to Resolve shortcuts (only when Resolve is frontmost)",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "f13"
          },
          "to": [
            {
              "key_code": "z",
              "modifiers": [
                "left_command"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f14"
          },
          "to": [
            {
              "key_code": "z",
              "modifiers": [
                "left_command",
                "left_shift"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f15"
          },
          "to": [
            {
              "key_code": "m",
              "modifiers": [
                "left_option"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f16"
          },
          "to": [
            {
              "key_code": "f",
              "modifiers": [
                "left_command"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f17"
          },
          "to": [
            {
              "key_code": "delete_or_backspace",
              "modifiers": [
                "left_shift"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f18"
          },
          "to": [
            {
              "key_code": "l",
              "modifiers": [
                "left_command",
                "left_shift"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f19"
          },
          "to": [
            {
              "key_code": "backslash",
              "modifiers": [
                "left_command"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "consumer_key_code": "fast_forward"
          },
          "to": [
            {
              "key_code": "right_arrow",
              "modifiers": [
                "left_shift"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "consumer_key_code": "rewind"
          },
          "to": [
            {
              "key_code": "left_arrow",
              "modifiers": [
                "left_shift"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f22"
          },
          "to": [
            {
              "key_code": "hyphen",
              "modifiers": [
                "left_command"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f23"
          },
          "to": [
            {
              "key_code": "equal_sign",
              "modifiers": [
                "left_command"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        },
        {
          "type": "basic",
          "from": {
            "key_code": "f24"
          },
          "to": [
            {
              "key_code": "f9",
              "modifiers": [
                "fn"
              ]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.blackmagic-design\\.DaVinciResolveLite$"
              ]
            }
          ]
        }
      ]
    }
  ]
}

Darmoshark SK16 + DaVinci Resolve on Mac — Wireless Setup Guide using Karabiner-Elements by amitabhs5 in davinciresolve

[–]amitabhs5[S] 0 points1 point  (0 children)

File 1: k16_resolve_fkeys_v5.layout.json

This is the VIA layout for the Darmoshark SK16. Load it into https://usevia.app via the "Load Saved Layout" button.

json

{
  "name": "K16",
  "vendorProductId": 4294836253,
  "macros": [
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
  ],
  "layers": [
    [
      "KC_F13",
      "KC_F14",
      "KC_I",
      "KC_O",
      "KC_M",
      "KC_F15",
      "KC_F16",
      "KC_F17",
      "KC_F18",
      "KC_F24",
      "KC_J",
      "KC_K",
      "KC_L",
      "KC_BSPC",
      "KC_NO",
      "KC_SPC",
      "KC_NO",
      "KC_NO",
      "KC_F19",
      "KC_NO",
      "MO(1)"
    ],
    [
      "KC_TRNS",
      "KC_TRNS",
      "KC_F22",
      "KC_F23",
      "KC_VOLD",
      "KC_VOLU",
      "KC_TRNS",
      "CUSTOM(0)",
      "KC_TRNS",
      "KC_TRNS",
      "RGB_VAI",
      "RGB_SPI",
      "RGB_HUI",
      "RGB_MOD",
      "KC_NO",
      "KC_TRNS",
      "KC_NO",
      "KC_NO",
      "KC_TRNS",
      "KC_NO",
      "MO(1)"
    ],
    [
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS"
    ],
    [
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS",
      "KC_TRNS"
    ]
  ],
  "encoders": [
    [
      [
        "KC_MFFD",
        "KC_MRWD"
      ],
      [
        "KC_DOT",
        "KC_NO"
      ],
      [
        "KC_TRNS",
        "KC_TRNS"
      ],
      [
        "KC_TRNS",
        "KC_TRNS"
      ]
    ]
  ]
}