Answers.Body: <p>I haven't done this myself, but I think it's quite doable.</p>
  
  <p>First, you'd need to setup a ffmpeg script to demux the video into audio and video portions. Then, you'd need to apply a script that will analyze the audio file. Silence is easier to automatically detect in an audio file, assuming that you can produce the silence on site to mark the intervals (e.g. disconnect the mic for 2 seconds). You'd need to know some programming, but with something like Python it would be quite easy.</p>
  
  <p>Finally, with the output of the script as times to cut between, feed this into ffmpeg again on the original file, using the -ss  -t  command.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-01-17T08:46:01.767Z
Answers.LastActivityDate: 2013-01-17T08:46:01.767Z
Answers.UserDisplayName: RipperDoc
Answers.Body: <p>if you have After Effects, there is a script for that.  You essentially import your footage into AE, and then run the script.  Here is a <a href="http://aescripts.com/magnum-the-edit-detector/" rel="nofollow">link for more information</a>:</p>
  
  <blockquote>
    <p>Automatically detects edits in footage. To use it you simply select a
    footage layer in a comp, set the work area to the region you'd like to
    find edits and tell Magnum to go to work!</p>
  </blockquote>
  
  <p><div class="youtube-embed"><div>
                  <iframe width="640px" height="395px" src="https://www.youtube.com/embed/KeRtN6IihU0?start=0"></iframe>
              </div></div></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-16T17:52:39.413Z
Answers.Text: I don't see how this software uses the audio to detect scenes. Is that a feature that is not shown in the video?
Answers.UserDisplayName: Saaru Lindestøkke
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-09-17T01:29:55.177Z
Answers.LastActivityDate: 2013-09-17T12:25:43.333Z
Answers.LastEditDate: 2013-09-17T12:25:43.333Z
Answers.UserDisplayName: ariestav
Body: <p>Is there any way that I can automatically cut a video based on a sound. </p>
  
  <p>I have a couple of long sections of video that contain videos.  I would like to remove the parts of the video that do not fall between two whistles, much like football game footage.</p>
  
  <p>The video format is <code>mp4</code>.  I am looking for some type of software that would allow me to do this. </p>
  
  <p>I have not had any luck with automatic video spliters because they will only split based on file size. Currently, I am cutting this footage by hand using iMovie.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2012-12-11T17:10:21.457Z
Comments.Text: So something that will look for waveform spikes? Or a certain frequency? I do not know how you would aquire this, especially not if it needs to be automated. Not unless the sounds are distinct and no other recorded audio is very similar?
Comments.UserDisplayName: gburning
Tags: <video-editor><software-recommendation><automation>
Title: Automatically cut out sections of a video delineated by a sound.
UserDisplayName: Patrick
ThreadText: # Automatically cut out sections of a video delineated by a sound.
  
  (Asked by: username_0 on 2012-10-16)
  
  Is there any way that I can automatically cut a video based on a sound.
  
  I have a couple of long sections of video that contain videos. I would like to remove the parts of the video that do not fall between two whistles, much like football game footage.
  
  The video format is `mp4`. I am looking for some type of software that would allow me to do this.
  
  I have not had any luck with automatic video spliters because they will only split based on file size. Currently, I am cutting this footage by hand using iMovie.
  
  **Tags:** video-editor, software-recommendation, automation
  
  > **Comments:**
  > **username_1**: So something that will look for waveform spikes? Or a certain frequency? I do not know how you would aquire this, especially not if it needs to be automated. Not unless the sounds are distinct and no other recorded audio is very similar?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2013-01-17. Score: 2
  
  I haven't done this myself, but I think it's quite doable.
  
  First, you'd need to setup a ffmpeg script to demux the video into audio and video portions. Then, you'd need to apply a script that will analyze the audio file. Silence is easier to automatically detect in an audio file, assuming that you can produce the silence on site to mark the intervals (e.g. disconnect the mic for 2 seconds). You'd need to know some programming, but with something like Python it would be quite easy.
  
  Finally, with the output of the script as times to cut between, feed this into ffmpeg again on the original file, using the -ss -t command.
  
  
  ---
  
  ### Answer by username_3 on 2013-09-17. Score: 0
  
  if you have After Effects, there is a script for that. You essentially import your footage into AE, and then run the script. Here is a [link for more information](http://aescripts.com/magnum-the-edit-detector/):
  
  > Automatically detects edits in footage. To use it you simply select a
  > footage layer in a comp, set the work area to the region you'd like to
  > find edits and tell Magnum to go to work!
  
  > **Comments:**
  > **username_4**: I don't see how this software uses the audio to detect scenes. Is that a feature that is not shown in the video?  
  
  ---
  
  