Video streaming often requires transcoding content into different resolutions and bitrates to match the recipient's internet speed and screen capabilities. Video encoders like x264 offer various presets, each with different tradeoffs between transcoding time and rate-distortion performance. Choosing the best preset for video transcoding is difficult, especially for live streaming, as trying all the presets and choosing the best one is not feasible. One solution is to predict each preset's transcoding time and select the preset that ensures the highest quality while adhering to live streaming time constraints. Prediction of video transcoding time is also critical in minimizing streaming delays, deploying resource management algorithms, and load balancing. We propose a learning-based framework for predicting the transcoding time of videos across various presets. Our predictor's features for video transcoding time prediction are derived directly from the ingested stream, primarily from the header or metadata. As a result, only minimal additional delay is incurred for feature extraction, rendering our approach ideal for live-streaming applications. We evaluated our learning-based transcoding time prediction using a dataset of videos. The results demonstrate that our framework can accurately predict the transcoding time for different presets, with a mean absolute percentage error (MAPE) of nearly 5.0%. Leveraging these predictions, we then select the most suitable transcoding preset for live video streaming. Utilizing our transcoding time prediction-based preset selection improved Peak Signal-to-Noise Ratio (PSNR) of up to 5 dB.
Towards 5G: Joint Optimization of Video Segment Cache, Transcoding and Resource Allocation for Adaptive Video Streaming in a Muti-access Edge Computing Network
Content-adaptive Encoder Preset Prediction for Adaptive Live Streaming
在实时流媒体应用中,通常使用一组固定的比特率-分辨率对(称为比特率阶梯)来避免额外的预处理运行时间,以分析每个视频内容的复杂度并确定优化的比特率阶梯。此外,实时编码器使用最快的可用预设进行编码,以确保流媒体中的最小延迟。对于实时编码器,期望编码速度等于视频帧率。优化的编码预设可以导致(i)增加的体验质量(QoE)和(ii)在编码时提高的CPU利用率。针对这种情况,本文提出了一种适用于自适应直播视频流应用的内容自适应编码器预设预测方案(CAPS)。在该方案中,编码器预设是使用离散余弦变换(DCT)的能量为基础的低复杂度的空间和时间特征的每个视频片段,分配给每个编码实例的CPU线程的数量,和目标编码速度。实验结果表明,与使用x265 HEVC开源编码器的HTTP Live Streaming(HLS)比特率阶梯的最快预设编码相比,CAPS在相同比特率下产生0.83 dB PSNR和3.81 VMAF的整体质量改进。这是通过保持所需的编码速度和减少CPU空闲时间来实现的。
FacebookVideoLive18: A Live Video Streaming Dataset for Streams Metadata and Online Viewers Locations
随着个人智能设备的进步和无处不在的网络连接,用户不再是被动的内容消费者,而是产生新内容的贡献者。直播服务的这种扩展需要对广播公司和观众的行为进行详细分析,以最大限度地提高用户的体验质量(QoE)。在本文中,我们提出了一个从流行的直播平台之一收集的数据集:Facebook。在这个数据集中,我们存储了2018年6月和7月收集的超过1,500,000条直播记录。这些数据包括来自世界各地的公开直播视频。然而,Facebook live API不提供使用其细粒度数据收集在线视频的可能性。API允许获取流的一般数据,只有当我们知道它的ID(标识符)。因此,使用Facebook提供的实时地图网站并显示在线流的位置和观众的位置,我们提取了视频ID和不同的坐标以及一般元数据。然后,拥有这些ID并使用API,我们可以收集可能对研究社区有用的公共视频的细粒度元数据。我们还提出了几个初步的分析来描述和识别的流和观众的模式。这种细粒度的细节将使多媒体社区能够重新创建真实世界的场景,特别是边缘网络中的资源分配、缓存、计算和转码。现有的数据集不提供观看者的位置,这限制了为尽可能接近观看者分配多媒体资源并提供更好的QoE所做的努力。