Forcing CT2_CUDA_ALLOCATOR=cub_caching pre-reserves a large working set
(~2 GB extra measured on an RTX 3060), which pushes large-v3 over a 6 GB
card's budget and causes the very OOM it was meant to avoid. Leave the
default cuda_malloc_async allocator in place.
Measured on an RTX 3060 Laptop (6 GB): large-v3 int8_float16 keeps ~1.9 GB
resident with the default allocator and transcribes a 2750 s file at a
~3.1 GB peak; with cub_caching the same model needs ~3.9 GB before decoding.
Adds a 'super-relaxed' preset (max_silence 1.25s, pad 0.25s) that keeps
more silence and adds extra breathing room around cuts compared to
'relaxed'. Updates the --preset choices, docstring, and README.
Reviewed-on: #7
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
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>
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.