An open API service indexing awesome lists of open source software.

https://github.com/dv8fromtheworld/one-second-everyday-compiler

Contains scripts to put together 1 second everyday type videos with FFMPEG
https://github.com/dv8fromtheworld/one-second-everyday-compiler

cli ffmpeg javascript video-processing

Last synced: 8 months ago
JSON representation

Contains scripts to put together 1 second everyday type videos with FFMPEG

Awesome Lists containing this project

README

          

# One-Second-Everyday-Compiler
Contains scripts to put together 1 second everyday type videos with FFMPEG

# Install
**This program requires that `ffmpeg` and `ffprobe` be installed and globally available on the system.**

You can find both of this for install [here](https://www.ffmpeg.org/download.html)

Pull the latest version from github
```
git clone https://github.com/DV8FromTheWorld/One-Second-Everyday-Compiler.git
cd One-Second-Everyday-Compiler
```

Install the package globally
```
npm install -g .
```

The `1se` executable will now be available globally throughout the system.

# Usage
Suppose you have all of your videos in a folder called `my-1se-videos`

The script expects one of the following folder structures:




1 Second Everday App


Standard






This is the format that the 1 Second Everday app generates
This is the format that the One Sec Video Clipper generates.




my-1se-videos
├── 20190001
│ └── clip.mp4
├── 20190002
│ └── clip.mp4
├── 20190003
│ └── clip.mp4
└── 20190004
└── clip.mp4




my-1se-videos
├── 2019-01-01
│ └── clip.mp4
├── 2019-01-02
│ └── clip.mp4
├── 2019-01-03
│ └── clip.mp4
└── 2019-01-04
└── clip.mp4





Date Format: YYYYMMDD

Note: MM in this format is 0-based. Thus, January is 00


Date Format: YYYY-MM-DD


Simply navigate into the folder that contains the date-stamped folder structure and run the executable.
```
cd my-1se-videos
1se
```

After the process runs, your compiled video will be available in the folder as `1SE-video.mp4`

# Credits
This project was created jointly with [@mistersender](https://github.com/mistersender).

It was originally inspired by [1 Second Everday](https://1se.co/)