Jump to content

ffmpeg, exec(), and vhook


backyard

Recommended Posts

I'm have a video script and I'd like to add a watermark to the video using vhook. The problem I have is the exec command isn't properly handling the ' in the ffmpeg command.

 

ffmpeg -i test.mp4 -vhook '/usr/lib/watermark.so -f /home/images/image.png' output.flv

 

I found someone that had the exact same problem and they said they figured a workaround but the didn't post it.

 

https://lists.mplayerhq.hu/pipermail/ffmpeg-user/2008-June/015818.html

Link to comment
https://forums.phpfreaks.com/topic/171879-ffmpeg-exec-and-vhook/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.