probe

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package probe provide a probe for checking video containers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsVideoOrAudio

func ContainsVideoOrAudio(input string) (bool, error)

ContainsVideoOrAudio checks if the input contains video or audio.

func Do

func Do(inputs []string, opts ...Option) error

Do probe multiple video streams.

func IsMPEGTSOrAAC added in v1.7.0

func IsMPEGTSOrAAC(input string) (bool, error)

IsMPEGTSOrAAC checks if the input is MPEG-TS or AAC container.

Types

type Option

type Option func(*Options)

Option is a function that configures the probe.

func WithQuiet

func WithQuiet() Option

WithQuiet sets the quiet option.

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options is a probe options.

Jump to

Keyboard shortcuts

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