Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flareflo/ffmpeg-based-video-compressor
A script based on FFMPEG running through WSL, which compresses nearly any video codec to specific filesize.
https://github.com/flareflo/ffmpeg-based-video-compressor
ffmpeg video-processing wsl
Last synced: about 1 month ago
JSON representation
A script based on FFMPEG running through WSL, which compresses nearly any video codec to specific filesize.
- Host: GitHub
- URL: https://github.com/flareflo/ffmpeg-based-video-compressor
- Owner: FlareFlo
- Created: 2021-03-16T19:20:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-26T12:12:27.000Z (almost 4 years ago)
- Last Synced: 2024-11-08T18:43:16.762Z (3 months ago)
- Topics: ffmpeg, video-processing, wsl
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FFMPEG-Based-Video-Compressor
A script based on FFMPEG running through WSL, which compresses videos for targeted filesize
Requirements;
WSL with:
`sudo apt install ffmpeg`
`sudo apt install jq`
Usage;
Drag and drop video file (all FFMPEG supported ones) onto the corresponding batch file and wait for FFMPEG conversion to happen.Configuring the values in the config;
"size" This value sets the maximum file-size the output video may have, such as 8M representing 8 Megabytes.
"quality" The general quality the video will retain, 0 being practically lossless, 17 visually lossless and anything higher slowly worsening.
"audiobitrate" Defines the bitrate the audio runs at
"vertical/horizontalresolution" Self explanatory, defaults to 720p 16:9
"preset" At what speed the program will compress the video, has a considerable impact on compression efficiency