Emulator Issues #7505
closedAvi dumping should dump 50/60 frames per second.
0%
Description
Currently Avi dumping dumps a frame every time the game copies a frame to XFB, which is highly variable as games may switch dynamically between 30 and 60 fps or stop rendering frames while loading.
When the video is played back in a video player, the frames are played at a constant rate. This causes the video track to desync from the (currently separately dumped) audio track, which is fixed at a full 60 frames per second.
The TAS people have a hacky patch set (misnamed avsync) which implements Variable Framerate video dumping in dolphin, so that it can converted to a constant framerate later by a custom avisynth plugin.
Instead of merging this patch set, dolphin should instead be modified so that a frame is dumped for every VI interrupt, even if it's a duplicate of the previous frame. This allows dolphin to output the correctly syncing video directly.