https://github.com/theapache64/auto-motion
🤖 A CLI to automate your video editing process
https://github.com/theapache64/auto-motion
Last synced: 9 months ago
JSON representation
🤖 A CLI to automate your video editing process
- Host: GitHub
- URL: https://github.com/theapache64/auto-motion
- Owner: theapache64
- License: apache-2.0
- Created: 2021-02-21T10:58:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-11T19:54:46.000Z (over 1 year ago)
- Last Synced: 2024-08-11T20:40:39.489Z (over 1 year ago)
- Language: Kotlin
- Homepage:
- Size: 30.3 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# auto-motion
[comment]: <> ()
[comment]: <> ()
Under active development ⚠️
> A CLI to automate your video editing process
## ⛰️ Story
- [Read](https://dev.to/teamxenox/automotion-how-i-automated-my-video-editing-process-1i6c) how I automated my video editing process (includes a demo at the end)
## 🦿 Prerequisites
- JRE
- ffmpeg
- ffprob
- ffpb
- autosub
## ⌨️ Usage
```shell script
~$ auto-motion
```
Complete Usage
```
usage: auto-motion -v input.mp4 [-H] -V [-BGM ] [-ST ]
[-VL ] [-MTL ] [-TLS ] [-ID ] [-CR ] [-WM
] [-IT ] [-CT ] [-IST ] [-CST ] [-F ]
[-HL ] [-WMC ] [-WMS ] [-WMBG ] [-WMBGO ]
[-TFS ] [-STFS ] [-TC ] [-STC ] [-BG ]
[-RSRT ] [-DSRT] [-RFMPG] [-sf] [-KS]
A tool to edit your lengthy screen records, automatically. Version :
v1.0.0-beta01
-H,--help To print help text
-V,--video Video inputs (required at least
one)
-BGM,--background-music Background music for timelapse.
Default
'lab/lost_in_time.m
p3'
-ST,--sub-title Intro sub title
-VL,--video-lang Video language. Default 'en'
-MTL,--min-tl-src-len Minimum timelapse source length
(in seconds). Default '2.0'
-TLS,--timelapse-speed Timelapse speed (must be < 1). 0.5
= 2x speed, 0.25 = 4x. Default
'0.25'
-ID,--intro-duration Intro duration (in seconds).
Default '3.0'
-CR,--credits-duration Credits duration (in seconds).
Default '2'
-WM,--watermark Watermark text. Default
(theapache64) (active username)
-IT,--intro-title Intro title. Default (theapache64)
(active username)
-CT,--credits-title Credits title. Default 'Thank
You!'
-IST,--intro-sub-title Intro sub title. Default 'Mar 05
2020' (current date)
-CST,--credits-sub-title Credits sub title. Default
(theapache64) (active username)
-F,--font Font file path. Default
'lab/komikax.ttf'
-HL,--highlight Highlight of the video. Format
'HH:mm:ss-ss' (from- to seconds).
Eg:
auto-motion -v input.mp4 -HL
'00:01:00-5'
Will highlight 5 seconds of clip
from 00:01:00
-WMC,--wm-color Watermark text color. Default
'white'
-WMS,--wm-size Watermark text size. Default '24'
-WMBG,--wm-background-color Watermark background color.
Default 'black'
-WMBGO,--wm-background-opacity Watermark background opacity.
Default '0.5'
-TFS,--title-font-size Title font size. Default '30'
-STFS,--sub-title-font-size Sub title font size. Default '15'
-TC,--title-color Title color. Default 'white'
-STC,--sub-title-color Sub title color. Default 'gray'
-BG,--background-color Background color. Default 'black'
-RSRT,--raw-srt To cancel autosub usage and use
passed SRT file for timelapse
calculation
-DSRT,--default-srt To cancel autosub usage and use
default SRT of the input video
file.
-RFMPG,--raw-ffmpeg To use ffmpeg rather than ffpb
-sf,--superfast To make the ffmpeg encodig preset
to superfast
-KS,--keep-sh To keep final shell script file
(developer-option). Default false.
🎊 Happy automate!
```
## ⤴️ Update
```shell script
wget "https://raw.githubusercontent.com/theapache64/auto-motion/master/update.sh" -q --show-progress -O update.sh && sh update.sh
```
## 🥼 Run tests
```shell script
./gradlew test
```
## ✍️ Author
👤 **theapache64**
* Twitter: @theapache64
* Email: theapache64@gmail.com
Feel free to ping me 😉
## 🤝 Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any
contributions you make are **greatly appreciated**.
1. Open an issue first to discuss what you would like to change.
1. Fork the Project
1. Create your feature branch (`git checkout -b feature/amazing-feature`)
1. Commit your changes (`git commit -m 'Add some amazing feature'`)
1. Push to the branch (`git push origin feature/amazing-feature`)
1. Open a pull request
Please make sure to update tests as appropriate.
## ❤ Show your support
Give a ⭐️ if this project helped you!
## ☑️ TODO
- [ ] Release initial version of auto-motion
## 📝 License
```
Copyright © 2021 - theapache64
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
_This README was generated by [readgen](https://github.com/theapache64/readgen)_ ❤