Do you have a question? Post it now! No Registration Necessary. Now with pictures!
April 21, 2007, 11:10 am
rate this thread
I was just wondering if anyone had any ideas why this doesn't work on
a php page!
exec("/usr/bin/ffmpeg -i Movie.avi -vhook 'lib/vhook/drawtext.so -f
fonts/tahomabd.TTF -x 10 -y 10 -t watermarktext' -acodec mp3 -ab 32 -
ac 1 -ar 44100 outputfile.flv")
I did notice when i copied the above with out the exec() in my shell
on my webserver it did this to it
/usr/bin/ffmpeg -i Movie.avi -vhook 'lib/vhook/drawtext.so .f fonts/
tahomabd.TTF .x 10 .y 10 .t watermarktext' -acodec mp3 -ab 32 -ac 1 -
ar 44100 outputfile.flv
it replaces the - with . in the vhook part!! but when i change the .
back to - in the shell and run it, it works fine!
So I guess really my question is why do the - change to . as I expect
this to be the problem when its running in my PHP page!
any help would be much appreciated.