[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Importing mencoder into a bash script



On Mon, Jul 02, 2007 at 09:37:27PM +0100, andy wrote:
> 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.

oh yeah, probably. 


> 
> A

Attachment: signature.asc
Description: Digital signature


Reply to: