<p>I'm not aware of any easy software to do that, but I'm posting anyway, since it could be useful to others as well.</p>
<p>There are open source projects that attempt to do what you require, basically by applying what @Jason Conrad said in his answer.</p>
<p>One of them is <a href="https://github.com/craigfrancis/audio-detect" rel="nofollow noreferrer">craigfrancis/audio-detect</a> that you can find on GitHub. You first need to generate samples of the sound that you want to detect, and generally the more you have the better the performance of the algorithm will be. This can be done quite simply with the command that you find in the readme.</p>
<p>After that, the actual processing can be run, which takes the samples you extracted and tries to find instances of the same sound in an input file.</p>
<p>It's pretty easy to run both operations if you know a little about command line. Unfortunately, there's probably no magic solution for this task.</p>

CC BY-SA 4.0
2021-02-12T23:17:58.197Z
2021-02-12T23:17:58.197Z
mcont
<p>You'd probably <em>want</em> to download them, and process the audio, so that you could search faster than realtime.  Doing that without a paid, premium subscription might violate YouTube's Terms of Service, and it might even violate the TOS <em>WITH</em> a premium subscription, so be sure you study those carefully, first.</p>
<p>If you can manage to download them, you might be able to use fast Fourier analysis to fingerprint the sound, and then search the files for it.  You don't necessarily need to know all of the details about the signal processing, as long as you can find a tool that'll help you do it.  I'd recommend having a look at <a href="https://willdrevo.com/fingerprinting-and-audio-recognition-with-python/" rel="nofollow noreferrer">this article</a> as a starting point, and searching online code repositories like <a href="https://github.com" rel="nofollow noreferrer">GitHub</a> for something that suits your level of engagement and code familiarity.  Even if you don't have <em>any</em> experience coding, you can sometimes find links to helpful google colabs or jupyter notebooks installations.  <a href="https://bit.ly/OmnizartColab" rel="nofollow noreferrer">Here's one</a> I found one earlier today for music segmentation, that will analyze music from YouTube links and spit out Midi keyboard parts, just by clicking through the colab.</p>
<p>If you aren't able to download the files, you could still theoretically use software to analyze the stream of audio coming through your speakers, worst case, but you'll still need to find suitable tools to fingerprint it, and I'm less confident that you'd be able to find an off-the-shelf solution which works that way.</p>

CC BY-SA 4.0
2021-02-06T02:27:28.310Z
I was hoping for some software which just allow me to put in a sound file and find the timestamps after downloading but what you suggested sounds rather complicated. Anyway, thanks for putting the effort to help me.
trinalbadger587
CC BY-SA 4.0
2021-02-06T02:42:47.587Z
Honestly, I feel bad for posting such a crummy answer. The only reason I did is that I think it’s such an interesting question, and I hope somebody can help me help you find a better one.  Anybody know if FFMPeg already has a built-in way to do this?  @gyan?
Jason Conrad
CC BY-SA 4.0
2021-02-05T13:12:15.853Z
2021-02-05T13:12:15.853Z
Jason Conrad
<p>I want to make a compilation video of Tesla FSD Beta's disengagements. When FSD Beta disengages, it makes a particular sound. I would like a piece of software I can use without having to code that will show me the timestamps of each time the sound is heard. Ideally, it would be a video editor or something similar which could also allow to trim the video. I would prefer if it was free or at least free trial.</p>

CC BY-SA 4.0
2021-02-08T00:54:14.617Z
If you are curious to what it sound like, https://youtu.be/IVn06N-1fCA?t=483
trinalbadger587
<audio><youtube>
How to search for a sound in a video
trinalbadger587
# How to search for a sound in a video

(Asked by: username_0 on 2021-02-04)

I want to make a compilation video of Tesla FSD Beta's disengagements. When FSD Beta disengages, it makes a particular sound. I would like a piece of software I can use without having to code that will show me the timestamps of each time the sound is heard. Ideally, it would be a video editor or something similar which could also allow to trim the video. I would prefer if it was free or at least free trial.

**Tags:** audio, youtube

> **Comments:**
> **username_0**: If you are curious to what it sound like, https://youtu.be/IVn06N-1fCA?t=483  

---

## 2 answers

### Answer by username_1 on 2021-02-12. Score: 1

I'm not aware of any easy software to do that, but I'm posting anyway, since it could be useful to others as well.

There are open source projects that attempt to do what you require, basically by applying what @username_2 said in his answer.

One of them is [craigfrancis/audio-detect](https://github.com/craigfrancis/audio-detect) that you can find on GitHub. You first need to generate samples of the sound that you want to detect, and generally the more you have the better the performance of the algorithm will be. This can be done quite simply with the command that you find in the readme.

After that, the actual processing can be run, which takes the samples you extracted and tries to find instances of the same sound in an input file.

It's pretty easy to run both operations if you know a little about command line. Unfortunately, there's probably no magic solution for this task.


---

### Answer by username_2 on 2021-02-05. Score: 1

You'd probably *want* to download them, and process the audio, so that you could search faster than realtime. Doing that without a paid, premium subscription might violate YouTube's Terms of Service, and it might even violate the TOS *WITH* a premium subscription, so be sure you study those carefully, first.

If you can manage to download them, you might be able to use fast Fourier analysis to fingerprint the sound, and then search the files for it. You don't necessarily need to know all of the details about the signal processing, as long as you can find a tool that'll help you do it. I'd recommend having a look at [this article](https://willdrevo.com/fingerprinting-and-audio-recognition-with-python/) as a starting point, and searching online code repositories like [GitHub](https://github.com) for something that suits your level of engagement and code familiarity. Even if you don't have *any* experience coding, you can sometimes find links to helpful google colabs or jupyter notebooks installations. [Here's one](https://bit.ly/OmnizartColab) I found one earlier today for music segmentation, that will analyze music from YouTube links and spit out Midi keyboard parts, just by clicking through the colab.

If you aren't able to download the files, you could still theoretically use software to analyze the stream of audio coming through your speakers, worst case, but you'll still need to find suitable tools to fingerprint it, and I'm less confident that you'd be able to find an off-the-shelf solution which works that way.

> **Comments:**
> **username_0**: I was hoping for some software which just allow me to put in a sound file and find the timestamps after downloading but what you suggested sounds rather complicated. Anyway, thanks for putting the effort to help me.  
> **username_2**: Honestly, I feel bad for posting such a crummy answer. The only reason I did is that I think it’s such an interesting question, and I hope somebody can help me help you find a better one.  Anybody know if FFMPeg already has a built-in way to do this?  @gyan?  

---

