ComfyComp
Overview
A suite of powershell scripts relying on FFmpeg to achieve different tasks. Intended for Windows
Getting Started
-
Download the latest release from here
-
Unzip to any location
-
Run (double click) "01help-fix.cmd"
-
Try running any of the scripts by right clicking it > run with powershell
a. In order to test most of them, you need to place some files in the
01 Inputfolder
BONUS: Cutesy PS one-liner:
iwr https://github.com/flaeri/ComfyComp/archive/refs/heads/experimental.zip -OutFile "cc.zip"; expand-archive -path "cc.zip"; explorer "cc\ComfyComp-experimental"
You'll be prompted for a location where you would like the media files to be stored, so that they can be seperate from where the scripts are. This is only for the first run, and will be stored.
If you choose to move them later, you can delete the "config.json" file, and you'll get prompted again for the location.
If you dont have FFmpeg in your PATH, you'll be offered to download it to a predetermined location (C:\ffmpeg). Its a cut down version of Gyan's release build
Settings
If you edit any of the scripts, you'll often find some settings towards the top.
There you can change some behaviors, like if files in the output folder should get overwritten, more verbose log output etc
Script overview
ComfyComp
Will compress video files with reasonably high quality, and maximize compression, in a quick manner using nvenc. It will attempt take any files in the input folder, and output HEVC compressed files (using VBR-CQ), possibly with b-frames if supported. It also logs certain information, and gives you time to completion.
This will only work for people with nvidia cards that support HEVC. That means minimum 3rd gen (Maxwell GM20x, somewhat limited). 4th gen (pascal) would be preferred.
audioSplitter
Takes all the files in the input folder, and separates out a single file per audio track. Sometimes useful for video editors without multi track audio support.'
StingerStacker
Will attempt to horizontally stack two files, with alpha channel intact. Useful for track matte stingers in OBS Studio
ComfyComp-vp9
Tries to encode files with alpha into vp9 coded webm files. Useful for existing vp9 encodes that are wonky, or if you want to convert your files to vp9 webm with alpha channel.
ComfyConc
concatenates (merge/stitch) all the files in the input folder into a single output file. It will not re-encode, just smash them together. All the input files must be identical in terms of format, codec, container etc, or it will fail.
Useful for software that outputs video in segments, and you would like a single file.
FAQ / Support
Unable to run the powershell scripts
Answer: Please run the "01help-fix.cmd" file. This will allow the bare minimum of powershell scripts to run, and unblock any scripts in the folder.
