DelPyth / QuickTrimmer

A trimming tool designed to automate the task of using FFMPEG to clip your videos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrimmerTool

A simplistic clip trimmer designed for automating the annoying task. Better than Pickleknotts' version, guaranteed.

Notes

This program is WINDOWS ONLY. This program requires FFMPEG to be installed and in the PATH environment.

Command line

Usage

program [input_video] [output_video] [-time=X-Y]
If no parameters are given, the values will be considered empty.

Parameter Description
input_video Optional. The video path of the file to clip. If not provided, it will ask.
output_video Optional. The video path of the file to save to. If not provided, it will ask.
-time=X-Y Optional. The time to clip to (X) and from (Y). If Y is not provided, it will assume the end of the clip.

Examples

# Clip the video to the times between 5 and 10. A 5 second clip.
program "C:\My Clips\My Video.mp4" "%dir%\%file_name% - Trimmed.%ext%" -time5-10

# Clip the video only 15 seconds in. Meaning the first 15 seconds of the clip are removed.
program "C:\My Clips\My Video.mp4" "%dir%\%file_name% - Trimmed.%ext%" -time15

Custom Variables

For output file variables:

Variable Replaceable? Description Example Value
file_name false The name of the file. My Video.mp4
dir false The directory of the file. C:\My Clips
ext false The extension of the file. mp4
name_no_ext false The name of the file without the extension. My Video
drive false The drive the file is in. C:
date false The current date (yyyy-MM-dd). 2022-12-31
time false The current time (HH-mm-ss). 14-59-59
date_time false The current date and time (yyyy-MM-dd HH-mm-ss). 2022-12-31 14-59-59
now false The current date and time without the fanciness (YYYYMMDDHH24MISS). 20221231145959
now_utc false The current Coordinated Universal Time (YYYYMMDDHH24MISS). 20221231145959
rand false A random number between 0 and 100. 34
username true The username set on this computer. George
documents true The current user's documents folder. C:\Users\%username%\Documents
appdata true The current user's appdata folder. C:\Users\%username%\Appdata\Roaming
desktop true The current user's desktop folder. C:\Users\%username%\Desktop

Custom variables can be put in the Custom Variables text file. For example:

# Steam path.
steam_path = D:\Steam

# Clips folder.
clips = C:\Users\%username%\Videos\Captures

# TF2 and CSGO path.
tf_path = %steam_path%\steamapps\common\Team Fortress 2
csgo_path = %steam_path%\steamapps\common\Counter Strike Global Offensive

# The username I wanna use.
username = JoeSmith

About

A trimming tool designed to automate the task of using FFMPEG to clip your videos.


Languages

Language:AutoHotkey 95.7%Language:Makefile 4.3%