<p>It might be possible through scene detection if your editor of choice allows for scene detection based on sound.  Alternately, since you are obviously handy with code, you could use a video editing library to write a program that would look for a threshold audio level to be exceeded and look for any long periods of time with no such peaks.  You could then apply speed changes between those timestamps.  </p>

<p>The actual coding of something like that is really more of a programing question than a video production question, but it should be technically possible using that kind of a technique.  I'd recommend looking at libav or one of the similar types of windows libraries for manipulating AV files.</p>

CC BY-SA 3.0
2015-11-03T15:46:19.903Z
2015-11-03T15:46:19.903Z
AJ Henderson
<p>I have recorded some video tutorials for our programming team. These consist of "live coding" exercises; basically, videos of me coding stuff. Thus, the video track is a screencast, and the audio track is consists of either my voice, or long periods of silence and/or clacking keys.</p>

<p>What I would like to do is to automatically speed up the silent and key-clacky portions of the video, while leaving the parts with voice intact. Unfortunately, I am a video editing novice. So, is there some well-known way to do that ? If not, is there some Python library (or C#/Java library even, I'm not married to Python) that can get me at least part of the way there ? </p>

CC BY-SA 3.0
2015-07-02T14:57:12.340Z
This question on super user may help you. http://superuser.com/questions/818342/strip-motion-events-from-file
kazanaki
CC BY-SA 3.0
2015-11-02T21:33:44.043Z
@kazanaki - I edited your comment a bit.  While the question linked may be helpful, for purposes of duplicates, the same question coming up on multiple sites isn't considered a duplicate unless the same OP posts both.  Basically the expectation is that an OP identify the best place to ask and ask it there, however it is not expected that someone search all the SE sites for their question before posting where they think is best.
AJ Henderson
CC BY-SA 3.0
2015-11-03T08:31:02.633Z
Yes, I understand what you are saying.
kazanaki
<video><editing><software><framerate>
Automatically speed up video portions with no voice
Bugmaster
# Automatically speed up video portions with no voice

(Asked by: username_0 on 2015-05-04)

I have recorded some video tutorials for our programming team. These consist of "live coding" exercises; basically, videos of me coding stuff. Thus, the video track is a screencast, and the audio track is consists of either my voice, or long periods of silence and/or clacking keys.

What I would like to do is to automatically speed up the silent and key-clacky portions of the video, while leaving the parts with voice intact. Unfortunately, I am a video editing novice. So, is there some well-known way to do that ? If not, is there some Python library (or C#/Java library even, I'm not married to Python) that can get me at least part of the way there ?

**Tags:** video, editing, software, framerate

> **Comments:**
> **username_1**: This question on super user may help you. http://superuser.com/questions/818342/strip-motion-events-from-file  
> **username_2**: @username_1 - I edited your comment a bit.  While the question linked may be helpful, for purposes of duplicates, the same question coming up on multiple sites isn't considered a duplicate unless the same OP posts both.  Basically the expectation is that an OP identify the best place to ask and ask it there, however it is not expected that someone search all the SE sites for their question before posting where they think is best.  
> **username_1**: Yes, I understand what you are saying.  

---

## 1 answers

### Answer by username_2 on 2015-11-03. Score: 1

It might be possible through scene detection if your editor of choice allows for scene detection based on sound. Alternately, since you are obviously handy with code, you could use a video editing library to write a program that would look for a threshold audio level to be exceeded and look for any long periods of time with no such peaks. You could then apply speed changes between those timestamps.

The actual coding of something like that is really more of a programing question than a video production question, but it should be technically possible using that kind of a technique. I'd recommend looking at libav or one of the similar types of windows libraries for manipulating AV files.


---

