fixing up timing for video generation - seems to be sorta working