How to implement forward-lock (DRM) to an image or pdf or audio or video file in Android? - drm

How to implement forward-lock (DRM) to an image or pdf or audio or video file in Android?
Does anyone know how to implement it programmatically in Android?

Related

How to secure a video file played through Media Source Extension API?

I have made a web video player using the Media Source Extension API. The video and audio my player downloads and plays is not secure. As in you can go to the Network in Google Chrome Inspect and download the video and audio and play it through a media player. I want to make my audio and video files to be played via my video player only.
A perfect secure video files example is here. The video player: http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html. U can insert the source in the input: https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd. And when I download the files from Network in the Google Chrome Inspect, I cannot play the video file of .m4v in VLC or else where. So I think that this is secure. The files downloaded for playback can be found here: http://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps_1280x720_4000k.
Netflix has very very secured video files where the file try isn't even defined. So can someone advise me how to secure my video and audio files to be downloaded and played from else where. Thanks
A sample of my video player project: https://drive.google.com/file/d/156mDgIltBGMkXhx4LZfShxv3A8JrwkNP/view?usp=sharing
The m4v files can be played, you just need to append them to the initialization fragment. Netflix does not use Media Source Extensions directly. They use Encrypted Media Extensions along with a DRM provider such as widevine.

Converting video into bitmap

sorry if this question looks weird. I want to know if it is possible to convert a video file into bitmap in android studio. I have a video saved in the external storage of my device. I want to upload the video to a web server but I want the video to first be converted to bitmap.
I think you should use a Cloud service to convert video into bitmap files since you already uploading the video to web anyway

Cannot upload AVI to Orchard Media

Hi I tried to upload AVI video to orchard but when it's uploaded the preview video is blank, can't run the video, what went wrong?
I suspect it is because browsers won't natively play avi files. You should try converting it into an mp4 or uploading to YouTube/vimeo then embedding their player

Play online video using Google Cardboard in my Android app

I want to play video in my Android app and the video placed at my online server. The video is in YouTube 360 format.
I read about vrtoolkit and vrvideoview at github but it plays the video which is saved locally that is it is saved in Android device.
I want to my online video Google cardboard feature.
So what's best possible way to do it?
use uri to load the video
fileUri = Uri.parse( "http://your-url-to video file" );
videoWidgetView.loadVideo(fileUri);

cordova upload video while recording

I am using this org.apache.cordova.camera plugin for camera and media-capture for capturing videos.
I want to upload video to cloud/wowza while recording through camera (maybe using sockets). How to do this? Is there any plugin there to do this or how to achieve this?
Thanks for help

Resources