defs

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package defs defines a subset of attributes and codes used by makemkv to describe discs, titles, and streams.

It is based on apdefs.h obtained from the makemkv for Linux source tarball. That file is in the public domain and no copyright is claimed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attr

type Attr int
const (
	Unknown Attr = iota
	Type
	Name
	LangCode
	LangName
	CodecID // 5
	CodecShort
	CodecLong
	ChapterCount
	Duration
	DiskSize // 10
	DiscSizeBytes
	StreamTypeExtension
	Bitrate
	AudioChannelsCount
	AngleInfo // 15
	SourceFileName
	AudioSampleRate
	AudioSampleSize
	VideoSize
	VideoAspectRatio // 20
	VideoFrameRate
	StreamFlags
	DateTime
	OriginalTitleID
	SegmentsCount // 25
	SegmentsMap
	OutputFileName
	MetadataLanguageCode
	MetadataLanguageName
	TreeInfo // 30
	PanelTitle
	VolumeName
	OrderWeight
	OutputFormat
	OutputFormatDescription // 35
	SeamlessInfo
	PanelText
	MkvFlags
	MkvFlagsText
	AudioChannelLayoutName // 40
	OutputCodecShort
	OutputConversionType
	OutputAudioSampleRate
	OutputAudioSampleSize
	OutputAudioChannelsCount // 45
	OutputAudioChannelLayoutName
	OutputAudioChannelLayout
	OutputAudioMixDescription
	Comment
	OffsetSequenceID // 50
)

func (Attr) String

func (i Attr) String() string

type TypeCode

type TypeCode int
const (
	TypeCodeTitle TypeCode = iota + 6200
	TypeCodeVideo
	TypeCodeAudio
	TypeCodeSubtitles
)

func (TypeCode) String

func (i TypeCode) String() string

Jump to

Keyboard shortcuts

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