Writing results from first process to database. Need logic to determine when there are no more videos to write to database, then trigger second process