Module Avcodec.Unknown

The formats FFmpeg places in none of the audio, video and subtitle families. This module offers their identifiers only: no codec list, no lookup, no decoder and no encoder.

type 'mode t = ([ `Data ], 'mode) codec

A codec of this family. No function of the interface returns one.

type id = [
  1. | `None
  2. | `Ttf
  3. | `Scte_35
  4. | `Epg
  5. | `Bintext
  6. | `Xbin
  7. | `Idf
  8. | `Otf
  9. | `Smpte_klv
  10. | `Dvd_nav
  11. | `Timed_id3
  12. | `Bin_data
  13. | `Smpte_2038
  14. | `Lcevc
  15. | `Smpte_436m_anc
  16. | `Probe
  17. | `Mpeg2ts
  18. | `Mpeg4systems
  19. | `Ffmetadata
  20. | `Wrapped_avframe
  21. | `Vnull
  22. | `Anull
]

The identifier of a format of this family.

val codec_ids : [ `None | `Ttf | `Scte_35 | `Epg | `Bintext | `Xbin | `Idf | `Otf | `Smpte_klv | `Dvd_nav | `Timed_id3 | `Bin_data | `Smpte_2038 | `Lcevc | `Smpte_436m_anc | `Probe | `Mpeg2ts | `Mpeg4systems | `Ffmetadata | `Wrapped_avframe | `Vnull | `Anull ] list

Every identifier of this family the bindings know.

val string_of_id : id -> string

string_of_id id is FFmpeg's name of the format.

val get_params_id : [ `Data ] params -> id

get_params_id params is the codec identifier of the parameters.

  • raises Avutil.Error

    with `Failure _ when the identifier is outside id.