You are here: FFMPEG Watermarking with drawtext.so « PHP Programming Language « IT news, forums, messages
FFMPEG Watermarking with drawtext.so

Posted by MrT on 04/21/07 11:10

Hi there,

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.

Cheers

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация