Font Size: a A A

A Research Of Video Protection System Based On Android Platform

Posted on:2021-03-19Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2428330602995919Subject:Computer technology
Abstract/Summary:PDF Full Text Request
At present,with the rapid development of audio visual industry,the video copyright protection is facing unprecedented challenges.Pirated video seriously infringes the interests of publishers and reduces the enthusiasm of original author.Therefore,it is necessary to design an effective video protection system.This paper studies several encryption algorithms and their implementation on Android platform,and applies them to video encryption.The Android system is not powerful enough for video processing,so it is found that FFmpeg,an open source library,can support video editing very well.Therefore,this paper transplants FFmpeg to Android platform and supports FFmpeg command tools.Ffmpeg supports both API and command tools on Android platform.Firstly,AES algorithm is studied to encrypt the video directly.The test result shows that the encryption speed of this scheme is too slow,so it is improved to 2m encryption scheme,that is,512 k data is taken begin and end of the video,and 1m data is taken in the middle for encryption,which greatly improves the encryption speed.This scheme,which encrypts video as a common binary file,is easy to operate and has good encryption effect,but it is difficult to ensure the real-time transmission of video.In order to solve the problem of real-time transmission,the encryption scheme of HLS protocol based on FFmpeg is studied.The video is sliced and encrypted by FFmpeg command.FFmpeg supports HLS protocol,so the scheme is simple to operate and can meet the requirements of real-time,but the disadvantage is that it is not secure enough.The video encryption scheme based on YUV data is studied.In this paper,we use FFmpeg to decode the video and get the YUV data.Then we use XOR algorithm to encrypt the YUV data.This scheme has good security and can meet the requirements of real-time.The disadvantage is that the implementation is complex and the amount of data to be encrypted is too large.We need to optimize the YUV encryption scheme,and then we research the key frame video encryption scheme based on H.264 standard.After video encode,we encrypt the key frame,which can greatly reduce the amount of encrypted data.As the last defense line of video protection,we research the video watermarking system based on FFmpeg,and use a simple command to implement the operation of adding watermark.This paper studies several video protection schemes,analyzes several schemes from encryption speed,security,operability and other aspects,and points out the applicable scenarios.Finally,the video watermarking system is combined to further protect the video.
Keywords/Search Tags:Android, FFmpeg, video protection, watermark
PDF Full Text Request
Related items