[MEncoder-users] Compressing the photo camera Canon A610 video to mpeg4 at the best quality.

RC rcooley at spamcop.net
Mon Sep 18 19:48:28 CEST 2006


On Mon, 18 Sep 2006 21:57:17 +0700
Strong <s-strong at mail.ru> wrote:

> > for V in 1:turbo 2
> >   mencoder $OPTS -lavcopts $AOPT:$VOPT:vpass=$V -o out.avi in.avi
> > done
> It seems not a difficult script yet my bash complains:
> syntax error near unexpected token `mencoder'

You're missing "do" before the command.

>  Audio LAVC, couldn't find encoder for codec mp3

Use -oac mp3lame instead of lavc.

> Finally, when I remove '$AOPT:' from the command line I get this
> besides the above shown:
> [mp2 @ 0x880af6c]Sampling rate 11024 is not allowed in mp2
> Couldn't open codec mp2, br=224
> 
> What t odo with this? :|

Resample to a normal rate with -srate.  This is likely just a rounding
error of some sort, and/or an error in the header.




More information about the MEncoder-users mailing list