dapaintballer33

Registered
Sep 16, 2006
4
0
151
My host says that if I want ffmpeg I must do it without shell access.

I compiled it with a cron job shell script, and it worked. The binary is /home/mysite/bin/ffmpeg

If I make a cron job shell script, how would I execute the ffmpeg executable?
The video is also inside the bin folder. Via shell, this is what I would type:

ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320x240 video.flv.

I tried this for the shell script, but it said "command ffmpeg not found":
cd $HOME
cd bin/
ffmpeg -i video.mpg -ar 22050 -ab 32 -f flv -s 320x240 video.mpg

What do I need to type so that shell runs that file? I"m pretty sure $HOME via shell script brings me to the root of my ftp folder, /home/mysite
(Yes I've been searching all day)