From 95ec5fea29f9ec4e8deedba9ee084b0b2d920ebf Mon Sep 17 00:00:00 2001 From: Otto Seiskari Date: Sun, 28 May 2023 23:31:19 +0300 Subject: [PATCH] Add notes about manually installing sndfile and install it on CI --- .github/workflows/build-and-test.yml | 2 ++ README.md | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ffc8d2a..715579b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -20,6 +20,8 @@ jobs: id: setup-ffmpeg - name: Check FFMpeg run: ffmpeg -version + - name: Manually install sndfile + run: sudo apt install libsndfile1 - name: Install run: pip install -e .[dev,test,docs] - name: Run tests diff --git a/README.md b/README.md index 68ed4e0..1260220 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,12 @@ pip install autosubsync Make sure you have Pip, e.g., `sudo apt-get install python-pip`. Then install [FFmpeg](https://www.ffmpeg.org/) and this package ``` -sudo apt-get install ffmpeg +sudo apt install ffmpeg +sudo apt install libsndfile1 # sometimes optional sudo pip install autosubsync ``` -Note: If you are running Ubuntu 14 (but not 12 and 16, which are fine), you'll need to [jump some more hoops to install FFmpeg](https://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/). +The `libsndfile1` is sometimes but not always needed due to https://github.com/bastibe/python-soundfile/issues/258. ## Usage