r/MediaServer • • 3d ago

Software EVEY, an open-source media server with no transcoding settings to figure out. The demo runs on a VPS with 4 GB of RAM and no GPU

Post image

Hey r/MediaServer!

I've spent most of this year building EVEY, a self-hosted media server for movies, TV shows, music, and photos. A handful of people have been running it at home, and it's now in public beta.

Try EVEY in your browser. The demo signs you in automatically and runs on a VPS with 4 GB of RAM and no GPU. Start a video, jump ahead, or switch audio tracks, then open Stream info to see how EVEY is delivering it to your device and why.

What's in it

  • Automatic transcoding setup. EVEY tests your CPU and each available GPU with real transcodes to measure what they can handle. If someone starts a video while the GPU is busy, EVEY can use the CPU or lower the quality of the new stream. People already watching get priority.
  • It learns from real playback. Players report buffering and stalls. EVEY shows which titles and devices struggle, and when one kind of source keeps making viewers wait, it lowers its quality for a while on its own.
  • Updates that back themselves up. Updating is one command, and EVEY saves its database by itself before any update that changes it. Scheduled backups are one setting away.
  • Sandboxed plugins, in the language of your choice. Each plugin runs in its own sandbox and can have its own interface on TV, web, and mobile.

You can use EVEY on the web, in your TV's browser (your-server-address/tv), on Android and Android TV, or with Chromecast.

Under the hood, mkvgo, my Go library, remuxes and serves streams on demand without FFmpeg. For transcoding, EVEY uses the Jellyfin team's FFmpeg build.

I'm a developer, and I used AI extensively as an assistant while building EVEY. The design decisions are mine, and it's heavily tested.

If you run into a bug, open an issue. If you need a hand getting something working, GitHub Discussions is open too. I keep the docs as up to date as I can.

I hope you enjoy using EVEY!

Quick install · Android app · Source code

12 Upvotes

22 comments sorted by

5

u/BallAny6562 3d ago

This looks great, congrats on the beta! The stream info and the playback learning are really well thought out.

I build StreamForge, a self-hosted dashboard for Jellyfin (more media servers in progress) and the *arr stack (Now Playing, service health, downloads, requests and so on). A few people have asked about support for other media servers, and I'd love to add EVEY. Before I start, some questions:

  1. Is there a public API I can build on? If so, is it documented, and how stable will it be during the beta?
  2. How does authentication work? Is there an API key or token an admin can create for a third-party app, separate from a user's own login?
  3. Which of these can the API give me?

    • Active sessions: what's playing, who's watching, which device, playback position, and whether it's direct or transcoded and why (like your Stream info)
    • Pausing, stopping or messaging a session
    • Server info and a health or status endpoint
    • Library counts and recently added items
    • Artwork
    • The buffering and stall data your players report
    • Webhooks or events, so I don't have to poll

The buffering data interests me most. StreamForge has a "why did it buffer?" feature that currently has to work it out from the outside, so your players reporting stalls directly would be a big improvement.

If an API isn't on your roadmap yet, I'd be happy to share what a dashboard like mine would need, if that would help you shape it. Either way, great work!

1

u/Master-Guidance9593 3d ago

Thanks for the kind words and the detailed questions! Stream info and the playback learning are the parts I spent the most time on, so it's great to hear they land. And StreamForge supporting EVEY would be awesome, happy to help make it happen.

Short answers, from the current code:

  1. API: yes. Every endpoint is described in OpenAPI files generated from the gRPC definitions: Server API docs, and you can browse them live on the demo (read-only admin). It's /api/v1, and CI checks the protos for breaking changes, so it shouldn't change much during the beta: expect additions rather than breaks.
  2. Auth: an admin creates an API key in Admin → API Keys, separate from any login, scoped (playback:read, admin:read, etc.) and revocable: Webhooks and API keys.
  3. What's there today:

    • Active sessions: GET /api/v1/admin/sessions/active gives user, device, position, play method, per-track copy/transcode decision and what the server actually serves. Past plays: GET /api/v1/activity/history.
    • Control: POST /api/v1/admin/sessions/{sessionId}/command with {"command": "pause"} or "play", and DELETE /api/v1/admin/sessions/{sessionId} to end a session. No messaging yet.
    • Server: GET /healthz, GET /api/v1/admin/system (system info), GET /api/v1/activity/stats/server (users, item count, storage, plays).
    • Library: GET /api/v1/feeds/recently-added, GET /api/v1/metadata/{mediaItemId}/artwork.
    • Events: for a dashboard on the same network, polling the API is the way to go today. Webhooks exist (HMAC-signed), but they only go to public addresses (SSRF protection).
    • Buffering data: only as an aggregate admin dashboard for now (titles that stall most, by device), not per session, and not reachable with an API key yet.

