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

https://github.com/justin-m-lacy/vidsplit

Electron Video Splitter
https://github.com/justin-m-lacy/vidsplit

electron ffmpeg javascript typescript video video-splitter videoeditor videotrimming

Last synced: 2 months ago
JSON representation

Electron Video Splitter

Awesome Lists containing this project

README

          

Javascript Video Splitter

# Electron/FFMpeg Video Splitter

#### Slice and Save video segments

![Screenshot](docs/img/slice-media.png)

#### Slice & Reorder multiple segments

![Screenshot](docs/img/combine-slices.png)

#### Split whole video at cutting points

![Screenshot](docs/img/split-video.png)

# Setup

* Install `node`

* install `pnpm`, `npm` or similar package manager.

* install `ffmpeg` video library
[https://ffmpeg.org/](https://ffmpeg.org/download.html)

# Develop Front-end

Front-end development with no backend support.

`pnpm dev`

# Build and Run Application:

In terminal: `pnpm buildrun`

# Build Application

Run in terminal:

`pnpm build`

# Run Built Application

After `pnpm build` run in terminal:

`pnpm run run`

# Package Application

`pnpm app:dist`

# Package into Directory:

`pnpm app:dir`

View contents of .asar file by running:

`npx asar list [path]/app.asar`

Extract contents of asar:

`npx asar extract app.asar tempDir`

# FAQ

* Why is the app so large?
- The Electron binaries that allow program to be run as a standalone app are large.
- FFMPeg can be installed separately but can be up to 100MB.

* Avi file won't play
- Although ffmpeg supports .avi files, Chrome does not support avi files natively.

* I can't save files when running `pnpm dev` dev mode.
- This often occurs due to code editor (e.g. VSCode) privileges. Change program privileges, or use `pnpm run`, or run the built app.