如何实时加密视频? [英] How can I Encrypt Video in Real Time?

查看:66
本文介绍了如何实时加密视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种(最好是开源的)库或程序来出于安全目的而不是DRM实时对视频进行加密.我发现了几种不错的算法,即RVEA和VEA,但是在尝试共同破解某个实现之前,我想看看是否已经存在,或者由于这些方法有些陈旧,因此是否存在更好的方法.

I'm looking for a, preferably open source, library or program to encrypt video in real time for security purposes, not DRM. I've found several decent algorithms, RVEA and VEA, but before I try hacking together an implementation I wanted to see if one already existed or if there was a better way of doing this since these methods are a little old.

推荐答案

我建议在计数块(不是通常的链接块)模式下使用AES-128.使用openssl可以轻松完成此操作,并且大多数移动设备和CE设备都可以在硬件中使用它,因此,将来您有这种选择时,这些将成为您的选择.

I'd suggest used AES-128 in counted block (not the usual chained block) mode. It's easily done using openssl, and it's available in hardware on most all mobile and CE devices, so those become options should you had that way in the future.

根据此规范,使用的一个位置是在来自Apple的HTTP分段数据流中: http://tools.ietf.org/html/draft-pantos-http-live-streaming-02

One place it's used is in the chunked HTTP streaming from apple per this spec: http://tools.ietf.org/html/draft-pantos-http-live-streaming-02

这篇关于如何实时加密视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