Tesla YouTube PoC

Educational research prototype. Demonstrates the MPEG1-over-WebSocket + JSMpeg technique that renders video to a canvas, bypassing Tesla's Drive-Mode <video> restriction. This is a technical research exercise only. Do not use it while operating a vehicle — watching video while driving is dangerous and illegal in most jurisdictions. The author assumes no responsibility for misuse.
This runs entirely on your own server: yt-dlp resolves the stream, ffmpeg transcodes to MPEG1-TS (video, via WebSocket) and MP3 (audio, via HTTP), and JSMpeg draws frames on a canvas so a native <video> element is never involved.
Open YouTube client
Requires Node.js 18+, ffmpeg (mpeg1video + libmp3lame), and yt-dlp on the server.