Rtransat

Rtransat

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:

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 55125 245
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31586 112
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

We're in Beta

About us Mission Statement