package ffmpeg-avdevice

  1. Overview
  2. Docs
Bindings for the ffmpeg avdevice library

Install

Dune Dependency

Authors

Maintainers

Sources

v1.2.0.tar.gz
md5=2fa89ab09c4e1f5d1c24178ca5d2df92
sha512=cce220ccb708f4d739510f1f098faeb23b58a3b11d2b6bd2efbf067c5d9e206aaf1d626bd32d036f12488734a871b071e3504f913b66bb2ae266517ba088fe62

CHANGES.html

CHANGES

1.2.0 (2024-09-24)
=====
* Removed unused `Av.write_audio_frame`/`Av.write_video_frame`.
* Remove use of deprecated `av_packet_side_data_get`
* Added support to get all streams from output container
* Removed unreliable `Av.was_keyframe`
* Added `on_keyframe` to `Av.write_frame`.
* Switched to new channel layout API.

1.1.11 (2024-03-19)
======
* Fix segfault with the new OCaml 5 concurrent GC.

1.1.10 (2024-01-17)
======
* Fixed codec attribute for AAC.
* Added non-interleaved API for Av.

1.1.9 (2023-10-27)
=====
* Added support for AV_CODEC_ID_WRAPPED_AVFRAME
  as valid audio/video codec.
* Added AV_CODEC_ID_NONE to all codec id classes
  to prevent unecessary failures when passing it
  as detected coded_id.

1.1.8 (2023-07-01)
=====
* Added asynchronous stream copy creation API.
* Added `pkt_dts` API for AVFrame.
* Raise exception when re-using a closed container.
* Move caml_remove_generational_global_root to ocaml finalizers
  to follow OCaml 5 memory model.
* Added `Avutil.Frame.{duration, set_duration}`
* Reset metadata before setting new value.
* Fix min/max filter option values for int and int64 type.
* Add flush API to avfilter.
* Add support for data streams.

1.1.7 (2023-02-08)
=====
* Filter `NaN` when converting floats to and from
  OCaml in `swresample`.

1.1.6 (2022-09-26)
======
* Fix channel layout breakage with recent FFmpeg with new channel layout API.
* Fix memory leak with streams.
* Cleanup internal C binding.

1.1.5 (2022-08-28)
======
* Fix segfault when flushing an encoder that
  hasn't been started yet.
* Added flac to codec_attr.

1.1.4 (2022-06-18)
=====
* Added codec descriptor API.
* Added bitstream filters API
* Fixed issues with unimplements AvOptions types.
* Fixed memory cleanup when raising exception in `open_input` (#55)

1.1.3 (2022-04-06)
=====
* Use size of memory referred by AVFrame and AVPacket
  when allocating OCaml frame custom block to make sure
  the GC is diligent when cleaning up OCaml values
  referring to AVFrame and AVPacket.

1.1.2 (2022-03-13)
=====
* Change error returned on OCaml callback exception
  to AVERROR_EXTERNAL, add log entry.
* Get rid of naked pointers.
* Adapt to most recent FFmpeg API.
* Added offset/length to conversion functions.

1.1.1 (2021-12-26)
======
* Added support for interruption callback.

1.1.0 (2021-11-27)
=====
* Added support for filter commands.
* Make [Av.get_pixel_aspect] optional.
* Rename [Avfilter.sample_aspect_ratio] into [Avfilter.pixel_aspect], make it optional.

1.0.2 (2021-11-19)
=====
* Fix deadlock when raising exceptions in callbacks.

1.0.1 (2021-10-02)
=====
* Fixed segfault when using `Field(v, i) = v'` instead of `Store_field(v, i, v')`
* Fixed memory leak when avio callback raised exception.

1.0.0 (2021-09-14)
=====
* Switch to dune
* Heavy rework of the whole API

0.4.2 (2020-07-04)
=====
* Adapt to new 4.3 headers.

0.4.1 (2019-09-26)
=====
* Added Avutil.Audio.frame_get_sample_format.

0.4.0 (09-22-2019)
=====
* Added support for stream output.
* Updated stream and container creation API to be able to use any arbitrary FFmpeg parameter.

0.3.0 (08-22-2019)
=====
* Implement support for streams
* Cleanup internal logic
* Fix build on bytecode architecture (#27)

0.2.1 (11-12-2018)
=====
* Fix dist.

0.2.0 (09-09-2018)
=====
* Add support for demuxing and resampling (#2).
* Add audio and video encoding.
* Add avdevice.
* Add codec parameters structure.

0.1.2 (05-23-2016)
=====
* Compatibility with the latest ffmpeg.

0.1.1 (03-08-2015)
=====
* Dummy github release

0.1.0 (18-02-2013)
=====
* Initial release.
OCaml

Innovation. Community. Security.