Commit Graph

20202 Commits

Author SHA1 Message Date
bovirus
7bd0570a4e
Update Italian language 2024-10-23 08:10:06 +02:00
Nikolaj Olsson
07f76ecfc2 Add stability + similarity language tags 2024-10-23 06:51:10 +02:00
Nikolaj Olsson
a926b62876 Minor adjustment 2024-10-22 21:16:54 +02:00
Nikolaj Olsson
5f8a53b2a7 Add elevenlabs stability/similarity settings - thx aymanmostafa11 :)
Related to #8928
2024-10-22 21:11:08 +02:00
Nikolaj Olsson
5ad438408b Minor fix for button height (OCR spell check whole word) 2024-10-22 16:28:43 +02:00
Nikolaj Olsson
cc72a41711
Merge pull request #8929 from ivandrofly/dev
WhisperAudioToText: Bug fix 🐛
2024-10-22 16:20:19 +02:00
Nikolaj Olsson
46d27c25d2
Merge pull request #8925 from ivandrofly/typo-fix
Fix typo in variable name 'ImportedSubitle' to 'ImportedSubtitle' 🔃
2024-10-22 16:17:53 +02:00
Nikolaj Olsson
ab13f76f15
Merge pull request #8932 from diomed/main
Update hrv_OCRFixReplaceList.xml
2024-10-22 16:15:40 +02:00
May Kittens Devour Your Soul
ca6b0feea1
Update hrv_OCRFixReplaceList.xml 2024-10-22 10:49:18 +02:00
Ivandro Jao
48a5ad91b3 Fix variable name in WhisperAudioToText subtitle loading
Corrected the input filename variable from srtFileName to vttFileName to ensure the correct subtitle format is processed. This fixes potential misloading issues when handling WebVTT files.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-21 19:36:11 +01:00
Ivandro Jao
5c9346c32c Refactor logging and transcript check in WhisperAudioToText
Simplify the logic by reordering logging updates and transcript checks. This removes redundant `UpdateLog` and `SeLogger.WhisperInfo` calls, streamlining the flow and maintaining the existing functionality.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-21 19:33:08 +01:00
Ivandro Jao
c63d8e0865 Fix typo in variable name 'ImportedSubitle' to 'ImportedSubtitle'
Corrected the misspelled variable name across both Main.cs and ImportUnknownFormat.cs files. Ensured consistent and accurate reference to 'ImportedSubtitle' for better code readability and functionality.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-21 13:41:36 +01:00
Nikolaj Olsson
5fd050a1b8
Merge pull request #8918 from ivandrofly/time-unit-conversion
Refactor frame-to-milliseconds conversion
2024-10-20 12:58:58 +02:00
Nikolaj Olsson
a2a226a2b5
Merge pull request #8921 from Flitskikker/feature/btc-bugfix-20241018
Small "Beautify time codes" improvement
2024-10-20 12:55:27 +02:00
Nikolaj Olsson
674dcf3159
Merge pull request #8920 from Flitskikker/feature/import-shotcuts-initial-directory
Initially browse for shot cuts in video folder
2024-10-20 12:54:50 +02:00
Nikolaj Olsson
aeed8afa3c
Merge pull request #8919 from Flitskikker/feature/update-nl-translation-20241018
Update Dutch translation
2024-10-20 12:54:13 +02:00
Martijn van Berkel (Flitskikker)
f378bf8def Remove weird spaces 2024-10-20 12:38:46 +02:00
Martijn van Berkel (Flitskikker)
c13db1f4a7 More general approach 2024-10-20 12:23:57 +02:00
Nikolaj Olsson
740ac29f6b Do not append voices when reloading 2024-10-19 21:31:51 +02:00
Ivandro Jao
0edb30eba8 Refactor frame-to-milliseconds conversion
Replaced direct frame rate based conversions with reusable utility methods across multiple subtitle formats. This improves consistency, readability, and maintainability of the codebase.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-19 20:28:53 +01:00
Martijn van Berkel (Flitskikker)
ba565edfa4 Update Dutch translation 2024-10-18 22:54:39 +02:00
Martijn van Berkel (Flitskikker)
227b30e374 Initially browse for shot cuts in video folder 2024-10-18 22:29:53 +02:00
Martijn van Berkel (Flitskikker)
13cfef9144 Handle subtitles as connected that turn out to be so when chaining 2024-10-18 22:24:59 +02:00
Nikolaj Olsson
30ba6afdba
Merge pull request #8616 from ivandrofly/matroska
Matroska
2024-10-18 20:38:24 +02:00
Nikolaj Olsson
e4574183f7 Minor fixes 2024-10-17 08:03:45 +02:00
Nikolaj Olsson
7040a121b7 Update change log 2024-10-16 20:38:05 +02:00
Nikolaj Olsson
dbda14d039 Add DeepLX - thx rifatozkancomtr :)
Fix #8873
2024-10-16 20:34:49 +02:00
Nikolaj Olsson
3a14913b98 Fix enter in textbox in FCE - thx p1nkyy/Roger :)
Fix #8883
2024-10-16 19:10:09 +02:00
Nikolaj Olsson
0d45a60a75 OCR italic fix again - thx Zoltan :) 2024-10-14 20:16:59 +02:00
Nikolaj Olsson
d12b632fb7 Update change log 2024-10-12 19:35:03 +02:00
Nikolaj Olsson
8ff7b7abf5
Merge pull request #8899 from ivandrofly/feature/file-util
Refactor directory writable check to FileUtil
2024-10-12 18:49:09 +02:00
Nikolaj Olsson
ecaa9972f3
Merge pull request #8900 from ivandrofly/feature/voskdistate
Feature/voskdistate
2024-10-12 18:48:01 +02:00
Nikolaj Olsson
69611bbc8f Fix bug in "Change casing" - thx Hlsgs :)
Fix #8903
2024-10-12 18:44:54 +02:00
Nikolaj Olsson
a396e61fda Try to fix color picker issue - thx Siamak :) 2024-10-12 14:54:28 +02:00
Nikolaj Olsson
7c9c32c5dc Fix crash while translating subtitles - thx claudemartin :)
Fix #8901
2024-10-12 09:27:13 +02:00
Ivandro Jao
0b257818fa Refactor: Discard unused variable in VoskDictate.cs
Replaced the unused variable 'res' with a discard operator in the PartialResult call to enhance code clarity and maintainability by explicitly indicating the result is not used.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-11 08:42:25 +01:00
Ivandro Jao
f133c82c85 Refactor VoskRecognizer usage to ensure proper disposal
Encapsulate VoskRecognizer instantiation within a using statement to guarantee resource disposal. This change improves memory management and aligns with best practices for resource handling. Also, maintain the existing logic structure for audio file processing.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-11 08:41:55 +01:00
Ivandro Jao
a46a33bf2f Refactor directory writable check to FileUtil
Moved the method `IsDirectoryWritable` from `WhisperAudioToText` to `FileUtil` for better code reuse and maintainability. Adjusted references in `WhisperAudioToText` and `VoskAudioToText` accordingly.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-10 19:17:40 +01:00
Nikolaj Olsson
172b47cdcb Update change log 2024-10-10 20:06:03 +02:00
Nikolaj Olsson
a51135090d Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-10-10 20:04:19 +02:00
Nikolaj Olsson
371cab9a1b Fix ctrl+a etc. for duration field - thx rRobis :)
Fix  #8893
2024-10-10 20:04:14 +02:00
nikolaj.olsson
fdb4d34de6 Update Bulgarian translation - thx Калин :) 2024-10-10 14:12:24 +02:00
Nikolaj Olsson
b0df6412d0 Update change log 2024-10-09 21:21:19 +02:00
Nikolaj Olsson
975e47ac62 Minor improvements to color picker
Somewhat related to  #8887
2024-10-09 21:06:55 +02:00
Nikolaj Olsson
267829ea9b Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-10-07 19:04:10 +02:00
Nikolaj Olsson
3800f7eed4 Update Whisper CPP to v1.7.1 2024-10-07 19:04:01 +02:00
nikolaj.olsson
cb86eba5e8 Let selection apply by pressing enter - thx MitchSirco :)
Fix #8887
2024-10-07 12:06:36 +02:00
Nikolaj Olsson
e0490b7115 More 2024-10-06 18:06:39 +02:00
Nikolaj Olsson
312915879f Fix for nulling time code after load of sub from mkv 2024-10-06 18:06:25 +02:00
Nikolaj Olsson
00e931cd22 More info from ffmpeg 2024-10-06 18:04:37 +02:00