See Zinfidel/SyncScripts.html for usage. This script automatically splices dumping footage around syncing savestates.