Package Details: rhubarb-lip-sync 1.12.0-1

Git Clone URL: https://aur.archlinux.org/rhubarb-lip-sync.git (read-only, click to copy)
Package Base: rhubarb-lip-sync
Description: Rhubarb Lip Sync is a command-line tool that automatically creates 2D mouth animation from voice recordings.
Upstream URL: https://github.com/DanielSWolf/rhubarb-lip-sync
Licenses: MIT
Provides: DanielSWolf
Submitter: bazza
Maintainer: None
Last Packager: bazza
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-10 02:32 (UTC)
Last Updated: 2022-06-18 15:07 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

rbgo commented on 2022-06-18 23:16 (UTC) (edited on 2022-06-18 23:22 (UTC) by rbgo)

Install succeeded and the tool runs on the command line with args. Thank you for the quick action! But I only got it to work after the following.

(1) Trouble arrised when giving a sound file; ogg in my case.

[Error] "acmod.c", line 82: Folder '/usr/bin/res/sphinx/acoustic-model' does not contain acoustic model definition 'mdef'

After search file sys, there is no such directory or mdef file.

(2) After install of AUR "pocketsphinx 5prealpha-13" the mdef file exist inside /usr/share/pocketsphinx/model/en-us/en-us.

(3) After some trial and error,

([Error] "dict.c", line 275: Failed to open dictionary file '/usr/bin/res/sphinx/cmudict-en-us.dict' for reading: No such file or directory)

the conclusion is that:

Rhubarp expects folders ...
a:      /usr/bin/res/sphinx/
        cmudict-en-us.dict
        en-us.lm.bin
        en-us-phone.lm.bin
b:      /usr/bin/res/sphinx/acoustic-model/
        README
        feat.params
        mdef
        means
        noisedict
        sendump
        transition_matrices
        variances

while Manjaro folders are...
a:      /usr/share/pocketsphinx/model/en-us
b:      /usr/share/pocketsphinx/model/en-us/en-us

(4) Patching up with mkdir and ln...

$ sudo mkdir /usr/bin/res
$ sudo mkdir /usr/bin/res/sphinx
$ sudo ln -s /usr/share/pocketsphinx/model/en-us/cmudict-en-us.dict /usr/bin/res/sphinx/cmudict-en-us.dict
$ sudo ln -s /usr/share/pocketsphinx/model/en-us/en-us.lm.bin /usr/bin/res/sphinx/en-us.lm.bin
$ sudo ln -s /usr/share/pocketsphinx/model/en-us/en-us-phone.lm.bin /usr/bin/res/sphinx/en-us-phone.lm.bin
$ sudo ln -s /usr/share/pocketsphinx/model/en-us/en-us /usr/bin/res/sphinx/acoustic-model

(5) It works now!

bazza commented on 2022-06-18 15:06 (UTC) (edited on 2022-06-18 15:08 (UTC) by bazza)

I made some changes in the AUR.
rbgo try again to see if it works

rbgo commented on 2022-06-18 13:49 (UTC)

Tryed on Manjaro to install, but did not succeed, with following output:

Preparing... Cloning rhubarb-lip-sync build files... Generating rhubarb-lip-sync information... Checking rhubarb-lip-sync dependencies... Resolving dependencies... Checking inter-conflicts...

Building rhubarb-lip-sync... ==> Making package: rhubarb-lip-sync 1.12.0-1 (Sat 18 Jun 2022 03:47:06 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v1.12.0.zip ==> Validating source files with md5sums... v1.12.0.zip ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting v1.12.0.zip with bsdtar ==> Starting prepare()... /var/tmp/pamac-build-rbgo/rhubarb-lip-sync/src /var/tmp/pamac-build-rbgo/rhubarb-lip-sync/src/rhubarb-lip-sync-1.12.0 -- The C compiler identification is GNU 12.1.0 -- The CXX compiler identification is GNU 12.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1825 (file): file STRINGS file "/usr/lib/boost/version.hpp" cannot be read. Call Stack (most recent call first): rhubarb/CMakeLists.txt:57 (find_package)

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost: Found unsuitable version "0.0.0", but required is at least "1.54" (found /usr/lib, ) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:592 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindBoost.cmake:2376 (find_package_handle_standard_args) rhubarb/CMakeLists.txt:57 (find_package)

-- Configuring incomplete, errors occurred! See also "/var/tmp/pamac-build-rbgo/rhubarb-lip-sync/src/rhubarb-lip-sync-1.12.0/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in prepare(). Aborting...