[MPlayer-users] batch encode

Marcin Bukat wodz at soliton.ch.pw.edu.pl
Thu May 8 20:20:30 CEST 2003


Uz.ytkownik drwhat napisa?:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> howdy all,
> 
> I have been trying to setup a bash script to encode a bunch of video's in a
> give directory, and havent had much luck :/
> 
> my script is:
> 
> #!/bin/bash
> for filename in *
> do mencoder "$filename" -o /tmp/video/"$filename" -ovc lavc -lavcopts
> vcodec=mpeg4:vhq:vbitrate=800 -ofps 29.97 -oac mp3lame -lameopts
> br-128:q=9:cbr:mode=1
> 
> but when I try to execute it, I get the following error:
> 
> mencoder-batch.sh: line 6: syntax error: unexpected end of file
> 
> any comments/suggetion greatly appreciated
> 
> 
> drwhat
You forgot to insert 'done' statement

wo




More information about the MPlayer-users mailing list