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

Strong s-strong at mail.ru
Mon Sep 18 16:57:17 CEST 2006


Thanks again!

On Fri, 15 Sep 2006 11:51:21 +0200 Lennart Börjeson
<Lennart.Borjeson at cinnober.com> wrote:
> OPTS="-oac lavc -ovc lavc -ffourcc XVID"
> AOPT="acodec=mp3:abitrate=128"
> VOPT="vcodec=mpeg4:vbitrate=795:autoaspect=yes:v4mv=yes:trell=yes:mbd=2"
> 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'
`  mencoder $OPTS -lavcopts $AOPT:$VOPT:vpass=$V -o $1.avi $1'

Then history continues (if I run simply the command line itself with
tvpass=1):
MEncoder dev-Fedora-GS-CVS-060406-15:20-4.1.0 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Xeon Nocona (Family: 15,
Stepping: 3) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE:
1 SSE2: 1 Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x8627528
AVI file format detected.
VIDEO:  [MJPG]  640x480  24bpp  30.000 fps  14884.0 kbps (1816.9
kbyte/s) [V] filefmt:3  fourcc:0x47504A4D  size:640x480  fps:30.00
ftime:=0.0333
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO:
11024 Hz, 1 ch, u8, 88.2 kbit/100.00% (ratio: 11024->11024) Selected
audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1,
aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Forcing output fourcc to 44495658 [XVID] Audio LAVC, couldn't find
encoder for codec mp3

Yes, I will upgrade the mencoder soon, but is seems I need the mp3
codec that as I suppose isn't even in the new mencoder. Which
rpm/tarball I should download?

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



More information about the MEncoder-users mailing list