triton icon indicating copy to clipboard operation
triton copied to clipboard

Support uploading multiple qualities of a single file

Open jaredallard opened this issue 4 years ago • 2 comments

Scope

We need to be able to support creating multiple qualities of media files

How

  1. Media is uploaded via downloader microservice, as normal
  2. Based on configuration, converter converts the same file into multiple different qualities and uploads them to S3
  3. Twilight (which will be rewritten in Go to code share w/ identifier) will get quality information from converter, and will create the relevant episode_files_v1 entries in the database 3.5 OPTIONALLY: Twilight sends a message to identifier to add an entry to the database.
  4. events (api gateway) will return these different qualities over the soon to be spec'd out API endpoints for getting s3 links

See #6 for some basic (not 100% true anymore) sketches of what the episode_files_v1 table looks like

jaredallard avatar Aug 13 '19 03:08 jaredallard

Twilight and Identifier now do their parts to populate the episode_files_v1 table

jaredallard avatar Aug 17 '19 02:08 jaredallard

Here's what it looks like:

twilight and identifier

jaredallard avatar Aug 17 '19 02:08 jaredallard