Flash 视频水印(服务器端)
我有一堆 Flash 视频,需要使用用户相关信息添加水印,以使非法重新分发这些文件更加困难。
我想知道如何在服务器端完成此操作。如果在客户端完成,用户将很容易在视频加水印之前拦截视频。
由于水印应包含用户特定的信息,因此我无法在对视频进行编码之前对视频进行水印(除非我每个用户都有一个编码视频 - 不可行)。
不过,我预计这会对流媒体性能产生很大影响。
知道如何做到这一点(可能以有效的方式)?
I have a bunch of flash videos that I need to watermark with user related information, to make illegal re-distribution of these files harder.
I'm wondering how can this be done server-side. If done client-side, it will be quite easy for the user to intercept the videos before they are watermarked.
Since the watermark should contain user-specific information I can't really watermark the videos before encoding them (unless I have an encoded video per user - not feasible).
I'm expecting this to affect the streaming performances a lot, though.
Any idea how this can be done (possibly in an efficient way)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用命令行视频工具 FFMPEG 来执行此操作。它是跨平台的并且易于使用。
本教程中显示了水印示例。
我希望这有帮助。
You can use FFMPEG, a command line video tool to do this. It is cross-platform and easy enough to be used.
Watermarking example is shown in this tutorial.
I hope this helps.
无论如何,几年前我从未意识到我的某些作品需要对 Flash 影片加水印……但是,我有这个小安全方法。
使用脚本构建电影的主容器,该脚本检查站点服务器的 url 作为窗口位置。
I never realized, years ago anyhow, that watermarking a flash movie would be required for some of my productions... however, I had this little security method.
Build the main container of your movie with a script that checks for the url of your site's server as the window location.