Skip to content

node-av / constants / DemuxerPrivateOptionsMap

Interface: DemuxerPrivateOptionsMap

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

Properties

3g2

3g2: object

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

QuickTime / MOV

activation_bytes?

optional activation_bytes?: string | number

Secret bytes for Audible AAX files

advanced_editlist?

optional advanced_editlist?: boolean | string & object

Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits.

audible_fixed_key?

optional audible_fixed_key?: string | number

Fixed key used for handling Audible AAX files

audible_iv?

optional audible_iv?: string | number

AES-128 IV for Audible AAXC files

audible_key?

optional audible_key?: string | number

AES-128 Key for Audible AAXC files

decryption_key?

optional decryption_key?: string | number

The default media decryption key (hex)

decryption_keys?

optional decryption_keys?: string | number

The media decryption keys by KID (hex)

enable_drefs?

optional enable_drefs?: boolean | string & object

Enable external track support.

export_all?

optional export_all?: boolean | string & object

Export unrecognized metadata entries

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

ignore_chapters?

optional ignore_chapters?: boolean | string & object

ignore_editlist?

optional ignore_editlist?: boolean | string & object

Ignore the edit list atom.

interleaved_read?

optional interleaved_read?: boolean | string & object

Interleave packets from multiple tracks at demuxer level

max_stts_delta?

optional max_stts_delta?: number | string & object

treat offsets above this value as invalid

seek_streams_individually?

optional seek_streams_individually?: boolean | string & object

Seek each stream individually to the closest point

use_absolute_path?

optional use_absolute_path?: boolean | string & object

allow using absolute path when opening alias, this is a possible security issue

use_mfra_for?

optional use_mfra_for?: number | string & object | "auto" | "pts" | "dts"

use mfra for fragment timestamps

use_tfdt?

optional use_tfdt?: boolean | string & object

use tfdt for fragment timestamps

See

https://ffmpeg.org/ffmpeg-formats.html#3g2


3gp

3gp: object

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

QuickTime / MOV

activation_bytes?

optional activation_bytes?: string | number

Secret bytes for Audible AAX files

advanced_editlist?

optional advanced_editlist?: boolean | string & object

Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits.

audible_fixed_key?

optional audible_fixed_key?: string | number

Fixed key used for handling Audible AAX files

audible_iv?

optional audible_iv?: string | number

AES-128 IV for Audible AAXC files

audible_key?

optional audible_key?: string | number

AES-128 Key for Audible AAXC files

decryption_key?

optional decryption_key?: string | number

The default media decryption key (hex)

decryption_keys?

optional decryption_keys?: string | number

The media decryption keys by KID (hex)

enable_drefs?

optional enable_drefs?: boolean | string & object

Enable external track support.

export_all?

optional export_all?: boolean | string & object

Export unrecognized metadata entries

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

ignore_chapters?

optional ignore_chapters?: boolean | string & object

ignore_editlist?

optional ignore_editlist?: boolean | string & object

Ignore the edit list atom.

interleaved_read?

optional interleaved_read?: boolean | string & object

Interleave packets from multiple tracks at demuxer level

max_stts_delta?

optional max_stts_delta?: number | string & object

treat offsets above this value as invalid

seek_streams_individually?

optional seek_streams_individually?: boolean | string & object

Seek each stream individually to the closest point

use_absolute_path?

optional use_absolute_path?: boolean | string & object

allow using absolute path when opening alias, this is a possible security issue

use_mfra_for?

optional use_mfra_for?: number | string & object | "auto" | "pts" | "dts"

use mfra for fragment timestamps

use_tfdt?

optional use_tfdt?: boolean | string & object

use tfdt for fragment timestamps

See

https://ffmpeg.org/ffmpeg-formats.html#3gp


aa

aa: object

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

Audible AA format files

aa_fixed_key?

optional aa_fixed_key?: string | number

Fixed key used for handling Audible AA files

See

https://ffmpeg.org/ffmpeg-formats.html#aa


alsa

alsa: object

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

ALSA audio input

ch_layout?

optional ch_layout?: string | number

channels?

optional channels?: number | string & object

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#alsa


android_camera

android_camera: object

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

Android camera input device

camera_index?

optional camera_index?: number | string & object

set index of camera to use

framerate?

optional framerate?: string | number

set video frame rate

input_queue_size?

optional input_queue_size?: number | string & object

set maximum number of frames to buffer

video_size?

optional video_size?: string | number

set video size given as a string such as 640x480 or hd720

See

https://ffmpeg.org/ffmpeg-formats.html#android_005fcamera


apng

apng: object

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

Animated Portable Network Graphics

default_fps?

optional default_fps?: number | string & object

default framerate (0 is as fast as possible)

ignore_loop?

optional ignore_loop?: boolean | string & object

ignore loop setting

max_fps?

optional max_fps?: number | string & object

maximum framerate (0 is no limit)

See

https://ffmpeg.org/ffmpeg-formats.html#apng


aptx

aptx: object

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

raw aptX

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#aptx


aptx_hd

aptx_hd: object

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

raw aptX HD

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#aptx_005fhd


apv

apv: object

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

APV raw bitstream

framerate?

optional framerate?: string | number

set frame rate

See

https://ffmpeg.org/ffmpeg-formats.html#apv


aqtitle

aqtitle: object

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

AQTitle subtitles

subfps?

optional subfps?: string | number

set the movie frame rate

See

https://ffmpeg.org/ffmpeg-formats.html#aqtitle


asf

asf: object

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

ASF (Advanced / Active Streaming Format)

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

optional no_resync_search?: boolean | string & object

Don't try to resynchronize by looking for a certain optional start code

See

https://ffmpeg.org/ffmpeg-formats.html#asf


av1

av1: object

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

AV1 Annex B

framerate?

optional framerate?: string | number

See

https://ffmpeg.org/ffmpeg-formats.html#av1


avfoundation

avfoundation: object

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

AVFoundation input device

audio_device_index?

optional audio_device_index?: number | string & object

select audio device by index for devices with same name (starts at 0)

