登录
首页 » Android » 简单的视频加密播放

简单的视频加密播放

于 2022-03-19 发布 文件大小:16.75 MB
0 189
下载积分: 2 下载次数: 1

代码说明:

简单的视频的加密播放,视频资源放在raw目录下!视频已经过简单的加密处理(在视频的头部添加加密字符串字段),在手机建立本地的服务器,进行读取流操作

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AndroidFunCExample
    一个用C写的动态链接库,用Android调用的源程序!(Write a C dynamic link library, called Android source!)
    2013-07-12 10:19:31下载
    积分:1
  • Android 仿关灯游戏(游戏开发-17_166).zip
    Android 仿关灯游戏(游戏开发-17_166).zip
    2019-10-07下载
    积分:1
  • Android毛玻璃效果处理类 附示例源码
    Android毛玻璃效果处理类 附示例源码,方法封装,实现简单,代码里有详细注释,有需要的朋友可以去下载。相关代码先睹为快:   Bitmap bmp = BitmapFactory.decodeResource(getResources(),id);//从资源文件中得到图片,并生成Bitmap图片   final Bitmap blurBmp = BlurUtil.fastblur(MainActivity.this, bmp, 10);//0-25,表示模糊值   final Drawable newBitmapDrawable = new BitmapDrawable(blurBmp); // 将Bitmap转换为Drawable   layout.post(new Runnable() //调用UI线程   {    public void run()    {    layout.setBackgroundDrawable(newBitmapDrawable);//设置背景    }   });
    2022-04-07 03:49:35下载
    积分:1
  • 在Android opencv模板匹配的例子
    包括“opencv2/highgui/高贵水电站“#包含”opencv2/imgproc/imgproc.hpp公司“#include;#include;使用namespace std;使用namespace cv;///全局变量
    2022-04-28 05:47:39下载
    积分:1
  • SpnOverride
    private HashMap Source Code for Andriod.
    2013-12-13 14:51:23下载
    积分:1
  • android转盘抽奖实例
    android转盘抽奖实例
    2020-10-22 15:17:23下载
    积分:1
  • android 百度地图 示例源码(内嵌html5实现)
    android 百度地图 示例源码(内嵌html5实现)
    2014-07-24下载
    积分:1
  • testphonegap
    membuat template phonegap
    2018-02-21 09:40:39下载
    积分:1
  • android_rinex-master
    说明:  把GNSSLogger获取到的原始数据文件转换为rinex格式的数据文件。(Convert the raw data files obtained by GNSSLogger to rinex format data files.)
    2021-05-08 15:48:35下载
    积分:1
  • android open gl 示例代码下载
    [实例简介]Open GL 入门级示例 [实例截图] [核心代码]package com.china.gltry;import javax.microedition.khronos.egl.EGL10;import javax.microedition.khronos.egl.EGL11;import javax.microedition.khronos.egl.EGLConfig;import javax.microedition.khronos.egl.EGLContext;import javax.microedition.khronos.egl.EGLDisplay;import javax.microedition.khronos.egl.EGLSurface;import javax.microedition.khronos.opengles.GL;import android.view.SurfaceHolder;/** * An EGL helper class. */public class EGLHelper{ public EGLHelper() { } /** * Initialize EGL for a given configuration spec. * @param configSpec */ public void start(int[] configSpec){ /* * Get an EGL instance */ mEgl = (EGL10) EGLContext.getEGL(); /* * Get to the default display. */ mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); /* * We can now initialize EGL for that display */ int[] version = new int[2]; mEgl.eglInitialize(mEglDisplay, version); EGLConfig[] configs = new EGLConfig[1]; int[] num_config = new int[1]; mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, num_config); mEglConfig = configs[0]; /* * Create an OpenGL ES context. This must be done only once, an * OpenGL context is a somewhat heavy object. */ mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); mEglSurface = null; } /* * Create and return an OpenGL surface */ public GL createSurface(SurfaceHolder holder) { /* * The window size has changed, so we need to create a new * surface. */ if (mEglSurface != null) { /* * Unbind and destroy the old EGL surface, if * there is one. */ mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); } /* * Create an EGL surface we can render into. */ mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, holder, null); /* * Before we can issue GL commands, we need to make sure * the context is current and bound to a surface. */ mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); GL gl = mEglContext.getGL(); return gl; } /** * Display the current render surface. * @return false if the context has been lost. */ public boolean swap() { mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); /* * Always check for EGL_CONTEXT_LOST, which means the context * and all associated data were lost (For instance because * the device went to sleep). We need to sleep until we * get a new surface. */ return mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST; } public void finish() { if (mEglSurface != null) { mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); mEglSurface = null; } if (mEglContext != null) { mEgl.eglDestroyContext(mEglDisplay, mEglContext); mEglContext = null; } if (mEglDisplay != null) { mEgl.eglTerminate(mEglDisplay); mEglDisplay = null; } } EGL10 mEgl; EGLDisplay mEglDisplay; EGLSurface mEglSurface; EGLConfig mEglConfig; EGLContext mEglContext;}
    2015-04-06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载