forked from WyattBlue/auto-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python # this works for Linux but is an error on macOS or Windows
jobs:
include:
- name: "Python 3.8.0 on Xenial Linux"
python: 3.8
before_install:
- sudo apt-get install libavformat-dev libavfilter-dev libavdevice-dev ffmpeg
- name: "Python 3.7.4 on macOS"
os: osx
osx_image: xcode11.2
language: shell
before_install:
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- brew install ffmpeg
install:
- pip3 install scipy audiotsm pillow pydub opencv-python youtube_dl # install libraries
script:
- python3 auto-editor.py --debug
- python3 auto-editor.py --version
- python3 auto-editor.py example.mp4 --verbose
- python3 auto-editor.py example.mp4 -s 2
- python3 auto-editor.py example.mp4 -v 2
- python3 auto-editor.py example.mp4 --sounded_speed 0.5
- python3 auto-editor.py example.mp4 --silent_speed 0.5
- python3 auto-editor.py --clear_cache
- python3 auto-editor.py "https://www.youtube.com/watch?v=kcs82HnguGc"
- python3 auto-editor.py media/newCommentary.mp4 --silent_threshold 0.1
- python3 auto-editor.py example.mp4 --cut_by_this_audio media/newCommentary.mp3
- python3 auto-editor.py example.mp4 --background_music media/Magic_in_the_Garden.mp3
- python3 auto-editor.py media/myFolder