Skip to content

This project aim to convert video files to different encrypted pieces and play via only in built player,just like offline download videos of youtube,hotstar etc.

License

Notifications You must be signed in to change notification settings

ranjith068/VideoChunkFileEncrypter

Repository files navigation

VideoChunkEncryption-Android

VideoChunkEncryption will convert video files to different pieces and encrypt the files so that no other player will be able to play the video. Only the Player in our app can able to play the encrypted file pieces like Youtube,Hotstar etc playing there offline videos.

basicpic

FFMPEG

ffmpeg is used to split the video files.

Cipher AES

Cipher AES is been used to encrypt the chunk files

Exoplayer

Exo player is used to play the decrypt the chunk files and play in real time.Some basic customization has added to exo player, so i call this customized player as Crypto Player.

VideoPreview

Video

Sample Apk

v1. apk

v2. apk

Screens Shots

Encryption Process

conversion screen

Result chunk files

conversion screen

Crypto Player Screens

Basic Skin

conversion screen

Gesture Seeking

seek

Gesture brightness control

brightness

Gesture volume control

volume

Why this project?

I search many place for a solution like this but no where a sample to start with, so i made a basic idea and added this project so that it will give some idea for developer who is about to start something like this.The basic aim of this project is to give developers some help in chunk players, like Youtube,Hotstar etc playing there offline videos, i wont say they are using this, but just this will give a basic solution, you can use any decryption encryption algorithm to make the pieces safe.Hope this will help some one.Any developer like to share new idea is mostly welcome.

library used in this project

1. ffmpeg-android-java

2. Exoplayer

3. android-file-chooser

ToDoList

Compress chunk files

Apk size reducing

License

The MIT License (MIT)

Copyright (c) 2019 Ramesh M Nair

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

About

This project aim to convert video files to different encrypted pieces and play via only in built player,just like offline download videos of youtube,hotstar etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages