video stream formatting