[MPlayer-users] batch encode

drwhat drwhat at hotmail.com
Thu May 8 11:37:46 CEST 2003


-----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


*******#######$$$$$$$$@@@@@@@@@@@@@@@@
Linux user #:265953
os:mandake v9.1/winME	cpu:amd duron 1.2G
mobo:asus a7v133		mem:256M
cdr:LG-8080B			nic:netgear fa311
graphics:nvidia geforce3 ti200 64m ddr
hda:FUJITSU MPA3017AT, 1.7G
hdb: WESTERN DIGITAL WD1200BB-00CAA1, 120G
sound:ensoniq creative audiopci/es1370
videocapture:Hauppauge WinTV GO 190

Today is Tommorrow, is Yesterday, but neither, is niether
loc:48'02"N 122'49"W
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+uiVteyQvdOSh1pcRAswtAKCGZscTRNnB+bqh3TfND5vWMElnwwCfbpOG
XjvfS42+4/R/fwdj2wIPhDw=
=WTPt
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list