animated gif frame delay calculated from movie fps