Seeking information about Membrane CPU usage

Hi,

I have a project idea for my homelab. It’s a plex/jellyfin alternative and I’m thinking about my stack, for now I was thinking about Go, Rust or Elixir.

With Go I need to call ffmpeg and ffprobe with exec.Command
With Rust there is ffmpeg-next
With Elixir and GenServer but now I just discovered the existence of Membrane :open_mouth:

The thing is, I don’t know Rust and Elixir :sweat_smile: (but I have time to learn, it’s a side project)

Basiclly the app need

  • an API to show the media from a sqlite DB
  • the db will be filled by scanning shared folder
  • fetch the movie/tv show from TMDB (for example)
  • scan the shared folder and use ffprobe to get media info (length, codec, etc)
  • ffmpeg to generate thumbnail
  • ffmpeg to transcode (if needed)
  • ffmpeg to stream (HLS)

I’m wondering about Membrane CPU usage during transcodage because my goal is to have the app running on small machine (2vcpu min and 6 vcpu max will be great)

And I don’t know how to package an elixir app (.deb, .exe, binary) with an easy install like Plex for example.

I’d love to try with Elixir/Phoenix and Membrane but don’t know about CPU usage and I like strictly typed languages.

Thank you :smiley:

1 Like