Giter Club home page Giter Club logo

compressor's Introduction

Compressor

A Powershell script written with a GUI to compress video files. This is done by using FFmpeg.

It is currently hard-coded to output a video file around a size of 8MB.

Getting Started

Prerequisites

Execution

Enable execution of PowerShell scripts (Replace CurrentUser with your username):

PS> Set-ExecutionPolicy Unrestricted -Scope CurrentUser

Usage

  1. Run compressForm.ps1 to open the GUI
.\compressForm.ps1

The following window should appear:

Main UI

  1. Drag any video files you wish to compress into the list box. Only the shown supported video extensions are currently supported. More video extensions will be added in future releases.

    Non-supported files will be rejected.

  2. Once all the target video files have been dragged in, press Compress all to begin compressing all of the listed video files. The compression process will be logged in the Powershell console the GUI is running from.

    The resulting compressed video file will be found in the same directory as the source file with an appended _compressed added to the name. The original video file is not modified.

Example:

Source file: C:\Videos\VideoClip.mp4
Result file: C:\Videos\VideoClip_compressed.mp4

Licenses

This project uses the following project:

Known Issues

Maximum Path Length Limitation

On Windows 10, Version 1607 and older, there is a MAX_PATH limitation of 260 characters.

The script currently does not take this into account. If the MAX_PATH limit is active, it is highly likely that the script will fail when dealing with paths that approach the character limit.

Output file's file size is greater than the specified threshold

For most videos, the output compressed file will be below the specified filesize threhold. However, there are some cases where this is not the case. I am still currently investigating a better formula to accurately calculate the required average bitrate.

compressor's People

Contributors

hoap123 avatar hp-97 avatar

Stargazers

 avatar

Watchers

 avatar

compressor's Issues

Add ability for user to specify filesize threshold

Compressor currently has a hard-coded filesize threshold of 8MB.

As a user, I want to be able to specify my own file size threshold so that I can create a video file that fits my file size requirements.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.