viamrtsp

package module
v0.0.0-...-f7af352 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 26 Imported by: 0

README

Prep linux

  • sudo apt install libswscale-dev libavcodec-dev libavformat-dev libavutil-dev

Notes

Sample Config

{
      "rtsp_address": "rtsp://foo:bar@192.168.10.10:554/stream"
}

Documentation

Index

Constants

View Source
const (
	Unknown videoCodec = iota
	H264
	H265
)

Variables

View Source
var ModelH264 = family.WithModel("rtsp-h264")

Functions

This section is empty.

Types

type Config

type Config struct {
	Address          string                             `json:"rtsp_address"`
	IntrinsicParams  *transform.PinholeCameraIntrinsics `json:"intrinsic_parameters,omitempty"`
	DistortionParams *transform.BrownConrady            `json:"distortion_parameters,omitempty"`
}

Config are the config attributes for an RTSP camera model.

func (*Config) Validate

func (conf *Config) Validate(path string) ([]string, error)

Validate checks to see if the attributes of the model are valid.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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