Bob Proulx wrote:
andy wrote:
No - it is definitely installed - I've used it on the cli plenty of
times. I am interested in finding out how I am to call it from within a
bash script, because simply putting mencoder <options> <file> in the
bash script isn't working.
Hmm... Okay. Then let's debug why. Try this scriptlet:
#!/bin/sh
ls -ld /usr/bin/mencoder
type mencoder
echo PATH=$PATH
dpkg -l mencoder | grep mencoder
dpkg -L mencoder | grep /bin/
exit 0
What does it say? On one of my Etch systems it says:
-rwxr-xr-x 1 root root 4107292 2007-06-19 00:42 /usr/bin/mencoder
mencoder is /usr/bin/mencoder
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
ii mencoder 1.0-pre7-0.0 MPlayer's Movie Encoder
/usr/bin/mencoder
My guess is that on your system it is installed someplace special and
so is in your PATH when called from your shell but not on PATH when
you are trying to run the script.
Bob
Bob, Florian & others
I owe you each an apology for wasting your time. After I had reinstalled
my system I was convinced that I had installed it as part of the mplayer
package. However, running Bob's scriptlet demonstrated that I hadn't
done so, and so I have now fixed that problem which now fixes the
original problem.
My bad - and sorry about that!!
Thanks for your helpful suggestions.
A
--
"If they can get you asking the wrong questions, they don't have to worry about the
answers." - Thomas Pynchon, "Gravity's Rainbow"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]