In fact, TAS are made with emulators that record every controller inputs, frame by frame, with save-states allowing you to make the best possible moves with perfect timing. AFAIK, there's no video editing in TAS, but you can splice more optimized segments (sometimes made by another "TASers"(co-authors)) to the run…