video

package
v0.0.0-...-ee87da6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

package video contains all the video editing commands that interface with ffmpeg

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVideoClipInInterval

func AddVideoClipInInterval(mainVideo, clipVideo string, start, end time.Duration) *exec.Cmd

func CreateProxyFileCMD

func CreateProxyFileCMD(path, pathProxyFile string) *exec.Cmd

CreateProxyFile: creates a copy file from the original to preserve original and work with the given video clip

func CutVideoInterval

func CutVideoInterval(file string, start, end time.Duration) *exec.Cmd

CutVideoInterval: given a file it returns the video with the interval (start,end) removed

func GenerateEditThumb

func GenerateEditThumb(inputFilePath string, outputFilePath string, opts ThumbnailOpts) *exec.Cmd

GenerateEditThumbnail: generate a thumbnail from a video

Types

type ThumbnailOpts

type ThumbnailOpts struct {
	StartTime string
	Scale     string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL