计算机与现代化 ›› 2020, Vol. 0 ›› Issue (01): 81-.doi: 10.3969/j.issn.1006-2475.2020.01.015

• 数据库与数据挖掘 • 上一篇    下一篇

基于自主可控平台的FFMPEG在线视频转换系统

  

  1. (1.新疆师范高等专科学校(新疆教育学院)现代教育技术中心,新疆乌鲁木齐830043;
    2.新疆教育云技术与资源实验室,新疆乌鲁木齐830043)
  • 收稿日期:2019-05-29 出版日期:2020-02-13 发布日期:2020-02-13
  • 作者简介:阿不都克里木·玉素甫(1980-),男(维吾尔族),新疆乌鲁木齐人,工程师,硕士,研究方向:计算机信息处理与软件工程,计算机自然语言处理,E-mail: kelimu709@163.com; 王亮亮(1977-),男,新疆乌鲁木齐人,副教授,硕士,研究方向: Linux操作系统,Web应用开发,E-mail: 356723011@qq.com。
  • 基金资助:
    新疆杰出青年自然科学基金资助项目(2017Q004)

FFMPEG Online Video Conversion System Based on Autonomous Controllable Platform

  1. (1. Modern Education Technology Center, Xinjiang Teacher’s  College(Xinjiang Education Institute), Urumqi 830043, China;
    2. Xinjiang Laboratory of Education Cloud Technology and Resources,Urumqi 830043, China)
  • Received:2019-05-29 Online:2020-02-13 Published:2020-02-13

摘要: 作为自主可控平台技术研究的一部分,为嵌入式平台提供在线视频格式转换服务和视频编码处理环境,研究与实现一种基于自主可控平台的FFMPEG在线视频转换系统。本文主要设计系统框架,搭建系统运行环境,并对系统相关核心功能模块的实现方法进行研究。核心模块包括视频上传模块,Socket服务模块,视频转换、压缩、注入关键帧模块以及视频播放模块等。最后为了测试在线视频转换系统的功能和性能做了一个实验。实验表明系统可支持批量上传、转换、压缩大容量视频文件,可支持不同视频文件格式的转换,并且客户端播放器支持视频进度条的随意拖动播放。

关键词: FFMPEG, Socket, 多线程, 关键帧, B/S

Abstract: As a part of the research on technology of autonomous controllable platform, an on-line FFMPEG video conversion system based on autonomous controllable platform is researched and implemented, which provides online video format conversion service and video encoding processing environment for embedded platform. This paper mainly designs the system framework, builds the system operating environment, and researches the implementation method of the related core functional modules of the system. The core modules include video upload module, Socket service module, video conversion, compression, key frame injection module, and video play module. Finally, an experiment is done to test the function and performance of online video conversion system. Experiments show that the system can support batch upload, conversion, and compression of large-capacity video files, and can support the conversion of different video file formats, and the client player supports arbitrary dragging of the video progress bar and playing.

Key words: FFMPEG, Socket, multithread, key frame, B/S

中图分类号: