Gotcha. If you get a chance, take a moment to run what I said above through an AI. You have a chance to do this on-device, forever free and sovereign and no 3rd party.. once its in HLS, there's all kinds of cool things that can be done. Like NostrTV.
Source: over a decade working on streaming video codec tech.