/wast-go

Golang port of whatsapp-status-trimmer (Node.js)

Primary LanguageGo

WhatsApp Status Trimmer (WAST) - Go

Simple Go Program to trim/split a video into 30s videos for WhatsApp Status. This project is golang port of whatsapp-status-trimmer

Built With

Prerequisites

Installation

git clone https://github.com/tfkhdyt/wast-go.git
cd wast-go
go install .

Build

cd wast-go
go build .

Usage

wast-go <start timestamp> <end timestamp> <input file>
wast-go <options>

Example

wast-go 00:00:23 00:01:40 weightless.mp4

The output would be 3 videos:

  1. 00:00:23 - 00:00:53
  2. 00:00:53 - 00:01:23
  3. 00:01:23 - 00:01:40

Options

-h, --help      Show help menu
-v, --version   Show app version

Differences from the Node.js version

  • Rewritten in Go
  • Process is running asynchronously (thanks to goroutine)
  • Fix file/folder name with space(s) issue
  • Less bloated (bye bye node_modules)

Contact