GithubHelp home page GithubHelp logo

garfieldlinux / drm_mp4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xieyugui/drm_mp4

0.0 2.0 0.0 293 KB

Trafficserver plugin drm 视频文件拖拽加减密处理 ---mp4

Makefile 0.84% C++ 98.86% C 0.30%

drm_mp4's Introduction

drm_mp4

文件访问流程 用户访问边缘节点的文件时,分为从头播放和拖拽播放两种情况。该插件主要参考ats官方的mp4插件写的,该插件默认需要传入一个参数(秘钥),选填参数(0/1 ---生成时,是否需要更新和增加mp4 header);该插件拖动是根据range 请求大小来的,不是时间。

####从头播放 正常回源,并将 pcf 或 pcm 文件缓存至边缘节点,直接输出该文件即可,不需做额外处理。

####拖拽播放 拖拽播放的情况较复杂,由于加密后文件无法直接支持拖拽播放,所以必须先对加密文件进行解密, 生成flv或mp4文件后,通过flv 和 mp4 的拖拽模块输出新的flv和mp4文件,并对该文件重新进行加密输出。

drm_mp4's People

Contributors

xieyugui avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.