Skip to content

kim-company/membrane_live_framerate_converter_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Membrane.LiveFramerateConverter

A Membrane element that drops or fills frames to produce a stable output framerate. Suited for realtime applications.

Installation

def deps do
  [
    {:membrane_live_framerate_converter_plugin, "~> 1.0"}
  ]
end

Stable Framerate Behavior

The converter maintains a fixed output cadence by mapping incoming buffers into regular time slots defined by the target framerate:

  • If an incoming buffer is late for the current slot, it is dropped.
  • If a slot arrives without input, behavior depends on stall_policy.

Stall Handling

When input stalls after playback has started:

  • :duplicate duplicates the last received frame to preserve cadence.
  • :halt stops output until new input arrives.

Notifications are emitted for drops, duplications, stalls, and resumes to make it easy to observe these edge cases in a pipeline.

Copyright and License

Copyright 2022, KIM Keep In Mind GmbH Licensed under the Apache License, Version 2.0

About

Membrane.Filter that drops or duplicates frames to match a target framerate. Designed for realtime applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages