Font Size: a A A

Research Of Processing Scheme Of Audio&Vedio Based On FFmpeg In Android-based Multimedia

Posted on:2017-02-23Degree:MasterType:Thesis
Country:ChinaCandidate:X LuoFull Text:PDF
GTID:2308330503967198Subject:Engineering / Electronics and Communication Engineering
Abstract/Summary:PDF Full Text Request
Today’s rapid development of mobile Internet technology, smartphone becomes an integral part of life apparently.Especially multimedia has become an important development in smartphones. People also have other functions on their cell phones, especially in the area of multimedia.Nevertheless,in Android’s version update and frequent iteration people increaseingly rely on multimedia for entertainment. As the module whose demand is high, the Android’s multimedia is not perfect, especially in the piece of audio and video processing, mainly reflected in:firstly, whether in its supported video types or coding efficiency, source for audio and video support on the Android system cannot meet the growing demands; secondly, in the process of audio recording, a segment of audio is generated each time you touch the pause botton, that is not supported directly spliced audio segments; thirdly, after the end of a video recording requires interception of cover.Therefore, research of the processing scheme of audio&vedio in Android-based Multimedia started a comprehensive study is of great theoretical significance and practical value and also attracts a growing number of researchers.In order to solve above problems and achieve a more general and perfect audio and video processing solution which supports basic audio and video recording、playback and control in the process capabilities. This article focuses on the open source, cross-platform multimedia data solution FFmpeg. Through JNI technology, we transplant FFMPEG to the Android system. This paper has carried out and completed the following work:Firstly, this paper discusses the current main lack of multimedia capabilities of the Android platform and its research status,then gives detailed descriptions of the significance of the design of audio and video processing solution. Next, the paper expounds on the Android system, including the composition of the system framework and so on, followed by a further study of the multimedia framework OpenCore to prepare for later use, masters its characteristics as well as the provided media type of interface.Then, this paper introduces the FFmpeg and part of it.Secondly, on the basis of in-depth FFmpeg’s codec and capture mechanism in order to improve the efficiency of coding and decoding, as well as troubleshooting audio segments and video capture two major technical difficulties, we transplant FFMPEG to the bottom of Android system. Meanwhile, for the difficulty that FFmpeg which is relatively complex and operation parameters is not easy to understand and apply in practical application, this paper also puts forward the packaging design of FFmpeg,which is following the logic and class methods to FFmpeg commands related to the package.Thirdly, based on the program modules detailed requirements analysis, a set of practical scheme of audio and video processing has been designed which provides services from audio and video recording to audio and video playback. The whole solution adopts the design pattern of appearance mode, which can effectively avoid coupling between modules and improve development efficiency.The solution uses Android’s own MediaRecord class to implement audio and video recording, MediaPlayer class implements the audio and video playback, bottom package FFmpeg interface audio and video transcoding, sections of video and audio combined. Finally, through the performance test, the error is modified, the final design scheme can be expected to achieve the desired results to achieve the corresponding functions.In conclusion, this paper realized of the Android platform based on ffmeg audio and video processing program, can more effectively improve the Android’s own audio and video features, optimize process; at the same time, it also reduces the burden of work of multimedia development, increase development efficiency.
Keywords/Search Tags:Multimedia, Android, Audio, Video, FFmpeg
PDF Full Text Request
Related items