Commit graph

8 commits

Author SHA1 Message Date
7949903c89 fix(whisper): survive CUDA OOM with a memory-lean fallback ladder
All checks were successful
CI / lint-and-test (pull_request) Successful in 11s
Version bump / version-bump (pull_request) Successful in 6s
large-v3 in float16 (~4.5 GB) left a 6 GB card no headroom for CTranslate2
decoder spikes, so long transcriptions died partway through with
"CUDA failed with error out of memory".

- default to int8_float16 on CUDA and pin CT2_CUDA_ALLOCATOR=cub_caching
- on a CUDA OOM, drop and release the model and retry a smaller-footprint
  config (int8 + greedy decoding, then CPU int8) instead of aborting
2026-10-17 21:10:33 +01:00
5032f48eee feat(render): support multi-input concatenated --render (#6)
All checks were successful
CI / lint-and-test (push) Successful in 12s
Render the kept segments of multiple inputs into one MP4 by normalizing
each branch (yuv420p video, stereo fltp 48 kHz audio) and joining them
with ffmpeg's concat filter in input order, matching the order used by
the generated .kdenlive project. A single input keeps the existing
single-`-i` graph and output unchanged.

- add MultiRenderPlan, build_multi_render_graph, build_multi_render_command
- extract shared _input_render_fragments for single/multi builders
- render_video now accepts one track or a sequence of tracks
- default multi-input render output is <first-stem>_concat.mp4
- drop the single-input --render guard; update README and --render help

Reviewed-on: #6
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-06 22:08:10 +01:00
1b0d902285 fix/whisper-vram-handoff (#5)
All checks were successful
CI / lint-and-test (push) Successful in 11s
Reviewed-on: #5
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-05 21:54:12 +01:00
76724271d1 fix/render-select-balance (#4)
All checks were successful
CI / lint-and-test (push) Successful in 11s
Reviewed-on: #4
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-05 20:53:23 +01:00
9fa4a016c5 feat(handoff): emit a single uploadable handoff.zip bundle
All checks were successful
CI / lint-and-test (push) Successful in 13s
CI / lint-and-test (pull_request) Successful in 11s
Version bump / version-bump (pull_request) Successful in 5s
ZIP contains <stem>.handoff.json and <stem>.transcript.json so the clipwright UI can attach one artifact. Loose JSON files are unchanged for the CLI path.
2026-10-05 18:21:04 +01:00
dc1e53c4d9 feat(render): render the final video from the edit timeline
Adds --render (Kdenlive-equivalent encode: libx264 veryfast/crf18/g15, AAC 160k stereo, +faststart) and --keep-project; --render is single-input. Populates the handoff manifest's edited.master. Bumps __version__ to 0.2.0.
2026-10-05 18:21:04 +01:00
7adfa77167 feat(handoff): emit clipwright transcript + handoff manifest 2026-10-05 18:21:04 +01:00
ed8c0145ff Version 0.1.0 (#1)
All checks were successful
CI / lint-and-test (push) Successful in 11s
Reviewed-on: #1
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-09-30 18:33:59 +01:00