RAVAN
RAVAN builds a film library from a Google Drive folder you choose. When you pick a film, the player can open a compatible MP4 directly. For other files, a background worker repackages the original video or converts it. You can choose an audio track, turn on subtitles and resume where you left off.
01 / Overview
Problem
A film stored in Drive can use a container or codec the browser cannot play. Manually converting a whole library takes time and can needlessly re-encode video that already works.
My contribution
- Inspect each file and choose the least costly playback path that works for the browser.
- Limit conversion jobs on the server and make the prepared edition available once processing finishes.
- 01React
- 02TypeScript
- 03FFmpeg
- 04Google Drive
- 05Cloudflare Workers
02 / Evidence
Proof & Verification
- The public repository includes a fictional preview library and browser tests for Chromium, Firefox and WebKit.
- The browser is the primary client. The experimental LG C1 client still awaits playback verification on a physical TV.
Sources
Sources: Source Code03 / Methods
Build
Tech Stack
- React
- TypeScript
- FFmpeg
- Google Drive
- Cloudflare Workers
- Switch audio and text subtitle tracks during playback.
- Save films to a watchlist and resume playback from the last saved position.
Secure
- Restrict sign-in to the owner with Google authentication and a second factor.
- Read media from the selected Drive folder and serve it using private media tickets.