cmd

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCommands added in v1.9.2

type ClientCommands struct {
	MetadataCommands
}

type MetadataCmd

type MetadataCmd struct {
	Path string `arg:"" name:"path" type:"existingfile" help:"Path to the media file to extract metadata from."`
}

func (*MetadataCmd) Run

func (cmd *MetadataCmd) Run(ctx server.Cmd) error

type MetadataCommands added in v1.9.2

type MetadataCommands struct {
	ProbeMedia  ProbeMediaCmd  `cmd:"" name:"probe-media" help:"Probe a media file and return its container format, streams, and metadata." group:"METADATA"`
	ProbeSource ProbeSourceCmd `` /* 128-byte string literal not displayed */
	Metadata    MetadataCmd    `cmd:"" name:"metadata" help:"Extract container-level metadata from a media file." group:"METADATA"`
}

type ProbeMediaCmd added in v1.9.2

type ProbeMediaCmd struct {
	Path   string   `arg:"" name:"path" type:"existingfile" help:"Path to the media file to probe."`
	Format string   `name:"format" help:"Input format name (e.g. mpegts)."`
	Opts   []string `name:"opts" help:"Input format options."`
}

func (*ProbeMediaCmd) Run added in v1.9.2

func (cmd *ProbeMediaCmd) Run(ctx server.Cmd) error

type ProbeSourceCmd added in v1.9.2

type ProbeSourceCmd struct {
	Url    string   `arg:"" name:"url" help:"URL to probe, e.g. \"https://example.com/sample.mp3\" or \"device://avfoundation/0:0\"."`
	Format string   `name:"format" help:"Input format name (e.g. mpegts)."`
	Opts   []string `name:"opts" help:"Input format options."`
}

func (*ProbeSourceCmd) Run added in v1.9.2

func (cmd *ProbeSourceCmd) Run(ctx server.Cmd) error

Jump to

Keyboard shortcuts

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