473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FFMPEG Watermarking with drawtext.so

MrT
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

Apr 21 '07 #1
0 3686

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Leonard Challis | last post by:
Good morning everyone I am currently doing quite a large project in VB6 and ACCESS for college, for a Photographers company assignment. I am posting here to see if anyone has any advice on what...
1
by: Conrad | last post by:
Greetings, I have some simple printing I need to do from Python on Windows, so I opted for the excellent PyCDC methods. I got stumped when I realized that I actually needed something other...
7
by: DF | last post by:
DrawText is overloaded - one of which accepts a ByVal rect and the other accepts a ByRef rect. I get a "no accessible 'DrawText' is most specific" error. How can I resolve this problem by forcing VB...
3
by: rangermccoy | last post by:
Hello there, What are the best php/c libraries for handling media including images, video, and music? I would like to manipulate media dfiles, including watermarking, thumbnailing,...
6
by: m.arfini | last post by:
Hi All, i trying to compile ffmpeg v 0.4.9. with minGW compiler with make instruction, but at the end of the process none dlls have been created, only the exe file (in c:\program files\ffmpeg...
6
by: jcor | last post by:
Hi, i installed ffmpeg but seems to be a old version. With the command "ffmpeg -v" I get the this output: I tried to upgrade it with: but didn't work. Can someone tell me out to upgrade...
2
by: jcor | last post by:
Hi, I'm trying to use the module FFmpeg::Command to convert some files from .mpg to .wmv when I use ffmpeg in command line the command is just like this: "ffmpeg -i input.mpg output.wmv" When I...
6
sumaiya
by: sumaiya | last post by:
Iam totally confused about the working ffmpeg.I tried many times to use that dll in my php project.If u can please help me. First I extaracted the dll from...
0
by: =?Utf-8?B?U2hhbQ==?= | last post by:
Hai all, In my application i am using the code below i mentioned. But it couldn't converted into flv format and its not saved into specified path .Can any one help me to do this using c#. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.