视频转码是视频录制到播放不可或缺的一个重要环节之一,然而单机版视频转码耗时长,特别是大视频转码。该文采用一种基于Hadoop的分布式视频转码系统,使用Hadoop的Map Reduce分布式框架,通过JNI对FFmpeg库的调用,实现分布式的视频转码。实验结果,相比单机版视频转码,分布式视频转码有明显的优势。
Video transcoding plays a vital role in the process of video recording and video play. The single ver- sion of the video transcoding is time-consuming. Therefore, this paper proposes a distributed video transcoding system based on Hadoop, which employs MapReduce distributed framework and JNI. The experiments show that the distributed video transcoding system has obvious advantages over the single video transcoding.