Andrew Sackville-West wrote:
On Mon, Jul 02, 2007 at 09:10:45PM +0100, andy wrote:
Hey folks

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 mplayer stuff?

ummm.... mencoder is a command-line program. just figure out your
options and use it like any other cli tool. it should "just work"

Hi Andrew

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.

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]

Reply via email to