Skip to content

ocaml-ffmpeg 1.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Sep 02:57
· 13 commits to main since this release

ocaml-ffmpeg (1.4.0)

  • Av.seek drops the frames its decoders had buffered, which used to be
    returned after the seek carrying their pre-seek timestamps.
  • Av.read_input returns the frames its decoders still hold at end of input:
    a single-frame image yielded no frame at all, and a video lost its tail.
  • Fix a crash reading or closing an input whose demuxer adds streams while
    packets are read, e.g. MPEG-PS: the stream contexts and per-stream decoders
    were sized for the streams known when the input was opened.
  • Add version API
  • mk_audio_opts and mk_video_opts keep the options they derive (channel
    layout, sample format, time base, ...) to themselves, so that
    Av.new_audio_stream, Av.new_video_stream and
    Avcodec.{Audio,Video}.create_encoder leave in the caller's table exactly the
    caller's own options that ffmpeg did not use.