Skip to content
项目

关于

OCaml bindings to the FFmpeg library.

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ocaml-ffmpeg

[!WARNING] This repository is read-only. All changes must be made in savonet/liquidsoap under src/modules/synced/ffmpeg/ and will be mirrored here automatically.

GitHub CI GitHub release (latest by date)

ocaml-ffmpeg is an OCaml interface for the FFmpeg Multimedia framework.

Currently, it requires FFmpeg 7.1 or later to compile. Only the last two major releases are intended to be supported; support for older versions may be dropped at any time.

The modules currently available are :

Avutil : base module containing the share types and utilities

Avcodec : the module containing decoders and encoders for audio, video and subtitle codecs.

Av : the module containing demuxers and muxers for reading and writing multimedia container formats.

Avdevice : the module containing input and output devices for grabbing from and rendering to many common multimedia input/output software frameworks.

Avfilter : the module containing audio and video filters.

Swresample : the module performing audio resampling, rematrixing and sample format conversion operations.

Swscale : the module performing image scaling and color space/pixel format conversion operations.

Please read the COPYING file before using this software.

Documentation:

The API documentation is available here.

Prerequisites:

  • ocaml
  • FFmpeg
  • dune
  • findlib

See dune-project file for versions.

Installation:

The preferred installation method is via opam:

opam install ffmpeg

This will install the latest release of all ffmpeg-related modules. You can also install individual modules, for instance:

opam install ffmpeg-avcodec ffmpeg-avfilter

If you wish to install the latest code from this repository, you can do:

opam install .

From within this repository.

Compilation:

dune build

Specification and tests:

The behaviour of the bindings is specified in spec. The test suite checks the bindings against it:

dune build @ffmpeg_citest

Author:

This author of this software may be contacted by electronic mail at the following address: [email protected].

探索相关项目

加载中…