curu-caption 3.4.3__tar.gz → 3.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {curu_caption-3.4.3 → curu_caption-3.6.0}/Cargo.lock +3 -3
- {curu_caption-3.4.3 → curu_caption-3.6.0}/Cargo.toml +1 -1
- {curu_caption-3.4.3 → curu_caption-3.6.0}/PKG-INFO +4 -4
- {curu_caption-3.4.3 → curu_caption-3.6.0}/pyproject.toml +20 -7
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/commands/corpus_cli.py +0 -18
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/timeline_av.py +10 -1
- {curu_caption-3.4.3 → curu_caption-3.6.0}/LICENSE +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/README.md +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/Cargo.toml +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/assets/SEETAFACE_MODEL_LICENSE +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/assets/seeta_fd_frontal_v1.0.bin +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/benches/filter_1080p.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/benches/frame_extraction.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/benches/similarity.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/aesthetic.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/ahash.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/atomic_write.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/backpressure.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/blur_type.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/clip.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/decode.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/embed.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/error.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/face.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/filter.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/histogram.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/lib.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/phash.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/quality.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/shard_layout.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/sharpness.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/shot.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-core/src/sobel.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-ondisk/Cargo.toml +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-ondisk/src/atomic_write.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-ondisk/src/facts.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-ondisk/src/lib.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/crates/curu-ondisk/src/png_meta.rs +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/__main__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/_core.pyi +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/_tui_launcher.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/_vision_media.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/combined_captioner.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/embeddinggemma.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/vision_service.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/vlm_captioner.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/vlm_judge.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/adapters/wd14_tagger.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/aitk/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/aitk/emitter.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/audio_models.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/batch.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/caption_grounding.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/cli.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/comfy/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/comfy/infer.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/comfy/workflow.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/commands/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/commands/comfy.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/commands/media.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/config.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/content_version.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/audio_extractors.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/avdm_adapter.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/bundle.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/bundle_review.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/cheap_extractors.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/claim_check.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/conform.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/cull.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/cut.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/derive.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/encode.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/enrich.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/extractors.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/motion.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/music.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/origin.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/probe.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/projection.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/provenance.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/review_page.html +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/role.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/select.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/shot_frames.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/sound_fusion.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/speech.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/store.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/timeline.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/timeline_audio.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/timeline_visual.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/trainer_config.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/trainers.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/corpus/window.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/curation/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/curation/dedup.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/curation/judge.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/facts.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/infra.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/local_staging_sync.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/media_extensions.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/meta.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/models.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/ort_providers.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/pipeline.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/ports/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/ports/captioning.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/ports/judging.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/ports/tagging.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/progress_report.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/quality.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/shard_layout.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/sidecar.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/staged_processing.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/video/__init__.py +0 -0
- {curu_caption-3.4.3 → curu_caption-3.6.0}/src/curu_caption/video/midpoint_frame.py +0 -0
|
@@ -495,7 +495,7 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
|
|
|
495
495
|
|
|
496
496
|
[[package]]
|
|
497
497
|
name = "curu-core"
|
|
498
|
-
version = "3.
|
|
498
|
+
version = "3.6.0"
|
|
499
499
|
dependencies = [
|
|
500
500
|
"anyhow",
|
|
501
501
|
"crc32fast",
|
|
@@ -519,7 +519,7 @@ dependencies = [
|
|
|
519
519
|
|
|
520
520
|
[[package]]
|
|
521
521
|
name = "curu-ondisk"
|
|
522
|
-
version = "3.
|
|
522
|
+
version = "3.6.0"
|
|
523
523
|
dependencies = [
|
|
524
524
|
"anyhow",
|
|
525
525
|
"crc32fast",
|
|
@@ -532,7 +532,7 @@ dependencies = [
|
|
|
532
532
|
|
|
533
533
|
[[package]]
|
|
534
534
|
name = "curu-tui"
|
|
535
|
-
version = "3.
|
|
535
|
+
version = "3.6.0"
|
|
536
536
|
dependencies = [
|
|
537
537
|
"anyhow",
|
|
538
538
|
"clap",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: curu-caption
|
|
3
|
-
Version: 3.
|
|
4
|
-
Requires-Dist: avdm>=0.
|
|
5
|
-
Requires-Dist: curu-vision[gpu]>=0.
|
|
3
|
+
Version: 3.6.0
|
|
4
|
+
Requires-Dist: avdm>=0.4.0,<0.5
|
|
5
|
+
Requires-Dist: curu-vision[gpu]>=0.38.0,<0.39
|
|
6
6
|
Requires-Dist: av>=17
|
|
7
7
|
Requires-Dist: click>=8
|
|
8
8
|
Requires-Dist: curu-infra>=0.66,<0.73
|
|
9
9
|
Requires-Dist: httpx>=0.27
|
|
10
10
|
Requires-Dist: mutagen>=1.48.1
|
|
11
11
|
Requires-Dist: numpy>=2.0,<2.5
|
|
12
|
-
Requires-Dist: onnxruntime>=1.31,<1.32
|
|
12
|
+
Requires-Dist: onnxruntime>=1.31,<1.32 ; platform_machine != 'x86_64' or sys_platform != 'linux'
|
|
13
13
|
Requires-Dist: pillow>=10
|
|
14
14
|
Requires-Dist: pydantic>=2
|
|
15
15
|
Requires-Dist: pypng>=0.20220715.0
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "curu-caption"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.6.0"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
license = "MIT"
|
|
10
10
|
license-files = ["LICENSE"]
|
|
@@ -16,7 +16,10 @@ dependencies = [
|
|
|
16
16
|
# deliberate style step (issue #205), whose form the prompt fingerprint
|
|
17
17
|
# and the fact provenance name. 0.3.4 fixes the caller-claim-plus-form
|
|
18
18
|
# flow in avdm assemble (#12).
|
|
19
|
-
|
|
19
|
+
# avdm 0.4.0 is the floor with curu-vision 0.37.0, which requires it: its
|
|
20
|
+
# caption form is captions-6, so every `visual` fact goes stale again
|
|
21
|
+
# (issue #213), and `cut --caption` makes them again. There is no migration.
|
|
22
|
+
"avdm>=0.4.0,<0.5",
|
|
20
23
|
# The speech, WD14, search-index, d1-3B question and sound models (#115, #163,
|
|
21
24
|
# #196, #185, ADR-097). A core dependency, because a fact's provenance names its pinned
|
|
22
25
|
# model before any media is loaded. Pinned below the next minor release
|
|
@@ -27,10 +30,16 @@ dependencies = [
|
|
|
27
30
|
# 0.33.0 (the sync port, the 1 MP face tracker and `measured_threshold()`,
|
|
28
31
|
# issue #205) is the floor; 0.35.1 (the face entry keyed to `face-track-2`
|
|
29
32
|
# at the 1 MP bound, curu-vision#164) is the floor of the face gate, and
|
|
30
|
-
# 0.
|
|
31
|
-
# is the floor
|
|
32
|
-
#
|
|
33
|
-
|
|
33
|
+
# 0.38.0 (captions-7, ffprobe-2, and the opt-in known-entities machinery,
|
|
34
|
+
# spec 029) is the floor: the caption form move makes each stored `visual`
|
|
35
|
+
# fact stale, and `cut --caption` makes them again. The opt-in references
|
|
36
|
+
# and names stay opt-in here (the owner decides; ADR-041 keeps an ungated
|
|
37
|
+
# binding a selection signal). 0.37.0 (the moss-3 token rule and the
|
|
38
|
+
# truncated transcript, curu-vision#175;
|
|
39
|
+
# the GPU-only onnxruntime with preloaded libraries on Linux x86_64,
|
|
40
|
+
# curu-vision#173) is the floor. The range is one minor, as curu-vision's
|
|
41
|
+
# ports move together.
|
|
42
|
+
"curu-vision[gpu]>=0.38.0,<0.39",
|
|
34
43
|
"av>=17",
|
|
35
44
|
"click>=8",
|
|
36
45
|
# The sister capability, not a vendored copy of one. Captioning is the only
|
|
@@ -45,7 +54,11 @@ dependencies = [
|
|
|
45
54
|
"numpy>=2.0,<2.5",
|
|
46
55
|
# curu-vision runs WD14 and the transcription on it (#163, #115); the WD14
|
|
47
56
|
# adapter also asks it for the providers. The range is curu-vision 0.13.0's.
|
|
48
|
-
|
|
57
|
+
# Off Linux x86_64: curu-vision PR #176 (fixing #173) puts the GPU-only
|
|
58
|
+
# build there and preloads its libraries, so the CPU build must not come
|
|
59
|
+
# back through this line (issue #220). It stays on darwin and windows,
|
|
60
|
+
# where curu-vision wants it.
|
|
61
|
+
"onnxruntime>=1.31,<1.32; sys_platform != 'linux' or platform_machine != 'x86_64'",
|
|
49
62
|
"pillow>=10",
|
|
50
63
|
# The VLM answers are validated as pydantic models (Caption, Verdict). Each
|
|
51
64
|
# request goes through curu-vision's vlm port, so pydantic-ai is gone (#183).
|
|
@@ -1550,14 +1550,6 @@ def _check_bundle_options(trainer: str, *, golden: str | None, estate_root: str
|
|
|
1550
1550
|
raise click.UsageError(f"--trainer {trainer} needs {flag}: {why}.")
|
|
1551
1551
|
|
|
1552
1552
|
|
|
1553
|
-
#: Audio shorter than this skips the speaker-face kind. MOSS sat in one
|
|
1554
|
-
#: generation to its 16,384-token budget on a 2-second clip (amoral's GPU run,
|
|
1555
|
-
#: #213; curu-vision#175), so the transcriber asks for at least one
|
|
1556
|
-
#: coverage-minimum pass. Not a measured threshold: a workaround for a filed
|
|
1557
|
-
#: bug, dropped when curu-vision#175 ships.
|
|
1558
|
-
_MOSS_MIN_SECONDS = 20.0
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
1553
|
def _moss_transcriber(device: str | None = None): # noqa: ANN001, ANN202
|
|
1562
1554
|
"""The MOSS transcriber the speaker-face link reads (curu-vision#141).
|
|
1563
1555
|
|
|
@@ -1596,7 +1588,6 @@ def _timeline_builder(
|
|
|
1596
1588
|
console.print(f" [yellow]timeline sound unavailable[/]: {missing[:90]}")
|
|
1597
1589
|
else:
|
|
1598
1590
|
from curu_caption.audio_models import AudioCaptioner, AudioTagger
|
|
1599
|
-
from curu_caption.corpus.extractors import ExtractionError
|
|
1600
1591
|
from curu_caption.corpus.timeline_audio import (
|
|
1601
1592
|
AudioCaptionExtractor,
|
|
1602
1593
|
SoundEventExtractor,
|
|
@@ -1639,15 +1630,6 @@ def _timeline_builder(
|
|
|
1639
1630
|
moss = _moss_transcriber(device)
|
|
1640
1631
|
|
|
1641
1632
|
def transcript_of(samples): # noqa: ANN001
|
|
1642
|
-
# MOSS runs to its token budget on very short audio and sits
|
|
1643
|
-
# there (curu-vision#175): audio under its coverage minimum
|
|
1644
|
-
# skips the kind, named, until curu-vision fixes it.
|
|
1645
|
-
if len(samples) < _MOSS_MIN_SECONDS * 16_000:
|
|
1646
|
-
raise ExtractionError(
|
|
1647
|
-
f"{len(samples) / 16_000:.3f} s of audio: MOSS runs to its "
|
|
1648
|
-
f"token budget on audio this short (curu-vision#175), so "
|
|
1649
|
-
f"the speaker-face kind is skipped for the clip"
|
|
1650
|
-
)
|
|
1651
1633
|
(item,) = moss.transcribe(
|
|
1652
1634
|
[LinkAudio(np.asarray(samples, dtype=np.float32), 16_000)]
|
|
1653
1635
|
)
|
|
@@ -356,10 +356,19 @@ class SpeakerLinkExtractor:
|
|
|
356
356
|
def extract(self, media: Path, tracks: Any) -> list[TimelineRecord]:
|
|
357
357
|
samples = _samples_for(self.kind, self._audio_loader, media)
|
|
358
358
|
try:
|
|
359
|
+
transcript = self._transcript(samples)
|
|
360
|
+
# A transcript the token rule cut can lack words, so it must not
|
|
361
|
+
# reach the link as if it were full (amoral, #213): the kind fails
|
|
362
|
+
# with the truncation, named.
|
|
363
|
+
if transcript.truncated:
|
|
364
|
+
raise ExtractionError(
|
|
365
|
+
f"{media.name}: the MOSS transcript is truncated; the "
|
|
366
|
+
f"speaker-face kind needs a full transcript (curu-vision#175)"
|
|
367
|
+
)
|
|
359
368
|
result = self._linker(
|
|
360
369
|
VideoSource(path=str(media)),
|
|
361
370
|
Audio(np.asarray(samples, dtype=np.float32), _AUDIO_SR),
|
|
362
|
-
|
|
371
|
+
transcript,
|
|
363
372
|
tracks,
|
|
364
373
|
sync=self._sync,
|
|
365
374
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|