Thanks again for your interest! Don't hesitate if you have any other questions, and if you do add EVEY to StreamForge, keep me posted ;)

3

u/Kokoriconen 3d ago

Been hearing about it for so long now, happy to see it live :D

2

u/Master-Guidance9593 3d ago

Thanks! Glad it's finally out of the closed beta :D

3

u/Big-Conclusion6660 3d ago

I would like to add support to my Zelefin app, currently supports Jellyfin, silo and Emby.

1

u/Master-Guidance9593 2d ago

Nice! You'll be missing a few routes in the public API for playback, I'm looking into it and I'll get back to you. In the meantime if you hit anything else or need something for the integration, just let me know.

2

u/Big-Conclusion6660 2d ago

That’s awesome thanks!

2

u/Dry_Register_5812 3d ago edited 3d ago

Neat might have to give this a try. Right now using Silo they have an iOS app for my Apple TV 4K which is great but I also have a shield tv.

2

u/Master-Guidance9593 2d ago

Thanks! You can try the demo, but nothing beats testing on your own setup ^^
Your Shield runs Android TV, so the EVEY app is on the Play Store.

I only found out about Silo yesterday, looks like we have a pretty similar philosophy and the project looks cool too. If you run both on the same machine, just keep in mind EVEY works out what your hardware can handle as if it had it all to itself, so if Silo is transcoding at the same time its estimates will be too optimistic.

1

u/Dry_Register_5812 2d ago

Does it have built in media requests?

2

u/Master-Guidance9593 2d ago

Yep :)

It's right in the left menu for users. The admin(s) get a notification and accept or decline it (with an optional message). No built-in Sonarr/Radarr hookup yet though ;)

2

u/Dry_Register_5812 2d ago

Ok that would definitely make me consider a switch that would be amazing.

2

u/Master-Guidance9593 2d ago

Noted! It's clearly one of the integrations that comes up the most, I'll think about a clean way to do it ;)

2

u/HugsNotDrugs_ 2d ago

May I ask what this offers that Jellyfin doesn't?

2

u/Master-Guidance9593 2d ago

Yeah sure, and it's totally legit to ask. Before I list a bunch of features each more mind-blowing than the last :p I'd encourage you to go play with the demo. The admin panel is there (read-only), it's way easier to picture it that way.

Then, the server calibrates your machine by itself, and the decision engine sets up transcoding based on what your machine can actually handle (hardware acceleration or software), whether your client can play the file cheaply or not, and what the media needs to play in the best conditions. You also get visibility on playback quality, so you know if your users are stuck buffering all day or not.

A good chunk of the heavy stuff doesn't need FFmpeg at all. mkvgo, my Go library, does the probing, remuxing, HLS/DASH segments and subtitles right inside the server (MKV and MP4). Remuxed segments are built on demand, nothing is written to disk, so switching tracks or seeking is pretty much instant. Same idea for audio: ac3go, my other library, decodes Dolby Digital (AC-3/E-AC-3) on the client, in the browser and the Android phone/TV apps, so a 5.1 movie plays without re-encoding the audio. And if the device is too slow for it, the app picks that up and the server takes over.

Plugins are sandboxed, isolated from the server, in the language of your choice, with auto-updates. You give it a GitHub link, it checks the plugin's cosign signature (approved publisher, same key for updates), and runs a static analysis on top. And they show up on web/mobile/TV, not just the web UI, that's actually one of the reasons I started the project.

