Skip to content

fix(dubbing): preserve replacement audio past video length - #104

Open
nateEc wants to merge 1 commit into
abus-aikorea:mainfrom
nateEc:codex/issue-26-preserve-dubbing-audio
Open

fix(dubbing): preserve replacement audio past video length#104
nateEc wants to merge 1 commit into
abus-aikorea:mainfrom
nateEc:codex/issue-26-preserve-dubbing-audio

Conversation

@nateEc

@nateEc nateEc commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • Adds an opt-out for ffmpeg -shortest in ffmpeg_replace_audio.
  • Keeps existing short-output behavior as the default for non-dubbing callers.
  • Disables -shortest for Gulliver and RVC dubbing videos so translated audio longer than the source video is preserved.

Fixes #26.

Verification

  • python3 -m py_compile app/abus_ffmpeg.py app/gradio_gulliver.py app/gradio_rvc.py

- Add an opt-out for ffmpeg -shortest in audio replacement.

- Keep existing shortest behavior as the helper default for non-dubbing callers.

- Disable shortest for Gulliver and RVC dubbing outputs so long translated audio is not cut.

- Verified with python3 -m py_compile on the touched Python modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the output audio is longer than the original

1 participant