ES.← All projectsGet in touch ↗
HOME/WORK/GO HLS TRANSCODER
PROJECT 05 · VIDEO INFRASTRUCTURE · API

Go HLS Transcoder.

A Go video-processing API that prepares uploaded videos for HLS playback, extracts a preview image, and generates a transcript with AssemblyAI.

GoFFmpegAssemblyAIHLSS3-compatible storage
Transcoding flow
01Save upload→
02Append trademark clip→
03Customizable thumbnail→
04Extract audio→
05AssemblyAI transcript→
06Generate HLS variants→
07Optional S3 upload
API · BACKEND SYSTEM
THE CHALLENGE

Why this
needed to exist.

A video upload needs to move through preparation, preview generation, transcription, and HLS packaging before it can be served as a stream.

THE APPROACH

Designed around
the real work.

The server saves each upload locally, appends the test trademark video, extracts a thumbnail at a customizable timestamp and the audio, then sends the audio to AssemblyAI. It generates HLS playlists and segments at multiple quality levels, with an optional S3-compatible upload when AWS settings are present.

A CLOSER LOOK

What it does

  • 01Save uploaded videos to the local uploads directory
  • 02Concatenate each upload with the test trademark clip
  • 03Extract a thumbnail snapshot at a customizable timestamp
  • 04Extract audio from the combined video
  • 05Transcribe audio through AssemblyAI
  • 06Generate HLS playlists and segments at multiple quality levels
  • 07Optionally upload generated HLS output to S3-compatible storage when AWS settings are configured
UNDER THE HOOD

Transcoding flow

01Save upload→
02Append trademark clip→
03Customizable thumbnail→
04Extract audio→
05AssemblyAI transcript→
06Generate HLS variants→
07Optional S3 upload