[MPlayer-users] resizing avi files to reduce size

Haas Wernfried w.haas at xover.htu.tuwien.ac.at
Sat Sep 21 14:13:01 CEST 2002


hi,
On Sat, Sep 21, 2002 at 01:09:58PM +0200, Paco Brufal wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 	I have a 770MB avi file and I'm trying to reduce the size to 700MB.
> The movie is 640x272, and I want to reduce the width to 600 and leave
> mencoder to calculate the heigth to keep aspect. I'm using this command
> line:
> 
> mencoder file.avi -ovc divx4 -vop scale -xy 600 -sws 2 -oac copy -o output.avi
afaik divx4 isn't the perfect choice, especially if you want a specific file
size, libavcodec works better with this.
i'm not sure if the combination of "-vop scale -xy 600" works, maybe
-vop scale scale=600:256 (vague calculation ;) does work.
however apart from rescaling (why?) this does not really specify any bitrate,
see DOCS/encoding.html (especially the part about 3-pass encoding). 

regards,
	wernfried

> 
> 	but it doesn't works, mencoder doesn't resize and the file size is
> around 800MB. What is the command line to resize a movie? Thanks.
> 
> 
> PS. this is the file info:
> Detectado formato de archivo AVI!
> VIDEO:  [DX50]  640x272  24bpp  25.00 fps  822.3 kbps (100.4 kbyte/s)
> Clip info:
>  Software: Nandub v1.0rc2
> Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128.0 kbit)
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec: CPU flags: mmx mmxext 3dnow
> Detected video codec: [ffodivx] vfm:5 (FFmpeg MPEG-4)
> ==========================================================================
> AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
> Empezando a reproducir...
> This file was encoded with DivX501 Build484
> VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [fbdev] 640x272 => 640x272 Planar YV12
> Using MMX2 for colorspace transform
> A:   1.1 V:   1.1 A-V:  0.003 ct:  0.007   29/ 29  17% 13%  1.8% 0 0 0%
> Saliendo... (Salida)
> 
> ...Get Set. Dj Rob & Tim B. 1997
> --- Debian + Mutt + Postfix
>  * Origin: Web Page: http://pbrufal.kleenux.org (Fido 2:346/7.68)
>  
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
-> Fppmpppffpppmpfpffmffmppmpm Mfpmmmmmmfmm
-> fpp.mfpmmmmmmfmm at fpfppffpmmpppff.ppmfmfmpm.mmmfmp
-> mfpfmpfmppfm://fpfppffpmmpppff.ppmfmfmpm.mmmfmp/~mmmppmpppmpppppmffppfppp
-> http://www.namesuppressed.com/kenny/




More information about the MPlayer-users mailing list