Re: Importing mencoder into a bash script
Andrew Sackville-West wrote:
On Mon, Jul 02, 2007 at 09:10:45PM +0100, andy wrote:
I'm lazy and want to call the mencoder routine from mplayer into a bash
script I'm writing to automatically convert different video files into
dvd format *.mpg files.
Anybody know how to call in just the routine without any unnecessary
ummm.... mencoder is a command-line program. just figure out your
options and use it like any other cli tool. it should "just work"
Yeah, it is a cli tool and I have traditionally used it as such at the
vt and just entered it directly. However, in a shell script I have tried
to do that but get the error message:
mencoder: command not found
I'm wondering if I need to explicitly set my path in the script file in
order to call this function.
"If they can get you asking the wrong questions, they don't have to worry about the answers." - Thomas Pynchon, "Gravity's Rainbow"