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

chokchit
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2733ms. You can configure how long re...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
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
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lists...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

Other popular topics Top

danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29377 241
New
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
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
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New

We're in Beta

About us Mission Statement