|
| 1 | +[](https://sourceforge.net/p/ffmpeg-coder/) |
| 2 | + |
| 3 | +[](https://sourceforge.net/projects/ffmpeg-coder/files/latest/download) [](https://github.com/Abir-Tx/ffmpeg-coder/actions/workflows/c-cpp.yml) |
| 4 | + |
| 5 | +# FFMPEG-Coder |
| 6 | + |
| 7 | +A small **_cross platform_** CLI tool which will help in producing different types video converting codes quickly for new ffmpeg CLI users. The tool will make it easy to generate ffmpeg commands for them. If you don't use or know about **FFMPEG** then this tool might not be for you. |
| 8 | + |
| 9 | +# Who is this tool for ? |
| 10 | + |
| 11 | +This tool is created for those who find it difficult to understand or find the appropriate commands for converting a video as they want using the FFMPEG CLI tool. |
| 12 | + |
| 13 | +Also those who are new to Command Lines they can also use this tool to generate ffmpeg commands very easily. Many new ffmpeg users find it difficult to find the appropriate ffmpeg commands to convert their videos to with their desired configs. So, as a result they end up googling a lot and wasting their time. So this tool is for them. |
| 14 | + |
| 15 | +# Pre-requisites |
| 16 | + |
| 17 | +The user should have really basic knowledge about ffmpeg like how to run ffmpeg in a directory and how to issue the commands. Thats it !! |
| 18 | + |
| 19 | +# Features |
| 20 | + |
| 21 | +- Supports **Windows, Linux** & **Mac OS**. |
| 22 | +- Does not dpeend on any other dependencies. |
| 23 | +- Very small, fast and lightweight. |
| 24 | +- Supports options for **h264** and **libx265**. |
| 25 | + |
| 26 | +# Downloads |
| 27 | + |
| 28 | +- Downloads are available in **sourceforge** - |
| 29 | + |
| 30 | +[](https://sourceforge.net/projects/ffmpeg-coder/files/latest/download) |
| 31 | + |
| 32 | +- You can download the latest version from the [release](https://github.com/Abir-Tx/ffmpeg-coder/releases/latest) section. |
| 33 | + |
| 34 | +# Installation |
| 35 | + |
| 36 | +## Windows |
| 37 | + |
| 38 | +- First download the windows installer file from the release or from [here](https://github.com/Abir-Tx/ffmpeg-coder/releases/download/v1.0/ffmpeg-coder_1.0_win.zip). |
| 39 | +- Extract or Unzip the **ffmpeg-coder_1.0_win.zip** |
| 40 | +- Go into the unzipped folder and double click on **ffmpeg-coder_1.0_win.exe** file. |
| 41 | +- The installer will start & then just follow the onscreen instructions and ffmpeg-coder will be installed on your machine |
| 42 | +- After installation, from the start menu search for **_ffmpeg-coder_** and open the tool. |
| 43 | + |
| 44 | +## Linux (Debian based distros) |
| 45 | + |
| 46 | +This installation process works on ubuntu, kali linux, linux mint, debian and other debian based distros. |
| 47 | + |
| 48 | +### Automatic One Click Process |
| 49 | + |
| 50 | +- Just copy and paste this script below and **_voila_** |
| 51 | + |
| 52 | +```bash |
| 53 | +wget https://raw.githubusercontent.com/Abir-Tx/ffmpeg-coder/main/scripts/debian_install.sh && chmod +x debian_install.sh &&./debian_install.sh |
| 54 | +``` |
| 55 | + |
| 56 | +### Manual Download Process |
| 57 | + |
| 58 | +- First download the **ffmpeg-coder_1.0_all.deb** from the release or from [here](https://github.com/Abir-Tx/ffmpeg-coder/releases/download/v1.0/ffmpeg-coder_1.0_all.deb). |
| 59 | +- Then open terminal to the folder where the .deb file is downloaded. |
| 60 | +- Now from the terminal run - |
| 61 | + |
| 62 | +```bash |
| 63 | +chmod +x ffmpeg-coder_1.0_all.deb |
| 64 | +sudo apt install ./ffmpeg-coder_1.0_all.deb |
| 65 | +``` |
| 66 | + |
| 67 | +- **_ffmpeg-coder_** should be installed now. Now run `ffmpeg-coder` in your terminal. Sometime if running just after installation the tool might not start. In that case run `ffmpeg-coder` in terminal twice. |
| 68 | + |
| 69 | +## Install from source |
| 70 | + |
| 71 | +Users other than Debian based distro can use the tool by compiling the tool from the source code easily. Also any distro or windows users can compile and use the tool if they are having problems using the binary packages provided in the release. |
| 72 | + |
| 73 | +**Steps for compiling from the source -** |
| 74 | + |
| 75 | +- Download the [**Source Code.zip**](https://github.com/Abir-Tx/ffmpeg-coder/archive/v1.0.zip) from the release section for the stable version or using git for the latest devlopement version. In Terminal for Linux or CMD for Windows run - |
| 76 | + |
| 77 | +```bash |
| 78 | +git clone https://github.com/Abir-Tx/ffmpeg-coder.git |
| 79 | +``` |
| 80 | + |
| 81 | +- Then `cd` into the `ffmpeg-coder` directory. |
| 82 | + |
| 83 | +```bahs |
| 84 | +cd ffmpeg-coder |
| 85 | +``` |
| 86 | + |
| 87 | +## Using Make |
| 88 | + |
| 89 | +- **Linux** |
| 90 | + |
| 91 | +Now if you are in linux & have build-essentian installed then just run - |
| 92 | + |
| 93 | +```bash |
| 94 | +make dir |
| 95 | +make build |
| 96 | +``` |
| 97 | + |
| 98 | +The tool will be compiled to the `bin` folder inside ffmpeg-coder folder. You can also run `make run` to run the tool from there - |
| 99 | + |
| 100 | +```bash |
| 101 | +make run |
| 102 | +``` |
| 103 | + |
| 104 | +- **Windows** |
| 105 | + |
| 106 | +If you are windows user and have **\*GNU Make** installed or configured in your system then run - |
| 107 | + |
| 108 | +```batch |
| 109 | +make dir |
| 110 | +make winbuild |
| 111 | +``` |
| 112 | + |
| 113 | +The tool will be compiled to the `bin` folder inside ffmpeg-coder folder. You can also run `make winrun` to run the tool from there - |
| 114 | + |
| 115 | +```batch |
| 116 | +make winrun |
| 117 | +``` |
| 118 | + |
| 119 | +## Using G++ |
| 120 | + |
| 121 | +- **In Linux run -** |
| 122 | + |
| 123 | +```bash |
| 124 | +g++ src/ffmpeg-coder.cpp -I include/ffmpeg-coder -I lib/ -o bin/ffmpeg-coder |
| 125 | +./bin/ffmpeg-coder |
| 126 | +``` |
| 127 | + |
| 128 | +- **In Windows run -** |
| 129 | + |
| 130 | +```batch |
| 131 | +g++ src/ffmpeg-coder.cpp -I include/ffmpeg-coder -I lib/ -o bin/ffmpeg-coder.exe |
| 132 | +./bin/ffmpeg-coder |
| 133 | +``` |
| 134 | + |
| 135 | +By following the above steps you will have a compiled version of **_ffmpeg-coder_** for your device. |
| 136 | + |
| 137 | +--- |
| 138 | + |
| 139 | +# Troubleshooting |
| 140 | + |
| 141 | +- ### **App not openning after first installaton**: |
| 142 | + |
| 143 | + Sometime on some platforms (Specially Linux) the open does not open after installion when run. In that case run the app twice or more and the app will start. |
| 144 | + |
| 145 | +- ### **App lock feature not working on Linux**: |
| 146 | + The startup lock feature is currently disabled in source code as it is creating some issues so the **App lock** feature will not work in linux as of now. |
| 147 | + |
| 148 | +**_Future fix is planned_** |
| 149 | + |
| 150 | +# Having issues ? |
| 151 | + |
| 152 | +If you are having any issue related to this tool or if you face any bug/problem while using the tool, please let us know by creating an **_issue_** from the [issue](https://github.com/Abir-Tx/ffmpeg-coder/issues) tab or by clicking [here](https://github.com/Abir-Tx/ffmpeg-coder/issues/new/choose). In the issue form describe what problems you face or what features you want next. |
| 153 | + |
| 154 | +I will try to fix and add features as much as I can. |
| 155 | + |
| 156 | +# Maintainers & Contributors |
| 157 | + |
| 158 | +**Maintainers** |
| 159 | + |
| 160 | +- [Abir-Tx](https://www.github.com/abir-tx) |
| 161 | + |
| 162 | +# Contribute |
| 163 | + |
| 164 | +See [Contribution guidelines for this project](/docs/CONTRIBUTING.md) |
| 165 | + |
| 166 | +> Pull requests are always welcomed !! :-) |
0 commit comments