Skip to content

A simple tool written in Node.js to build an .exe file that executes FFMpeg command line.

License

Notifications You must be signed in to change notification settings

loongzhu/ffmpeg-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg-runner

ffmpeg-runner is a simple tool based on Node.js that builds an .exe file capable of executing FFMpeg command-line commands.

Usage

By using this tool, you can package an executable program that can execute FFMpeg commands.

You can run it using the .exe file, or start it using start.bat or start.vbs, and stop it using stop.bat or stop.vbs.

Structure

├── ffmpeg-runner               # Source code directory
│   ├── dist                    # Packaged artifact
│       ├── assets              # FFMpeg program
│       ├── .env                # Environment variables during runtime
│       ├── ffmpeg-start.bat    # .bat file for running ffmpeg.exe
│       ├── ffmpeg-start.vbs    # .vbs file for running ffmpeg.exe
│       ├── ffmpeg-stop.bat     # .bat file for killing ffmpeg.exe
│       ├── ffmpeg-stop.vbs     # .vbs file for killing ffmpeg.exe
│       └── ffmpeg.exe          # The executable program that is running
│   ├── public                  # FFmpeg command builder module
│       └── mediamtx            # MediaMtx module(a simple RTSP server)
│   └── src                     # FFmpeg command builder module
│       ├── assets              # FFMpeg program
│       ├── build.js            # Script for building the application
│       ├── copy.js             # Script for copying crucial files
│       ├── main.js             # Main module
│       ├── scripts.js          # Generate a FFMpeg script
│       └── server.js           # Runner module
├── .env                        # Environment variables during runtime
├── .env.build                  # Environment variables during packaging
├── .gitignore                  # Git ignore file
├── LICENSE                     # License file
└── README.md                   # This file

Content-related

You can find and download them through the following.

  • FFMpeg: FFMpeg program
  • mediamtx: MediaMtx module(a simple RTSP server)

Development

# Clone
git clone https://github.com/MrZhuA00/ffmpeg-runner.git

cd ffmpeg-runner

npm install

# dev
npm run dev

# Build
npm run build

License

Made with 💛

Published under MIT License.

About

A simple tool written in Node.js to build an .exe file that executes FFMpeg command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published