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


telegram Telegram | DID YOU KNOW?

Date: |

Importantly, that investor viewpoint is not new. It cycles in when conditions are right (and vice versa). It also brings the ineffective warnings of an overpriced market with it.Looking toward a good 2022 stock market, there is no apparent reason to expect these issues to change.

Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.

telegram from us


Telegram GeekTips
FROM USA