This is quite difficult to do. Image and video formats are not simply arrays of RGB values or something. They’re typically binary formats and compressed in various formats. You could write something in Lua to decode this data, but it would be a very difficult task to do from scratch without a deep understanding of these file formats.
Another concern is that this could easily bypass the content filter.
It’s probably best to wait until VideoFrames are more publicly available to Roblox developers. I don’t know when that will be.