Comments (5)
Hey, if I understood you right, unsilenced already has an argument for that:
parser.add_argument("-st", "--stretch-time", type=float, default=0.25, help="Time (seconds) that should be added to audible intervals and removed from silent " "intervals")
Here, before an audible interval starts, 250ms of the previous considered silent interval is made audible, and 250ms of the interval after the audible interval is considered audible. You can change the the time added to the audible intervals by changing the -st argument, it's value is given in seconds.
from unsilence.
Thanks for the help! That sounds like what I was looking for with this feature request; I'll test it for some files later today and see if it fixes, then I should be able to comment close.
Stretch-time is a single buffer for both the transition from silent to audible and back right? I could see reasons why you might want a separate argument for both.
from unsilence.
Stretch-time basically adds a buffer of x seconds before and after any audible inverval (maybe I should rename the argument, buffer is much more meaningfull than stretch-time). What's the reason you want to seperate the timings for each?
from unsilence.
My request for a separate buffer might be solved by the -stt argument you mentioned in my other feature request thread. I'll do some testing today and see if that covers my use case; it's possible the existing -st buffer will work when combined with -stt.
from unsilence.
Yep, the -stt argument solved my use case. Thank you for this! This tool is saving me hundreds upon hundreds of hours of what used to be dreadful manual editing work.
from unsilence.
Related Issues (20)
- Recording truncated HOT 16
- Add a fade on cutting HOT 1
- Add location for TMP files
- Suggestion for improving the speed of the silencedetect filter
- Performance improvements
- Invalid render options HOT 6
- FileNotFoundError out_final.mp4 HOT 4
- Video renders silent HOT 13
- Functionality Clarification: "Stretch Time too large" Error
- unsilence fails if output path is in a new directory HOT 4
- Performance Improvements HOT 4
- Hardware Acceleration HOT 10
- Define a minimum of silence to remove HOT 4
- Define level of silence HOT 2
- Error reading metadata with Polish characters HOT 4
- Crashes on `Segment-Durations-Ms` trying to interpret it as `Duration`
- Request: specify ffmpeg encoder and parameters HOT 1
- No directory found [.tmp] HOT 4
- Feature request: delete silence HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unsilence.