command

Classes

ManipulationCommand

Command-line interface for manipulating videos.

ProcessCommand

Command-line interface for processing videos.

class ManipulationCommand[source]

Bases: Command

Command-line interface for manipulating videos.

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns:

class ProcessCommand[source]

Bases: Command

Command-line interface for processing videos. The trimming, cropping and resizing can be performed all at once, and in that order.

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns: