Skip to content

Commit

Permalink
Add notes about manually installing sndfile and install it on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oseiskar committed May 28, 2023
1 parent 4fc6a68 commit 95ec5fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 95ec5fe

Please sign in to comment.