• Stefy Lanza (nextime / spora )'s avatar
    build a track at its length instead of padding up to it · 143e85f1
    Stefy Lanza (nextime / spora ) authored
    place_at padded a mix up to the scene length with apad and let atrim end the
    stream. That handoff is a race. A bare apad loses it by generating silence for
    ever: ffmpeg never reaches EOF and spins at 100% CPU with the output
    half-written -- 4 hangs in 10 runs, and two orphans left on a dev host by
    test_compose_dialogue had burned 14h and 10h of CPU unnoticed. apad=whole_dur
    stops the hang and loses the same race the other way, emitting a track one clip
    short (3s for 4s) in 3 of 14 runs with no error anywhere. Neither -threads 1
    nor -filter_threads 1 helps.
    
    A silent base input of exactly the target length, mixed under the placements
    with amix=duration=first, has no handoff to lose: 0 bad in 20 runs, one output
    size. The other apad sites feed no mix, but take whole_dur too since the length
    is known there as well.
    
    Also pass config/subfolder to the single-file component loader, the way the
    GGUF branch already does and for the same reason: left to itself
    from_single_file infers a base repo from the checkpoint's own metadata, so
    Krea-2-RealDream reached for krea/Krea-2-Raw and died on a repo nobody named.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZnLhydX9QqUcfBbqLu
    143e85f1
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-acestep.txt Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-latentsync.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-musetalk.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...