Skip to content

Torca2001/Simple-Transcoder

Repository files navigation

Simple-Transcoder

Simple video transcoder for sharing clips

Report a Bug · Request a Feature . Ask a Question

GitHub

Pull Requests welcome coded by Torca Electron

Table of Contents

About

This is a simple gui wrapper around FFmpeg using electron
The wrapper offers simple tools to set a target file size, trim options and audio merging to make it easier to share clips with friends on platforms with restricted upload sizes

Originally this project was integrated into Better Discord as a way to ensure video files would embed correctly in Discord for previewing and ensuring that the file stayed within discords file upload constraints.
A major update to discord changed the security policies used prevent access to necessary functions for this application to function, hence that project is deprecated.
But due to how useful I found that application I decided to try and keep it alive in the form of an app.

Built With

Electron and FFmpeg
The installer is bundled by Electron Forge using Squirrel

Getting Started

Prerequisites

Package.json includes all the necessary dependencies.
For compilation Electron, Electron-Forge and Electron-Forge-Squirrel is used
For the program to run ffmpeg must be available on the system. This can either
to the environment or the path for a local ffmpeg can be provided to the settings

FFmpeg can be downloaded from here

Installation

Download the installer from the release and run it.
Once the installer is complete the application should open on its own otherwise search for "Simple-Transcoder" in your start menu
If you don't have ffmpeg available on your system then refer to the Prerequisites above for installer ffmpeg


Alternatively you can clone the repo
Ensure npm has installed all the dependencies
Then execute nodejs ./main.js

Usage

Ensure you have ffmpeg installed in some form on the system either as a global (Can be checked in cmd by typing 'ffmpeg --version')
If not, then download FFmpeg and extract the contents. Once the application window is open then under settings hit Browse and go into the ffmpeg/bin/ffmpeg.exe

Then simply run the program, either by the start menu if installed with the installer or run the main.js file in js
Once the window is open drag and drop a video onto the window or hit the browse button on the bottom right
The video should load into the player
Set the settings to what you want and set the trim options
Once your happy with your settings hit the encode button bottom right

The program will now transcode the video following your specifications
The output file will appear in the same directory as the source video provided, the file will be named output.mp4

Support

Feel free to reach out to the maintainer at one of the following places:

Contributing

First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Authors & contributors

The original setup of this repository is by Torca.

For a full list of all authors and contributors, see the contributors page.

Security

Simple-Transcoder follows good practices of security, but 100% security cannot be assured. Simple-Transcoder is provided "as is" without any warranty. Use at your own risk.

License

This project is licensed under the GNU Public license.

See LICENSE for more information.

Acknowledgements

This project wouldn't be possible without FFmpeg as it is crucial in the transcoding process.

About

Simple video transcoder for sharing clips

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published