Javascript Video Splitter
-
Install
node -
install
pnpm,npmor similar package manager. -
install
ffmpegvideo library https://ffmpeg.org/
Front-end development with no backend support.
pnpm dev
In terminal: pnpm buildrun
Run in terminal:
pnpm build
After pnpm build run in terminal:
pnpm run run
pnpm app:dist
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
-
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 devdev mode.- This often occurs due to code editor (e.g. VSCode) privileges. Change program privileges, or use
pnpm run, or run the built app.
- This often occurs due to code editor (e.g. VSCode) privileges. Change program privileges, or use


