Making a video content scanner/monitor

Hello, I’m trying to make a plugin that scans a video either while its transcoding i hoped to save time or afterwards before it gets published, but I want this plugin to export a frame at a time, then illl do some of my own stuff in a function that it will then send the frame too, afterwards it deletes the original frame and moves on to the next to save space, some functionality I want is the ability to see all flagged videos in a separate window in the admin page, as well as plugin settings, I want a box to put an api key, and a way to disable the scanner without uninstalling, I am very new to peertube plugin making so I dont know anything to call in order to do this, as well im very inexperienced with node and javascript as one of my main languages is c++, but im willing to learn and even figure out somethings myself, im just struggling to get even started