https://github.com/commandcracker/cc-images
https://github.com/commandcracker/cc-images
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/commandcracker/cc-images
- Owner: Commandcracker
- Created: 2021-08-02T10:51:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-06T17:04:40.000Z (over 4 years ago)
- Last Synced: 2025-01-07T22:11:07.262Z (10 months ago)
- Language: Lua
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CC-Images
```bash
wget run https://raw.githubusercontent.com/Commandcracker/CC-Images/master/lua/download.lua
```
## Third Party Libraries
| Library | Maintainer |
|-----------------------------------------|---------------------------------------------------------|
| [GIF](https://pastebin.com/5uk9uRjC) | [BombBloke](https://pastebin.com/u/BombBloke) |
| [BBPack](https://pastebin.com/cUYTGbpb) | [BombBloke](https://pastebin.com/u/BombBloke) |
| [Json](https://pastebin.com/4nRg9CHU) | [ElvishJerricco](https://pastebin.com/u/ElvishJerricco) |
## create nfp
### download videos
with [youtube-dl](https://github.com/ytdl-org/youtube-dl#installation) or with a gui [youtube_downloader](https://gitlab.com/Commandcracker/youtube_downloader)
```bash
youtube-dl
```
### split videos in images
with [ffmpeg](https://ffmpeg.org/download.html)
```bash
ffmpeg -i -vf fps=1/2 part_%04d.png
```
### rezize and convert image to .nfp
with [convert_nfp.py](https://github.com/DownrightImpractical/computercraft-stuff)
```bash
python3 convert_nfp.py --resize-width --resize-height --remove
```