Formats
All CPU codecs from the following table is the FFMpeg based video codecs. GPU codecs is a custom implementation of Medialooks team.
MPEG Program Stream
Configuration Parameter: mpeg
Extensions: mpg,mpeg
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
muxrate | int | 0 | The combined rate of all video and audio elementary stream packets common to one program. This rate also includes the VBI and sub-picture private stream data, which MPEG treats as a private stream type. |
preload | int | 500000 | Initial demux-decode delay in microseconds. |
Video codecs
- MPEG-1 Video
- MPEG-2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- MPEG-4 part 2 Video
- Direct stream copy
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
MPEG Transport Stream
Configuration Parameter: mpegts
Extensions: ts,m2t,m2ts,mts
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
embed_scte35 | bool | false | Enable embedding SCTE-35 triggers into MPEG transport stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
mpegts_transport_stream_id | int | 1 | Set transport_stream_id field. |
mpegts_original_network_id | int | 65281 | Set original_network_id field. |
mpegts_service_id | int | 1 | Set service_id field. |
mpegts_service_type | option | digital_tv | Set service_type field.
|
mpegts_pmt_start_pid | int | 4096 | Set the first pid of the PMT. |
mpegts_start_pid | int | 256 | Set the first pid. |
mpegts_m2ts_mode | Enable m2ts mode. | ||
muxrate | int | 1 | |
pes_payload_size | int | 2930 | Minimum PES packet payload in bytes |
mpegts_flags | flags | MPEG-TS muxing flags
|
|
resend_headers | int | 0 | Reemit PAT/PMT before writing the next packet |
mpegts_copyts | don't offset dts/pts | ||
tables_version | int | 0 | set PAT, PMT and SDT version |
omit_video_pes_length | Omit the PES packet length for video packets | ||
pcr_period | int | 20 | PCR retransmission time |
pat_period | double | 2147483647.000000 | PAT/PMT retransmission time limit in seconds |
sdt_period | double | 2147483647.000000 | SDT retransmission time limit in seconds |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Direct stream copy
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- AAC (Advanced Audio Coding)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
MP4 (MPEG-4 Part 14)
Configuration Parameter: mp4
Extensions: mp4
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
movflags | flags | MOV muxer flags
|
|
moov_size | int | 0 | maximum moov size so it can be placed at the begin |
rtpflags | flags | RTP muxer flags
|
|
skip_iods | Skip writing iods atom. | ||
iods_audio_profile | int | -1 | iods audio profile atom. |
iods_video_profile | int | -1 | iods video profile atom. |
frag_duration | int | 0 | Maximum fragment duration |
min_frag_duration | int | 0 | Minimum fragment duration |
frag_size | int | 0 | Maximum fragment size |
ism_lookahead | int | 0 | Number of lookahead entries for ISM files |
video_track_timescale | int | 0 | set timescale of all video tracks |
brand | string | Override major brand | |
use_editlist | use edit list | ||
fragment_index | int | 1 | Fragment number of the next fragment |
mov_gamma | double | 0.000000 | gamma value for gama atom |
frag_interleave | int | 0 | Interleave samples within fragments (max number of consecutive samples, lower is tighter interleaving, but with more overhead) |
encryption_scheme | string | Configures the encryption scheme, allowed values are none, cenc-aes-ctr | |
encryption_key | The media encryption key (hex) | ||
encryption_kid | The media encryption key identifier (hex) | ||
use_stream_ids_as_track_ids | use stream ids as track ids | ||
write_tmcd | force or disable writing tmcd | ||
display_rotation |
double | Set video rotation metadata. Rotation is a decimal number specifying the amount in degree by which the video should be rotated counter-clockwise before being displayed |
Video codecs
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- MPEG-2 Video
- MJPEG (Motion JPEG)
- MPEG-1 Video
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Ogg Vorbis
- Direct stream copy
- No Audio
MOV (QuickTime File Format)
Configuration Parameter: mov
Extensions: mov
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
movflags | flags | MOV muxer flags
|
|
moov_size | int | 0 | maximum moov size so it can be placed at the begin |
rtpflags | flags | RTP muxer flags
|
|
skip_iods | Skip writing iods atom. | ||
iods_audio_profile | int | -1 | iods audio profile atom. |
iods_video_profile | int | -1 | iods video profile atom. |
frag_duration | int | 0 | Maximum fragment duration |
min_frag_duration | int | 0 | Minimum fragment duration |
frag_size | int | 0 | Maximum fragment size |
ism_lookahead | int | 0 | Number of lookahead entries for ISM files |
video_track_timescale | int | 0 | set timescale of all video tracks |
brand | string | Override major brand | |
use_editlist | use edit list | ||
fragment_index | int | 1 | Fragment number of the next fragment |
mov_gamma | double | 0.000000 | gamma value for gama atom |
frag_interleave | int | 0 | Interleave samples within fragments (max number of consecutive samples, lower is tighter interleaving, but with more overhead) |
encryption_scheme | string | Configures the encryption scheme, allowed values are none, cenc-aes-ctr | |
encryption_key | The media encryption key (hex) | ||
encryption_kid | The media encryption key identifier (hex) | ||
use_stream_ids_as_track_ids | use stream ids as track ids | ||
write_tmcd | force or disable writing tmcd | ||
display_rotation |
double | Set video rotation metadata. Rotation is a decimal number specifying the amount in degree by which the video should be rotated counter-clockwise before being displayed |
Video codecs
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- MPEG-2 Video
- DV Video / DVCPRO-HD
- MJPEG (Motion JPEG)
- FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
- HuffYUV
- FFV1
- MPEG-1 Video
- Windows Media Video 8
- Apple ProRes proxy
- Apple ProRes 422 (LT)
- Apple ProRes 422
- Apple ProRes 422 (HQ)
- QuickTime Animation (RLE) video
- Uncompressed 4:2:2 8bit
- Uncompressed 4:2:2 10bit
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52 E-AC-3
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- (Uncompressed) PCM signed 32-bit little-endian
- (Uncompressed) PCM 32-bit floating point little-endian
- ALAC (Apple Lossless Audio Codec)
- ADPCM IMA QuickTime
- ATSC A/52A (AC-3) Fixed
- Ogg Vorbis
- ADPCM Microsoft
- Direct stream copy
- No Audio
MOV DNxHD
Configuration Parameter: mov_dnxhd
Extensions: mov
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
movflags | flags | MOV muxer flags
|
|
moov_size | int | 0 | Maximum moov size so it can be placed at the begin |
skip_iods | int | 1 | Skip writing iods atom. |
iods_audio_profile | int | -1 | Iods audio profile atom. |
iods_video_profile | int | -1 | Iods video profile atom. |
frag_duration | int | 0 | Maximum fragment duration |
min_frag_duration | int | 0 | Minimum fragment duration |
frag_size | int | 0 | Maximum fragment size |
display_rotation |
double | Set video rotation metadata. Rotation is a decimal number specifying the amount in degree by which the video should be rotated counter-clockwise before being displayed |
Video codecs
- DNxHD 1080 60p 440M
- DNxHD 1080 60p 290M
- DNxHD 1080 60p 90M
- DNxHD 1080 59p 440M
- DNxHD 1080 59p 290M
- DNxHD 1080 59p 90M
- DNxHD 1080 50p 365M
- DNxHD 1080 50p 240M
- DNxHD 1080 50p 75M
- DNxHD 1080 59i 220M
- DNxHD 1080 59i 145M
- DNxHD 1080 50i 185M
- DNxHD 1080 50i 120M
- DNxHD 1080 25p 185M
- DNxHD 1080 25p 120M
- DNxHD 1080 25p 36M
- DNxHD 1080 24p 175M
- DNxHD 1080 24p 115M
- DNxHD 1080 24p 36M
- DNxHD 1080 23p 175M
- DNxHD 1080 23p 115M
- DNxHD 1080 23p 36M
- DNxHD 1080 29p 220M
- DNxHD 1080 29p 145M
- DNxHD 1080 29p 45M
- DNxHD 720 59p 220M
- DNxHD 720 59p 145M
- DNxHD 720 50p 60M
- DNxHD 720 25p 90M
- DNxHR LB - Low Bandwidth (8-bit 4:2:2)
- DNxHR SQ - Standard Quality (8-bit 4:2:2)
- DNxHR HQ - High Quality (8-bit 4:2:2)
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52 E-AC-3
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- (Uncompressed) PCM signed 32-bit little-endian
- (Uncompressed) PCM 32-bit floating point little-endian
- ALAC (Apple Lossless Audio Codec)
- ADPCM IMA QuickTime
- ATSC A/52A (AC-3) Fixed
- Ogg Vorbis
- ADPCM Microsoft
- No Audio
XDCAM - MPEG IMX (MPEG-4 container)
Configuration Parameter: mov
Extensions: mov
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
movflags | flags | MOV muxer flags
|
|
moov_size | int | 0 | Maximum moov size so it can be placed at the begin |
skip_iods | int | 1 | Skip writing iods atom. |
iods_audio_profile | int | -1 | Iods audio profile atom. |
iods_video_profile | int | -1 | Iods video profile atom. |
frag_duration | int | 0 | Maximum fragment duration |
min_frag_duration | int | 0 | Minimum fragment duration |
frag_size | int | 0 | Maximum fragment size |
Video codecs
- MPEG-2 Video 30Mbps
- MPEG-2 Video 40Mbps
- MPEG-2 Video 50Mbps
- Direct stream copy
- No Video
Audio codecs
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- Direct stream copy
- No Audio
MXF (Material eXchange Format)
Configuration Parameter: mxf
Extensions: mxf
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2 video) |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false |
Video codecs
- MPEG-2 Video
- DV Video / DVCPRO-HD
- VC3/DNxHD 1080
- VC3/DNxHD 720
- Direct stream copy
- No Video
Audio codecs
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- Direct stream copy
- No Audio
MXF D-10 (Material eXchange Format D-10 Mapping)
Configuration Parameter: mxf_d10
Extensions: mxf
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false |
Video codecs
- MPEG-2 Video 30Mbps
- MPEG-2 Video 40Mbps
- MPEG-2 Video 50Mbps
- Direct stream copy
Audio codecs
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- Direct stream copy
- No Audio
GXF (General eXchange Format)
Configuration Parameter: gxf
Extensions: gxf
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false |
Video codecs
- MPEG-2 Video PAL
- MPEG-2 Video NTSC
Audio codecs
- (Uncompressed) PCM signed 16-bit little-endian
- No Audio
DV (Digital Video)
Configuration Parameter: dv
Extensions: dv
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false |
Video codecs
- DV (Digital Video)
Audio codecs
- (Uncompressed) PCM signed 16-bit little-endian
- No Audio
FLV (Flash Video)
Configuration Parameter: flv
Extensions: flv
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false |
Video codecs
- FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- AMD AMF H.264 Encoder
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- (Uncompressed) PCM signed 16-bit little-endian 44100Hz
- (Uncompressed) PCM signed 16-bit little-endian 22050Hz
- No Audio
DVD Video (VOB-Files)
Configuration Parameter: vob
Extensions: vob
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
muxrate | int | 0 | The combined rate of all video and audio elementary stream packets common to one program. This rate also includes the VBI and sub-picture private stream data, which MPEG treats as a private stream type. |
preload | int | 500000 | Initial demux-decode delay in microseconds. |
Video codecs
- MPEG-2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- MPEG-1 Video
- MPEG-4 part 2 Video
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- No Audio
ASF (Advanced / Active Streaming Format)
Configuration Parameter: asf
Extensions: asf,wmv,wma
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false |
Video codecs
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- AMD AMF H.264 Encoder
- Windows Media Video 8
- MPEG-2 Video
- MJPEG (Motion JPEG)
- HuffYUV
- Google VP8
- Google VP9
- DV Video / DVCPRO-HD
- FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
- MPEG-1 Video
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- AAC (Advanced Audio Coding)
- ATSC A/52A (AC-3)
- (Uncompressed) PCM 32-bit floating point little-endian
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- (Uncompressed) PCM signed 32-bit little-endian
- ADPCM Microsoft
- Ogg Vorbis
- No Audio
iPod MP4 (MPEG-4 Part 14)
Configuration Parameter: ipod
Extensions: m4v,m4a
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
movflags | flags | MOV muxer flags
|
|
moov_size | int | 0 | Maximum moov size so it can be placed at the begin |
skip_iods | int | 1 | Skip writing iods atom. |
iods_audio_profile | int | -1 | Iods audio profile atom. |
iods_video_profile | int | -1 | Iods video profile atom. |
frag_duration | int | 0 | Maximum fragment duration |
min_frag_duration | int | 0 | Minimum fragment duration |
frag_size | int | 0 | Maximum fragment size |
display_rotation |
double | Set video rotation metadata. Rotation is a decimal number specifying the amount in degree by which the video should be rotated counter-clockwise before being displayed |
Video codecs
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- x265 H.265/HEVC
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- ATSC A/52A (AC-3)
- ALAC (Apple Lossless Audio Codec)
- No Audio
AVI (Audio Video Interleaved)
Configuration Parameter: avi
Extensions: avi
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
reserve_index_space | int | 0 | reserve space (in bytes) at the beginning of the file for each stream index |
write_channel_mask | write channel mask into wave format header |
Video codecs
- MPEG-4 part 2 Video
- MPEG-2 Video
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Windows Media Video 8
- MJPEG (Motion JPEG)
- DV Video / DVCPRO-HD
- HuffYUV
- FFV1
- Google VP8
- Google VP9
- FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- MPEG-1 Video
- OpenJPEG JPEG 2000
- Uncompressed 4:2:2 8bit
- Uncompressed 4:2:2 10bit
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- MP2 (MPEG audio layer 2)
- (Uncompressed) PCM 32-bit floating point little-endian
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- (Uncompressed) PCM signed 32-bit little-endian
- ADPCM Microsoft
- MP3 Lame (MPEG audio layer 3)
- Ogg Vorbis
- Direct stream copy
- No Audio
MKV (Matroska)
Configuration Parameter: matroska
Extensions: mkv
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
scc_capture | option_fixed | true | Capture SCC Closed Captioning |
anc_capture | option_fixed | false | Capture ANC Closed Captioning |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
raw_video | string | Capture RAW video. Set target save path as value. | |
raw_audio | string | Capture RAW audio. Set target save path as value. | |
ignore_pts | string | Ignore video sample times. Possible values: true, false | |
reserve_index_space | int | 0 | Reserve a given amount of space (in bytes) at the beginning of the file for the index (cues). |
cluster_size_limit | int | -1 | Store at most the provided amount of bytes in a cluster. |
cluster_time_limit | int64 | -1 | Store at most the provided number of milliseconds in a cluster. |
dash | Create a WebM file conforming to WebM DASH specification | ||
dash_track_number | int | 1 | Track number for the DASH stream |
live | Write files assuming it is a live stream. | ||
allow_raw_vfw | allow RAW VFW mode | ||
write_crc32 | write a CRC32 element inside every Level 1 element |
Video codecs
- MPEG-4 part 2 Video
- DV Video / DVCPRO-HD
- FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
- Cisco OpenH264 Encoder
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Apple ProRes
- HuffYUV
- MJPEG (Motion JPEG)
- MPEG-1 Video
- MPEG-2 Video
- FFV1
- Google VP8
- Google VP9
- Windows Media Video 8
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM signed 24-bit little-endian
- (Uncompressed) PCM signed 32-bit little-endian
- MP2 (MPEG audio layer 2)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- ALAC (Apple Lossless Audio Codec)
- Direct stream copy
- No Audio
WebM
Configuration Parameter: webm
Extensions: webm
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
reserve_index_space | int | 0 | Reserve a given amount of space (in bytes) at the beginning of the file for the index (cues). |
cluster_size_limit | int | -1 | Store at most the provided amount of bytes in a cluster. |
cluster_time_limit | int64 | -1 | Store at most the provided number of milliseconds in a cluster. |
dash | Create a WebM file conforming to WebM DASH specification | ||
dash_track_number | int | 1 | Track number for the DASH stream |
live | Write files assuming it is a live stream. | ||
allow_raw_vfw | allow RAW VFW mode | ||
write_crc32 | write a CRC32 element inside every Level 1 element |
Video codecs
- Google VP8
- Google VP9
Audio codecs
- Ogg Vorbis
- No Audio
RTMP Streaming
Configuration Parameter: flv
Extensions: rtmp://
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
merge_tracks | option_fixed | true | Merge audio tracks |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
rtmp_app | string | Name of application to connect on the RTMP server. This option overrides the parameter specified in the URI. | |
rtmp_buffer | string | Set the client buffer time in milliseconds. The default is 3000. | |
rtmp_flashver | string | Version of the Flash plugin used to run the SWF player. The default is LNX 9,0,124,2. (When publishing, the default is FMLE/3.0 (compatible; 'libavformat version'). | |
rtmp_live | string | Specify that the media is a live stream. No resuming or seeking in live streams is possible. The default value is any, which means the subscriber first tries to play the live stream specified in the playpath. If a live stream of that name is not found, it plays the recorded stream. The other possible values are live and recorded. | |
rtmp_pageurl | string | URL of the web page in which the media was embedded. By default no value will be sent. | |
rtmp_playpath | string | Stream identifier to play or to publish. This option overrides the parameter specified in the URI. | |
rtmp_subscribe | string | Name of live stream to subscribe to. By default no value will be sent. It is only sent if the option is specified or if rtmp_live is set to live. |
Video codecs
- FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
- Cisco OpenH264 Encoder
- H.264 / MPEG-4 AVC
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- NVIDIA NVEnc H.264 Encoder
- AMD AMF H.264 Encoder
- Direct stream copy
- No Video
Audio codecs
- MP3 Lame (MPEG audio layer 3)
- PCM signed 16-bit little-endian
- AAC (Advanced Audio Coding)
- Direct stream copy
- No Audio
UDP Streaming
Configuration Parameter: mpegts
Extensions: udp://
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
embed_scte35 | bool | false | Enable embedding SCTE-35 triggers into MPEG transport stream |
mpegts_transport_stream_id | int | 1 | Set transport_stream_id field. |
mpegts_original_network_id | int | 65281 | Set original_network_id field. |
mpegts_service_id | int | 1 | Set service_id field. |
mpegts_service_type | option | digital_tv | Set service_type field.
|
mpegts_pmt_start_pid | int | 4096 | Set the first pid of the PMT. |
mpegts_start_pid | int | 256 | Set the first pid. |
mpegts_m2ts_mode | Enable m2ts mode. | ||
muxrate | int | 1 | |
pes_payload_size | int | 2930 | Minimum PES packet payload in bytes |
mpegts_flags | flags | MPEG-TS muxing flags
|
|
resend_headers | int | 0 | Reemit PAT/PMT before writing the next packet |
mpegts_copyts | don't offset dts/pts | ||
tables_version | int | 0 | set PAT, PMT and SDT version |
omit_video_pes_length | Omit the PES packet length for video packets | ||
pcr_period | int | 20 | PCR retransmission time |
pat_period | double | 2147483647.000000 | PAT/PMT retransmission time limit in seconds |
sdt_period | double | 2147483647.000000 | SDT retransmission time limit in seconds |
flush_packets | int | -1 | Enable flushing of the I/O context after each packet |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- H.264 / MPEG-4 AVC
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- MJPEG (Motion JPEG)
- Direct stream copy
- No Video
Audio codecs
- MP3 Lame (MPEG audio layer 3)
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
DVB Compatible Streaming
Configuration Parameter: dvb
Extensions: udp://
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
embed_scte35 | bool | false | Enable embedding SCTE-35 triggers into MPEG transport stream |
service_name | string | MPService001 | Set Service Name |
service_provider | string | Medialooks MPlatform 1.7 | Set Service Provider |
transport_stream_id | int | 1 | Set transport_stream_id field. |
original_network_id | int | 1 | Set original_network_id field. |
muxrate | int | 1 | The combined rate of all video and audio elementary stream packets common to one program. This rate also includes the VBI and sub-picture private stream data, which MPEG treats as a private stream type. |
service_id | int | 1 | Set service_id field. |
service_type | option_fixed | digital_tv | Service type |
pmt_start_pid | int | 129 | Set the first pid of the PMT |
start_pid | int | 1024 | Set the first pid. |
pes_payload_size | int | 2930 | Minimum PES packet payload in bytes |
mpegts_flags | flags | +system_b | MPEG-TS muxing flags
|
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
resend_headers | int | 0 | Reemit PAT/PMT before writing the next packet |
tables_version | int | 0 | set PAT, PMT and SDT version |
rc_buffers | int | 8 | Rate-Control buffers |
rc_sync_msec | int | 1 | Rate-Control precision (in msec, miminum 1 msec) |
rc_max_underflow_msec | int | 30 | Rate-Control max underflow time, after this time the clock corrected (in msec) |
pcr_period | int | 20 | Override the default PCR retransmission time in milliseconds (default 20ms) |
pat_period | double | 0.1 | PAT/PMT retransmission time limit in seconds (default 100 msec) |
sdt_period | double | 0.5 | SDT retransmission time limit in seconds (default 500 msec) |
nit_period | double | 9.0 | NIT retransmission time limit in seconds (default 3 s) |
tdt_period | double | 25.0 | TDT retransmission time limit in seconds (default 10 s) |
eit_period | double | 1.5 | EIT present/following retransmission time limit in seconds (default 0.5 s) |
flush_packets | int | -1 | Enable flushing of the I/O context after each packet |
max_delay | int | 700000 | Set maximum multiplexing PTS/PCR delay in microseconds |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- H.264 / MPEG-4 AVC
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
SRT - Secure Reliable Tranport
Configuration Parameter: mpegts
Extensions: srt://
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
maxbw | int | -1 | Maximum send bandwidth. -1: infinite (CSRTCC limit is 30mbps) = 0: relative to input rate. |
pbkeylen | option_fixed | 0 | Sender encryption key length. |
passphrase | string | Sets the passphrase for encryption. This turns encryption on on this side (or turns it off, if empty passphrase is passed). | |
mss | int | 1500 | Maximum Segment Size. Used for buffer allocation and rate calculation using packet counter assuming fully filled packets. The smallest MSS between the peers is used. This is 1500 by default in the overall internet. This is the maximum size of the UDP packet and can be only decreased, unless you have some unusual dedicated network settings. Not to be mistaken with the size of the UDP payload or SRT payload — this size is the size of the IP packet, including the UDP and SRT headers. |
fc | int | 25600 | Flight Flag Size (maximum number of bytes that can be sent without being acknowledged). |
sndbuf | int | 12058624 | Send Buffer Size. Warning: configured in bytes, converted in packets, when set, based on MSS value. For desired result, configure MSS first. Default value: 8192 × (1500-28) |
rcvbuf | int | 12058624 | Receive Buffer Size. Receive buffer must not be greater than FC size. Warning: configured in bytes, converted in packets when set based on MSS value. For desired result, configure MSS first. Default value: 8192 × (1500-28) |
ipttl | option_fixed | 32 | IPv4 Time To Live (see IP_TTL option for IP) or IPv6 unicast hops (see IPV6_UNICAST_HOPS for IPV6) depending on socket address family. Applies to sender only. |
iptos | int | 184 | IPv4 Type of Service (see IP_TOS option for IP) or IPv6 Traffic Class (see IPV6_TCLASS of IPv6) depending on socket address family. Applies to sender only. Default: 0xB8 |
inputbw | int | 0 | Sender nominal input rate. Used along with OHEADBW, when MAXBW is set to relative (0), to calculate maximum sending rate when recovery packets are sent along with main media stream (INPUTBW × (100 + OHEADBW) / 100). If INPUTBW is not set while MAXBW is set to relative (0), the actual input rate is evaluated inside the library. |
oheadbw | int | 25 | Recovery bandwidth overhead above input rate (see SRTO_INPUTBW). Sender: user configurable, default: 25%. |
latency | int | 0 | This flag sets both SRTO_RCVLATENCY and SRTO_PEERLATENCY to the same value. Note that prior to version 1.3.0 this is the only flag to set the latency, however this is effectively equivalent to setting SRTO_PEERLATENCY, when the side is sender (see SRTO_SENDER) and SRTO_RCVLATENCY when the side is receiver, and the bidirectional stream sending in version 1.2.0is not supported. |
tsbpddelay | |||
tlpktdrop | bool | true | Too-late Packet Drop. When enabled on receiver, it skips missing packets that have not been delivered in time and delivers the subsequent packets to the application when their time-to-play has come. It also sends a fake ACK to the sender. When enabled on sender and enabled on the receiving peer, sender drops the older packets that have no chance to be delivered in time. It is automatically enabled in sender if receiver supports it. |
snddropdelay | |||
nakreport | bool | true | When set to true, Receiver will send UMSG_LOSSREPORT messages periodically until the lost packet is retransmitted or intentionally dropped |
conntimeo | int | 3000 | Connect timeout. SRT cannot connect for RTT > 1500 msec (2 handshake exchanges) with the default connect timeout of 3 seconds. This option applies to the caller and rendezvous connection modes. The connect timeout is 10 times the value set for the rendezvous mode (which can be used as a workaround for this connection problem with earlier versions) |
lossmaxttl | int | 0 | The value up to which the Reorder Tolerance may grow. When Reorder Tolerance is > 0, then packet loss report is delayed until that number of packets come in. Reorder Tolerance increases every time a "belated" packet has come, but it wasn't due to retransmission (that is, when UDP packets tend to come out of order), with the difference between the latest sequence and this packet's sequence, and not more than the value of this option. By default it's 0, which means that this mechanism is turned off, and the loss report is always sent immediately upon experiencing a "gap" in sequences. |
rcvlatency | int | 0 | The time that should elapse since the moment when the packet was sent and the moment when it's delivered to the receiver application in the receiving function. This time should be a buffer time large enough to cover the time spent for sending, unexpectedly extended RTT time, and the time needed to retransmit the lost UDP packet. The effective latency value will be the maximum of this options' value and the value of SRTO_PEERLATENCY set by the peer side. |
peerlatency | int | 0 | The latency value (as described in SRTO_RCVLATENCY) that is set by the sender side as a minimum value for the receiver. |
minversion | int | 0 | The minimum SRT version that is required from the peer. A connection to a peer that does not satisfy the minimum version requirement will be rejected. |
streamid | string | A string limited to 512 characters that can be set on the socket prior to connecting. This stream ID will be able to be retrieved by the listener side from the socket that is returned from srt_accept and was connected by a socket with that set stream ID. SRT does not enforce any special interpretation of the contents of this string. As this uses internally the std::string type, there are additional functions for it in the legacy/C++ API (udt.h): UDT::setstreamid and UDT::getstreamid. This option doesn’t make sense in Rendezvous connection; the result might be that simply one side will override the value from the other side and it’s the matter of luck which one would win | |
smoother | option_fixed | live | The type of Smoother used for the transmission for that socket, which is responsible for the transmission and congestion control. The Smoother type must be exactly the same on both connecting parties, otherwise the connection is rejected. |
messageapi | bool | true | When set, this socket uses the Message API[*], otherwise it uses Buffer API. Note that in live mode (see SRTO_TRANSTYPE option) there’s only message API available. |
payloadsize | int | 1316 | Sets the maximum declared size of a single call to sending function in Live mode. Use 0 if this value isn't used (which is default in file mode). This value shall not be exceeded for a single data sending instruction in Live mode/ Range: up to MTUsize-28-16, usually 1456 |
transtype | Sets the transmission type for the socket, in particular, setting this option sets multiple other parameters to their default values as required for a particular transmission type. Type: enum. Default: SRTT_LIVE. Range: SRTT_FILE | ||
kmrefreshrate | |||
kmpreannounce | |||
split_channels | option_fixed | 0 | Split audio channels |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
embed_scte35 | bool | false | Enable embedding SCTE-35 triggers into MPEG transport stream |
mpegts_transport_stream_id | int | 1 | Set transport_stream_id field. |
mpegts_original_network_id | int | 65281 | Set original_network_id field. |
mpegts_service_id | int | 1 | Set service_id field. |
mpegts_service_type | option | digital_tv | Set service_type field.
|
mpegts_pmt_start_pid | int | 4096 | Set the first pid of the PMT. |
mpegts_start_pid | int | 256 | Set the first pid. |
mpegts_m2ts_mode | Enable m2ts mode. | ||
muxrate | int | 1 | |
pes_payload_size | int | 2930 | Minimum PES packet payload in bytes |
mpegts_flags | flags | MPEG-TS muxing flags
|
|
resend_headers | int | 0 | Reemit PAT/PMT before writing the next packet |
mpegts_copyts | don't offset dts/pts | ||
tables_version | int | 0 | set PAT, PMT and SDT version |
omit_video_pes_length | Omit the PES packet length for video packets | ||
pcr_period | int | 20 | PCR retransmission time |
pat_period | double | 2147483647.000000 | PAT/PMT retransmission time limit in seconds |
sdt_period | double | 2147483647.000000 | SDT retransmission time limit in seconds |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- H.264 / MPEG-4 AVC
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Direct stream copy
- No Video
Audio codecs
- MP3 Lame (MPEG audio layer 3)
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
SRT - Secure Reliable Tranport (DVB Compatible)
Configuration Parameter: dvb
Extensions: srt://
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
maxbw | int | -1 | Maximum send bandwidth. -1: infinite (CSRTCC limit is 30mbps) = 0: relative to input rate. |
pbkeylen | option_fixed | 0 | Sender encryption key length. |
passphrase | string | Sets the passphrase for encryption. This turns encryption on on this side (or turns it off, if empty passphrase is passed). | |
mss | int | 1500 | Maximum Segment Size. Used for buffer allocation and rate calculation using packet counter assuming fully filled packets. The smallest MSS between the peers is used. This is 1500 by default in the overall internet. This is the maximum size of the UDP packet and can be only decreased, unless you have some unusual dedicated network settings. Not to be mistaken with the size of the UDP payload or SRT payload — this size is the size of the IP packet, including the UDP and SRT headers. |
fc | int | 25600 | Flight Flag Size (maximum number of bytes that can be sent without being acknowledged). |
sndbuf | int | 12058624 | Send Buffer Size. Warning: configured in bytes, converted in packets, when set, based on MSS value. For desired result, configure MSS first. Default value: 8192 × (1500-28) |
rcvbuf | int | 12058624 | Receive Buffer Size. Receive buffer must not be greater than FC size. Warning: configured in bytes, converted in packets when set based on MSS value. For desired result, configure MSS first. Default value: 8192 × (1500-28) |
ipttl | option_fixed | 32 | IPv4 Time To Live (see IP_TTL option for IP) or IPv6 unicast hops (see IPV6_UNICAST_HOPS for IPV6) depending on socket address family. Applies to sender only. |
iptos | int | 184 | IPv4 Type of Service (see IP_TOS option for IP) or IPv6 Traffic Class (see IPV6_TCLASS of IPv6) depending on socket address family. Applies to sender only. Default: 0xB8 |
inputbw | int | 0 | Sender nominal input rate. Used along with OHEADBW, when MAXBW is set to relative (0), to calculate maximum sending rate when recovery packets are sent along with main media stream (INPUTBW × (100 + OHEADBW) / 100). If INPUTBW is not set while MAXBW is set to relative (0), the actual input rate is evaluated inside the library. |
oheadbw | int | 25 | Recovery bandwidth overhead above input rate (see SRTO_INPUTBW). Sender: user configurable, default: 25%. |
latency | int | 0 | This flag sets both SRTO_RCVLATENCY and SRTO_PEERLATENCY to the same value. Note that prior to version 1.3.0 this is the only flag to set the latency, however this is effectively equivalent to setting SRTO_PEERLATENCY, when the side is sender (see SRTO_SENDER) and SRTO_RCVLATENCY when the side is receiver, and the bidirectional stream sending in version 1.2.0is not supported. |
tsbpddelay | |||
tlpktdrop | bool | true | Too-late Packet Drop. When enabled on receiver, it skips missing packets that have not been delivered in time and delivers the subsequent packets to the application when their time-to-play has come. It also sends a fake ACK to the sender. When enabled on sender and enabled on the receiving peer, sender drops the older packets that have no chance to be delivered in time. It is automatically enabled in sender if receiver supports it. |
snddropdelay | |||
nakreport | bool | true | When set to true, Receiver will send UMSG_LOSSREPORT messages periodically until the lost packet is retransmitted or intentionally dropped |
conntimeo | int | 3000 | Connect timeout. SRT cannot connect for RTT > 1500 msec (2 handshake exchanges) with the default connect timeout of 3 seconds. This option applies to the caller and rendezvous connection modes. The connect timeout is 10 times the value set for the rendezvous mode (which can be used as a workaround for this connection problem with earlier versions) |
lossmaxttl | int | 0 | The value up to which the Reorder Tolerance may grow. When Reorder Tolerance is > 0, then packet loss report is delayed until that number of packets come in. Reorder Tolerance increases every time a "belated" packet has come, but it wasn't due to retransmission (that is, when UDP packets tend to come out of order), with the difference between the latest sequence and this packet's sequence, and not more than the value of this option. By default it's 0, which means that this mechanism is turned off, and the loss report is always sent immediately upon experiencing a "gap" in sequences. |
rcvlatency | int | 0 | The time that should elapse since the moment when the packet was sent and the moment when it's delivered to the receiver application in the receiving function. This time should be a buffer time large enough to cover the time spent for sending, unexpectedly extended RTT time, and the time needed to retransmit the lost UDP packet. The effective latency value will be the maximum of this options' value and the value of SRTO_PEERLATENCY set by the peer side. |
peerlatency | int | 0 | The latency value (as described in SRTO_RCVLATENCY) that is set by the sender side as a minimum value for the receiver. |
minversion | int | 0 | The minimum SRT version that is required from the peer. A connection to a peer that does not satisfy the minimum version requirement will be rejected. |
streamid | string | A string limited to 512 characters that can be set on the socket prior to connecting. This stream ID will be able to be retrieved by the listener side from the socket that is returned from srt_accept and was connected by a socket with that set stream ID. SRT does not enforce any special interpretation of the contents of this string. As this uses internally the std::string type, there are additional functions for it in the legacy/C++ API (udt.h): UDT::setstreamid and UDT::getstreamid. This option doesn’t make sense in Rendezvous connection; the result might be that simply one side will override the value from the other side and it’s the matter of luck which one would win | |
smoother | option_fixed | live | The type of Smoother used for the transmission for that socket, which is responsible for the transmission and congestion control. The Smoother type must be exactly the same on both connecting parties, otherwise the connection is rejected. |
messageapi | bool | true | When set, this socket uses the Message API[*], otherwise it uses Buffer API. Note that in live mode (see SRTO_TRANSTYPE option) there’s only message API available. |
payloadsize | int | 1316 | Sets the maximum declared size of a single call to sending function in Live mode. Use 0 if this value isn't used (which is default in file mode). This value shall not be exceeded for a single data sending instruction in Live mode/ Range: up to MTUsize-28-16, usually 1456 |
transtype | Sets the transmission type for the socket, in particular, setting this option sets multiple other parameters to their default values as required for a particular transmission type. Type: enum. Default: SRTT_LIVE. Range: SRTT_FILE | ||
kmrefreshrate | |||
kmpreannounce | |||
split_channels | option_fixed | 0 | Split audio channels |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream |
embed_scte35 | bool | false | Enable embedding SCTE-35 triggers into MPEG transport stream |
service_name | string | MPService001 | Set Service Name |
service_provider | string | Medialooks MPlatform 1.7 | Set Service Provider |
transport_stream_id | int | 1 | Set transport_stream_id field. |
original_network_id | int | 1 | Set original_network_id field. |
muxrate | int | 1 | The combined rate of all video and audio elementary stream packets common to one program. This rate also includes the VBI and sub-picture private stream data, which MPEG treats as a private stream type. |
service_id | int | 1 | Set service_id field. |
service_type | option_fixed | digital_tv | Service type |
pmt_start_pid | int | 129 | Set the first pid of the PMT |
start_pid | int | 1024 | Set the first pid. |
pes_payload_size | int | 2930 | Minimum PES packet payload in bytes |
mpegts_flags | flags | +system_b | MPEG-TS muxing flags
|
start_timecode | option | auto | Set start timecode for encoding. Possible values are: auto (default), disabled, local_time or a custom string like "10:00:00:00" |
resend_headers | int | 0 | Reemit PAT/PMT before writing the next packet |
tables_version | int | 0 | set PAT, PMT and SDT version |
rc_buffers | int | 8 | Rate-Control buffers |
rc_sync_msec | int | 1 | Rate-Control precision (in msec, miminum 1 msec) |
rc_max_underflow_msec | int | 30 | Rate-Control max underflow time, after this time the clock corrected (in msec) |
pcr_period | int | 20 | Override the default PCR retransmission time in milliseconds (default 20ms) |
pat_period | double | 0.1 | PAT/PMT retransmission time limit in seconds (default 100 msec) |
sdt_period | double | 0.5 | SDT retransmission time limit in seconds (default 500 msec) |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- H.264 / MPEG-4 AVC
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- MP2 (MPEG audio layer 2)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
RTP
Configuration Parameter: rtp
Extensions:
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
sdp | string | C:\Config.sdp | Path to .sdp file. |
rtpflags | flags | RTP muxer flags
|
|
payload_type | int | -1 | Specify RTP payload type |
ssrc | int | 0 | Stream identifier |
cname | string | CNAME to include in RTCP SR packets | |
seq | int | -1 | Starting sequence number |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- No Audio
RTP (Pro-MPEG)
Configuration Parameter: rtp_mpegts
Extensions:
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- AAC (Advanced Audio Coding)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- No Audio
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
l | int | 8 | The number of columns (4-20, LxD Lsss 100) |
d | int | 4 | The number of rows (4-20, LxD Less 100) |
RTSP Streaming (beta)
Configuration Parameter: rtsp
Extensions: rtsp://
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
split_channels | option_fixed | 0 | Split audio channels |
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
rtpflags | flags | RTP muxer flags
|
|
rtsp_transport | flags | set RTSP transport protocols
|
|
rtsp_flags | try RTP via TCP first, if available | ||
min_port | int | 5000 | set minimum local UDP port |
max_port | int | 65000 | set maximum local UDP port |
buffer_size | int | -1 | Underlying protocol send/receive buffer size |
Video codecs
- Cisco OpenH264 Encoder
- H.264 / MPEG-4 AVC
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- MPEG-2 Video
- MPEG-4 part 2 Video
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- No Audio
IIS Live Smooth Streaming
Configuration Parameter: ismv
Extensions: http://
Video codecs
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- VC-1
- Direct stream copy
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
- Direct stream copy
Apple HTTP Live Streaming
Configuration Parameter: hls
Extensions: m3u8
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
embed_cc | bool | false | Enable embedding Closed Captions (ATSC) into elementary video stream (only for MPEG-2, MPEG-4, H.264 video) |
embed_scte35 | bool | false | Enable embedding SCTE-35 triggers into HLS stream |
start_number | int64 | 0 | set first number in the sequence |
hls_time | double | 2.000000 | set segment length in seconds |
hls_init_time | double | 0.000000 | set segment length in seconds at init list |
hls_list_size | int | 5 | set maximum number of playlist entries |
hls_delete_threshold | int | 1 | set number of unreferenced segments to keep before deleting |
hls_ts_options | string | set hls mpegts list of options for the container format used for hls | |
hls_vtt_options | string | set hls vtt list of options for the container format used for hls | |
hls_wrap | int | 0 | set number after which the index wraps (will be deprecated) |
hls_allow_cache | int | -1 | explicitly set whether the client MAY (1) or MUST NOT (0) cache media segments |
hls_base_url | string | url to prepend to each playlist entry | |
hls_segment_filename | string | filename template for segment files | |
hls_segment_size | int | 0 | maximum size per segment file, (in bytes) |
hls_key_info_file | string | file with key URI and key file path | |
hls_enc | enable AES128 encryption support | ||
hls_enc_key | string | hex-coded 16 byte key to encrypt the segments | |
hls_enc_key_url | string | url to access the key to decrypt the segments | |
hls_enc_iv | string | hex-coded 16 byte initialization vector | |
hls_subtitle_path | string | set path of hls subtitles | |
hls_segment_type | option | mpegts | set hls segment files type |
segment_type |
|
||
hls_fmp4_init_filename | string | init.mp4 | set fragment mp4 file init filename |
hls_flags | flags | set flags affecting HLS playlist and media file generation | |
flags |
|
||
use_localtime | set filename expansion with strftime at segment creation | ||
use_localtime_mkdir | create last directory component in strftime-generated filename | ||
hls_playlist_type | option | set the HLS playlist type | |
pl_type |
|
||
method | string | set the HTTP method(default: PUT) | |
hls_start_number_source | option | generic | set source of first number in sequence |
start_sequence_source_type |
|
||
http_user_agent | string | override User-Agent field in HTTP header | |
var_stream_map | string | Variant stream map string | |
cc_stream_map | string | Closed captions stream map string | |
master_pl_name | string | Create HLS master playlist with this name | |
master_pl_publish_rate | int | 0 | Publish master play list every after this many segment intervals |
http_persistent | Use persistent HTTP connections | ||
timeout | set timeout for socket I/O operations |
Video codecs
- MPEG-2 Video
- MPEG-4 part 2 Video
- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
- Cisco OpenH264 Encoder
- Intel QuickSync SW H.264 Encoder
- Intel QuickSync HW H.264 Encoder
- Intel QuickSync HEVC Encoder
- NVIDIA NVEnc H.264 Encoder
- NVIDIA NVEnc H.264 Lossless Encoder
- NVIDIA NVEnc H.265 (HEVC) Encoder
- AMD AMF H.264 Encoder
- AMD AMF H.265 (HEVC) Encoder
- x265 H.265/HEVC
- Direct stream copy
- No Video
Audio codecs
- MP2 (MPEG audio layer 2)
- AAC (Advanced Audio Coding)
- MP3 Lame (MPEG audio layer 3)
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
- Direct stream copy
- No Audio
Image Sequence
Configuration Parameter: image2
Extensions: dpx,png,jpg,tiff,tga,j2c
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
create_folder | bool | true | Create folder for image sequence |
Video codecs
- DPX Codec
- PNG Codec
- JPG Codec
Audio codecs
- No Audio
- WAV (Wave Audio File)
MP3 (MPEG audio layer 3)
Configuration Parameter: mp3
Extensions: mp3
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
id3v2_version | int | 4 | Select ID3v2 version to write. Currently 3 and 4 are supported. |
write_id3v1 | int | 0 | Enable ID3v1 writing. ID3v1 tags are written in UTF-8 which may not be supported by most software. |
Video codecs
- No Video
Audio codecs
- MP3 Lame (MPEG audio layer 3)
AC3 (AC3 audio files)
Configuration Parameter: ac3
Extensions: ac3
Video codecs
- No Video
Audio codecs
- ATSC A/52A (AC-3)
- ATSC A/52A (AC-3) Fixed
AAC (Advanced Audio Codec)
Configuration Parameter: adts
Extensions: aac
Video codecs
- No Video
Audio codecs
- AAC (Advanced Audio Coding)
WAV (Wave Audio Files)
Configuration Parameter: wav
Extensions: wav
Video codecs
- No Video
Audio codecs
- (Uncompressed) PCM signed 16-bit little-endian
- (Uncompressed) PCM 32-bit floating point little-endian
- (Uncompressed) PCM D-Cinema audio signed 24-bit
- (Uncompressed) PCM signed 24-bit little-endian
- (Uncompressed) PCM signed 32-bit little-endian
Ogg
Configuration Parameter: ogg
Extensions: ogg
Video codecs
- No Video
Audio codecs
- Vorbis
Audio Codecs
General Audio Attributes
used when no other attributes are specified
Name | Type | Default | Description |
---|---|---|---|
b | int | 128K | Set bitrate (in bits/s) |
ar | int | 0 | Set audio sampling rate (in Hz) |
flags | flags |
|
|
maxrate | int | 0 | Set max bitrate tolerance (in bits/s). Requires bufsize to be set. |
minrate | int | 0 | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise. |
bufsize | int | 0 | Set ratecontrol buffer size (in bits) |
AAC (Advanced Audio Coding)
Configuration Parameter: aac
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
stereo_mode | option_fixed | ms_off | Stereo coding method
|
aac_coder | int | 2 | AAC coder |
profile | option_fixed | unknown | Profile of AAC coding. Possible values: unknown, main, low, ssr, ltp, he, he_v2, ld, eld. |
ATSC A/52A (AC-3)
Configuration Parameter: ac3
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
profile | option_fixed | unknown | AC3 profile. Possible values: unknown, dts, dts_es, dts_96_24, dts_hd_hra, dts_hd_ma. |
center_mixlev | double | 0.594604 | Center Mix Level |
surround_mixlev | double | 0.500000 | Surround Mix Level |
mixing_level | int | -1 | Mixing Level |
copyright | int | -1 | Copyright Bit |
dsur_mode | option_fixed | Dolby Surround Mode
|
|
ltrt_cmixlev | double | -1.000000 | Lt/Rt Center Mix Level |
ltrt_surmixlev | double | -1.000000 | Lt/Rt Surround Mix Level |
loro_cmixlev | double | -1.000000 | Lo/Ro Center Mix Level |
loro_surmixlev | double | -1.000000 | Lo/Ro Surround Mix Level |
ATSC A/52A (AC-3) Fixed
Configuration Parameter: ac3_fixed
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
profile | option_fixed | unknown | AC3 profile. Possible values: unknown, dts, dts_es, dts_96_24, dts_hd_hra, dts_hd_ma. |
center_mixlev | double | 0.594604 | Center Mix Level |
surround_mixlev | double | 0.500000 | Surround Mix Level |
mixing_level | int | -1 | Mixing Level |
copyright | int | -1 | Copyright Bit |
dsur_mode | option_fixed | Dolby Surround Mode
|
|
ltrt_cmixlev | double | -1.000000 | Lt/Rt Center Mix Level |
ltrt_surmixlev | double | -1.000000 | Lt/Rt Surround Mix Level |
loro_cmixlev | double | -1.000000 | Lo/Ro Center Mix Level |
loro_surmixlev | double | -1.000000 | Lo/Ro Surround Mix Level |
ALAC (Apple Lossless Audio Codec)
Configuration Parameter: alac
ATSC A/52 E-AC-3
Configuration Parameter: eac3
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
profile | option_fixed | unknown | Profile name. Possible values: unknown, dts, dts_es, dts_96_24, dts_hd_hra, dts_hd_ma. |
mixing_level | int | -1 | Mixing Level |
copyright | int | -1 | Copyright Bit |
dsur_mode | option_fixed | Dolby Surround Mode
|
|
ltrt_cmixlev | double | -1.000000 | Lt/Rt Center Mix Level |
ltrt_surmixlev | double | -1.000000 | Lt/Rt Surround Mix Level |
loro_cmixlev | double | -1.000000 | Lo/Ro Center Mix Level |
loro_surmixlev | double | -1.000000 | Lo/Ro Surround Mix Level |
FLAC (Free Lossless Audio Codec)
Configuration Parameter: flac
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
lpc_coeff_precision | int | 15 | LPC coefficient precision |
lpc_type | option_fixed | LPC algorithm. Possible values: none, fixed, levinson, cholesky. | |
lpc_passes | int | -1 | Number of passes to use for Cholesky factorization during LPC analysis |
min_partition_order | int | -1 | Minimal partition order |
max_partition_order | int | -1 | Maximal partition order |
prediction_order_method | option_fixed | Search method for selecting prediction order | |
predm | Search method for selecting prediction order. Possible values: estimation, 2level, 4level, 8level, search, log. | ||
ch_mode | option_fixed | auto | Stereo decorrelation mode. Possible values: auto, indep, left_side, right_side, mid_side. |
MP2 (MPEG audio layer 2)
Configuration Parameter: mp2
Ogg Vorbis
Configuration Parameter: libvorbis
(Uncompressed) PCM 32-bit floating point little-endian
Configuration Parameter: pcm_f32le
(Uncompressed) PCM signed 16-bit little-endian
Configuration Parameter: pcm_s16le
(Uncompressed) PCM D-Cinema audio signed 24-bit
Configuration Parameter: pcm_s24daud
(Uncompressed) PCM signed 24-bit little-endian
Configuration Parameter: pcm_s24le
(Uncompressed) PCM signed 32-bit little-endian
Configuration Parameter: pcm_s32le
ADPCM IMA QuickTime
Configuration Parameter: adpcm_ima_qt
ADPCM Microsoft
Configuration Parameter: adpcm_ms
MP3 Lame (MPEG audio layer 3)
Configuration Parameter: libmp3lame
Video Codecs
General Video Attributes
used when no other attributes are specified
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | Set bitrate (in bits/s) |
bt | int | 4000000 | Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far ratecontrol is willing to deviate from the target average bitrate value. This is not related to min/max bitrate. Lowering tolerance too much has an adverse effect on quality. |
flags | flags |
|
|
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
ar | option | Aspect ratio of video. | |
ar_type | option_fixed | Type of video's aspect ratio. | |
g | int | -1 | Keyframe interval, also known as GOP length. This determines the maximum distance between I-frames. Very high GOP lengths will result in slightly more efficient compression, but will make seeking in the video somewhat more difficult. |
qcomp | double | 0.500000 | Video quantizer scale compression (VBR). Constant of ratecontrol equation. Recommended range for default rc_eq: 0.0-1.0 |
qmin | int | -1 | Min video quantizer scale (VBR) |
qmax | int | -1 | Max video quantizer scale (VBR) |
qdiff | int | 3 | Max difference between the quantizer scale (VBR) |
bf | int | 0 | This parameter simply serves to limit the max number of B-frames. Note that Baseline Profile, such as that used by iPods, does not support B-frames. Recommended default: 16 |
b_strategy | int | 0 | Strategy to choose between I/P/B-frames. 0: Very fast; 1: Fast, a good balance between speed and quality; 2: A much slower but more accurate B-frame decision mode that correctly detects fades and generally gives considerably better quality. |
maxrate | int | 0 | Specifies the maximum bitrate at any point in the video. Requires the VBV buffersize to be set. This option is generally used when encoding for a piece of hardware with bitrate limitations. |
minrate | int | 0 | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise. |
bufsize | int | 0 | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. |
i_qfactor | double | -0.800000 | Qscale difference between I-frames and P-frames. |
dct | option_fixed | auto | DCT algorithm
|
aspect | double | 0/1 | Sample aspect ratio |
cmp | option_fixed | sad | Full pel motion estimation compare function |
cmp_func |
|
||
subq | int | 8 | Sub pel motion estimation quality |
me_range | int | 0 | MErange controls the max range of the motion search. |
coder | option_fixed | vlc |
|
sc_threshold | int | 0 | Adjusts the sensitivity of codec's scenecut detection. |
lmin | int | 236 | Min lagrange factor (VBR) |
lmax | int | 3658 | Max lagrange factor (VBR) |
rc_init_occupancy | int | 0 | Number of bits which should be loaded into the rc buffer before decoding starts |
threads | option_fixed | detect a good number of threads | |
dc | int | 0 | Intra DC Precision indicates the number of bits for quantized DC coefficients of intra-coded blocks; it takes one of the values of 8, 9, 10, or 11 bits. The more bits are used, the more precise quantization is achieved. |
profile | option_fixed | unknown | Profile of attributes |
tag | string | Codec's tag (for example, 'xvid') | |
scaling_quality | string | auto | scaling quality for video encoding |
refs | int | 1 | Reference frames to consider for motion compensation |
trellis | int | 0 | 0: disabled; 1: enabled only on the final encode of a MB; 2: enabled on all mode decisions. The main decision made in quantization is which coefficients to round up and which to round down. Trellis chooses the optimal rounding choices for the maximum rate-distortion score, to maximize PSNR relative to bitrate. |
timecode_frame_start | int64 | -1 | GOP timecode frame start number, in non drop frame format |
rc_max_vbv_use | double | 0.000000 | Maximal rate control of video buffer verifier's usage |
rc_min_vbv_use | double | 3.000000 | Minimal rate control of video buffer verifier's usage |
slices | int | 0 | Number of slices, used in parallelized encoding |
top | int | Field order for interlaced files (-1 - auto, 0 - bottom first, 1 - top first) | |
thread_type | flags | +slice+frame | Select multithreading type
|
Uncompressed 4:2:2 8bit
Configuration Parameter: rawvideo
Uncompressed 4:2:2 10bit
Configuration Parameter: v210
DV Video / DVCPRO-HD
Configuration Parameter: dvvideo
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
dv_format | option_fixed | auto | Format for DV codec. Possible values: dvsd, dv25, dv50, dvhd. |
Intel QuickSync H.264 Encoder
Configuration Parameter: q264
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
quality | string | Quality of captured video. Possible values: from 1 (fast capturing, minimal quality) to 7 (maximal quality, slow capturing) | |
g | int | 15 | This is the IDR period for H264 |
profile | option_fixed | Auto | Set the profile |
level | option_fixed | Auto | Sets the level flag in the output bitstream |
rc_type | option_fixed | quality | The rate control type |
maxrate | int | 0 | The maximum bit rate in bps is the peak bit rate used for VBR rate control |
bufsize | int | 0 | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. |
initialdelay | int | 0 | Specifies the initial delay in bits. Set 0 to use the default initial delay |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
ref_frames | int | 0 | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. |
cavlc | option_fixed | false | Enable/disable Context-adaptive variable-length coding mode. |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
icq_quality | int | 25 | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. |
accuracy | int | 100 | Determines quality of complex scenes in AVBR mode. |
convergence | int | 0 | Determines quality of complex scenes in AVBR mode. |
qpi | int | 22 | Determines quality in CQP mode. |
qpb | int | 22 | Determines quality in CQP mode. |
qpp | int | 22 | Determines quality in CQP mode. |
force_gpu | int | -2 | Force Specified GPU encoder (0 - HW mode (first suitable HW device), -1 - SW mode, -2 - Auto HW/SW mode, 1..4 - Use specified HW device) |
use_vpp | bool | false | Use Intel VPP for frame conversion and scaling |
Intel QuickSync SW H.264 Encoder
Configuration Parameter: q264sw
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
quality | string | Quality of captured video. Possible values: from 1 (fast capturing, minimal quality) to 7 (maximal quality, slow capturing) | |
g | int | 15 | This is the IDR period for H264 |
profile | option_fixed | Auto | Set the profile |
level | option_fixed | Auto | Sets the level flag in the output bitstream |
rc_type | option_fixed | quality | The rate control type |
maxrate | int | 0 | The maximum bit rate in bps is the peak bit rate used for VBR rate control |
bufsize | int | 0 | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. |
initialdelay | int | 0 | Specifies the initial delay in bits. Set 0 to use the default initial delay |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
ref_frames | int | 0 | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. |
cavlc | option_fixed | false | Enable/disable Context-adaptive variable-length coding mode. |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
icq_quality | int | 25 | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. |
accuracy | int | 100 | Determines quality of complex scenes in AVBR mode. |
convergence | int | 0 | Determines quality of complex scenes in AVBR mode. |
qpi | int | 22 | Determines quality in CQP mode. |
qpb | int | 22 | Determines quality in CQP mode. |
qpp | int | 22 | Determines quality in CQP mode. |
use_vpp | bool | false | Use Intel VPP for frame conversion and scaling |
Intel QuickSync HW H.264 Encoder
Configuration Parameter: q264hw
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
gpu_memory | bool | false | Frames are stored in GPU memory |
quality | string | 7 | Quality of captured video. Possible values: from 1 (fast capturing, minimal quality) to 7 (maximal quality, slow capturing) |
g | int | 15 | This is the IDR period for H264 |
profile | option_fixed | Auto | Set the profile |
level | option_fixed | Auto | Sets the level flag in the output bitstream |
rc_type | option_fixed | quality | The rate control type |
maxrate | int | 0 | The maximum bit rate in bps is the peak bit rate used for VBR rate control |
bufsize | int | 0 | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. |
initialdelay | int | 0 | Specifies the initial delay in bits. Set 0 to use the default initial delay |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
ref_frames | int | 0 | Number of reference frames; if NumRefFrame = 0, this parameter is not specified. |
cavlc | option_fixed | false | Enable/disable Context-adaptive variable-length coding mode. |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
icq_quality | int | 25 | Quality of intelligent constant quality algorithm. Possible values: from 1 (the best quality) to 51. |
accuracy | int | 100 | Determines quality of complex scenes in AVBR mode. |
convergence | int | 0 | Determines quality of complex scenes in AVBR mode. |
qpi | int | 22 | Determines quality in CQP mode. |
qpb | int | 22 | Determines quality in CQP mode. |
qpp | int | 22 | Determines quality in CQP mode. |
force_gpu | int | 0 | Force Specified GPU device for encode (0 - first suitable HW device, 1..4 - Use specified HW device) |
use_vpp | bool | false | Use Intel VPP for frame conversion and scaling |
NVIDIA NVEnc H.264 Encoder
Configuration Parameter: n264
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for rate control |
g | int | 15 | This is the IDR period |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
rc_type | option_fixed | Auto | The rate control type |
preset | option_fixed | Auto | Codec Preset - if specified, some properties below ignored |
profile | option_fixed | Auto | Codec Profile |
level | option_fixed | Auto | Sets the level flag in the output bitstream |
maxrate | int | 0 | The maximum bit rate in bps is the peak bit rate used for VBR rate control |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
ar | option | Aspect ratio of video. | |
ar_type | option_fixed | Type of video's aspect ratio. | |
bufsize | int | 0 | Specifies the VBV(HRD) buffer size. in bits. Set 0 to use the default VBV buffer size |
initialdelay | int | 0 | Specifies the VBV(HRD) initial delay in bits. Set 0 to use the default VBV initial delay |
enableAQ | option_fixed | true | Set this to TRUE to enable adaptive quantization |
intraRefreshPeriod | int | 0 | Specifies the interval between successive intra refresh if intraRefreshCount is set |
intraRefreshCount | int | 0 | Specifies the length of intra refresh in number of frames for periodic intra refresh. This value should be smaller than intraRefreshPeriod |
disable_cabac | option_fixed | false | Enable or disable CABAC |
mvprecision | option_fixed | Auto | Specifies the desired motion vector prediction precision |
disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame |
separateColourPlaneFlag | option_fixed | false | Set 'true' to enable 4:4:4 separate colour planes |
deblock | option_fixed | 1 | Specifies the deblocking filter mode |
enableTemporalSVC | option_fixed | false | Set to 'true' to enable SVC temporal |
hierarchicalPFrames | option_fixed | false | Set to 'true' to enable hierarchical PFrames |
hierarchicalBFrames | option_fixed | false | Set to 'true' to enable hierarchical BFrames |
outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream |
outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream |
outputFramePackingSEI | option_fixed | true | Set 'true' to enable writing of frame packing arrangement SEI messages to bitstream |
outputRecoveryPointSEI | option_fixed | true | Set'true' to enable writing of recovery point SEI message |
numTemporalLayers | int | Specifies max temporal layers to be used for hierarchical coding. Valid value range is [1,10] | |
outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax. |
maxNumRefFrames | int | Specifies the DPB size used for encoding. Setting it to 0 will let driver use the default dpb size. The low latency application which wants to invalidate reference frame as an error resilience tool is recommended to use a large DPB size so that the encoder can keep old reference frames which can be used if recent | |
ltrNumFrames | int | Specifies the maximum number of long term references can be used for prediction | |
ltrTrustMode | option_fixed | Specifies the LTR operating mode. Set to 'false' to disallow encoding using LTR frames until later specified. Set to 'true' to allow encoding using LTR frames unless later invalidated. | |
enableConstrainedEncoding | option_fixed | Set this to 1 to enable constrainedFrame encoding where each slice in the constarined picture is independent of other slices. | |
adaptiveTransformMode | option_fixed | Enable the AdaptiveTransform Mode. | |
fmoMode | option_fixed | Enable the FMO Mode. | |
interlace | option_fixed | Auto | Interlace type |
output.444 | option_fixed | false | Enable or disable 444 encoding |
NVIDIA NVEnc H.264 Lossless Encoder
Configuration Parameter: l264
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
preset | option_fixed | lossless | Codec Preset |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
ar | option | Aspect ratio of video. | |
ar_type | option_fixed | Type of video's aspect ratio. | |
disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame |
outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream |
outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream |
outputFramePackingSEI | option_fixed | true | Set 'true' to enable writing of frame packing arrangement SEI messages to bitstream |
outputRecoveryPointSEI | option_fixed | true | Set'true' to enable writing of recovery point SEI message |
outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax. |
output.444 | option_fixed | false | Enable or disable 444 encoding |
NVIDIA NVEnc H.265 (HEVC) Encoder
Configuration Parameter: n265
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for rate control |
g | int | 15 | This is the IDR period |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
rc_type | option_fixed | Auto | The rate control type |
preset | option_fixed | Auto | Codec Preset - if specified, some properties below ignored |
level | option_fixed | Auto | Specifies the level of the encoded bitstream. |
tier | option_fixed | Main | |
maxrate | int | 0 | The maximum bit rate in bps is the peak bit rate used for VBR rate control |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
ar | option | Aspect ratio of video. | |
ar_type | option_fixed | Type of video's aspect ratio. | |
bufsize | int | 0 | Specifies the VBV(HRD) buffer size. in bits. Set 0 to use the default VBV buffer size |
initialdelay | int | 0 | Specifies the VBV(HRD) initial delay in bits. Set 0 to use the default VBV initial delay |
enableAQ | option_fixed | true | Set this to TRUE to enable adaptive quantization |
intraRefreshPeriod | int | 0 | Specifies the interval between successive intra refresh if intraRefreshCount is set |
intraRefreshCount | int | 0 | Specifies the length of intra refresh in number of frames for periodic intra refresh. This value should be smaller than intraRefreshPeriod |
mvprecision | option_fixed | Auto | Specifies the desired motion vector prediction precision |
disable_sps_pps | option_fixed | false | Disable writing of Sequence and Picture parameter for every IDR frame |
deblock | option_fixed | true | Set 'true' to enable in loop filtering across slice boundary. |
useConstrainedIntraPred | option_fixed | Set 'true' to enable constrained intra prediction. | |
outputBufferingPeriodSEI | option_fixed | true | Set 'true' to write SEI buffering period syntax in the bitstream |
outputPictureTimingSEI | option_fixed | true | Set 'true' to write SEI picture timing syntax in the bitstream |
outputAUD | option_fixed | true | Set 'true' to write Access Unit Delimiter syntax. |
enableLTR | option_fixed | Set 'true' to enable use of long term reference pictures for inter prediction. | |
maxNumRefFramesInDPB | int | Specifies the maximum number of references frames in the DPB. | |
ltrNumFrames | int | Specifies the maximum number of long term references can be used for prediction | |
maxTemporalLayersMinus1 | int | Specifies the max temporal layer used for hierarchical coding. | |
output.10bit | option_fixed | false | Specifies the 10 bit encoding mode |
output.444 | option_fixed | false | Enable or disable 444 encoding |
CUDA H.264 Video Encoder
Configuration Parameter: c264
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 6000000 | The average bit rate in bps is the target bit rate used for VBR rate control |
maxrate | int | 6200000 | The maximum bit rate in bps is the peak bit rate used for VBR rate control |
preset | option | Custom | Set the encoding parameters according to the presets required for supported encoding targets |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
g | int | 15 | This is the IDR period for H264 |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
dynamic_gop | option_fixed | false | The GOP structure is determined dynamically by the encoder |
profile | option_fixed | Main | Set the profile and level information |
nal_type | int | 0 | Configures the NAL unit framing type |
rc_type | option_fixed | vbr | The rate control type |
qp_level_i | int | 28 | The QP level for intra pictures |
qp_level_p | int | 28 | The QP level for inter P pictures |
qp_level_b | int | 28 | The QP level for inter B pictures |
deblock | option_fixed | true | Enable or disable de-blocking mode |
disable_cabac | option_fixed | false | Enable or disable CABAC |
disable_sps_pps | option_fixed | false | Enable or disable including sequence parameter set/picture parameter set ( SPS/PPS ) information in bitstream |
deinterlace | option_fixed | Enable the deinterlace algorithm |
Cisco libopenh264 H.264/MPEG-4 AVC Encoder
Configuration Parameter: libopenh264
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5000000 | Set the bitrate (as a number of bits per second). |
maxrate | int | 5000000 | Set the max bitrate (as a number of bits per second). |
profile | option_fixed | Main | Set profile restrictions. If set to the value of ‘main’ enable CABAC. |
size | string | Resolution of video. Format: WIDTHxHEIGHT. | |
g | int | 15 | Set the GOP size. |
slices | int | 0 | Set the number of slices, used in parallelized encoding. Default value is 0. This is only used when slice_mode is set to ‘fixed’. |
slice_mode | option_fixed | auto | Set slice mode. |
loopfilter | int | 1 | Enable loop filter, if set to 1 (automatically enabled). To disable set a value of 0. |
max_nal_size | int | 0 | Set maximum NAL size in bytes. |
allow_skip_frames | int | 0 | Allow skipping frames to hit the target bitrate if set to 1. |
libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Configuration Parameter: libx264
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
preset | string | faster | Change options to trade off compression efficiency against encoding speed. Values available: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo. |
tune | string | zerolatency | Tune options to further optimize them for your input content. Values available: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency. |
profile | string | Limit the profile of the output stream. Values available: baseline, main, high, high10, high422, high444. | |
fastfirstpass | int | 1 | Use fast settings when encoding first pass |
level | string | Sets the level flag in the output bitstream (as defined by Annex A) Permissible levels are: 1 1b 1.1 1.2 1.3 2 2.1 2.2 3 3.1 3.2 4 4.1 4.2 5 5.1 | |
wpredp | string | Weighted prediction for P-frames | |
x264opts | string | x264 options | |
crf | double | -1.000000 | Select the quality for constant quality mode |
crf_max | double | -1.000000 | In CRF mode, prevents VBV from lowering quality beyond this point. |
qp | int | -1 | Constant quantization parameter rate control method |
aq-mode | option_fixed | AQ method | |
aq_mode |
|
||
v422 | option_fixed | false | Indicates whether captioning used 4:2:2 chroma subsampling (4:2:0 overwise). |
interlace | int | -1 | Interlacing: 1 - interlaced, 0 - progressive, -1 - auto. |
aq-strength | double | -1.000000 | AQ strength. Reduces blocking and blurring in flat and textured areas. |
psy | int | -1 | Use psychovisual optimizations. |
psy-rd | string | Strength of psychovisual optimization, in : format. | |
rc-lookahead | int | -1 | Number of frames to look ahead for frametype and ratecontrol |
weightb | int | -1 | Weighted prediction for B-frames. |
weightp | option_fixed | Weighted prediction analysis method. | |
ssim | int | -1 | Calculate and print SSIM stats. |
intra-refresh | int | -1 | Use Periodic Intra Refresh instead of IDR frames. |
b-bias | int | -2147483648 | Influences how often B-frames are used |
b-pyramid | option_fixed | Keep some B-frames as references. | |
b_pyramid |
|
||
mixed-refs | int | -1 | One reference per partition, as opposed to one reference per macroblock |
8x8dct | int | -1 | High profile 8x8 transform. |
fast-pskip | int | -1 | |
aud | int | -1 | Use access unit delimiters. |
mbtree | int | -1 | Use macroblock tree ratecontrol. |
deblock | string | Loop filter parameters, in form. | |
cplxblur | double | -1.000000 | Reduce fluctuations in QP (before curve compression) |
partitions | string | A comma-separated list of partitions to consider. Possible values: p8x8, p4x4, b8x8, i8x8, i4x4, none, all | |
direct-pred | option_fixed | Direct MV prediction mode | |
slice-max-size | int | -1 | Limit the size of each slice in bytes |
stats | string | Filename for 2 pass stats | |
nal-hrd | option_fixed | Signal HRD information (requires vbv-bufsize; cbr not allowed in .mp4) |
Intel QuickSync HEVC Encoder
Configuration Parameter: q265hw
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
async_depth | int | 4 | Maximum processing parallelism |
avbr_accuracy | int | 0 | Accuracy of the AVBR ratecontrol |
avbr_convergence | int | 0 | Convergence of the AVBR ratecontrol |
preset | option | medium | |
vcm | int | 0 | Use the video conferencing mode ratecontrol |
rdo | int | -1 | Enable rate distortion optimization |
max_frame_size | int | -1 | Maximum encoded frame size in bytes |
max_slice_size | int | -1 | Maximum encoded slice size in bytes |
bitrate_limit | int | -1 | Toggle bitrate limitations |
mbbrc | int | -1 | MB level bitrate control |
extbrc | int | -1 | Extended bitrate control |
adaptive_i | int | -1 | Adaptive I-frame placement |
adaptive_b | int | -1 | Adaptive B-frame placement |
b_strategy | int | -1 | Strategy to choose between I/P/B-frames |
idr_interval | option | Distance (in I-frames) between IDR frames
|
|
load_plugin | option | hevc_hw | A user plugin to load in an internal session |
load_plugins | string | A :-separate list of hexadecimal plugin UIDs to load in an internal session | |
profile | option | unknown |
x265 H.265/HEVC
Configuration Parameter: libx265
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
preset | option | superfast | Set the x265 preset. |
tune | option | Set the x265 tune parameter. Possible values: psnr (disables adaptive quant, psy-rd, and cutree), ssim (enables adaptive quant auto-mode, disables psy-rd), grain (improves retention of film grain), fastdecode (no loop filters, no weighted pred, no intra in B), zerolatency (no lookahead, no B frames, no cutree). | |
forced-idr | int | 0 | Normally, when forcing a I-frame type, the encoder can select any type of I-frame. This option forces it to choose an IDR-frame. |
x265-params | string | Set x265 options using a list of key=value couples separated by ":". See x265 -help for a list of options. |
FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
Configuration Parameter: flv
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
mpv_flags | flags | Flags common for all mpegvideo-based encoders.
|
HuffYUV
Configuration Parameter: huffyuv
VC-1
Configuration Parameter: vc1
MJPEG (Motion JPEG)
Configuration Parameter: mjpeg
MPEG-1 Video
Configuration Parameter: mpeg1video
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
mpv_flags | flags | Flags common for all mpegvideo-based encoders.
|
FFV1
Configuration Parameter: ffv1
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
coder | option_fixed | 0 | 0=Golomb-Rice, 1=Range Coder, 2=Range Coder (with custom state transition table) |
context | option_fixed | 0 | 0=small, 1=large |
g | int | 1 | GOP size. For archival use, GOP-size should be "1". |
level | option_fixed | 1 | Version. Select which FFV1 version to use. |
threads | int | 1 | Threads. The number of threads to use while processing. Adjust this to match how many of your available CPU cores you want to use. |
slices | option_fixed | 4 | Slices. Each frame is split into this number of slices. This affects multithreading performance, as well as filesize: Increasing the number of slices might speed up performance, but also increases the filesize. |
slicecrc | option_fixed | 0 | Error correction/detection. 0=off, 1=on. Enabling this option adds CRC information to each slice. This makes it possible for a decoder to detect errors in the bitstream, rather than blindly decoding a broken slice. |
MPEG-2 Video
Configuration Parameter: mpeg2video
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
mpv_flags | flags | Flags common for all mpegvideo-based encoders.
|
|
gop_timecode | string | GOP timecode value | |
v422 | option_fixed | false | Indicates whether captioning used 4:2:2 chroma subsampling (4:2:0 overwise). |
interlace | int | -1 | Interlacing: 1 - interlaced, 0 - progressive, -1 - auto. |
MPEG-4 part 2 Video
Configuration Parameter: mpeg4
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
data_partitioning | int | 0 | Use data partitioning. |
mpv_flags | flags | Flags common for all mpegvideo-based encoders.
|
|
interlace | int | -1 | Interlacing: 1 - interlaced, 0 - progressive, -1 - auto. |
Apple ProRes
Configuration Parameter: prores
Windows Media Video 8
Configuration Parameter: wmv2
OpenJPEG JPEG 2000
Configuration Parameter: libopenjpeg
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
format | option_fixed | jp2 | Codec Format. Possible values: j2k, jp2. |
profile | option_fixed | jpeg2000 | Profile name. Possible values: jpeg2000, cinema2k, cinema4k. |
cinema_mode | option_fixed | off | Digital Cinema mode. Possible values: off, 2k_24, 2k_48, 4k_24 |
numresolution | int | 6 | Number of resolutions |
numlayers | int | 1 | Number of layers |
Google VP8
Configuration Parameter: libvpx
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
cpu-used | int | 3 | Quality/Speed ratio modifier |
quality | int | 1000000 | Encoding quality |
max-intra-rate | int | -1 | Maximum I-frame bitrate (pct) 0=unlimited |
er |
|
||
speed | int | 3 | Encoding speed |
crf | int | 0 | Select the quality for constant quality mode |
AMD AMF H.264 Encoder
Configuration Parameter: h264_amf
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
g | int | 15 | Group of picture (GOP) size |
maxrate | int | 0 | Set max bitrate tolerance (in bits/s). Requires bufsize to be set |
minrate | int | 0 | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise |
bufsize | int | 0 | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. |
bf | int | 0 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
usage | option_fixed | transcoding | Encoder Usage |
profile | option_fixed | main | Profile |
level | option_fixed | auto | Profile Level |
quality | option_fixed | speed | Quality Preference |
rc | option_fixed | cqp | Rate Control Method |
enforce_hrd | bool | false | Enforce HRD |
filler_data | bool | false | Filler Data Enable |
vbaq | bool | false | Enable VBAQ |
frame_skipping | bool | false | Rate Control Based Frame Skip |
qp_i | int | -1 | Quantization Parameter for I-Frame |
qp_p | int | -1 | Quantization Parameter for P-Frame |
qp_b | int | -1 | Quantization Parameter for B-Frame |
preanalysis | bool | false | Pre-Analysis Mode |
max_au_size | int | 0 | Maximum Access Unit Size for rate control (in bits) |
header_spacing | int | -1 | Header Insertion Spacing |
bf_delta_qp | int | 4 | B-Picture Delta QP |
bf_ref | bool | true | Enable Reference to B-Frames |
bf_ref_delta_qp | int | 4 | Reference B-Picture Delta QP |
intra_refresh_mb | int | 0 | Intra Refresh MBs Number Per Slot in Macroblocks |
coder | option_fixed | auto | Coding Type |
me_half_pel | bool | true | Enable ME Half Pixel |
me_quarter_pel | bool | true | Enable ME Quarter Pixel |
aud | bool | false | Inserts AU Delimiter NAL unit |
AMD AMF H.265 (HEVC) Encoder
Configuration Parameter: hevc_amf
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 5M | The average bit rate in bps is the target bit rate used for VBR rate control |
g | int | 15 | Group of picture (GOP) size |
maxrate | int | 0 | Set max bitrate tolerance (in bits/s). Requires bufsize to be set |
minrate | int | 0 | Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise |
bufsize | int | 0 | Set ratecontrol buffer size (in bits). Depends on the profile level of the video being encoded. Set only if you're encoding for a hardware device. |
bf | int | 1 | This sets the distance of one P picture from the previous P picture. e.g. for IBBPBBP, set the value as 3 |
usage | option_fixed | transcoding | Encoder Usage |
profile | option_fixed | main | Profile |
profile_tier | option_fixed | main | Profile tier |
level | option_fixed | auto | Profile Level |
quality | option_fixed | balanced | Quality Preference |
rc | option_fixed | cqp | Rate Control Method |
header_insertion_mode | option_fixed | none | Header insertion mode |
gops_per_idr | int | 60 | GOPs per IDR 0-no IDR will be inserted |
preanalysis | bool | false | Pre-Analysis Mode |
vbaq | bool | false | Enable VBAQ |
enforce_hrd | bool | false | Enforce HRD |
filler_data | bool | false | Filler Data Enable |
max_au_size | int | 0 | Maximum Access Unit Size for rate control (in bits) |
min_qp_i | int | -1 | Min quantization parameter for I-frame |
max_qp_i | int | -1 | Max quantization parameter for I-frame |
min_qp_p | int | -1 | Min quantization parameter for P-frame |
max_qp_p | int | -1 | Max quantization parameter for P-frame |
qp_p | int | -1 | Quantization parameter for P-frame |
qp_i | int | -1 | Quantization parameter for I-frame |
skip_frame | bool | false | Rate Control Based Frame Skip |
me_half_pel | bool | true | Enable ME Half Pixel |
me_quarter_pel | bool | true | Enable ME Quarter Pixel |
aud | bool | false | Inserts AU Delimiter NAL unit |
libvpx VP9
Configuration Parameter: libvpx-vp9
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
auto-alt-ref | int | -1 | Enable use of alternate reference frames (2-pass only) |
lag-in-frames | int | 25 | Number of frames to look ahead for alternate reference frame selection |
arnr-maxframes | int | 0 | altref noise reduction max frame count |
arnr-strength | int | 3 | altref noise reduction filter strength |
arnr-type | option | centered | altref noise reduction filter type |
arnr_type | int | 3 | altref noise reduction filter type |
tune | option | Tune the encoding to a specific scenario | |
deadline | option | good | Time to spend encoding, in microseconds. |
quality | int | 1000000 | |
error-resilient | flags | Error resilience configuration | |
max-intra-rate | int | -1 | Maximum I-frame bitrate (pct) 0=unlimited |
er |
|
||
crf | int | -1 | Select the quality for constant quality mode |
static-thresh | int | 0 | A change threshold on blocks below which they will be skipped by the encoder |
drop-threshold | int | 0 | Frame drop threshold |
noise-sensitivity | int | 0 | Noise sensitivity |
undershoot-pct | int | -1 | Datarate undershoot (min) target (%) |
overshoot-pct | int | -1 | Datarate overshoot (max) target (%) |
cpu-used | int | 1 | Quality/Speed ratio modifier |
lossless | int | -1 | Lossless mode |
tile-columns | int | -1 | Number of tile columns to use, log2 |
tile-rows | int | -1 | Number of tile rows to use, log2 |
frame-parallel | Enable frame parallel decodability features | ||
aq-mode | option | adaptive quantization mode | |
aq_mode |
|
||
level | double | -1.000000 | Specify level |
row-mt | Row based multi-threading | ||
tune-content | option | Tune content type | |
tune_content |
|
||
corpus-complexity | int | -1 | corpus vbr complexity midpoint |
speed | int | 1 | |
vp8flags | flags | ||
flags |
|
||
arnr_max_frames | int | 0 | altref noise reduction max frame count |
arnr_strength | int | 3 | altref noise reduction filter strength |
rc_lookahead | int | 25 | Number of frames to look ahead for alternate reference frame selection |
DNxHD (Digital Nonlinear Extensible High Definition)
Configuration Parameter: dnxhd
Additional attributes
Name | Type | Default | Description |
---|---|---|---|
b | int | 120M | Set bitrate (in bits/s) |
nitris_compat | bool | false | Encode with Avid Nitris compatibility |
QuickTime Animation (RLE) video
Configuration Parameter: qtrle