Font Size: a A A

Design And Implementation Of Audio And Video Transcoding System Based On FFmpeg

Posted on:2022-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:R YueFull Text:PDF
GTID:2518306605989659Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the continuous development of mobile Internet,users' demand for media based on video is increasing day by day,and new video forms such as live broadcast,short video and vlog are emerging.Therefore,enterprises realize the rapid development of their video applications through the video cloud services of major manufacturers,and constantly gain competitive advantages.However,due to the high cost of developing the underlying construction capacity of video cloud and the relatively high technical difficulty,the major domestic cloud service providers have established their own systems and provided services to the outside world.In order to not rely on others in technology,it is particularly important to build their own audio and video transcoding platform.Based on the above background,the topic of this thesis comes from the project being used in practice of a company,designs and implements an audio and video transcoding system based on ffmpeg to manage the company's private video cloud resources,so as to achieve the media processing of transcoding the company's internal audio,video and other files,and convert the compressed video media format into another video media format,so as to adapt to the needs of the company Different network bandwidth,different terminal processing capacity and different user requirements.Through the core video coding technology of video cloud,it can bring users higher quality experience,save storage space and cost,and reduce the use of network bandwidth.The main work of this thesis is as follows:(1)Demand analysis.According to the specific usage of the enterprise,this thesis analyzes the requirements of the audio and video transcoding system based on ffmpeg,explains the interaction process between users and the platform in the system platform,and describes a series of main processes of users in using the audio and video transcoding platform,including uploading video,downloading video,video transcoding,deleting video,searching video and a series of operations about audio and video files,which can be used by users In order to carry out quick and visual operation on the audio and video management platform,it can also be carried out through API call.The function of the system is described in detail by UML modeling,and the non functional requirements of the platform are analyzed according to the use scenarios of the platform.(2)Design and implementation.Combined with the needs of users and system,the overall architecture of audio and video transcoding system based on ffmpeg is designed.Firstly,Kafka is introduced into the architecture to ensure the reliability of the message in the process of transmission.Secondly,audio and video codec tools are mainly used to process the video,including audio multi rate transcoding,video multi rate transcoding,video adding text watermark,video adding image watermark,video intercepting single frame,video intercepting multiple frames,video decoding frequency scaling and other audio and video transcoding operations.In the whole design work,the class diagram is used to explain the interaction between the system objects,and the implementation process of each function is expanded in detail by using the sequence diagram.(3)System test.After completing the system function design and the corresponding coding work,write the corresponding test cases for each function of the system,and then build the test environment according to the configuration requirements of the platform.Finally,according to the steps of the test cases,test each function of the platform system in detail.At the same time,for data integrity,task concurrency and system stability,test whether it meets certain performance requirements.After testing,the functions of the system can work normally,the interactive pages between the system and users are used normally,the response processing results and completion time of each function are within the user's expectation,and each request can be executed correctly.At the same time,the system achieves the cluster disaster recovery mode of remote multi activity,so it has sufficient functional correctness and availability,reliability and reliability in performance Stability,to meet the needs of an enterprise for audio and video transcoding.
Keywords/Search Tags:Audio and Video Transcoding, Kafka, FFmpeg, Database
PDF Full Text Request
Related items