Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JustCoww/slowedvideos
Big big scripts crazy
https://github.com/JustCoww/slowedvideos
Last synced: 3 months ago
JSON representation
Big big scripts crazy
- Host: GitHub
- URL: https://github.com/JustCoww/slowedvideos
- Owner: JustCoww
- License: gpl-3.0
- Created: 2022-03-03T08:40:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T21:35:30.000Z (over 2 years ago)
- Last Synced: 2024-06-28T10:37:40.199Z (5 months ago)
- Language: Python
- Homepage:
- Size: 2.53 MB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slowed Videos Scripts
Various scritps from justcow.
# Install
```sh
pip install slowedvideos
```# Dependencies
You will need to have ffmpeg in your **PATH** for the "**downloadurl**" to work.
**Arch Based**
```sh
sudo pacman -S ffmpeg
```
**Debian Based**
```sh
sudo apt install ffmpeg
```
**Other**Just install ffmpeg and make it availabe in your **PATH**.
# Examples
**Downloading audio from soundcloud**
```python
from slowedvideos.audio import downloadurl# Variables
url = 'https://soundcloud.com/100gecs/gecgecgec'
output = 'downloaded' # It will download as .wavdownloadurl(url, output)
```
https://soundcloud.com/100gecs/gecgecgec**Slowing and adding reverb to the downloaded audio**
```python
from slowedvideos.audio import makeslowed# Variables
audio = 'downloaded.wav'
speed = 10 # This changes how slow the audio will be
output = 'slowed gecgecgec.wav'makeslowed(audio, speed, output)
```
https://soundcloud.com/justcoww/slowed-gecgecgec**Creating the video image**
```python
from slowedvideos.video import makevideo# Variables
cover = 'cover.jpg'
song = 'gecgecgec'
artist = '100 gecs'
toptext = '(Slowed + Reverb)'
video_output = 'video gecgecgec.png'makevideo(cover, song, artist, toptext, video_output)
```
![video gecgecgec](https://user-images.githubusercontent.com/68345611/158889345-75f4ec35-63e9-4c61-a307-f4332401f743.png)**Creating the thumbnail image**
```python
from slowedvideos.video import makethumb# Variables
cover = 'cover.jpg'
thumb_output = 'thumb gecgecgec.png'makethumb(cover, thumb_output)
```
![thumb gecgecgec](https://user-images.githubusercontent.com/68345611/158889421-41a81372-a2af-453e-9075-99991964b8dd.png)**Exporting the video**
```python
from slowedvideos.video import exportvideo# Variables
audio = 'slowed gecgecgec.wav'
image = 'video gecgecgec.png'
output = 'videofile gecgecgec.mp4'
mode = 'moviepy'exportvideo(audio, image, mode, output)
```
https://user-images.githubusercontent.com/68345611/158889533-050e7a14-7a11-4cee-8437-c6c9e9c77334.mp4