capture_cursor?

optional capture_cursor?: boolean | string & object

capture the screen cursor

capture_mouse_clicks?

optional capture_mouse_clicks?: boolean | string & object

capture the screen mouse clicks

capture_raw_data?

optional capture_raw_data?: boolean | string & object

capture the raw data from device connection

capture_system_audio?

optional capture_system_audio?: boolean | string & object

capture system audio via ScreenCaptureKit (macOS 13.0+)

capture_window_id?

optional capture_window_id?: number | string & object

capture a specific window by ID via ScreenCaptureKit (0=disabled)

drop_late_frames?

optional drop_late_frames?: boolean | string & object

drop frames that are available later than expected

exclude_process_audio?

optional exclude_process_audio?: boolean | string & object

exclude current process audio from system audio capture

framerate?

optional framerate?: string | number

set frame rate

list_devices?

optional list_devices?: boolean | string & object

list available devices

pixel_format?

optional pixel_format?: string | number

set pixel format

sck_audio_channels?

optional sck_audio_channels?: number | string & object

set system audio channel count (1=mono, 2=stereo)

sck_audio_sample_rate?

optional sck_audio_sample_rate?: number | string & object

set system audio sample rate (8000/16000/24000/48000)

video_device_index?

optional video_device_index?: number | string & object

select video device by index for devices with same name (starts at 0)

video_size?

optional video_size?: string | number

set video size

See

https://ffmpeg.org/ffmpeg-formats.html#avfoundation


avi

avi: object

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

AVI (Audio Video Interleaved)

use_odml?

optional use_odml?: boolean | string & object

use odml index

See

https://ffmpeg.org/ffmpeg-formats.html#avi


avisynth

avisynth: object

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

AviSynth script

avisynth_flags?

optional avisynth_flags?: number | string & object | "sar" | "field_order" | "range" | "primaries" | "transfer" | "matrix" | "chroma_location"

set flags related to reading frame properties from script (AviSynth+ v3.7.1 or higher)

See

https://ffmpeg.org/ffmpeg-formats.html#avisynth


cdxl

cdxl: object

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

Commodore CDXL video

frame_rate?

optional frame_rate?: string | number

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#cdxl


codec2

codec2: object

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

codec2 .c2 demuxer

frames_per_packet?

optional frames_per_packet?: number | string & object

Number of frames to read at a time. Higher = faster decoding, lower granularity

See

https://ffmpeg.org/ffmpeg-formats.html#codec2


codec2raw

codec2raw: object

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

raw codec2 demuxer

frames_per_packet?

optional frames_per_packet?: number | string & object

Number of frames to read at a time. Higher = faster decoding, lower granularity

See

https://ffmpeg.org/ffmpeg-formats.html#codec2raw


concat

concat: object

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

Virtual concatenation script

auto_convert?

optional auto_convert?: boolean | string & object

automatically convert bitstream format

safe?

optional safe?: boolean | string & object

enable safe mode

segment_time_metadata?

optional segment_time_metadata?: boolean | string & object

output file segment start time and duration as packet metadata

See

https://ffmpeg.org/ffmpeg-formats.html#concat


dash

dash: object

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

Dynamic Adaptive Streaming over HTTP

allowed_extensions?

optional allowed_extensions?: string | number

List of file extensions that dash is allowed to access

cenc_decryption_key?

optional cenc_decryption_key?: string | number

Media default decryption key (hex)

cenc_decryption_keys?

optional cenc_decryption_keys?: string | number

Media decryption keys by KID (hex)

max_reload?

optional max_reload?: number | string & object

Maximum number of manifest reloads in get_current_fragment() before giving up

See

https://ffmpeg.org/ffmpeg-formats.html#dash


data

data: object

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

raw data

raw_packet_size?

optional raw_packet_size?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#data


decklink: object

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

Blackmagic DeckLink input

audio_depth?

optional audio_depth?: number | string & object

audio bitdepth (16 or 32)

audio_input?

optional audio_input?: number | string & object | "unset" | "embedded" | "aes_ebu" | "analog" | "analog_xlr" | "analog_rca" | "microphone"

audio input

audio_pts?

optional audio_pts?: number | "video" | "audio" | string & object | "reference" | "wallclock" | "abs_wallclock"

audio pts source

channels?

optional channels?: number | string & object

number of audio channels

optional decklink_copyts?: boolean | string & object

copy timestamps, do not remove the initial offset

draw_bars?

optional draw_bars?: boolean | string & object

use option signal_loss_action instead

duplex_mode?

optional duplex_mode?: number | string & object | "full" | "half" | "unset" | "one_sub_device_full" | "one_sub_device_half" | "two_sub_device_full" | "four_sub_device_half"

duplex mode

enable_klv?

optional enable_klv?: boolean | string & object

output klv if present in vanc

format_code?

optional format_code?: string | number

set format by fourcc

list_devices?

optional list_devices?: boolean | string & object

use ffmpeg -sources decklink instead

list_formats?

optional list_formats?: number | string & object

list supported formats

queue_size?

optional queue_size?: number | string & object

input queue buffer size

raw_format?

optional raw_format?: number | string & object | "auto" | "yuv422p10" | "bgra" | "uyvy422" | "argb" | "rgb10"

pixel format to be returned by the card when capturing

signal_loss_action?

optional signal_loss_action?: number | "none" | string & object | "bars" | "repeat"

action on signal loss

teletext_lines?

optional teletext_lines?: number | string & object | "all" | "standard"

teletext lines bitmask

timecode_format?

optional timecode_format?: number | "none" | string & object | "rp188vitc" | "rp188vitc2" | "rp188ltc" | "rp188any" | "vitc" | "vitc2" | "serial" | "rp188hfr"

timecode format

timestamp_align?

optional timestamp_align?: string | number

capture start time alignment (in seconds)

video_input?

optional video_input?: number | string & object | "hdmi" | "unset" | "sdi" | "optical_sdi" | "component" | "composite" | "s_video"

video input

video_pts?

optional video_pts?: number | "video" | "audio" | string & object | "reference" | "wallclock" | "abs_wallclock"

