部分视频加密 [英] partial video encryption

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

问题描述

嗨 知道如何进行部分视频加密的人,我的意思是如何提取(查找)视频帧的二进制格式?如果有人知道,请回复.
如果<解决方案

,如果您只想读取视频文件并对其进行加密,则只需将其读取为二进制文件,对其进行解密,然后再写回即可.

如果要加密单个帧,以便视频在普通媒体播放器中显示为垃圾,则必须提取每个帧,对其进行加密,然后重新生成视频文件.请注意以下两点:
1)结果文件可能很大!
2)再次解密帧的机会非常差.视频存储使用有损压缩技术,可能会破坏您的加密数据.

您可以在此处找到提取帧的信息:从视频文件中提取帧 [ 解决方案

If all you want to do is read the video file and encrypt it, then just read it as a binary file, excrypt it, and write it back.

If you want to encrypt individual frames so the the video shows as rubbish in a normal media player, then you have to extract each frame, encrypt it, and then re-build the video file. Be aware though of two things:
1) The resulting file is likely to be very large!
2) The chances of decrypting the frames again is extremely poor. Video storage uses a lossy compression technique which will probably destroy your encrypted data.

You can find the info to extract the frames here:
Extract Frames from Video Files[^]


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

查看全文
相关文章
其他开发语言最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