Bug 47335 - Утилита fs_tts не работает
Summary: Утилита fs_tts не работает
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: freeswitch-daemon (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-24 15:11 MSK by Artem Varaksa
Modified: 2025-06-23 13:56 MSK (History)
11 users (show)

See Also:


Attachments
# fs_tts -v file.mp3 "test" (28.28 KB, text/plain)
2023-08-24 15:11 MSK, Artem Varaksa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Varaksa 2023-08-24 15:11:56 MSK
Created attachment 14189 [details]
# fs_tts -v file.mp3 "test"

Описание ошибки
===============

1. # fs_tts file.mp3 "test"
(запускается от имени root из-за https://bugzilla.altlinux.org/47334)

Фактический результат: Выводится ошибка:

> # fs_tts file.mp3 "test"
> Cannot init mod_ssml [module load file routine returned an error]

Вывод с флагом -v - во вложении. Исходя из него, модуль отсутствует:

> [CRIT] switch_loadable_module.c:1754 Error Loading module /usr/lib64/freeswitch/mod_ssml.so
> **/usr/lib64/freeswitch/mod_ssml.so: cannot open shared object file: No such file or directory**

Исходя их https://beta.packages.altlinux.org/ru/sisyphus/files/?q=%2Fusr%2Flib64%2Ffreeswitch%2Fmod_ssml.so, данный файл не предоставляется никаким пакетом.

Ожидаемый результат: Создание файла c произнесённым словом.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p10] server-10.1-x86-64
freeswitch-daemon-1.10.9-alt1.x86_64

[sisyphus] server-10.1-x86-64
freeswitch-daemon-1.10.10-alt1.x86_64
Comment 1 Artem Varaksa 2025-06-23 13:44:54 MSK
По состоянию на версии freeswitch-daemon-1.10.12-alt{2,4} модуль есть:

https://beta.packages.altlinux.org/ru/sisyphus/files/?q=%2Fusr%2Flib64%2Ffreeswitch%2Fmod_ssml.so

Однако теперь при выполнении 

> # fs_tts -v file.mp3 test extra-arg-so-it-works

(extra-arg-so-it-works: см. https://bugzilla.altlinux.org/54889)

или

> # echo test | fs_tts -v file.mp3 

команда выводит ошибку:

> Couldn't open tts://flite|kal|test


[sisyphus] ALT Server 11.0 x86_64
freeswitch-daemon-1.10.12-alt4.x86_64

[p11] ALT Server 11.0 x86_64
freeswitch-daemon-1.10.12-alt2.x86_64
Comment 2 Anton Farygin 2025-06-23 13:45:48 MSK
flite же установлен ?
Comment 3 Artem Varaksa 2025-06-23 13:56:40 MSK
Да, flite-2.2-alt2.x86_64

В том числе и голос `kal`, выбираемый по умолчанию в fs_tts, похоже, есть:

# rpm -ql flite | grep kal
/usr/bin/flite_cmu_us_kal
/usr/bin/flite_cmu_us_kal16
/usr/lib64/libflite_cmu_us_kal.so.1
/usr/lib64/libflite_cmu_us_kal16.so.1