Skip to content

Compress MP4 or AVI (or any) video by drag&drop on the script through FFMPEG. Currently only for Microsoft Windows.

License

Notifications You must be signed in to change notification settings

Zeratoxx/Drag-n-Compress

Repository files navigation

Drag'n'Compress

Author: Nils Badtke

Description

Compress videos with FFmpeg made easy with drag'n'drop.

drag&drop demo


before


after

System requirements

OS:              Microsoft Windows 7 or above (due to the use of Powershell)
Hardware:  Runs on almost anything. In general, the better the hardware, the faster the compression process.

Installation

  1. Download a release package.

    A release package is self-contained. That means FFmpeg is included in a release package. There are no requirements to be met.
    Currently used version of FFmpeg: Codex FFmpeg v5.1.2-full_build

  2. Unzip the downloaded package to a location of your choice.
  3. Run install.ps1 by right-clicking install.ps1 and select "Execute with PowerShell...".

Usage

After running the installation script, you can simply drag'n'drop (drag and drop) the video file(s) onto dragAndDropVideoFileHere.ps1.
You can also create one or more shortcuts to dragAndDropVideoFileHere.ps1 anywhere and drag'n'drop the video file(s) onto the shortcut(s).

Advanced usage

It is possible for video files to contain multiple audio tracks. This is often used in screen recording to separate individual sound sources, for example microphone and game.

The script in v1.0.0 merges all audio track into one.

It is possible to spare the first and/or the last track.

To do that, go into the file dragAndDropVideoFileHere.ps1 and alter the values in the lines 25 and or 26:

[bool] $omitFirstAudioTrack = 0
[bool] $omitLastAudioTrack = 1

0 means deactivate 1 means activate

About

Compress MP4 or AVI (or any) video by drag&drop on the script through FFMPEG. Currently only for Microsoft Windows.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published