4

So I am looking for a way to watermark videos uploaded to my site programmatically. I have looked at ffmpeg-php however this will not work as I am using shared linux hosting. I'm wondering if anyone knows of a way that I can programmatically add a watermark to mp4 videos kind of how you do with the GD lib in php.

Has anyone successfully done this or does anyone know of a utility that will work on shared hosting?

Bot
  • 11,868
  • 11
  • 75
  • 131
  • If you have very of this to do I sort of have a feeling that shared hosting won't meet your needs very long. If you do think that your volume will be low enough that shared hosting can still support you, it probably wouldn't be to much burden to do the processing offline and then upload the watermarked video to the site later. – Icode4food Sep 25 '10 at 01:44
  • I don't think GD can handle video. – NullUserException Sep 25 '10 at 02:42
  • @jeffremb we plan to get a few of our own servers however since we are just starting out we wanted to minimize cost until some money came in. – Bot Sep 25 '10 at 18:01

1 Answers1

1

You wouldn't be able to do this on shared hosting unless they provided ffmpepg support. Ffmpeg would also have to be compile with vhooks enabled and the watermark.so library.

buggedcom
  • 1,537
  • 2
  • 18
  • 34
  • is ffmpeg the only solution you are aware of? Do you know how youtube does theirs? – Bot Sep 25 '10 at 18:00
  • no there are other alternatives, however I can't imagine any of them are available on a shared host. Encoding videos takes a lot of cpu power. FFmpeg would be the easiest root. – buggedcom Sep 25 '10 at 18:22