separate thread for video out pipeline