Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piper Speed and Voice Over Video #9220

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Chris-656
Copy link

@Chris-656 Chris-656 commented Jan 14, 2025

Hi, i am fascinated from this tool. I am experimenting with piper text2speech. I found some minor issues with the automatic speed adaption using ffmpg.

I made some adaptions so that your tool can be used as semiautometd workflow for translating video with a sythetic voice.

image

  • added 2 checkboxes (no translation at the moment)
    Changes:

  • Adapt speed (ffmpeg):
    here you can switch off the ffmpeg speed calculation. ffmpeg is not that good as piper can do. I also chenged the speed
    adaption slower and also faster to a certain limit. 20% Max in both directions

  • 2 pass speed correction (piper)
    Since piper can user length_scale parameter for slower or faster speed by using the pauses in between the words the results are much better. So in the first pass the length is calulated and in the second pass the correction is made to the wav output.

  • use voice over
    This creates a new voice over channel by decompressing the original channel when the voice channel is active. This gives an automatic voice over where music or anything in the background survices when the voice over is silent.

I have not changed language files or inputmasks at the moment. Maybe we cab do that together.

would be greatto get in contact
regards Chris

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.

1 participant