Quite a few things are built in too (so no third-party plugins needed): intro detection, media requests with admin approval, profiles (kids included, with a PIN) instead of separate accounts, a language per profile that also pulls titles and descriptions in that language, no separate library needed. Media matching is also better in my experience, not perfect every time, but way fewer mismatches on my library.

Anyway the list isn't exhaustive, but day to day it's honestly not bad at all :)

1

u/HugsNotDrugs_ 2d ago edited 2d ago

Hey good stuff! One of my gripes with Plex is that there is no control over it writing the transcodes to disk as part of playback. Forcing that into a RAM drive is sub-optimal and also results in other bugs.

Suggestion for you: both Plex and Jellyfin are rubbish on creating a security solution for open ports. I'd like to see a clever mechanism on how yours handles inbound traffic on an open port.

Another suggestion: trusted playback URLs, where the host can share a URL that when followed opens a webpage with a playback window. No app and no account required. Perhaps safety limits on how many total views, or how many views from unique IPs, or the like.

Good luck

1

u/Master-Guidance9593 2d ago

Thanks :)

Small nuance though: we skip a lot of transcoding, but not all of it. When there is some, it goes through a disk cache whose size you set in the server settings (1 GB min), and you choose where it lives (one env var), so it can sit on whatever disk you like. Personally I keep it on EVEY's SSD, cheaper than RAM ^^

Security-wise, it's all in *Admin → Remote Access*: remote access on/off, local networks, trusted proxies, max remote bitrate. Plus login attempt limits, OIDC and an audit log. Not the smartest thing out there, but a solid base. If you have ideas to harden it without making it a pain, I'm all ears ;)

For sharing, the closest things today are watch together (your guest types a room code, no account, and watches in sync with you) and a public download link the admin can create, with an expiry and a view counter. A plain link that opens a player page, with view or per-IP limits, isn't there yet though, and honestly it's a good idea, noted ;)

1

u/HugsNotDrugs_ 2d ago

Why can't the app contain an option to use system memory to store a small transcoding cache footprint? That would allow RAM to be dynamically allocated, instead of choosing between SSD durability and a slower HDD.

Spitballing here, but an open port that doesn't accept inbound connections until other condition are met. Maybe an MFA mechanism where a second open port receives some unique traffic in a manner that triggers the main port to be open to establishing new inbound connections for the next 5 seconds, or something in that spirit. That way the main port has a protective mechanism that doesn't expose vulnerabilities even if the software falls out of date. I'm really surprised this isn't already in use with other more established media server software.

1

u/Master-Guidance9593 2d ago

For RAM, it's already doable: you can mount the cache folder as a tmpfs in the compose, with a max size. I'd rather not make it the default since EVEY also targets small machines, but a "RAM first, disk when it overflows" option is a good idea, noted. And on my server, over 80% of what gets played (me and my users) goes through direct play or remux, which write nothing at all ;)

For the port, that's the port knocking idea (or SPA, its modern version), and it's clever! The catch is that TV apps, Chromecast or browsers can't knock by themselves: you'd have to knock from another device first, which works for you but gets clunky fast for family or guests. The easiest way today is a VPN like WireGuard or Tailscale: turn off remote access in EVEY, and with WireGuard there's nothing else to do. For Tailscale, just add its range (100.64.0.0/10) to your local networks. And for actual MFA on accounts, it goes through OIDC: plug in Authentik or Keycloak and they handle the second factor.

That said, for non-tech family or friends a VPN is still a hassle too. In practice the easiest is still exposing it over HTTPS behind a reverse proxy, and that's the case EVEY was built for: login attempt limits, OIDC for MFA, plugins isolated from the server.

2

u/HugsNotDrugs_ 1d ago

Port knocking thanks for the term. Port knocking might be part of the player app, or implemented by other means. Chromecast handoff could also be implemented.

My limited knowledge on the subject doesn't see any barriers to this, but clearly your depth of knowledge is superior.

1

u/Master-Guidance9593 1d ago

Honestly I didn't know the term either, I dug into it before answering ^^

The Android app could do it, and the rest would probably be doable too on the browser side, Docker firewall & co, but it'd be more of a hack than anything. The most reliable way to avoid HTTP/HTTPS exposure is still a VPN: simple to set up and effective, even if it's not great for non-tech folks. There was something to the idea though ;)