Watermark mp4/m4v in PHP

770 Views Asked by At

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;
0

There are 0 best solutions below