Documentation
¶
Overview ¶
Package dvd implements DVD-Video navigation: IFO parsing, the command virtual machine, the navigator state machine, NAV-pack (PCI/DSI) parsing and sub-picture (SPU) decoding for menu highlights.
It is written from the public DVD-Video structure (the same layout documented by libdvdread/libdvdnav) and never requires a mounted disc: the caller provides IFO bytes and sector-range readers.
Index ¶
- Constants
- Variables
- func PackScrambled(pack []byte) bool
- func UI() *sdui.Module
- func YCrCbToRGB(y, cr, cb int) (r, g, b uint8)
- type AudioAttr
- type Button
- type ButtonCommand
- type ButtonGroup
- type Candidate
- type Cell
- type CellAddr
- type CellSubs
- type ColConColumn
- type ColConLines
- type Command
- type DSI
- type Decision
- type Disc
- func (d *Disc) Analyze(opt RankOptions) *Ranking
- func (d *Disc) CrossCheck() []Repair
- func (d *Disc) Episodes() []Episode
- func (d *Disc) Explain() string
- func (d *Disc) MainTitle() *TitleSummary
- func (d *Disc) ParentalMask(country uint16, level, vts int) uint16
- func (d *Disc) RankTitles() []Candidate
- func (d *Disc) Region() int
- func (d *Disc) Title(number int) *TitleSummary
- func (d *Disc) TitleAngle(number, angle int) *TitleSummary
- func (d *Disc) Titles() []TitleSummary
- type Domain
- type Episode
- type Evidence
- type FileExtent
- type Flag
- type IFOReport
- type Instr
- type Jump
- type JumpOp
- type LangUnit
- type Link
- type LinkOp
- type Look
- type MenuButton
- type MenuPicture
- type MenuScanOptions
- type Nav
- func (n *Nav) CellEnded() *Step
- func (n *Nav) Clone() *Nav
- func (n *Nav) Current() *Step
- func (n *Nav) GoUp() *Step
- func (n *Nav) MenuKey(kind string) *Step
- func (n *Nav) NavTimerFired() *Step
- func (n *Nav) NextChapter() *Step
- func (n *Nav) OpenMenu(kind string, vts int) *Step
- func (n *Nav) PlayTitle(ttn, pttn int) *Step
- func (n *Nav) PressButton(btn int, cmd *Command) *Step
- func (n *Nav) PrevChapter() *Step
- func (n *Nav) Registers() *Registers
- func (n *Nav) Resume() *Step
- func (n *Nav) SelectButton(btn int) *Step
- func (n *Nav) SetAngle(a int)
- func (n *Nav) SetAudio(stream int)
- func (n *Nav) SetSubpicture(stream int, on bool)
- func (n *Nav) Start() *Step
- func (n *Nav) StepPGC(st *Step) *PGC
- func (n *Nav) SyncTitleCell(pgcn, cellN int) bool
- func (n *Nav) Tick(seconds float64) *Step
- type NavOptions
- type NavPack
- type Opened
- func (o *Opened) Analyze() *Ranking
- func (o *Opened) CellExtents(sp Space, c Cell) ([]FileExtent, error)
- func (o *Opened) CellRanges(sp Space, c Cell) ([]SectorRange, error)
- func (o *Opened) CellSubpictures(sp Space, cell Cell) (*CellSubs, error)
- func (o *Opened) Close() error
- func (o *Opened) Extents(sp Space) ([]FileExtent, error)
- func (o *Opened) Menu(sp Space, first, last uint32, opt MenuScanOptions) (*MenuPicture, error)
- func (o *Opened) RangeExtents(sp Space, first, last uint32) ([]FileExtent, error)
- func (o *Opened) RankOptions() RankOptions
- func (o *Opened) ReadStats() ReadStats
- func (o *Opened) Reader(sp Space) (SectorReader, error)
- func (o *Opened) TitleRuns(sp Space, cells []TitleCell) ([]TitleRun, error)
- type PCI
- type PGC
- type PGCEntry
- type PTT
- type PackScanner
- type ParentalCountry
- type Playlist
- type PlaylistSegment
- type RGBA
- type RankOptions
- type Ranking
- type ReadStats
- type RegisterOptions
- type Registers
- type Repair
- type Result
- type ResultKind
- type RunOptions
- type SPU
- type SPUUnit
- type SectorRange
- type SectorReader
- type Source
- type Space
- type Step
- type StepKind
- type StreamScan
- type SubpAttr
- type SubpControl
- type TableReport
- type TitleCell
- type TitleInfo
- type TitleRun
- type TitleSearch
- type TitleSummary
- type VMG
- type VTS
- type Version
- type VideoAttr
- type Weights
Constants ¶
const ( ClassMain = "main" ClassPlayAll = "playAll" ClassEpisode = "episode" ClassDecoy = "decoy" ClassDuplicate = "duplicate" ClassAlternate = "alternate" ClassPart = "part" ClassIntro = "intro" ClassStub = "stub" ClassTrailer = "trailer" ClassFeaturette = "featurette" ClassExtra = "extra" )
Title classes.
const ( SourceFeature = ModuleID + ".feature" SourceScenes = ModuleID + ".scenes" SourceEpisodes = ModuleID + ".episodes" SourceVersions = ModuleID + ".versions" SourceBonus = ModuleID + ".bonus" SourceMenus = ModuleID + ".menus" SourceWhy = ModuleID + ".why" SourceCopy = ModuleID + ".copy" SourceRefusal = ModuleID + ".refusal" )
The sources of a DVD's sections on its page. Each takes the page's title ($item) and answers only for a DVD: on any other title its sections are left out. WittyDVD's service answers them (package api; the commands are package commands, with no networking, for the player), asking the server's host API for what only the server keeps: the disc's ranking from this module's helper, checked there, and an administrator's choice of film. The names given to its titles are WittyDVD's own.
const ( SprmMenuLang = 0 SprmAudio = 1 SprmSubp = 2 SprmAngle = 3 SprmTTN = 4 SprmVTSTTN = 5 SprmTTPGCN = 6 SprmPTTN = 7 SprmHLBTNN = 8 SprmAudioMix = 11 SprmCountry = 12 SprmParental = 13 SprmVideoMode = 14 SprmAudioCap = 15 SprmAudioLang = 16 SprmAudioExt = 17 SprmSubpLang = 18 SprmSubpExt = 19 SprmRegion = 20 )
SPRM indexes.
const MaxIFOBytes = 16 << 20
MaxIFOBytes bounds how much of an IFO we read.
const ModuleID = "wittydvd"
ModuleID is this module's ID, the same as module.json's.
const Sector = 2048
const VideoStreamID = 0x1e0
VideoStreamID is the MPEG-PS stream id of a DVD's video, as ffmpeg reports it.
Variables ¶
var DefaultWeights = Weights{
DistinctPerMinute: 1,
OutOfRangeAny: -10,
OutOfRangeShare: -20,
Repeats: -30,
BackJumpAny: -5,
BackJumpShare: -35,
Shuffled: -25,
Duplicate: -0.5,
CellSpam: -30,
AbsurdCell: -20,
Loop: -15,
BadChapters: -10,
RegularChapters: 3,
AudioMatch: 2,
SubpMatch: 1,
LargestVTS: 5,
FirstPlay: 15,
MenuReference: 4,
MenuPlay: 25,
UnlistedAny: -8,
UnlistedShare: -25,
OffVOBUShare: -10,
HollowShare: -20,
Overlap: -15,
Unreachable: -25,
FirstMenuJump: 6,
TimeMismatch: -3,
NoVideo: -60,
FirstPlayPerMinute: 0.25,
MenuPlayPerMinute: 0.35,
Scrambled: -25,
NoAudio: -20,
}
DefaultWeights are the weights MainTitle uses.
var ErrBadIFO = errors.New("dvd: malformed IFO")
var ErrSPU = errors.New("dvd: malformed sub-picture")
var ManifestJSON []byte
ManifestJSON is this module's manifest (docs/MODULES.md, "The manifest").
var MenuTypes = map[string]int{"title": 2, "root": 3, "subpicture": 4, "audio": 5, "angle": 6, "chapter": 7}
MenuTypes maps menu names to the entry PGC menu type codes.
Functions ¶
func PackScrambled ¶
PackScrambled reports CSS scrambling on the first PES of a pack.
func UI ¶ added in v0.4.0
UI is WittyDVD's part of every app (module API 5, WittyMediaServer docs/SDUI-MODULES.md), written to sdui.json beside module.json: a DVD's sections on its page, in every look (Design 2's "discpage", "whytitle" and "discrefuse" boards), the TV apps' among them, and the commands its rows run (choosing the film, ranking again), each one of its own routes. The player, with the disc's own menus and the remote, is WittyDisc's in a browser and each app's own screen elsewhere.
func YCrCbToRGB ¶
YCrCbToRGB converts a DVD palette entry (ITU-R BT.601 limited range).
Types ¶
type AudioAttr ¶
type AudioAttr struct {
Codec string `json:"codec"`
Language string `json:"language,omitempty"`
Channels int `json:"channels"`
Extension int `json:"extension"`
AppMode int `json:"appMode"`
}
AudioAttr describes an audio stream.
func (AudioAttr) Karaoke ¶ added in v0.3.0
Karaoke says the stream is a karaoke mix: backing on the front channels, the guide melody and vocals on the others.
type Button ¶
type Button struct {
N int `json:"n"`
Group int `json:"group"`
X0, Y0 int `json:"-"`
X1, Y1 int `json:"-"`
Up, Down int `json:"-"`
Left, Right int `json:"-"`
Auto bool `json:"auto"`
Cmd Command `json:"-"`
ColorScheme int `json:"-"`
Select Look `json:"-"`
Action Look `json:"-"`
}
Button is one highlight button from a PCI.
type ButtonCommand ¶ added in v0.4.0
type ButtonCommand struct {
Domain Domain `json:"domain"` // DomainVMGM or DomainVTSM
VTS int `json:"vts"` // 0 for the VMGM
Unit int `json:"unit"` // language unit, 0-based
PGCN int `json:"pgcn"`
Cmd Command `json:"cmd"`
}
ButtonCommand is the command of one menu button, with the program chain whose cell shows it.
type ButtonGroup ¶
type ButtonGroup struct {
N int `json:"n"`
Type int `json:"type"`
Mode string `json:"mode"` // normal | letterbox | panscan
}
ButtonGroup describes one of up to three button groups (per display mode).
type Candidate ¶ added in v0.4.0
type Candidate struct {
TitleNum int `json:"title"`
VTS int `json:"vts"`
VTSTitle int `json:"vtsTitle"`
PGC int `json:"pgc"` // the title's first PGC
Duration float64 `json:"durationSec"`
Distinct float64 `json:"distinctSec"` // each readable cell counted once
Chapters int `json:"chapters"`
Cells int `json:"cells"`
Score float64 `json:"score"`
Class string `json:"class"`
Flags Flag `json:"flags"`
Reasons []string `json:"reasons"`
// Evidence is Reasons in a form a program can read: one entry per
// signal, with its points.
Evidence []Evidence `json:"evidence,omitempty"`
// Path says how the title's cells were found: "chapters" (its chapter
// table and next-PGC links) or "commands" (a dry run of its own
// commands, where that shows more of the film).
Path string `json:"path,omitempty"`
// ChapterSource says where the chapter times come from (see
// TitleSummary.ChapterSource).
ChapterSource string `json:"chapterSource,omitempty"`
// Angles is how many camera angles the title has.
Angles int `json:"angles,omitempty"`
// Continues is the title the disc goes on to by itself when this one
// ends, and PartOf the title a feature in several parts starts at.
Continues int `json:"continues,omitempty"`
PartOf int `json:"partOf,omitempty"`
// contains filtered or unexported fields
}
Candidate is one title as the engine scored it.
func (Candidate) Summary ¶ added in v0.4.0
func (c Candidate) Summary() *TitleSummary
Summary is the flattened title the candidate was scored from.
type Cell ¶
type Cell struct {
BlockMode int `json:"blockMode"` // 0 normal, 1 first of angle block, 2 middle, 3 last
BlockType int `json:"blockType"` // 1 = angle block
Seamless bool `json:"seamless"`
Interleaved bool `json:"interleaved"`
STCDiscontinuity bool `json:"stcDiscontinuity"`
SeamlessAngle bool `json:"seamlessAngle"`
Restricted bool `json:"restricted"`
StillTime int `json:"stillTime"` // seconds, 0xff = infinite
Command int `json:"command"` // 1-based index into PGC cell commands, 0 none
Duration float64 `json:"durationSec"`
FirstSector uint32 `json:"firstSector"`
FirstILVUEnd uint32 `json:"firstIlvuEndSector"`
LastVOBUStart uint32 `json:"lastVobuStartSector"`
LastSector uint32 `json:"lastSector"`
VOBID int `json:"vobId"`
CellID int `json:"cellId"`
}
Cell is one cell of a PGC (cell playback info + position).
type CellAddr ¶ added in v0.4.0
type CellAddr struct {
VOBID int `json:"vobId"`
CellID int `json:"cellId"`
First uint32 `json:"firstSector"`
Last uint32 `json:"lastSector"`
}
CellAddr is one row of a cell address table: a piece of a cell and the sectors it occupies in its VOB. An interleaved cell has several rows.
type CellSubs ¶
type CellSubs struct {
// BasePTM is the presentation time of the cell's first VOBU; unit PTS
// minus BasePTM is the offset into the cell.
BasePTM uint32
Units []SPUUnit
}
CellSubs are the sub-picture units of one cell, all streams.
type ColConColumn ¶ added in v0.3.0
ColConColumn is one pixel-control entry of a CHG_COLCON line range.
type ColConLines ¶ added in v0.3.0
type ColConLines struct {
FirstLine, LastLine int
Columns []ColConColumn
}
ColConLines is one CHG_COLCON line range: from each column rightwards (to the next one) pixels take that entry's colours and contrasts.
type DSI ¶
type DSI struct {
SCR uint32
LBN uint32
VOBUEnd uint32 // relative end address: VOBU spans LBN..LBN+VOBUEnd
// FirstRefEnd is the relative end of the VOBU's first reference
// picture; 0 when the VOBU carries no video at all (audio-only VOBUs
// after a cell's picture has ended).
FirstRefEnd uint32
VOBID int
CellID int
// NoVideoAhead is set when the VOBU search information says no later
// VOBU of the cell carries video (sri_nvwv = 0xbfffffff).
NoVideoAhead bool
}
DSI is the parsed data search information of a NAV pack.
type Decision ¶ added in v0.4.0
type Decision struct {
// Kind is what was decided: main (which title is the feature), feature
// (what the feature is made of, when it isn't simply one title's
// chapters), episodes, decoys or chapters (where the main title's
// chapter times come from).
Kind string `json:"kind"`
Titles []int `json:"titles,omitempty"`
Confidence float64 `json:"confidence"` // 0 to 1
Level string `json:"level"` // high, medium or low
Summary string `json:"summary"`
// Because and Against are the evidence for and against, strongest first.
Because []Evidence `json:"because,omitempty"`
Against []Evidence `json:"against,omitempty"`
// RunnerUp is the best title that is something else than the pick, and
// Margin how far behind it is, in points (kind main).
RunnerUp int `json:"runnerUp,omitempty"`
Margin float64 `json:"margin,omitempty"`
}
Decision is one thing the engine decided, how sure it is, and why.
type Disc ¶
type Disc struct {
VMG *VMG
VTS map[int]*VTS
// IFOReports says, per index file, whether the IFO or its .BUP backup
// was used and why (filled by Open; empty for discs built by hand).
IFOReports []IFOReport
// Repairs lists where the disc's tables disagreed with each other, and
// what was mended from which table (filled by Open; see CrossCheck).
Repairs []Repair
}
Disc bundles the parsed IFOs of one DVD.
func (*Disc) Analyze ¶ added in v0.4.0
func (d *Disc) Analyze(opt RankOptions) *Ranking
Analyze scores and classifies every title.
func (*Disc) CrossCheck ¶ added in v0.4.0
CrossCheck compares the tables of the disc with each other, mends what one table can mend in another, and returns what it found. Open has already called it (see Disc.Repairs); calling it again finds nothing left to mend.
func (*Disc) Episodes ¶ added in v0.4.0
Episodes lists the episodes of a TV disc in viewing order; nil when the disc doesn't look like one.
func (*Disc) Explain ¶ added in v0.4.0
Explain words the ranking for people: the pick, why, and warnings.
func (*Disc) MainTitle ¶
func (d *Disc) MainTitle() *TitleSummary
MainTitle guesses the feature with the title scoring engine (see Analyze): the title with the most distinct, readable video, marked down for the signs of decoys (cells replayed many times over or in scrambled order, cells outside the title VOB, zero-length cell spam, looping PGC chains) and up for what the disc's own first play reaches. It reads the IFOs only.
func (*Disc) ParentalMask ¶ added in v0.3.0
ParentalMask is the parental ID mask PTL_MAIT gives title set vts for a country (SPRM12) and parental level (SPRM13). Without parental control (level 15) the player acts at level 8, which permits everything; a country the table does not list uses the first entry. 0 means the disc has no table.
func (*Disc) RankTitles ¶ added in v0.4.0
RankTitles scores every title, best first, from the IFOs alone.
func (*Disc) Region ¶
Region returns the lowest region number the disc allows (1-8), or 1 if all-region.
func (*Disc) Title ¶
func (d *Disc) Title(number int) *TitleSummary
Title flattens one title by number.
func (*Disc) TitleAngle ¶
func (d *Disc) TitleAngle(number, angle int) *TitleSummary
TitleAngle flattens a title for one camera angle (1-based); cells inside angle blocks are replaced by that angle's cell.
func (*Disc) Titles ¶
func (d *Disc) Titles() []TitleSummary
Titles flattens every title (following PGC chains in program order).
type Episode ¶ added in v0.4.0
type Episode struct {
Index int `json:"index"` // 1-based viewing order
Title int `json:"title"`
VTS int `json:"vts"`
PGC int `json:"pgc"`
Duration float64 `json:"durationSec"`
// StartSec and FirstChapter say where the episode begins inside Title.
// They are 0 and 1 for a title that is one episode; a play-all title
// that is the only way to the episodes is split, and they say where.
StartSec float64 `json:"startSec"`
FirstChapter int `json:"firstChapter"`
// Source says how the episode was found: "titles" (a title of its own),
// "pgcs" (one program chain of a play-all title) or "vobs" (one VOB of a
// play-all title).
Source string `json:"source"`
}
Episode is one episode of a TV disc, in viewing order.
type Evidence ¶ added in v0.4.0
type Evidence struct {
Signal string `json:"signal"`
Points float64 `json:"points"`
Detail string `json:"detail"`
}
Evidence is one thing the engine weighed for a title: which signal, how many points it was worth (in minutes of video; 0 for a remark) and, in words, what was seen. Signal names are stable, for a server to key on.
type FileExtent ¶
type FileExtent struct {
File string `json:"file"`
Offset int64 `json:"offset"`
Length int64 `json:"length"`
}
FileExtent is a byte range in a named file.
type Flag ¶ added in v0.4.0
type Flag uint32
Flag marks what the engine found out about a title.
const ( FlagMain Flag = 1 << iota // the engine's pick FlagDecoy // structure-protection decoy or junk FlagMenuTarget // a menu or first-play command jumps here FlagMenuPlay // the first menu's default ("Play") button plays this FlagFirstPlay // first play reaches this long title by itself FlagIntro // a short title first play passes on its way FlagEpisode // one episode of a TV disc FlagPlayAll // plays the episodes one after another FlagDuplicate // the same cells in the same order as a lower-numbered title FlagShuffled // another title's cells in a scrambled order FlagOutOfRange // cells outside the title VOB FlagRepeats // replays the same cells many times FlagCellSpam // many zero or sub-second cells FlagLoop // its PGC chain links back on itself FlagAbsurd // impossible cell durations FlagBadChapters // chapter table names PGCs or programs that don't exist FlagFromBackup // its title set was read from the .BUP copy FlagAlternate // mostly the main title's video (another cut) FlagUnlisted // cells the cell address table doesn't hold FlagHollow // cells that claim far more time than their sectors can hold FlagOverlap // cells that lie over each other on the disc FlagUnreachable // no command or button on the disc leads to it FlagAssembled // its cells are put together by commands, not its chapter table FlagPart // one part of a feature that runs on through several titles FlagNoVideo // its title set has no video files FlagTruncated // lists more cells than were read )
func (Flag) MarshalJSON ¶ added in v0.4.0
MarshalJSON writes the flags as a list of names.
func (*Flag) UnmarshalJSON ¶ added in v0.4.0
UnmarshalJSON reads a list of flag names; unknown names are ignored.
type IFOReport ¶ added in v0.4.0
type IFOReport struct {
Name string `json:"name"` // VIDEO_TS or VTS_nn_0
VTS int `json:"vts"` // 0 for the VMG
Used string `json:"used"` // IFO or BUP
Mismatch bool `json:"mismatch,omitempty"`
Note string `json:"note,omitempty"`
// Tables says how each table read and which copy it was taken from: a
// table damaged in one copy is taken from the other.
Tables []TableReport `json:"tables,omitempty"`
}
IFOReport is what reading one IFO and its backup found.
type Jump ¶
type Jump struct {
Op JumpOp
TTN int
PTTN int
Domain Domain
Menu int // menu type for JumpSS/CallSS
VTS int
PGCN int
HasPGCN bool
RsmCell int
}
Jump is a decoded jump/call target.
type LangUnit ¶
type LangUnit struct {
Language string `json:"language"`
Exists int `json:"exists"`
PGCs []PGCEntry `json:"pgcs"`
}
LangUnit is a menu language unit.
type Link ¶
type Link struct {
Op LinkOp
N int // PGCN / PTTN / PGN / CN
Button int // button to highlight (0 = unchanged)
}
Link is a decoded link target.
type MenuButton ¶
type MenuButton struct {
N int `json:"n"`
X0 int `json:"x0"`
Y0 int `json:"y0"`
X1 int `json:"x1"`
Y1 int `json:"y1"`
Up int `json:"up"`
Down int `json:"down"`
Left int `json:"left"`
Right int `json:"right"`
Auto bool `json:"auto"`
Cmd Command `json:"-"`
CmdText string `json:"cmd"`
Select *RGBA `json:"-"`
Action *RGBA `json:"-"`
Inert bool `json:"inert,omitempty"` // no visible highlight and no command
}
MenuButton is a button in frame coordinates with its highlight artwork.
type MenuPicture ¶
type MenuPicture struct {
FrameW, FrameH int
Aspect float64 // 4/3 or 16/9
Buttons []MenuButton
DefaultButton int
Normal *RGBA // sub-picture as shown with nothing selected
ButtonsFromSec float64
// ButtonsUntilSec is when the buttons stop working, measured like
// ButtonsFromSec: the earlier of the highlight end (HLI_E_PTM) and the
// end of button selection (BTN_SL_E_PTM). 0 = until the cell ends.
ButtonsUntilSec float64
HasHighlights bool
Scrambled bool
NoButtons bool
// ForcedSelect is the button the disc highlights when the menu appears
// (FOSL_BTNN); it wins over SPRM8. 0 = none.
ForcedSelect int
// ForcedAction is the button the disc activates by itself when button
// selection ends (FOAC_BTNN) at ActionAtSec into the cell. 0 = none.
ForcedAction int
ActionAtSec float64
}
MenuPicture is everything a client needs to draw and operate a menu.
func ScanMenu ¶
func ScanMenu(rd SectorReader, first, last uint32, o MenuScanOptions) (*MenuPicture, error)
ScanMenu finds the highlight information for the cell [first,last] by hopping NAV pack to NAV pack, then reads the surrounding VOBUs for the sub-picture that carries the button artwork.
func (*MenuPicture) WithDefault ¶
func (p *MenuPicture) WithDefault(navButton int) *MenuPicture
WithDefault returns a copy whose DefaultButton follows the DVD rules: a forced selection first, then the navigator's SPRM8 highlight, then the first usable button.
type MenuScanOptions ¶
type MenuScanOptions struct {
Palette [16]uint32
Video VideoAttr
SubpControl *SubpControl // from the PGC, picks the SPU stream per display mode
Wide bool // viewer wants 16:9 presentation
MaxHops int
ReadAhead int // sectors to read once buttons are found
}
MenuScanOptions tune ScanMenu.
type Nav ¶
type Nav struct {
// contains filtered or unexported fields
}
Nav is a DVD navigator for one viewer.
func (*Nav) Clone ¶
Clone returns an independent navigator in the same state, for what-if exploration.
func (*Nav) GoUp ¶
GoUp is the remote's RETURN key: follow the PGC's go-up link, or resume the title when there is none.
func (*Nav) NavTimerFired ¶
NavTimerFired handles SPRM9 expiry: jump to the PGC named in SPRM10.
func (*Nav) NextChapter ¶
NextChapter / PrevChapter move within the current title.
func (*Nav) OpenMenu ¶
OpenMenu starts the disc directly in one of its menus ("title" for the disc's title menu, or root/chapter/audio/subpicture/angle of title set vts). Discs that insist on running first-play before their menus fall back to a normal start.
func (*Nav) PressButton ¶
PressButton activates button n with its 8-byte command (from the PCI).
func (*Nav) PrevChapter ¶
func (*Nav) SelectButton ¶
SelectButton highlights button n without activating it.
func (*Nav) SetSubpicture ¶
func (*Nav) StepPGC ¶ added in v0.3.0
StepPGC returns the program chain a step plays, resolved the way the navigator does (menu language unit, first play).
func (*Nav) SyncTitleCell ¶
SyncTitleCell tells the navigator which cell of the current title the viewer has reached. Clients play a whole title as one stream, so without this the navigator would still think it is on the first cell when the viewer calls a menu (and Resume would restart from there).
type Opened ¶
type Opened struct {
Disc *Disc
Source Source
Label string
Format string
// contains filtered or unexported fields
}
Opened is a DVD ready for navigation and playback.
func (*Opened) Analyze ¶ added in v0.4.0
Analyze ranks the titles of an opened disc. On top of what the IFOs say (Disc.Analyze), it reads the real sizes of the VOB files and the menus' buttons from their NAV packs, which are never scrambled, and dry-runs the first menu's buttons in the disc's own VM. No video is decrypted: on a disc whose menus are scrambled the menu signals are simply missing.
The answer is worked out once and kept: an opened disc doesn't change.
func (*Opened) CellExtents ¶
func (o *Opened) CellExtents(sp Space, c Cell) ([]FileExtent, error)
CellExtents maps a cell (following interleaving) onto file byte extents.
func (*Opened) CellRanges ¶
func (o *Opened) CellRanges(sp Space, c Cell) ([]SectorRange, error)
CellRanges returns the sectors that belong to one cell. Ordinary cells are one contiguous range; interleaved cells are the VOBUs carrying their ids.
func (*Opened) CellSubpictures ¶
CellSubpictures reads a cell once and returns its sub-picture units (cached per disc). The read is sequential in 1 MiB chunks; the cost is a single pass over the cell's bytes.
func (*Opened) Extents ¶
func (o *Opened) Extents(sp Space) ([]FileExtent, error)
Extents returns the VOB address space extents (cached).
func (*Opened) Menu ¶
func (o *Opened) Menu(sp Space, first, last uint32, opt MenuScanOptions) (*MenuPicture, error)
Menu scans a cell for its highlight information, caching the result per disc so revisiting a menu (or moving the highlight) never touches the disk.
func (*Opened) RangeExtents ¶
func (o *Opened) RangeExtents(sp Space, first, last uint32) ([]FileExtent, error)
RangeExtents maps sectors [first,last] of a space onto file byte extents.
func (*Opened) RankOptions ¶ added in v0.4.0
func (o *Opened) RankOptions() RankOptions
RankOptions gathers what an opened disc can add to the ranking: the sizes of the VOB files, the commands of the menus' buttons, and what the first menu's buttons play.
func (*Opened) ReadStats ¶ added in v0.4.0
ReadStats says how many sectors have been unreadable so far.
func (*Opened) Reader ¶
func (o *Opened) Reader(sp Space) (SectorReader, error)
Reader returns a SectorReader over a space. Readers are shared and keep their file handles open until the disc is closed.
func (*Opened) TitleRuns ¶ added in v0.3.0
TitleRuns groups the cells of a title (see Disc.Title) into runs. Cells join a run when they follow each other on the disc in one VOB and their times carry on; interleaved cells (angles, seamless branching) and anything the disc marks as a new time base stand alone.
type PCI ¶
type PCI struct {
VOBUStartPTM uint32
VOBUEndPTM uint32
// SeqEndPTM is the end of the video when this VOBU ends a video
// sequence (sequence_end_code): a still picture the player holds.
SeqEndPTM uint32
HLStatus int // 0 none, 1 new, 2 same, 3 same but commands differ
HLStartPTM uint32
HLEndPTM uint32
SelectEndPTM uint32
Groups []ButtonGroup
ButtonCount int
FirstButton int
NumericButtons int
ForcedSelect int
ForcedAction int
Buttons []Button
Schemes [3]struct{ Select, Action Look }
}
PCI is the parsed presentation control information of a NAV pack.
type PGC ¶
type PGC struct {
Duration float64 `json:"durationSec"`
Programs []int `json:"programs"` // entry cell number (1-based) per program
Cells []Cell `json:"cells"`
AudioControl [8]int `json:"audioControl"` // stream number or -1
SubpControl [32]*SubpControl `json:"-"`
Palette [16]uint32 `json:"palette"` // 0x00YYCrCb
UOPs uint32 `json:"uops"`
NextPGCN int `json:"nextPgcn"`
PrevPGCN int `json:"prevPgcn"`
GoUpPGCN int `json:"goUpPgcn"`
StillTime int `json:"stillTime"`
PlaybackMode int `json:"playbackMode"`
Pre []Command `json:"-"`
Post []Command `json:"-"`
CellCmds []Command `json:"-"`
// contains filtered or unexported fields
}
PGC is a program chain.
func (*PGC) SetsHighlight ¶
SetsHighlight reports whether the PGC's pre-commands select a button (SetHL_BTNN) before its cells play, the mark of an interactive screen inside a title (voting, games). Links that merely carry a button number for the menu the title returns to (common at the end of features) don't count.
type PGCEntry ¶
type PGCEntry struct {
Entry bool `json:"entry"`
TitleNumber int `json:"titleNumber"` // VTS title number (title domain)
MenuType int `json:"menuType"` // menu domain: 2 title,3 root,4 subp,5 audio,6 angle,7 chapter
BlockMode int `json:"blockMode"` // parental block: 1 first, 2 middle, 3 last
BlockType int `json:"blockType"` // 1 = parental block (alternative versions of a scene)
// ParentalMask names the parental IDs this PGC is for; inside a parental
// block the player plays the PGC whose mask matches PTL_MAIT for its level.
ParentalMask int `json:"parentalMask"`
// Damaged says the chain could not be read at all: PGC is then an empty
// stand-in that keeps the row's number.
Damaged bool `json:"damaged,omitempty"`
PGC *PGC `json:"-"`
}
PGCEntry is a PGCIT row: a PGC plus its category.
type PackScanner ¶
type PackScanner struct {
Out *StreamScan
// Streams limits SPU collection to these sub-picture stream numbers
// (bit n = stream n); 0 collects every stream.
Streams uint32
NoNav bool
// contains filtered or unexported fields
}
PackScanner walks MPEG-PS packs incrementally and pulls out NAV packs and complete SPU units. Units may span calls to Feed, so a long cell can be read in chunks without holding it all in memory.
func NewPackScanner ¶
func NewPackScanner() *PackScanner
NewPackScanner returns a scanner with an empty result.
func (*PackScanner) Feed ¶
func (ps *PackScanner) Feed(buf []byte, firstSector uint32)
Feed scans whole sectors of buf; firstSector labels the results.
type ParentalCountry ¶ added in v0.3.0
ParentalCountry is one country's parental management masks: Masks[level-1] holds one parental ID mask for the VMG (index 0) and each title set.
type Playlist ¶ added in v0.4.0
type Playlist struct {
// Titles are the titles it runs through: one, unless the disc chains
// several into one film.
Titles []int `json:"titles"`
Duration float64 `json:"durationSec"`
// Source says how it was found: "chapters" (the title's chapter table),
// "commands" (a dry run of the title's commands) or "chain" (several
// titles the disc plays in a row).
Source string `json:"source"`
Segments []PlaylistSegment `json:"segments"`
}
Playlist is exactly what to play for a feature, in order.
type PlaylistSegment ¶ added in v0.4.0
type PlaylistSegment struct {
Title int `json:"title"`
VTS int `json:"vts"`
PGC int `json:"pgc"`
FirstCell int `json:"firstCell"`
LastCell int `json:"lastCell"`
StartSec float64 `json:"startSec"`
Duration float64 `json:"durationSec"`
FirstSector uint32 `json:"firstSector"`
LastSector uint32 `json:"lastSector"`
}
PlaylistSegment is a run of consecutive cells of one program chain.
type RGBA ¶
RGBA is a premultiplied-free 8-bit RGBA bitmap.
type RankOptions ¶ added in v0.4.0
type RankOptions struct {
// MenuPlay is the title the first menu's default button plays (0 unknown).
MenuPlay int
// MenuTargets are titles any button of the first menu plays.
MenuTargets []int
// FileSectors is the real size of each title set's title VOBs in
// sectors. By itself it only adds reasons (an incomplete copy), never
// changes a score, so MainTitle's pick doesn't depend on it.
FileSectors map[int]uint32
// FilesKnown says FileSectors is the whole truth about the VOB files: a
// title set missing from it has no video at all, and a cell that starts
// past the end of its files can't be played. Those then count against a
// title, as they should when a disc carries title sets that are only an
// index.
FilesKnown bool
// Buttons are the commands of the menus' buttons, read from the menu
// VOBs' NAV packs. ButtonsComplete says every menu cell was read, so a
// title no command and no button leads to really is unreachable.
Buttons []ButtonCommand
ButtonsComplete bool
Weights *Weights
}
RankOptions add what only an opened disc can tell.
type Ranking ¶ added in v0.4.0
type Ranking struct {
Candidates []Candidate `json:"candidates"` // best first
Main int `json:"main"` // 0 when the disc has no title
PlayAll int `json:"playAll,omitempty"`
Episodes []Episode `json:"episodes,omitempty"`
Decoys []int `json:"decoys,omitempty"`
FirstPlay int `json:"firstPlay,omitempty"` // long title first play reaches
MenuPlay int `json:"menuPlay,omitempty"`
Warnings []string `json:"warnings,omitempty"`
// Confidence is how sure the pick of the main title is, from 0 to 1, and
// Level the same in a word: high, medium or low.
Confidence float64 `json:"confidence"`
Level string `json:"level,omitempty"`
// Why is the pick of the main title explained: what spoke for it, what
// against, and who came second. Decisions holds it together with the
// other things decided (episodes, decoys, chapters, the feature's parts).
Why *Decision `json:"why,omitempty"`
Decisions []Decision `json:"decisions,omitempty"`
// Feature is exactly what to play for the main feature: its cells in
// order, across titles when the disc chains several into one film.
Feature *Playlist `json:"feature,omitempty"`
// Versions lists the ways the main feature can be seen: camera angles,
// the cuts parental levels choose, and other titles that are mostly the
// same video (another cut).
Versions []Version `json:"versions,omitempty"`
// Reachable lists the titles the disc's own commands can get to from
// first play, by a static reading of every command. ButtonsRead says the
// menus' button commands were part of that reading; without them a
// title may be missing here only because a button names it.
Reachable []int `json:"reachable,omitempty"`
ButtonsRead bool `json:"buttonsRead,omitempty"`
}
Ranking is the engine's full answer for a disc.
type ReadStats ¶ added in v0.4.0
type ReadStats struct {
// BadSectors is how many sectors could not be read and were handed on
// as zeros, the way a copying tool pads what a scratched disc won't give.
BadSectors int64 `json:"badSectors"`
// Retries is how many reads were tried again after a fault.
Retries int64 `json:"retries"`
}
ReadStats counts what reading the VOBs of an opened disc has cost so far.
type RegisterOptions ¶
type RegisterOptions struct {
MenuLanguage string
AudioLanguage string
SubtitleLanguage string
Region int // 1-8
Parental int // 1-8; 0 = no limit
Country string // two letters; "" = US
Angle int // initial camera angle (0 = 1)
Rand func() float64
}
RegisterOptions seeds player preferences.
type Registers ¶
type Registers struct {
GPRM [16]uint16
Counter [16]bool // GPRM counter mode (increments once per second)
SPRM [24]uint16
Rand func() float64
// contains filtered or unexported fields
}
Register file of the DVD virtual machine.
func NewRegisters ¶
func NewRegisters(o RegisterOptions) *Registers
NewRegisters builds a register file with spec defaults.
type Repair ¶ added in v0.4.0
type Repair struct {
VTS int `json:"vts"` // 0 for the VMG
Title int `json:"title,omitempty"` // the title concerned, when it is one
Table string `json:"table"` // the table that is wrong
From string `json:"from,omitempty"` // the table it was mended from
Fixed bool `json:"fixed"` // false: reported only
Note string `json:"note"`
}
Repair is one disagreement between tables, and what was done about it.
type Result ¶
type Result struct {
Kind ResultKind
Link *Link
Jump *Jump
Reason string
Steps int
}
Result of running a command list.
type ResultKind ¶
type ResultKind int
ResultKind says how a command list ended.
const ( ResultEnd ResultKind = iota // ran off the end ResultBreak // Break ResultExit // Exit ResultLink ResultJump ResultStop // invalid command / runaway )
type RunOptions ¶
type RunOptions struct {
Start int // 0-based first instruction
Once bool // run exactly one instruction (cell commands, button commands)
}
RunOptions tune Run.
type SPU ¶
type SPU struct {
X, Y int
Width, Height int
Pixels []byte // one code (0..3) per pixel
Color [4]int
Contrast [4]int
// ColCon are CHG_COLCON regions: other colours and contrasts for parts
// of the picture (karaoke wipes, two-colour subtitles, menu artwork).
ColCon []ColConLines
Forced bool
StartSec float64
StopSec float64 // <0 when absent
Truncated bool
}
SPU is a decoded sub-picture: a 2-bit indexed bitmap plus its default look.
func DecodeSPU ¶
DecodeSPU decodes one sub-picture unit as it first appears: the state at its first start-display command (or, for units that never start, the state they leave), with StopSec the time it next changes or stops.
func DecodeSPUFrames ¶ added in v0.3.0
DecodeSPUFrames decodes every picture a sub-picture unit shows over time. A unit carries a chain of display control sequences, each applied at its own delay: subtitles that change colour, move, blink or show another part of the bitmap come out as one SPU per state, each with its own start and stop time (StopSec < 0: shown until the next unit replaces it).
func (*SPU) RenderRect ¶
RenderRect paints the part of the SPU inside the given frame rectangle (inclusive, frame coordinates) with the look. Pixels outside the SPU stay transparent. Result coordinates are the clipped rectangle.
With the SPU's own look, CHG_COLCON regions recolour their part of the picture; a button's look (a highlight) replaces them inside the button.
type SectorRange ¶
type SectorRange struct{ First, Last uint32 }
SectorRange is an inclusive run of sectors in a VOB address space.
type SectorReader ¶
SectorReader reads sectors of a VOB address space (menu VOB or the concatenated title VOBs of a title set).
type Source ¶
type Source interface {
ReadIFO(name string) ([]byte, error)
// VOBExtents returns the byte extents (in the backing file(s)) of the VOB
// address space, in order. Each extent names its file.
VOBExtents(sp Space) ([]FileExtent, error)
Close() error
Describe() string
}
Source abstracts an ISO image or a VIDEO_TS folder.
type Step ¶
type Step struct {
Kind StepKind `json:"kind"`
Domain Domain `json:"-"`
DomainName string `json:"domain"`
VTS int `json:"vts"`
PGCN int `json:"pgcn"`
CellN int `json:"cellN"`
FirstSector uint32 `json:"firstSector"`
LastSector uint32 `json:"lastSector"`
StillSec float64 `json:"stillSec"` // +Inf = wait for the viewer
Loop bool `json:"loop"`
Palette [16]uint32 `json:"palette"`
DefaultButton int `json:"defaultButton"`
Serial int `json:"serial"`
Reason string `json:"reason,omitempty"`
Hold bool `json:"hold,omitempty"`
Resumed bool `json:"resumed,omitempty"`
Title *TitleInfo `json:"title,omitempty"`
CellDuration float64 `json:"cellDurationSec"`
}
Step is the navigator's instruction to the presentation layer.
type StreamScan ¶
StreamScan is the result of scanning a run of VOB sectors.
func ScanSectors ¶
func ScanSectors(buf []byte, firstSector uint32) *StreamScan
ScanSectors walks MPEG-PS packs and pulls out NAV packs and SPU units. firstSector is only used to label results.
type SubpAttr ¶
type SubpAttr struct {
Language string `json:"language,omitempty"`
Extension int `json:"extension"`
}
SubpAttr describes a sub-picture stream.
type SubpControl ¶
type SubpControl struct {
Narrow, Wide, Letterbox, PanScan int
}
SubpControl says which sub-picture stream to use per display mode.
type TableReport ¶ added in v0.4.0
type TableReport struct {
Name string `json:"name"`
State string `json:"state"` // ok, missing or damaged
From string `json:"from"` // IFO or BUP
Note string `json:"note,omitempty"`
}
TableReport is how one table of an index file read, and which copy of the file it was taken from.
type TitleInfo ¶
type TitleInfo struct {
TTN int `json:"ttn"`
VTSTTN int `json:"vtsTtn"`
PTTN int `json:"pttn"`
Cells []Cell `json:"-"`
CellNums []int `json:"cellNums"`
Duration float64 `json:"durationSec"`
}
TitleInfo describes the title being played in a title step.
type TitleRun ¶ added in v0.3.0
type TitleRun struct {
Extents []FileExtent
// Duration is how long the run plays, in seconds.
Duration float64
// StartPTS is the presentation time of its first picture (90 kHz); 0 when
// the disc doesn't say.
StartPTS uint32
// Lead is how long before its first picture the run's earliest packet lies,
// in seconds: the sound stored ahead of the picture (see scanLead).
Lead float64
// FirstCell and Cells say which of the given cells it plays.
FirstCell, Cells int
}
TitleRun is a stretch of a title that can be read straight through.
type TitleSearch ¶
type TitleSearch struct {
Number int `json:"number"`
VTS int `json:"vts"`
VTSTitle int `json:"vtsTitle"`
Angles int `json:"angles"`
Chapters int `json:"chapters"`
Parental int `json:"parental"`
PlayType int `json:"playType"`
VTSSector uint32
}
TitleSearch is one TT_SRPT row.
type TitleSummary ¶
type TitleSummary struct {
Number int `json:"number"`
VTS int `json:"vts"`
VTSTitle int `json:"vtsTitle"`
Duration float64 `json:"durationSec"`
Chapters []float64 `json:"chapters"` // chapter start offsets in seconds
Angles int `json:"angles"`
Audio []AudioAttr `json:"audio"`
Subp []SubpAttr `json:"subtitles"`
Video VideoAttr `json:"video"`
Cells []TitleCell `json:"-"`
// ChapterSource says where the chapter times come from: "chapterTable"
// (VTS_PTT_SRPT), "programs" (the table names nothing this title plays,
// so each program is a chapter) or "" (no chapters).
ChapterSource string `json:"chapterSource,omitempty"`
// Estimated says some cells give no play time of their own, and theirs
// was worked out from the time map or their share of the sectors.
Estimated bool `json:"timesEstimated,omitempty"`
// Truncated says the title lists more cells than any real title has, and
// only the first of them were read.
Truncated bool `json:"truncated,omitempty"`
// Path says how the cells were found: "chapters" (the chapter table and
// next-PGC links) or "commands" (a dry run of the title's own commands).
Path string `json:"path,omitempty"`
}
TitleSummary is a flattened view of one title.
type VMG ¶
type VMG struct {
Version int
RegionMask int // bit set = region prohibited
NumTitleSets int
Provider string
FirstPlay *PGC
Titles []TitleSearch
Menus []LangUnit
MenuVideo VideoAttr
MenuAudio []AudioAttr
MenuSubp []SubpAttr
MenuVOBSec uint32
// MenuVOBSectors is the size of VIDEO_TS.VOB in sectors according to
// the IFO (0 when the IFO does not say).
MenuVOBSectors uint32
// Parental is the parental management table (PTL_MAIT), per country.
Parental []ParentalCountry
// MenuCellAddrs is the menu VOB's cell address table (VMGM_C_ADT).
MenuCellAddrs []CellAddr
// contains filtered or unexported fields
}
VMG is VIDEO_TS.IFO.
type VTS ¶
type VTS struct {
Number int
Version int
Menus []LangUnit
PGCs []PGCEntry
PTT [][]PTT // per VTS title (1-based title - 1)
MenuVideo VideoAttr
MenuAudio []AudioAttr
MenuSubp []SubpAttr
Video VideoAttr
Audio []AudioAttr
Subp []SubpAttr
MenuVOBSec uint32
TitleVOBSec uint32
// Sizes of the menu and title VOBs in sectors according to the IFO
// (0 when unknown). Cells that start beyond them are junk.
MenuVOBSectors uint32
TitleVOBSectors uint32
// CellAddrs is the cell address table of the title VOBs (VTS_C_ADT):
// where each cell the title set really holds lies. MenuCellAddrs is the
// same for the menu VOB. Both are empty when the IFO has no such table.
CellAddrs []CellAddr
MenuCellAddrs []CellAddr
// VOBUs is how many VOBUs the title VOBs hold according to
// VTS_VOBU_ADMAP (0 when the IFO has no such table).
VOBUs int
// contains filtered or unexported fields
}
VTS is VTS_xx_0.IFO.
type Version ¶ added in v0.4.0
type Version struct {
Kind string `json:"kind"` // angle, parental or cut
Title int `json:"title"` // the title that plays it
// Angle is the camera angle (kind angle), Levels the parental levels
// that get this cut (kind parental).
Angle int `json:"angle,omitempty"`
Levels []int `json:"parentalLevels,omitempty"`
Duration float64 `json:"durationSec"`
Cells int `json:"cells"`
// Shared is how much of this version's video the main title also plays,
// from 0 to 1 (kind cut).
Label string `json:"label"`
}
Version is one way the main feature can be seen.
type VideoAttr ¶
type VideoAttr struct {
MPEG int `json:"mpeg"`
Standard string `json:"standard"` // ntsc | pal
Wide bool `json:"wide"` // 16:9
Letterbox bool `json:"letterbox"`
PictureSize int `json:"pictureSize"`
PermittedDF int `json:"permittedDf"`
}
VideoAttr describes a video stream.
type Weights ¶ added in v0.4.0
type Weights struct {
DistinctPerMinute float64 // per minute of distinct, readable video
OutOfRangeAny float64 // any cell starts outside the title VOB
Repeats float64 // times the share of play time spent on repeats
BackJumpAny float64 // any jump back on the disc between cells
Shuffled float64 // another title's cells in scrambled order
Duplicate float64 // identical to a lower-numbered title (tie breaker)
CellSpam float64 // most cells are zero or under a second long
AbsurdCell float64 // a cell claims more than four hours
Loop float64 // the PGC chain links back on itself
BadChapters float64 // the chapter table points nowhere
RegularChapters float64 // three or more chapters of sensible, even length
AudioMatch float64 // its title set has the most audio streams
SubpMatch float64 // its title set has the most subtitle streams
LargestVTS float64 // its title set holds the most video
FirstPlay float64 // first play reaches it by itself
MenuReference float64 // a menu or first-play command jumps to it
MenuPlay float64 // the first menu's default button plays it
UnlistedAny float64 // any cell is missing from the cell address table
Overlap float64 // cells lie over each other on the disc
Unreachable float64 // nothing on the disc leads to it (buttons read)
FirstMenuJump float64 // the first title jump of the first menu names it
TimeMismatch float64 // a program chain's play time isn't the sum of its cells
NoVideo float64 // its title set has no video files
// What the disc does by itself is worth more the more video it leads
// to: these are added per minute of the title's distinct video.
FirstPlayPerMinute float64
MenuPlayPerMinute float64
Scrambled float64 // a quarter or more of its steps jump back on the disc
NoAudio float64 // its program chain turns on no audio stream, where others of its title set do
}
Weights tune the scoring. Scores are in "minutes of distinct video": a weight of 15 is worth as much as a quarter of an hour of unique cells.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is a disc module's own HTTP API and SDUI sources (module API 5): a disc's page, why a title is its film and the choice of another, the names given to its titles and chapters, and its sections on a title's page in every app.
|
Package api is a disc module's own HTTP API and SDUI sources (module API 5): a disc's page, why a title is its film and the choice of another, the names given to its titles and chapters, and its sections on a title's page in every app. |
|
cmd
|
|
|
wittydvd
command
Command wittydvd inspects DVD-Video images and VIDEO_TS folders with the WittyDVD engine: titles, menus and languages, the disc's program, a simulated run through its menus, and the menu artwork.
|
Command wittydvd inspects DVD-Video images and VIDEO_TS folders with the WittyDVD engine: titles, menus and languages, the disc's program, a simulated run through its menus, and the menu artwork. |
|
wittydvd-module
command
Command wittydvd-module is WittyDVD as a helper process, one for each open disc, so a new version of the engine can reach a server without a new server.
|
Command wittydvd-module is WittyDVD as a helper process, one for each open disc, so a new version of the engine can reach a server without a new server. |
|
Package commands is the disc module's own commands, as its sdui.json declares them.
|
Package commands is the disc module's own commands, as its sdui.json declares them. |
|
Package wire is what a WittyDVD helper process and a server say to each other about one open disc: the names of the calls and the form their answers travel in.
|
Package wire is what a WittyDVD helper process and a server say to each other about one open disc: the names of the calls and the form their answers travel in. |
|
wittydvdplayer
module
|



