unsilence icon indicating copy to clipboard operation
unsilence copied to clipboard

Feature request: delete silence

Open TerryyyZhang opened this issue 3 years ago • 2 comments

Hi, I'm using unsilence for making vlogs and it is of great help so far. However, I need to delete silent parts of the video for my vlogs and it seems unsilence has not been able to achieve it.

I tried increasing the silence speed to 99 or so, but it results in video and audio out-of-sync problems. Also, it doesn't allow me to set silence speed to zero by returning a "zero division error".

It would be of great help if the triming silence function can be implemented.

TerryyyZhang avatar Jul 06 '21 00:07 TerryyyZhang

Maybe if we add an option before this line (https://github.com/lagmoellertim/unsilence/blob/d5f91ce877f88a0230ea832e01859fb5654f34fb/unsilence/lib/intervals/Intervals.py#L69

And add on option to the arguments, this would work.

Like

if current_interval.is_silent and NEWVAR:
   pass
else:
    intervals.append(current_interval)

gar-onn avatar Jan 17 '22 22:01 gar-onn

I would also be interested in this feature.

bearjcc avatar May 23 '22 13:05 bearjcc