Skip to content

node-av / constants / FormatContextOptions

Interface: FormatContextOptions ​

Defined in: src/constants/format-options.ts:7

Auto-generated container (de)muxer option types. Generated from FFmpeg libavformat AVOption sources (see scripts/generate-format-options.js). DO NOT EDIT MANUALLY.

Properties ​

analyzeduration? ​

optional analyzeduration?: number | string & object

Defined in: src/constants/format-options.ts:33

specify how many microseconds are analyzed to probe the input


audio_preload? ​

optional audio_preload?: number | string & object

Defined in: src/constants/format-options.ts:49

microseconds by which audio packets should be interleaved earlier


avioflags? ​

optional avioflags?: number | string & object | "direct"

Defined in: src/constants/format-options.ts:8


avoid_negative_ts? ​

optional avoid_negative_ts?: number | string & object | "auto" | "disabled" | "make_non_negative" | "make_zero"

Defined in: src/constants/format-options.ts:79

shift timestamps so they start at 0


chunk_duration? ​

optional chunk_duration?: number | string & object

Defined in: src/constants/format-options.ts:51

microseconds for each chunk


chunk_size? ​

optional chunk_size?: number | string & object

Defined in: src/constants/format-options.ts:53

size in bytes for each chunk


codec_whitelist? ​

optional codec_whitelist?: string | number

Defined in: src/constants/format-options.ts:83

List of decoders that are allowed to be used


correct_ts_overflow? ​

optional correct_ts_overflow?: boolean | string & object

Defined in: src/constants/format-options.ts:63

correct single timestamp overflows


cryptokey? ​

optional cryptokey?: string | number

Defined in: src/constants/format-options.ts:35

decryption key


dump_separator? ​

optional dump_separator?: string | number

Defined in: src/constants/format-options.ts:81

set information dump field separator


duration_probesize? ​

optional duration_probesize?: number | string & object

Defined in: src/constants/format-options.ts:97

Maximum number of bytes to probe the durations of the streams in estimate_timings_from_pts


err_detect? ​

optional err_detect?: number | string & object | "crccheck" | "bitstream" | "buffer" | "explode" | "ignore_err" | "careful" | "compliant" | "aggressive"

Defined in: src/constants/format-options.ts:57

set error detection flags


f_err_detect? ​

optional f_err_detect?: number | string & object | "crccheck" | "bitstream" | "buffer" | "explode" | "ignore_err" | "careful" | "compliant" | "aggressive"

Defined in: src/constants/format-options.ts:55

set error detection flags (deprecated; use err_detect, save via avconv)


f_strict? ​

optional f_strict?: number | string & object | "very" | "strict" | "normal" | "unofficial" | "experimental"

Defined in: src/constants/format-options.ts:73

how strictly to follow the standards (deprecated; use strict, save via avconv)


fdebug? ​

optional fdebug?: number | string & object | "ts" | "id3v2"

Defined in: src/constants/format-options.ts:41

print specific debug info


fflags? ​

optional fflags?: number | string & object | "bitexact" | "flush_packets" | "ignidx" | "genpts" | "nofillin" | "noparse" | "igndts" | "discardcorrupt" | "sortdts" | "fastseek" | "nobuffer" | "autobsf"

Defined in: src/constants/format-options.ts:15


flush_packets? ​

optional flush_packets?: number | string & object

Defined in: src/constants/format-options.ts:65

enable flushing of the I/O context after each packet


format_whitelist? ​

optional format_whitelist?: string | number

Defined in: src/constants/format-options.ts:85

List of demuxers that are allowed to be used


formatprobesize? ​

optional formatprobesize?: number | string & object

Defined in: src/constants/format-options.ts:12

number of bytes to probe file format


fpsprobesize? ​

optional fpsprobesize?: number | string & object

Defined in: src/constants/format-options.ts:47

number of frames used to probe fps


indexmem? ​

optional indexmem?: number | string & object

Defined in: src/constants/format-options.ts:37

max memory used for timestamp index (per stream)


max_delay? ​

optional max_delay?: number | string & object

Defined in: src/constants/format-options.ts:43

maximum muxing or demuxing delay in microseconds


max_interleave_delta? ​

optional max_interleave_delta?: number | string & object

Defined in: src/constants/format-options.ts:71

maximum buffering duration for interleaving


max_probe_packets? ​

optional max_probe_packets?: number | string & object

Defined in: src/constants/format-options.ts:95

Maximum number of packets to probe a codec


max_streams? ​

optional max_streams?: number | string & object

Defined in: src/constants/format-options.ts:91

maximum number of streams


max_ts_probe? ​

optional max_ts_probe?: number | string & object

Defined in: src/constants/format-options.ts:77

maximum number of packets to read while waiting for the first timestamp


metadata_header_padding? ​

optional metadata_header_padding?: number | string & object

Defined in: src/constants/format-options.ts:67

set number of bytes to be written as padding in a metadata header


output_ts_offset? ​

optional output_ts_offset?: string | number

Defined in: src/constants/format-options.ts:69

set output timestamp offset


packetsize? ​

optional packetsize?: number | string & object

Defined in: src/constants/format-options.ts:14

set packet size


probesize? ​

optional probesize?: number | string & object

Defined in: src/constants/format-options.ts:10

set probing size


protocol_blacklist? ​

optional protocol_blacklist?: string | number

Defined in: src/constants/format-options.ts:89

List of protocols that are not allowed to be used


protocol_whitelist? ​

optional protocol_whitelist?: string | number

Defined in: src/constants/format-options.ts:87

List of protocols that are allowed to be used


rtbufsize? ​

optional rtbufsize?: number | string & object

Defined in: src/constants/format-options.ts:39

max memory used for buffering real-time frames


seek2any? ​

optional seek2any?: boolean | string & object

Defined in: src/constants/format-options.ts:31

allow seeking to non-keyframes on demuxer level when supported


skip_estimate_duration_from_pts? ​

optional skip_estimate_duration_from_pts?: boolean | string & object

Defined in: src/constants/format-options.ts:93

skip duration calculation in estimate_timings_from_pts


skip_initial_bytes? ​

optional skip_initial_bytes?: number | string & object

Defined in: src/constants/format-options.ts:61

set number of bytes to skip before reading header and frames


start_time_realtime? ​

optional start_time_realtime?: number | string & object

Defined in: src/constants/format-options.ts:45

wall-clock time when stream begins (PTS==0)


strict? ​

optional strict?: number | string & object | "very" | "strict" | "normal" | "unofficial" | "experimental"

Defined in: src/constants/format-options.ts:75

how strictly to follow the standards


use_wallclock_as_timestamps? ​

optional use_wallclock_as_timestamps?: boolean | string & object

Defined in: src/constants/format-options.ts:59

use wallclock as timestamps