Update Whisper CPP to v1.4.0

This commit is contained in:
niksedk 2023-05-05 19:33:35 +02:00
parent 8fc3cdd4db
commit 7ffb17b4ed
2 changed files with 15 additions and 4 deletions

View File

@ -10,6 +10,7 @@
* Add more mpv preview settings in UI
* Add cmd convert param "/teletextonlypage:<number>" - thx dystopia2017
* Add export of TTML SMPTE-TT with inline Base64 encoded PNG images
* Add new settings for webvtt auto merge
* IMPROVED:
* Update Hebrew translation - thx אלחנן
* Update Slovenian translation - thx Jadran
@ -21,12 +22,17 @@
* Update Italian language - thx bovirus
* Update Catalan translation - thx jordimas
* Update German translation - thx Netspark
* Update Bulgarian translation - thx Калин
* Find/Replace are no longer modal windows - thx Cyberyoda1411/domddol
* Replace: Add find/replace target + minor redesign
* List all EBU language codes - thx TerrorizedGakon
* Update Whisper CPP to v1.3.0
* Update Whisper Const-me to 1.11
* Make main text boxes a little wider - thx Cyberyoda1411
* Allow raw VTT preview in mpv - thx DeicPro
* Make custom "Toogle custom tags (surround with)" work with empty start or end tag
* Fix common errors Chinese issue with six dots - thx TokerX
* Keep original text box visible when not allowing edit of original - thx OmrSi
* FIXED:
* Fix "Add embedded subtitles" with ANSI encoding - thx Cyberyoda1411
* Fix running Whisper CPP/Const-me after setting folder for Whisper OpenAI - thx rsmith02ct
@ -37,6 +43,8 @@
* Fix possible crash reading .ts files - thx hepalin
* Fix crash in split lines - thx Papai
* Fix video cut duration in "Generate video with burned-in subitle" - thx Alxndr
* Fix "Insert after" with minimum gap zero ms - thx steam3d
* Fix crash in image export - thx dimailer
3.6.12 (26th March 2023)
@ -728,6 +736,7 @@
* Update Tesseract 5 Alpha to "2021-05-06" - thx iGom
* Add French letters in OCR char inspect - thx tormento
* Handle Unicode control char in "Remove empty lines" - thx igenaya
* Improve audio-to-text post processing a little - thx oep42
* FIXED:
* Fix for unwanted line copy with alt+arrow-up/down fast - thx Nathália
* Fix for reading BDSup position - thx akaicat

View File

@ -11,19 +11,21 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
{
public sealed partial class WhisperDownload : Form
{
private const string DownloadUrl64Cpp = "https://github.com/ggerganov/whisper.cpp/releases/download/v1.3.0/whisper-blas-bin-x64.zip";
private const string DownloadUrl32Cpp = "https://github.com/ggerganov/whisper.cpp/releases/download/v1.3.0/whisper-blas-bin-Win32.zip";
private const string DownloadUrl64Cpp = "https://github.com/ggerganov/whisper.cpp/releases/download/v1.4.0/whisper-blas-bin-x64.zip";
private const string DownloadUrl32Cpp = "https://github.com/ggerganov/whisper.cpp/releases/download/v1.4.0/whisper-blas-bin-Win32.zip";
private readonly CancellationTokenSource _cancellationTokenSource;
private readonly string _whisperChoice;
private static readonly string[] Sha512Hashes =
{
"e193e845380676b59deade82d3f1de70ac54da3b5ffa70b4eabb3a2a96ad312d8f197403604805cef182c85c3a3370dd74a2b0b7bccf2d95b1022c10ce8c7b79", // 64-bit OpenBLAS
"4218423f79d856096cdc8d88aad2e361740940e706e0b1d07dc3455571022419ad14cfef717f63e8fc61a7a1ef67b6722cec8b3c4c25ad7f087a23b1b89c5d91", // 32-bit OpenBLAS
"fc1878c3b7200d0531c376bbe52319a55575e3ceeeacecbee54a366116c30eb1aa3d0a34c742f9fd5a47ffb9f24cba75653d1498e95e4f6f86c00f6d5e593d2a", // 64-bit OpenBLAS
"44cb0f326ece26c1b41bd0b20663bc946990a7c3b56150966eebefb783496089289b6002ce93d08f1862bf6600e9912ac62057c268698672397192c55eeb30a2", // 32-bit OpenBLAS
};
private static readonly string[] OldSha512Hashes =
{
"e193e845380676b59deade82d3f1de70ac54da3b5ffa70b4eabb3a2a96ad312d8f197403604805cef182c85c3a3370dd74a2b0b7bccf2d95b1022c10ce8c7b79", // 64-bit OpenBLAS
"4218423f79d856096cdc8d88aad2e361740940e706e0b1d07dc3455571022419ad14cfef717f63e8fc61a7a1ef67b6722cec8b3c4c25ad7f087a23b1b89c5d91", // 32-bit OpenBLAS
"a6a75a5d63b933c3529a500b7dd8b330530894b09461bb0a715dbedb31bf2e3493238e86af6d7cc64f3af196a6d61d96bb23853f98d21c8172d5d53d7aad33d9", // 64-bit OpenBLAS
"92f64f207c400c7c0f1fc27006bf2a1e4170fdc63d045dfdf0a0848b3d727f2763eccfb55e10b6e745e9d39892d24cb9b4c471594011d041458c1ff8722e1ffc", // 32-bit OpenBLAS
"f2073d5ce928e59f7717a82f0330e4d628c81e6cb421b934b4792ac16fb9a33fb9482812874f39d4c7ca02a47a9739d5dd46ddc2e0abc0eb1097dc60bb0616b2", // AVX2 64-bit