From 1612019c7fa10699fc256c6e3d905a734b9cc922 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 12 Aug 2024 04:53:40 +0200 Subject: [PATCH] Update README.md --- transcoder/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/transcoder/README.md b/transcoder/README.md index 11733201..d23dfa59 100644 --- a/transcoder/README.md +++ b/transcoder/README.md @@ -6,11 +6,19 @@ - Support automatic quality switches - Support transmuxing as a quality - Allows multiples clients to share the same transcode stream -- Hardware acceleration support (vaapi, qsv, cuda) +- **Hardware acceleration** support (vaapi, qsv, cuda) - Extract **media info** from files (bitrate, chapters...) and stores it in database - Extract and serves **subtitles** or attachments (like fonts) - Create **thumbnails sprites** (& vtt metadata) for scrubbing (mouse hover on seek bar) +## Content/Quality negotation + +Instead of having complex logic to know which client supports which codecs, we use HLS to it's full potential. +Each quality & codec supported by gocoder is specified in the manifest and the client is free to pick the one it can play (and switch on the fly to change quality if network changes). + +This makes the API easier (to adopt for new clients & to write) but it means it's harder to handle transmuxing. +I did a blog post explaining the core idea, you can find it at [zoriya.dev/blogs/transcoder](https://zoriya.dev/blogs/transcoder). + ## Usage Gocoder is shipped as a docker image configurable via env variables (see `.env.example`). Using it outside Kyoo is supported. @@ -22,7 +30,7 @@ Projects using gocoder: - [Blee](https://github.com/Arthi-chaud/Blee) - Add your own? -## How does this work? +## How does this work I did a blog post explaining the core idea, you can find it at [zoriya.dev/blogs/transcoder](https://zoriya.dev/blogs/transcoder).