video pts source

wait_for_tc?

optional wait_for_tc?: boolean | string & object

drop frames till a frame with timecode is received. TC format must be set

See

https://ffmpeg.org/ffmpeg-formats.html#decklink


dfpwm

dfpwm: object

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

raw DFPWM1a

ch_layout?

optional ch_layout?: string | number

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#dfpwm


dshow

dshow: object

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

DirectShow capture

audio_buffer_size?

optional audio_buffer_size?: number | string & object

set audio device buffer latency size in milliseconds (default is the device's default)

audio_device_load?

optional audio_device_load?: string | number

load audio capture filter device (and properties) from file

audio_device_number?

optional audio_device_number?: number | string & object

set audio device number for devices with same name (starts at 0)

audio_device_save?

optional audio_device_save?: string | number

save audio capture filter device (and properties) to file

audio_pin_name?

optional audio_pin_name?: string | number

select audio capture pin by name

channels?

optional channels?: number | string & object

set number of audio channels, such as 1 or 2

crossbar_audio_input_pin_number?

optional crossbar_audio_input_pin_number?: number | string & object

set audio input pin number for crossbar device

crossbar_video_input_pin_number?

optional crossbar_video_input_pin_number?: number | string & object

set video input pin number for crossbar device

framerate?

optional framerate?: string | number

set video frame rate

list_devices?

optional list_devices?: boolean | string & object

list available devices

list_options?

optional list_options?: boolean | string & object

list available options for specified device

pixel_format?

optional pixel_format?: string | number

set video pixel format

sample_rate?

optional sample_rate?: number | string & object

set audio sample rate

sample_size?

optional sample_size?: number | string & object

set audio sample size

show_analog_tv_tuner_audio_dialog?

optional show_analog_tv_tuner_audio_dialog?: boolean | string & object

display property dialog for analog tuner audio filter

show_analog_tv_tuner_dialog?

optional show_analog_tv_tuner_dialog?: boolean | string & object

display property dialog for analog tuner filter

show_audio_crossbar_connection_dialog?

optional show_audio_crossbar_connection_dialog?: boolean | string & object

display property dialog for crossbar connecting pins filter on audio device

show_audio_device_dialog?

optional show_audio_device_dialog?: boolean | string & object

display property dialog for audio capture device

show_video_crossbar_connection_dialog?

optional show_video_crossbar_connection_dialog?: boolean | string & object

display property dialog for crossbar connecting pins filter on video device

show_video_device_dialog?

optional show_video_device_dialog?: boolean | string & object

display property dialog for video capture device

use_video_device_timestamps?

optional use_video_device_timestamps?: boolean | string & object

use device instead of wallclock timestamps for video frames

video_device_load?

optional video_device_load?: string | number

load video capture filter device (and properties) from file

video_device_number?

optional video_device_number?: number | string & object

set video device number for devices with same name (starts at 0)

video_device_save?

optional video_device_save?: string | number

save video capture filter device (and properties) to file

video_pin_name?

optional video_pin_name?: string | number

select video capture pin by name

video_size?

optional video_size?: string | number

set video size given a string such as 640x480 or hd720.

See

https://ffmpeg.org/ffmpeg-formats.html#dshow


dvdvideo

dvdvideo: object

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

DVD-Video

angle?

optional angle?: number | string & object

playback angle number

chapter_end?

optional chapter_end?: number | string & object

exit chapter (PTT) number (0=end)

chapter_start?

optional chapter_start?: number | string & object

entry chapter (PTT) number

optional menu?: boolean | string & object

demux menu domain

optional menu_lu?: number | string & object

menu language unit

optional menu_vts?: number | string & object

menu VTS (0=VMG root menu)

pg?

optional pg?: number | string & object

entry PG number (when paired with PGC number)

pgc?

optional pgc?: number | string & object

entry PGC number (0=auto)

preindex?

optional preindex?: boolean | string & object

enable for accurate chapter markers, slow (2-pass read)

region?

optional region?: number | string & object

playback region number (0=free)

title?

optional title?: number | string & object

title number (0=auto)

trim?

optional trim?: boolean | string & object

trim padding cells from start

See

https://ffmpeg.org/ffmpeg-formats.html#dvdvideo


ea

ea: object

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

Electronic Arts Multimedia

merge_alpha?

optional merge_alpha?: boolean | string & object

return VP6 alpha in the main video stream

See

https://ffmpeg.org/ffmpeg-formats.html#ea


evc

evc: object

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

EVC Annex B

framerate?

optional framerate?: string | number

See

https://ffmpeg.org/ffmpeg-formats.html#evc


fbdev

fbdev: object

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

Linux framebuffer

framerate?

optional framerate?: string | number

See

https://ffmpeg.org/ffmpeg-formats.html#fbdev


fits

fits: object

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

Flexible Image Transport System

framerate?

optional framerate?: string | number

set the framerate

See

https://ffmpeg.org/ffmpeg-formats.html#fits


flv

flv: object

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

FLV (Flash Video)

flv_full_metadata?

optional flv_full_metadata?: boolean | string & object

Dump full metadata of the onMetadata

flv_ignore_prevtag?

optional flv_ignore_prevtag?: boolean | string & object

Ignore the Size of previous tag

flv_metadata?

optional flv_metadata?: boolean | string & object

Allocate streams according to the onMetaData array

See

https://ffmpeg.org/ffmpeg-formats.html#flv


g726

g726: object

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

raw big-endian G.726 ("left aligned")

code_size?

optional code_size?: number | string & object

Bits per G.726 code

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#g726


g726le

g726le: object

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

raw little-endian G.726 ("right aligned")

code_size?

optional code_size?: number | string & object

Bits per G.726 code

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#g726le


g729

g729: object

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

G.729 raw format demuxer

bit_rate?

optional bit_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#g729


gdigrab

gdigrab: object

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

GDI API Windows frame grabber

draw_mouse?

optional draw_mouse?: number | string & object

draw the mouse pointer

framerate?

optional framerate?: string | number

set video frame rate

offset_x?

optional offset_x?: number | string & object

capture area x offset

offset_y?

optional offset_y?: number | string & object

capture area y offset

show_region?

optional show_region?: number | string & object

draw border around capture area

video_size?

optional video_size?: string | number

set video frame size

See

https://ffmpeg.org/ffmpeg-formats.html#gdigrab


gif

gif: object

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

CompuServe Graphics Interchange Format (GIF)

default_delay?

optional default_delay?: number | string & object

default delay between frames (in hundredths of second)

ignore_loop?

optional ignore_loop?: boolean | string & object

ignore loop setting (netscape extension)

max_gif_delay?

optional max_gif_delay?: number | string & object

maximum valid delay between frames (in hundredths of seconds)

min_delay?

optional min_delay?: number | string & object

minimum valid delay between frames (in hundredths of second)

See

https://ffmpeg.org/ffmpeg-formats.html#gif


gsm

gsm: object

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

raw GSM

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#gsm


hca

hca: object

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

CRI HCA

hca_highkey?

optional hca_highkey?: number | string & object

High key used for handling CRI HCA files

hca_lowkey?

optional hca_lowkey?: number | string & object

Low key used for handling CRI HCA files

hca_subkey?

optional hca_subkey?: number | string & object

Subkey used for handling CRI HCA files

See

https://ffmpeg.org/ffmpeg-formats.html#hca


hls

hls: object

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

Apple HTTP Live Streaming

allowed_extensions?

optional allowed_extensions?: string | number

List of file extensions that hls is allowed to access

allowed_segment_extensions?

optional allowed_segment_extensions?: string | number

List of file extensions that hls is allowed to access

extension_picky?

optional extension_picky?: boolean | string & object

Be picky with all extensions matching

http_multiple?

optional http_multiple?: boolean | string & object

Use multiple HTTP connections for fetching segments

http_persistent?

optional http_persistent?: boolean | string & object

Use persistent HTTP connections

http_seekable?

optional http_seekable?: boolean | string & object

Use HTTP partial requests, 0 = disable, 1 = enable, -1 = auto

live_start_index?

optional live_start_index?: number | string & object

segment index to start live streams at (negative values are from the end)

m3u8_hold_counters?

optional m3u8_hold_counters?: number | string & object

The maximum number of times to load m3u8 when it refreshes without new segments

max_reload?

optional max_reload?: number | string & object

Maximum number of times a insufficient list is attempted to be reloaded

prefer_x_start?

optional prefer_x_start?: boolean | string & object

prefer to use #EXT-X-START if it's in playlist instead of live_start_index

seg_format_options?

optional seg_format_options?: string | number

Set options for segment demuxer

seg_max_retry?

optional seg_max_retry?: number | string & object

Maximum number of times to reload a segment on error.

See

https://ffmpeg.org/ffmpeg-formats.html#hls


iec61883

iec61883: object

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

libiec61883 (new DV1394) A/V input device

dvbuffer?

optional dvbuffer?: number | string & object

set queue buffer size (in packets)

dvguid?

optional dvguid?: string | number

select one of multiple DV devices by its GUID

dvtype?

optional dvtype?: number | string & object | "auto" | "dv" | "hdv"

override autodetection of DV/HDV

See

https://ffmpeg.org/ffmpeg-formats.html#iec61883


image2

image2: object

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

image2 sequence

export_path_metadata?

optional export_path_metadata?: boolean | string & object

enable metadata containing input path information

framerate?

optional framerate?: string | number

set the video framerate

loop?

optional loop?: boolean | string & object

force loop over input file sequence

pattern_type?

optional pattern_type?: number | "none" | string & object | "glob" | "sequence"

set pattern type

pixel_format?

optional pixel_format?: string | number

set video pixel format

start_number?

optional start_number?: number | string & object

set first number in the sequence

start_number_range?

optional start_number_range?: number | string & object

set range for looking at the first sequence number

ts_from_file?

optional ts_from_file?: number | "none" | string & object | "sec" | "ns"

set frame timestamp from file's one

video_size?

optional video_size?: string | number

set video size

See

https://ffmpeg.org/ffmpeg-formats.html#image2


image2pipe

image2pipe: object

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

piped image2 sequence

frame_size?

optional frame_size?: number | string & object

force frame size in bytes

framerate?

optional framerate?: string | number

set the video framerate

loop?

optional loop?: boolean | string & object

force loop over input file sequence

pixel_format?

optional pixel_format?: string | number

set video pixel format

video_size?

optional video_size?: string | number

set video size

See

https://ffmpeg.org/ffmpeg-formats.html#image2pipe


imf

imf: object

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

IMF (Interoperable Master Format)

assetmaps?

optional assetmaps?: string | number

Comma-separated paths to ASSETMAP files.

See

https://ffmpeg.org/ffmpeg-formats.html#imf


jack

jack: object

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

JACK Audio Connection Kit

channels?

optional channels?: number | string & object

Number of audio channels.

See

https://ffmpeg.org/ffmpeg-formats.html#jack


kmsgrab

kmsgrab: object

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

KMS screen capture

crtc_id?

optional crtc_id?: number | string & object

CRTC ID to define capture source

device?

optional device?: string | number

DRM device path

format?

optional format?: string | number

Pixel format for framebuffer

format_modifier?

optional format_modifier?: number | string & object

DRM format modifier for framebuffer

framerate?

optional framerate?: string | number

Framerate to capture at

plane_id?

optional plane_id?: number | string & object

Plane ID to define capture source

See

https://ffmpeg.org/ffmpeg-formats.html#kmsgrab


kux

kux: object

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

KUX (YouKu)

flv_full_metadata?

optional flv_full_metadata?: boolean | string & object

Dump full metadata of the onMetadata

flv_ignore_prevtag?

optional flv_ignore_prevtag?: boolean | string & object

Ignore the Size of previous tag

flv_metadata?

optional flv_metadata?: boolean | string & object

Allocate streams according to the onMetaData array

See

https://ffmpeg.org/ffmpeg-formats.html#kux


lavfi

lavfi: object

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

Libavfilter virtual input device

dumpgraph?

optional dumpgraph?: string | number

dump graph to stderr

graph?

optional graph?: string | number

set libavfilter graph

graph_file?

optional graph_file?: string | number

set libavfilter graph filename

See

https://ffmpeg.org/ffmpeg-formats.html#lavfi


libcdio

libcdio: object

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

paranoia_mode?

optional paranoia_mode?: number | string & object | "full" | "disable" | "verify" | "overlap" | "neverskip"

set error recovery mode

speed?

optional speed?: number | string & object

set drive reading speed

See

https://ffmpeg.org/ffmpeg-formats.html#libcdio


libdc1394

libdc1394: object

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

dc1394 v.2 A/V grab

framerate?

optional framerate?: string | number

pixel_format?

optional pixel_format?: string | number

video_size?

optional video_size?: string | number

A string describing frame size, such as 640x480 or hd720.

See

https://ffmpeg.org/ffmpeg-formats.html#libdc1394


libgme

libgme: object

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

Game Music Emu demuxer

max_size?

optional max_size?: number | string & object

set max file size supported (in bytes)

sample_rate?

optional sample_rate?: number | string & object

set sample rate

track_index?

optional track_index?: number | string & object

set track that should be played

See

https://ffmpeg.org/ffmpeg-formats.html#libgme


libmodplug

libmodplug: object

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

ModPlug demuxer

bass_amount?

optional bass_amount?: number | string & object

XBass level 0(quiet)-100(loud)

bass_range?

optional bass_range?: number | string & object

XBass cutoff in Hz 10-100

max_size?

optional max_size?: number | string & object

Max file size supported (in bytes). Default is 5MB. Set to 0 for no limit (not recommended)

noise_reduction?

optional noise_reduction?: number | string & object

Enable noise reduction 0(off)-1(on)

reverb_delay?

optional reverb_delay?: number | string & object

Reverb delay in ms, usually 40-200ms

reverb_depth?

optional reverb_depth?: number | string & object

Reverb level 0(quiet)-100(loud)

surround_delay?

optional surround_delay?: number | string & object

Surround delay in ms, usually 5-40ms

surround_depth?

optional surround_depth?: number | string & object

Surround level 0(quiet)-100(heavy)

video_stream?

optional video_stream?: number | string & object

Make demuxer output a video stream

video_stream_expr?

optional video_stream_expr?: string | number

Color formula

video_stream_h?

optional video_stream_h?: number | string & object

Video stream height in char (one char = 8x8px)

video_stream_ptxt?

optional video_stream_ptxt?: number | string & object

Print speed, tempo, order, ... in video stream

video_stream_w?

optional video_stream_w?: number | string & object

Video stream width in char (one char = 8x8px)

See

https://ffmpeg.org/ffmpeg-formats.html#libmodplug


libopenmpt

libopenmpt: object

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

Tracker formats (libopenmpt)

layout?

optional layout?: string | number

set channel layout

sample_rate?

optional sample_rate?: number | string & object

set sample rate

subsong?

optional subsong?: number | string & object | "auto" | "all"

set subsong

See

https://ffmpeg.org/ffmpeg-formats.html#libopenmpt


live_flv

live_flv: object

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

live RTMP FLV (Flash Video)

flv_full_metadata?

optional flv_full_metadata?: boolean | string & object

Dump full metadata of the onMetadata

flv_ignore_prevtag?

optional flv_ignore_prevtag?: boolean | string & object

Ignore the Size of previous tag

flv_metadata?

optional flv_metadata?: boolean | string & object

Allocate streams according to the onMetaData array

See

https://ffmpeg.org/ffmpeg-formats.html#live_005fflv


m4a

m4a: object

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

QuickTime / MOV

activation_bytes?

optional activation_bytes?: string | number

Secret bytes for Audible AAX files

advanced_editlist?

optional advanced_editlist?: boolean | string & object

Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits.

audible_fixed_key?

optional audible_fixed_key?: string | number

Fixed key used for handling Audible AAX files

audible_iv?

optional audible_iv?: string | number

AES-128 IV for Audible AAXC files

audible_key?

optional audible_key?: string | number

AES-128 Key for Audible AAXC files

decryption_key?

optional decryption_key?: string | number

The default media decryption key (hex)

decryption_keys?

optional decryption_keys?: string | number

The media decryption keys by KID (hex)

enable_drefs?

optional enable_drefs?: boolean | string & object

Enable external track support.

export_all?

optional export_all?: boolean | string & object

Export unrecognized metadata entries

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

ignore_chapters?

optional ignore_chapters?: boolean | string & object

ignore_editlist?

optional ignore_editlist?: boolean | string & object

Ignore the edit list atom.

interleaved_read?

optional interleaved_read?: boolean | string & object

Interleave packets from multiple tracks at demuxer level

max_stts_delta?

optional max_stts_delta?: number | string & object

treat offsets above this value as invalid

seek_streams_individually?

optional seek_streams_individually?: boolean | string & object

Seek each stream individually to the closest point

use_absolute_path?

optional use_absolute_path?: boolean | string & object

allow using absolute path when opening alias, this is a possible security issue

use_mfra_for?

optional use_mfra_for?: number | string & object | "auto" | "pts" | "dts"

use mfra for fragment timestamps

use_tfdt?

optional use_tfdt?: boolean | string & object

use tfdt for fragment timestamps

See

https://ffmpeg.org/ffmpeg-formats.html#m4a


mcc

mcc: object

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

MacCaption

eia608_extract?

optional eia608_extract?: boolean | string & object

extract EIA-608/708 captions from VANC packets

See

https://ffmpeg.org/ffmpeg-formats.html#mcc


microdvd

microdvd: object

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

MicroDVD subtitle format

subfps?

optional subfps?: string | number

set the movie frame rate fallback

See

https://ffmpeg.org/ffmpeg-formats.html#microdvd


mj2

mj2: object

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

QuickTime / MOV

activation_bytes?

optional activation_bytes?: string | number

Secret bytes for Audible AAX files

advanced_editlist?

optional advanced_editlist?: boolean | string & object

Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits.

audible_fixed_key?

optional audible_fixed_key?: string | number

Fixed key used for handling Audible AAX files

audible_iv?

optional audible_iv?: string | number

AES-128 IV for Audible AAXC files

audible_key?

optional audible_key?: string | number

AES-128 Key for Audible AAXC files

decryption_key?

optional decryption_key?: string | number

The default media decryption key (hex)

decryption_keys?

optional decryption_keys?: string | number

The media decryption keys by KID (hex)

enable_drefs?

optional enable_drefs?: boolean | string & object

Enable external track support.

export_all?

optional export_all?: boolean | string & object

Export unrecognized metadata entries

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

ignore_chapters?

optional ignore_chapters?: boolean | string & object

ignore_editlist?

optional ignore_editlist?: boolean | string & object

Ignore the edit list atom.

interleaved_read?

optional interleaved_read?: boolean | string & object

Interleave packets from multiple tracks at demuxer level

max_stts_delta?

optional max_stts_delta?: number | string & object

treat offsets above this value as invalid

seek_streams_individually?

optional seek_streams_individually?: boolean | string & object

Seek each stream individually to the closest point

use_absolute_path?

optional use_absolute_path?: boolean | string & object

allow using absolute path when opening alias, this is a possible security issue

use_mfra_for?

optional use_mfra_for?: number | string & object | "auto" | "pts" | "dts"

use mfra for fragment timestamps

use_tfdt?

optional use_tfdt?: boolean | string & object

use tfdt for fragment timestamps

See

https://ffmpeg.org/ffmpeg-formats.html#mj2


mov

mov: object

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

QuickTime / MOV

activation_bytes?

optional activation_bytes?: string | number

Secret bytes for Audible AAX files

advanced_editlist?

optional advanced_editlist?: boolean | string & object

Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits.

audible_fixed_key?

optional audible_fixed_key?: string | number

Fixed key used for handling Audible AAX files

audible_iv?

optional audible_iv?: string | number

AES-128 IV for Audible AAXC files

audible_key?

optional audible_key?: string | number

AES-128 Key for Audible AAXC files

decryption_key?

optional decryption_key?: string | number

The default media decryption key (hex)

decryption_keys?

optional decryption_keys?: string | number

The media decryption keys by KID (hex)

enable_drefs?

optional enable_drefs?: boolean | string & object

Enable external track support.

export_all?

optional export_all?: boolean | string & object

Export unrecognized metadata entries

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

ignore_chapters?

optional ignore_chapters?: boolean | string & object

ignore_editlist?

optional ignore_editlist?: boolean | string & object

Ignore the edit list atom.

interleaved_read?

optional interleaved_read?: boolean | string & object

Interleave packets from multiple tracks at demuxer level

max_stts_delta?

optional max_stts_delta?: number | string & object

treat offsets above this value as invalid

seek_streams_individually?

optional seek_streams_individually?: boolean | string & object

Seek each stream individually to the closest point

use_absolute_path?

optional use_absolute_path?: boolean | string & object

allow using absolute path when opening alias, this is a possible security issue

use_mfra_for?

optional use_mfra_for?: number | string & object | "auto" | "pts" | "dts"

use mfra for fragment timestamps

use_tfdt?

optional use_tfdt?: boolean | string & object

use tfdt for fragment timestamps

See

https://ffmpeg.org/ffmpeg-formats.html#mov


mp3

mp3: object

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

MP2/3 (MPEG audio layer 2/3)

usetoc?

optional usetoc?: boolean | string & object

use table of contents

See

https://ffmpeg.org/ffmpeg-formats.html#mp3


mp4

mp4: object

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

QuickTime / MOV

activation_bytes?

optional activation_bytes?: string | number

Secret bytes for Audible AAX files

advanced_editlist?

optional advanced_editlist?: boolean | string & object

Modify the AVIndex according to the editlists. Use this option to decode in the order specified by the edits.

audible_fixed_key?

optional audible_fixed_key?: string | number

Fixed key used for handling Audible AAX files

audible_iv?

optional audible_iv?: string | number

AES-128 IV for Audible AAXC files

audible_key?

optional audible_key?: string | number

AES-128 Key for Audible AAXC files

decryption_key?

optional decryption_key?: string | number

The default media decryption key (hex)

decryption_keys?

optional decryption_keys?: string | number

The media decryption keys by KID (hex)

enable_drefs?

optional enable_drefs?: boolean | string & object

Enable external track support.

export_all?

optional export_all?: boolean | string & object

Export unrecognized metadata entries

export_xmp?

optional export_xmp?: boolean | string & object

Export full XMP metadata

ignore_chapters?

optional ignore_chapters?: boolean | string & object

ignore_editlist?

optional ignore_editlist?: boolean | string & object

Ignore the edit list atom.

interleaved_read?

optional interleaved_read?: boolean | string & object

Interleave packets from multiple tracks at demuxer level

max_stts_delta?

optional max_stts_delta?: number | string & object

treat offsets above this value as invalid

seek_streams_individually?

optional seek_streams_individually?: boolean | string & object

Seek each stream individually to the closest point

use_absolute_path?

optional use_absolute_path?: boolean | string & object

allow using absolute path when opening alias, this is a possible security issue

use_mfra_for?

optional use_mfra_for?: number | string & object | "auto" | "pts" | "dts"

use mfra for fragment timestamps

use_tfdt?

optional use_tfdt?: boolean | string & object

use tfdt for fragment timestamps

See

https://ffmpeg.org/ffmpeg-formats.html#mp4


mpegts

mpegts: object

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

MPEG-TS (MPEG-2 Transport Stream)

fix_teletext_pts?

optional fix_teletext_pts?: boolean | string & object

try to fix pts values of dvb teletext streams

max_packet_size?

optional max_packet_size?: number | string & object

maximum size of emitted packet

merge_pmt_versions?

optional merge_pmt_versions?: boolean | string & object

reuse streams when PMT's version/pids change

resync_size?

optional resync_size?: number | string & object

set size limit for looking up a new synchronization

scan_all_pmts?

optional scan_all_pmts?: boolean | string & object

scan and combine all PMTs

skip_changes?

optional skip_changes?: boolean | string & object

skip changing / adding streams / programs

skip_clear?

optional skip_clear?: boolean | string & object

skip clearing programs

skip_unknown_pmt?

optional skip_unknown_pmt?: boolean | string & object

skip PMTs for programs not advertised in the PAT

ts_id?

optional ts_id?: number | string & object

transport stream id

ts_packetsize?

optional ts_packetsize?: number | string & object

output option carrying the raw packet size

See

https://ffmpeg.org/ffmpeg-formats.html#mpegts


mpegtsraw

mpegtsraw: object

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

raw MPEG-TS (MPEG-2 Transport Stream)

compute_pcr?

optional compute_pcr?: boolean | string & object

compute exact PCR for each transport stream packet

resync_size?

optional resync_size?: number | string & object

set size limit for looking up a new synchronization

ts_id?

optional ts_id?: number | string & object

transport stream id

ts_packetsize?

optional ts_packetsize?: number | string & object

output option carrying the raw packet size

See

https://ffmpeg.org/ffmpeg-formats.html#mpegtsraw


mpjpeg

mpjpeg: object

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

MIME multipart JPEG

strict_mime_boundary?

optional strict_mime_boundary?: boolean | string & object

require MIME boundaries match

See

https://ffmpeg.org/ffmpeg-formats.html#mpjpeg


mxf

mxf: object

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

MXF (Material eXchange Format)

eia608_extract?

optional eia608_extract?: boolean | string & object

extract eia 608 captions from s436m track

See

https://ffmpeg.org/ffmpeg-formats.html#mxf


obu

obu: object

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

AV1 low overhead OBU

framerate?

optional framerate?: string | number

See

https://ffmpeg.org/ffmpeg-formats.html#obu


openal

openal: object

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

OpenAL audio capture device

channels?

optional channels?: number | string & object

set number of channels

list_devices?

optional list_devices?: number | "true" | string & object | "false"

list available devices

sample_rate?

optional sample_rate?: number | string & object

set sample rate

sample_size?

optional sample_size?: number | string & object

set sample size

See

https://ffmpeg.org/ffmpeg-formats.html#openal


oss

oss: object

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

OSS (Open Sound System) capture

channels?

optional channels?: number | string & object

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#oss


pulse

pulse: object

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

Pulse audio input

channels?

optional channels?: number | string & object

set number of audio channels

fragment_size?

optional fragment_size?: number | string & object

set buffering size, affects latency and cpu usage

frame_size?

optional frame_size?: number | string & object

set number of bytes per frame

name?

optional name?: string | number

set application name

sample_rate?

optional sample_rate?: number | string & object

set sample rate in Hz

server?

optional server?: string | number

set PulseAudio server

stream_name?

optional stream_name?: string | number

set stream description

wallclock?

optional wallclock?: number | string & object

set the initial pts using the current time

See

https://ffmpeg.org/ffmpeg-formats.html#pulse


rawvideo

rawvideo: object

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

raw video

framerate?

optional framerate?: string | number

set frame rate

pixel_format?

optional pixel_format?: string | number

set pixel format

stride?

optional stride?: string | number

frame line size in bytes

video_size?

optional video_size?: string | number

set frame size

See

https://ffmpeg.org/ffmpeg-formats.html#rawvideo


rtp

rtp: object

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

RTP input

allowed_media_types?

optional allowed_media_types?: number | "video" | "audio" | "data" | "subtitle" | string & object

set media types to accept from the server

buffer_size?

optional buffer_size?: number | string & object

Underlying protocol send/receive buffer size

listen_timeout?

optional listen_timeout?: string | number

set maximum timeout (in seconds) to wait for incoming connections

localaddr?

optional localaddr?: string | number

local address

pkt_size?

optional pkt_size?: number | string & object

Underlying protocol send packet size

reorder_queue_size?

optional reorder_queue_size?: number | string & object

set number of packets to buffer for handling of reordered packets

rtp_flags?

optional rtp_flags?: number | string & object | "filter_src"

set RTP flags

See

https://ffmpeg.org/ffmpeg-formats.html#rtp


sbg

sbg: object

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

SBaGen binaural beats script

frame_size?

optional frame_size?: number | string & object

max_file_size?

optional max_file_size?: number | string & object

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#sbg


sdp

sdp: object

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

SDP

allowed_media_types?

optional allowed_media_types?: number | "video" | "audio" | "data" | "subtitle" | string & object

set media types to accept from the server

buffer_size?

optional buffer_size?: number | string & object

Underlying protocol send/receive buffer size

listen_timeout?

optional listen_timeout?: string | number

set maximum timeout (in seconds) to wait for incoming connections

localaddr?

optional localaddr?: string | number

local address

pkt_size?

optional pkt_size?: number | string & object

Underlying protocol send packet size

reorder_queue_size?

optional reorder_queue_size?: number | string & object

set number of packets to buffer for handling of reordered packets

sdp_flags?

optional sdp_flags?: number | string & object | "filter_src" | "custom_io" | "rtcp_to_source"

SDP flags

See

https://ffmpeg.org/ffmpeg-formats.html#sdp


ser

ser: object

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

SER (Simple uncompressed video format for astronomical capturing)

framerate?

optional framerate?: string | number

set frame rate

See

https://ffmpeg.org/ffmpeg-formats.html#ser


sln

sln: object

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

Asterisk raw pcm

ch_layout?

optional ch_layout?: string | number

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#sln


sndio

sndio: object

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

sndio audio capture

channels?

optional channels?: number | string & object

sample_rate?

optional sample_rate?: number | string & object

See

https://ffmpeg.org/ffmpeg-formats.html#sndio


tedcaptions

tedcaptions: object

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

TED Talks captions

start_time?

optional start_time?: number | string & object

set the start time (offset) of the subtitles, in ms

See

https://ffmpeg.org/ffmpeg-formats.html#tedcaptions


tty

tty: object

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

Tele-typewriter

chars_per_frame?

optional chars_per_frame?: number | string & object

framerate?

optional framerate?: string | number

video_size?

optional video_size?: string | number

A string describing frame size, such as 640x480 or hd720.

See

https://ffmpeg.org/ffmpeg-formats.html#tty


v4l2

v4l2: object

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

Video4Linux2 device grab

channel?

optional channel?: number | string & object

set TV channel, used only by frame grabber

framerate?

optional framerate?: string | number

set frame rate

input_format?

optional input_format?: string | number

set preferred pixel format (for raw video) or codec name

list_formats?

optional list_formats?: number | string & object | "all" | "raw" | "compressed"

list available formats and exit

list_standards?

optional list_standards?: number | string & object | "all"

list supported standards and exit

pixel_format?

optional pixel_format?: string | number

set preferred pixel format

standard?

optional standard?: string | number

set TV standard, used only by analog frame grabber

timestamps?

optional timestamps?: number | string & object | "default" | "abs" | "mono2abs"

set type of timestamps for grabbed frames

ts?

optional ts?: number | string & object | "default" | "abs" | "mono2abs"

set type of timestamps for grabbed frames

use_libv4l2?

optional use_libv4l2?: boolean | string & object

use libv4l2 (v4l-utils) conversion functions

video_size?

optional video_size?: string | number

set frame size

See

https://ffmpeg.org/ffmpeg-formats.html#v4l2


vapoursynth

vapoursynth: object

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

VapourSynth demuxer

max_script_size?

optional max_script_size?: number | string & object

set max file size supported (in bytes)

See

https://ffmpeg.org/ffmpeg-formats.html#vapoursynth


vfwcap

vfwcap: object

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

VfW video capture

framerate?

optional framerate?: string | number

video_size?

optional video_size?: string | number

A string describing frame size, such as 640x480 or hd720.

See

https://ffmpeg.org/ffmpeg-formats.html#vfwcap


video4linux2

video4linux2: object

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

Video4Linux2 device grab

channel?

optional channel?: number | string & object

set TV channel, used only by frame grabber

framerate?

optional framerate?: string | number

set frame rate

input_format?

optional input_format?: string | number

set preferred pixel format (for raw video) or codec name

list_formats?

optional list_formats?: number | string & object | "all" | "raw" | "compressed"

list available formats and exit

list_standards?

optional list_standards?: number | string & object | "all"

list supported standards and exit

pixel_format?

optional pixel_format?: string | number

set preferred pixel format

standard?

optional standard?: string | number

set TV standard, used only by analog frame grabber

timestamps?

optional timestamps?: number | string & object | "default" | "abs" | "mono2abs"

set type of timestamps for grabbed frames

ts?

optional ts?: number | string & object | "default" | "abs" | "mono2abs"

set type of timestamps for grabbed frames

use_libv4l2?

optional use_libv4l2?: boolean | string & object

use libv4l2 (v4l-utils) conversion functions

video_size?

optional video_size?: string | number

set frame size

See

https://ffmpeg.org/ffmpeg-formats.html#video4linux2


vobsub

vobsub: object

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

VobSub subtitle format

sub_name?

optional sub_name?: string | number

URI for .sub file

See

https://ffmpeg.org/ffmpeg-formats.html#vobsub


wav

wav: object

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

WAV / WAVE (Waveform Audio)

ignore_length?

optional ignore_length?: boolean | string & object

Ignore length

max_size?

optional max_size?: number | string & object

max size of single packet

See

https://ffmpeg.org/ffmpeg-formats.html#wav


webm_dash_manifest

webm_dash_manifest: object

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

WebM DASH Manifest

bandwidth?

optional bandwidth?: number | string & object

bandwidth of this stream to be specified in the DASH manifest.

live?

optional live?: boolean | string & object

flag indicating that the input is a live file that only has the headers.

See

https://ffmpeg.org/ffmpeg-formats.html#webm_005fdash_005fmanifest


webp_anim

webp_anim: object

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

Animated WebP

default_delay?

optional default_delay?: number | string & object

default delay between frames (in milliseconds)

ignore_loop?

optional ignore_loop?: boolean | string & object

ignore loop setting

max_webp_delay?

optional max_webp_delay?: number | string & object

maximum valid delay between frames (in milliseconds)

min_delay?

optional min_delay?: number | string & object

minimum valid delay between frames (in milliseconds)

usebgcolor?

optional usebgcolor?: boolean | string & object

use background color from ANIM chunk

See

https://ffmpeg.org/ffmpeg-formats.html#webp_005fanim


webvtt

webvtt: object

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

WebVTT subtitle

kind?

optional kind?: number | string & object | "metadata" | "subtitles" | "captions" | "descriptions"

Set kind of WebVTT track

See

https://ffmpeg.org/ffmpeg-formats.html#webvtt


x11grab

x11grab: object

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

X11 screen capture, using XCB

draw_mouse?

optional draw_mouse?: number | string & object

Draw the mouse pointer.

follow_mouse?

optional follow_mouse?: number | string & object | "centered"

Move the grabbing region when the mouse pointer reaches within specified amount of pixels to the edge of region.

framerate?

optional framerate?: string | number

grab_x?

optional grab_x?: number | string & object

Initial x coordinate.

grab_y?

optional grab_y?: number | string & object

Initial y coordinate.

region_border?

optional region_border?: number | string & object

Set the region border thickness.

select_region?

optional select_region?: boolean | string & object

Select the grabbing region graphically using the pointer.

show_region?

optional show_region?: number | string & object

Show the grabbing region.

video_size?

optional video_size?: string | number

A string describing frame size, such as 640x480 or hd720.

window_id?

optional window_id?: number | string & object

Window to capture.

x?

optional x?: number | string & object

Initial x coordinate.

y?

optional y?: number | string & object

Initial y coordinate.

See

https://ffmpeg.org/ffmpeg-formats.html#x11grab