在研究了目前主流的视频转码方案基础上,提出了一种分布式转码系统。系统采用HDFS(Hadoop Distributed File System)进行视频存储,利用MapReduce思想和FFMPEG进行分布式转码。详细讨论了视频分布式存储时的分段策略,以及分段大小对存取时间的影响。同时,定义了视频存储和转换的元数据格式。提出了基于MapReduce编程框架的分布式转码方案,即Mapper端进行转码和Reducer端进行视频合并。实验数据显示了转码时间随视频分段大小和转码机器数量不同而变化的趋势。结果表明,相比单机转码,提出的系统在采用8台机器并行转码时,可以节约80%左右的时间。
Based on study of current video transcoding solutions,we proposed a distributed transcoding system.Video resources are stored in HDFS(Hadoop Distributed File System) and transcoded by MapReduce program using FFMPEG.In this paper,video segmentation strategy on distributed storage and how they affect accessing time are discussed.We also defined metadata of video formats and transcoding parameters.The distributed transcoding framework is proposed on basis of MapReduce programming model.Segmented source videos ...