我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP中的水印mp4 / m4v

Is there a way to watermark mp4/m4v files in PHP? The files are already saved on the server, but when displaying, I want a watermark to be put over through PHP (header-output).

Here is my current PHP code:

$fp = fopen($path, 'rb');

// Change the header to whatever your file's mime type is
header("Content-Type: " . $ctype);
header("Content-Length: " . filesize($path));

fpassthru($fp);
exit;

近期文章

  • 如何在页面加载时获取URL中的参数并使其可用于页面(使用Wordpress)
  • 使用jQuery从执行外部连接的PHP脚本更新页面信息
  • 限制php_errors.log的范围
  • 在php中添加`post_author`
  • PHP url验证误报
  • Internet Explorer炸毁图像问题
  • 虽然循环不适用于Paypal
  • 保护wysiwyg数据到sql
  • 如果在列表中选择了超过2列
  • PHP根据文件类型显示缩略图
  • 从帖子中定位和发布块引用
  • 'while'语句显示php中的奇怪行为
  • 如何通过SQS将任务从EC2卸载到工作人员
  • 获取youtube播放列表的列表,包括不公开的播放列表
  • 检查会话是否仍在运行的正确方法是什么? 有哪些方法?
  • 无法在php session_start()脚本中获取$ _GET变量
  • 包括php脚本结果作为纯HTML
  • php - 取消设置我的php文件发送的当前http标头,并替换为自定义的
  • 如何从drupal 7中的URL获取页面参数
  • Doctrine多对多 - 如何访问join(pivot)表?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华