Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

parse mp4 with membrane_mp4_plugin

articles/parse-mp4.livemd

parse mp4 with membrane_mp4_plugin

install

Mix.install([
  {:membrane_mp4_plugin, "~> 0.13.0"}
])
{:ok, data} = File.read("~/Downloads/bun33s_720x480.mp4" |> Path.expand())
Membrane.MP4.Container.parse(data)
{:ok, data} = File.read("~/Downloads/bun33s_720x480.h264" |> Path.expand())