Av.FormatFFmpeg's input and output formats: demuxers, muxers and devices. A format value is a handle on a static FFmpeg object and needs no release.
val get_input_name : (Avutil.input, _) Avutil.format -> stringThe name of an input format. It may be a comma-separated list of aliases.
val get_input_long_name : (Avutil.input, _) Avutil.format -> stringThe descriptive name of an input format.
val input_ts_discont : (Avutil.input, _) Avutil.format -> boolWhether the input format declares timestamp discontinuities legitimate (FFmpeg's AVFMT_TS_DISCONT flag), as MPEG-TS does.
val get_output_name : (Avutil.output, _) Avutil.format -> stringThe name of an output format. It may be a comma-separated list of aliases.
val get_output_long_name : (Avutil.output, _) Avutil.format -> stringThe descriptive name of an output format.
val find_input_format : string -> (Avutil.input, 'a) Avutil.format optionfind_input_format name is FFmpeg's input format of that short name, or None when there is none. The media parameter of the result is chosen by the caller and is not checked.
val guess_output_format :
?short_name:string ->
?filename:string ->
?mime:string ->
unit ->
(Avutil.output, 'a) Avutil.format optionFFmpeg's guess of an output format. The media parameter of the result is chosen by the caller and is not checked.
val get_audio_codec_id :
(Avutil.output, Avutil.audio) Avutil.format ->
Avcodec.Audio.idThe default audio codec of the format; `None when it has none.
val get_video_codec_id :
(Avutil.output, Avutil.video) Avutil.format ->
Avcodec.Video.idThe default video codec of the format; `None when it has none.
val get_subtitle_codec_id :
(Avutil.output, Avutil.subtitle) Avutil.format ->
Avcodec.Subtitle.idThe default subtitle codec of the format; `None when it has none.