颤动的视频延期器端到头
我正在尝试制作一个带有加密视频的颤振视频播放器,我该如何使用我制作的算法来解密该文件? 有没有办法在将缓冲区提供给视频播放器之前访问该缓冲区?
I'm trying to make a flutter videoplayer with an encrypted video, how can I do to decrypt the file with an algorithm made by me?
is there a way to have access to the buffer before giving it to the videoplayer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用的是 video_player 软件包,它接受
file> file> file> file
作为输入。因此,与其从网络中提供加密视频作为控制器的来源:
您可以做的是自己从网络中获取视频,并解密它(我假设在此过程结束时,您将拥有一个<代码> uint8list )。然后,将其转换为
file
,并将其作为来源提供给视频播放器:If you're using the video_player package, it accepts
File
as inputs.So instead of giving the encrypted video from the web as the source for the controller:
What you can do instead is get your video from the web yourself, and decrypt it (I assume that at the end of this process you'd have a
Uint8List
). Then, convert it into aFile
and give it to the video player as the source: