mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-26 20:34:23 +00:00
Upgraded webm-iterable to v0.7.1 to fix missing passages in transcripts
This commit is contained in:
4 files changed
+32
-5
No files matched your search
@@ -52,6 +52,7 @@
|
|||||||
- Fixed the Mathematics prototype, which told the AI that a correct derivative or integral had failed its check when the values of the function were far larger than those of its derivative.
|
- Fixed the Mathematics prototype, which told the AI that a correct derivative or integral had failed its check when the values of the function were far larger than those of its derivative.
|
||||||
- Fixed the Mathematics prototype getting stuck for a long time when it checked a result with a very large factorial or power. Meanwhile, no other calculation could run.
|
- Fixed the Mathematics prototype getting stuck for a long time when it checked a result with a very large factorial or power. Meanwhile, no other calculation could run.
|
||||||
- Fixed AI Studio ceasing to work when many files in a folder of a local data source changed within a short time, e.g., during a software build or while a sync tool updated the folder.
|
- Fixed AI Studio ceasing to work when many files in a folder of a local data source changed within a short time, e.g., during a software build or while a sync tool updated the folder.
|
||||||
|
- Fixed transcripts of audio and video files which could miss whole passages. Before a transcription, AI Studio converts the file into a compact format, and it stored a few pieces of the sound in a way that many programs could not read. They then skipped up to half a minute of the recording at a time, so that the transcript lacked what was said there.
|
||||||
- Upgraded several libraries to improve security.
|
- Upgraded several libraries to improve security.
|
||||||
- Upgraded Tauri to v2.12.7.
|
- Upgraded Tauri to v2.12.7.
|
||||||
- Upgraded MudBlazor to v9.14.0.
|
- Upgraded MudBlazor to v9.14.0.
|
||||||
|
|||||||
Generated
+5
-4
@@ -2113,10 +2113,11 @@ checksum = "4a742b95783b1f45b900129082cbc47717b6a77ee8d17eea70a8ea62462f5de3"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ebml-iterable"
|
name = "ebml-iterable"
|
||||||
version = "0.6.3"
|
version = "0.7.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7b5173ac3752f08b526a6991509615e1a345b221ec3c58c7633433e8c9582312"
|
checksum = "152f8f4a13024011b26457b8b21040d9a9eb1222e693993ef037db391cd0c004"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"bytes",
|
||||||
"ebml-iterable-specification",
|
"ebml-iterable-specification",
|
||||||
"ebml-iterable-specification-derive",
|
"ebml-iterable-specification-derive",
|
||||||
"futures",
|
"futures",
|
||||||
@@ -9015,9 +9016,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "webm-iterable"
|
name = "webm-iterable"
|
||||||
version = "0.6.4"
|
version = "0.7.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "cd9fbf173b4b38f2f8bbb0082a0d4cb21f263a70811f5fccb1663c421c66d9f9"
|
checksum = "2b1f0c637f1c2b46d58a1b42b150135f8a31b024bfdcd56cc82febfbb20ba4c0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ebml-iterable",
|
"ebml-iterable",
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -64,7 +64,7 @@ encoding_rs = "0.8.44"
|
|||||||
symphonia = { version = "0.6", default-features = false, features = ["aac", "aiff", "alac", "caf", "flac", "isomp4", "mkv", "mp1", "mp2", "mp3", "ogg", "pcm", "vorbis", "wav"] }
|
symphonia = { version = "0.6", default-features = false, features = ["aac", "aiff", "alac", "caf", "flac", "isomp4", "mkv", "mp1", "mp2", "mp3", "ogg", "pcm", "vorbis", "wav"] }
|
||||||
ropus = "=0.12.18"
|
ropus = "=0.12.18"
|
||||||
rubato = { version = "4", default-features = false, features = ["fft_resampler"] }
|
rubato = { version = "4", default-features = false, features = ["fft_resampler"] }
|
||||||
webm-iterable = "0.6.4"
|
webm-iterable = "0.7.1"
|
||||||
calamine = "0.37.0"
|
calamine = "0.37.0"
|
||||||
|
|
||||||
# pdfium-render binds the functions of a certain PDFium version when it loads the library, and refuses a
|
# pdfium-render binds the functions of a certain PDFium version when it loads the library, and refuses a
|
||||||
|
|||||||
@@ -1738,6 +1738,31 @@ mod tests {
|
|||||||
assert_eq!(clusters, 2);
|
assert_eq!(clusters, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Verifies that every block keeps a known size. A block of exactly 127 bytes, i.e., an Opus
|
||||||
|
/// packet of 123 bytes plus the 4 bytes of the block header, must not get the size 0xFF, which
|
||||||
|
/// EBML reserves for an element of unknown size.
|
||||||
|
#[test]
|
||||||
|
fn webm_writer_keeps_the_size_of_every_block_known() {
|
||||||
|
let path = std::env::temp_dir().join(format!("ai-studio-media-block-size-{}.webm", rand::random::<u64>()));
|
||||||
|
let mut writer = WebmOpusWriter::new(File::create(&path).unwrap()).unwrap();
|
||||||
|
for (index, packet_len) in [122, 123, 124].into_iter().enumerate() {
|
||||||
|
writer.write_packet(&vec![0xf8; packet_len], index as u64 * 960).unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
|
writer.finish().unwrap();
|
||||||
|
let bytes = fs::read(&path).unwrap();
|
||||||
|
let _ = fs::remove_file(path);
|
||||||
|
let tags = WebmIterator::new(Cursor::new(bytes), &[]).collect::<Result<Vec<_>, _>>().unwrap();
|
||||||
|
let block_lengths: Vec<_> = tags.iter()
|
||||||
|
.filter_map(|tag| match tag {
|
||||||
|
MatroskaSpec::SimpleBlock(block) => Some(block.len()),
|
||||||
|
_ => None,
|
||||||
|
})
|
||||||
|
.collect();
|
||||||
|
|
||||||
|
assert_eq!(block_lengths, vec![126, 127, 128]);
|
||||||
|
}
|
||||||
|
|
||||||
/// Verifies deterministic arithmetic-mean downmixing.
|
/// Verifies deterministic arithmetic-mean downmixing.
|
||||||
#[test]
|
#[test]
|
||||||
fn downmix_is_bounded_and_balanced() {
|
fn downmix_is_bounded_and_balanced() {
|
||||||
|
|||||||
Reference in new issue
Block a user