Telegram Group & Telegram Channel
I thought I figured out why whisper.cpp 1.42 would keep crashing. Perhaps it was silence in the audio so I automatically removed it but still it crashed. This is getting quite frustrating. Anyway here's how to automatically remove any silence segments of 4 seconds or more from audio.

mkdir output ; for f in *.opus ; do ffmpeg -i "$f" -c:a libopus -vbr off -b:a 32k -ar 48000 -af "silenceremove=start_periods=1:stop_periods=-1:start_threshold=-50dB:stop_threshold=-50dB:start_silence=1:start_duration=2:stop_duration=4:detection=peak",dynaudnorm output/"$f" ; done

it took about an hour to process and showed the following but yet running whisper.cpp on it still crashed

size= 470441kB time=32:49:17.45 bitrate= 32.6kbits/s speed=35.7x
video:0kB audio:461553kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.925659%

Original audio is 32:53:43
After any silence over 4 seconds was automatically removed which took about an hour to do
Audio became 32:49:17

4 mins and 26 secs was removed of silence. Not sure how many silence parts there actually were.



tg-me.com/geektips/849
Create:
Last Update:

I thought I figured out why whisper.cpp 1.42 would keep crashing. Perhaps it was silence in the audio so I automatically removed it but still it crashed. This is getting quite frustrating. Anyway here's how to automatically remove any silence segments of 4 seconds or more from audio.

mkdir output ; for f in *.opus ; do ffmpeg -i "$f" -c:a libopus -vbr off -b:a 32k -ar 48000 -af "silenceremove=start_periods=1:stop_periods=-1:start_threshold=-50dB:stop_threshold=-50dB:start_silence=1:start_duration=2:stop_duration=4:detection=peak",dynaudnorm output/"$f" ; done

it took about an hour to process and showed the following but yet running whisper.cpp on it still crashed

size= 470441kB time=32:49:17.45 bitrate= 32.6kbits/s speed=35.7x
video:0kB audio:461553kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.925659%

Original audio is 32:53:43
After any silence over 4 seconds was automatically removed which took about an hour to do
Audio became 32:49:17

4 mins and 26 secs was removed of silence. Not sure how many silence parts there actually were.

BY GeekTips


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/geektips/849

View MORE
Open in Telegram


GeekTips Telegram | DID YOU KNOW?

Date: |

Telegram and Signal Havens for Right-Wing Extremists

Since the violent storming of Capitol Hill and subsequent ban of former U.S. President Donald Trump from Facebook and Twitter, the removal of Parler from Amazon’s servers, and the de-platforming of incendiary right-wing content, messaging services Telegram and Signal have seen a deluge of new users. In January alone, Telegram reported 90 million new accounts. Its founder, Pavel Durov, described this as “the largest digital migration in human history.” Signal reportedly doubled its user base to 40 million people and became the most downloaded app in 70 countries. The two services rely on encryption to protect the privacy of user communication, which has made them popular with protesters seeking to conceal their identities against repressive governments in places like Belarus, Hong Kong, and Iran. But the same encryption technology has also made them a favored communication tool for criminals and terrorist groups, including al Qaeda and the Islamic State.

Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.

GeekTips from us


Telegram GeekTips
FROM USA