readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.45k stars 218 forks source link

help: are there ways to align text/audio better? #217

Closed jarodtang closed 5 years ago

jarodtang commented 5 years ago

Hi,

I'm trying to sync text and audio by , and find the align point always a little bit miss match with real stopping/rising of voice, are there ways to make the align better?

Thanks, Jarod

python -m aeneas.tools.execute_task tlp/c4.mp3 tlp/ch4.mplain "task_language=eng|os_task_file_format=srt|is_text_type=plain" tlp/ch4.srt

files.zip sync

readbeyond commented 5 years ago

Hi,

you might want to specify how to adjust the boundary between two fragments via the

task_adjust_boundary_algorithm

key of the configuration string/file.

See the docs:

https://www.readbeyond.it/aeneas/docs/adjustboundaryalgorithm.html

and some of the built-in examples, e.g.:

Example 21 (input: plain text (plain), output: AUD, aba offset 0.200) $ python -m aeneas.tools.execute_task --example-offset

Example 22 (input: plain text (plain), output: AUD, aba percent 50) $ python -m aeneas.tools.execute_task --example-percent

from https://www.readbeyond.it/aeneas/docs/clitutorial.html#processing-tasks

Best regards,

Alberto Pettarin

On 10/12/2018 01:40 AM, jarodtang wrote:

Hi,

I'm trying to sync text and audio by , and find the align point always a little bit miss match with real stopping/rising of voice, are there ways to make the align better?

Thanks, Jarod

python -m aeneas.tools.execute_task tlp/c4.mp3 tlp/ch4.mplain
"task_language=eng|os_task_file_format=srt|is_text_type=plain"
tlp/ch4.srt
jarodtang commented 5 years ago

Thanks, got it