Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cueshit/format/ffprobe_json.ts>FFFormat

Convert between different cue sheet / chapter / tracklist formats
Latest
interface FFFormat
import { type FFFormat } from "https://deno.land/x/cueshit@v0.7.0/format/ffprobe_json.ts";

Container format information as returned by the ffprobe JSON writer.

Properties

filename: string

Name of the file (with extension).

nb_streams: number

Number of streams in the file.

nb_programs: number

Number of programs in the file.

format_name: string

Short name of the format, might be a comma separated list.

format_long_name: string

Display name of the format, might be separated by spaced slashes.

start_time: string

Start time in seconds (6 decimal places).

duration: string

Duration in seconds (6 decimal places).

size: string

File size (in bytes).

bit_rate: string

Bit rate (in bps).

probe_score: number

TODO: Integer, probably always 100?

optional
tags: Record<string, string | undefined>

Metadata tags.