<p><a href="https://www.youtube.com/watch?v=0ZeO0IQaJ-A" rel="nofollow noreferrer">This guy</a> did essentially the opposite of what you're trying to do. However, he posted the source-code <a href="https://github.com/DevonCrawford/Video-Editing-Automation" rel="nofollow noreferrer">here.</a> So with a little bit of IT-finesse, you should be able to reverse the program's understanding of what to edit out - meaning that the code shouldn't say (in a very simplified, theoretical syntax):</p>
<pre><code>if track5dB &lt; 5dB:
{
cutThisOut();
}
</code></pre>
<p>but instead:</p>
<pre><code>if track5dB &gt; 0
{
cutThisOut();
}
</code></pre>
<p>Now, I haven't personally checked out the code in detail, so I cannot 100% vouch for it to work, but it might just be worth a try.</p>

CC BY-SA 4.0
2020-11-29T09:22:04.777Z
Amazing. I have watched the video. But did not see that he posted the source. I'll try it out.
Hjalte J.
CC BY-SA 4.0
2020-11-27T16:54:14.157Z
2020-11-27T16:54:14.157Z
Florian Claaßen
<p>How to automate cutting the bits with audio on a certain track out?</p>
<p>So here is the deal.
We live recording radio shows with video.
But we do not have permission to use the music played. So we need to manually rremove it from the video.</p>
<p>There is a single audiotrack for the music playing.
Video Track
Audio track 1 - Everything.
Audio track 2 - Microphones
Audio track 3 - Music
Audio track 4 - Sound bits.</p>
<p>So i have to remove all the pars where there is sound on audio track 3 :)</p>
<p>So my question is - is there anyway to automate this? Either full automatic (FFMEPG)
or in Premiere Pro- A way to select bits on a audio track where volume is over X? and also select all other tracks.</p>
<p>Help please :)</p>

<ffmpeg><premiere><automation>
How to automate cutting the part with audio on a certain track out?
Hjalte J.
# How to automate cutting the part with audio on a certain track out?

(Asked by: username_0 on 2020-11-27)

How to automate cutting the bits with audio on a certain track out?

So here is the deal.
We live recording radio shows with video.
But we do not have permission to use the music played. So we need to manually rremove it from the video.

There is a single audiotrack for the music playing.
Video Track
Audio track 1 - Everything.
Audio track 2 - Microphones
Audio track 3 - Music
Audio track 4 - Sound bits.

So i have to remove all the pars where there is sound on audio track 3 :)

So my question is - is there anyway to automate this? Either full automatic (FFMEPG)
or in Premiere Pro- A way to select bits on a audio track where volume is over X? and also select all other tracks.

Help please :)

**Tags:** ffmpeg, premiere, automation


---

## 1 answers

### Answer by username_1 on 2020-11-27. Score: 0 | Accepted answer

This guy did essentially the opposite of what you're trying to do. However, he posted the source-code here. So with a little bit of IT-finesse, you should be able to reverse the program's understanding of what to edit out - meaning that the code shouldn't say (in a very simplified, theoretical syntax):
if track5dB < 5dB:
{
cutThisOut();
}

but instead:
if track5dB > 0
{
cutThisOut();
}

Now, I haven't personally checked out the code in detail, so I cannot 100% vouch for it to work, but it might just be worth a try.

> **Comments:**
> **username_0**: Amazing. I have watched the video. But did not see that he posted the source. I'll try it out.  

---

