Should give the same quality as ffmpeg (both use same codec for mpeg1)
CURRENT TRY:
MOVIE:
mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vbitrate=750:keyint=25:mbd=2:vrc _minrate=300:vrc_maxrate=2400:vrc_buf_size=320:int ra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,3 4,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38, 40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58 ,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79:i nter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26 ,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,3 2,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36, 38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42 ,44 -nosound -vf pp=hb/vb/dr/al/tn:1:2:3,noise=luma[h]:chroma[h],scale=352:166,expand=352:288,denoise3d=4:3:6 -ssf lgb=0.3 -ssf cgb=0.3 '/windows/E/Some.avi' -o '/windows/E/Encoded.mpg'
CARTOON (just for Fun... "blur that s**t out and sharp it back in):
mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video:vbitrate=500:keyint=25:mbd=2:vrc _maxrate=2400:vrc_buf_size=320:intra_matrix=8,9,12 ,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27 ,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,3 9,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40, 48,58,69,34,37,38,40,48,58,69,79:inter_matrix=16,1 8,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22, 24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28 ,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,3 4,36,38,42,42,30,32,34,36,38,40,42,44 -nosound -vf pp=hb/vb/dr/al/tn,scale=352:288,denoise3d=7:7:7 -ssf lgb=2 -ssf cgb=2 -ssf ls=30 -ssf cs=30 '/windows/g/Family Guy - Episode 306 - Death Lives.avi' -o '/windows/E/FGTST.mpg'
This Movie test does:
full postprocessing + add noise + resizes+ adds black borders + + blurs chroma and luma + encodes an avi @ a gop lenth of 25 +kvcd matrix (thx japie... copied this from u... don't sue me
)
the good thing:
-this tool can use FILTERS!!!! (denoising, post processing)
-he can add black borders and thus keep the aspect ratio fine
(great for avi files)
-he can cut black borders and add new ones (black isn't always black...)
-he can do lots of other thnigs...
I just dont really know all the options
EDIT:
nice to play with:
-ssf <mode>
Specifies SwScaler parameters.
EXAMPLE
-vf scale -ssf lgb=3.0
lgb=<0-100>
Gaussian blur filter (luma)
cgb=<0-100>
Gaussian blur filter (chroma)
ls=<0-100>
sharpen filter (luma)
cs=<0-100>
sharpen filter (chroma)
chs=<h>
chroma horizontal shifting
cvs=<v>
chroma vertical shifting
-sws <software scaler type> (see -vf scale option too)
This option sets the quality (and speed, respec*
tively) of the software scaler, with the -zoom op*
tion. For example with x11 or other outputs which
lack hardware acceleration. Possible settings are:
NOTE:
For -sws 2 and 7, the sharpness can be set with the
scaling parameter (p) of -vf scale (0 (soft) - 100
(sharp)), for -sws 9, it specifies the filter
length (1 - 10).
0 fast bilinear (default)
1 bilinear
2 bicubic (good quality)
3 experimental
4 nearest neighbour (bad quality)
5 area
6 luma bicubic / chroma bilinear
7 gauss
8 sincR
9 lanczos
10 bicubic spline
-vf <filter1[=options],filter2,...>
Setup a chain of video filters.
-vop <...,filter3[=options],filter2,filter1> (OBSOLETE)
Setup a chain of video filters, to be applied in
reverse order. Deprecated in favor of -vf.
pp[=filter1[
ption1[
ption2...]]/[-]filter2...] (see
-pphelp too)
This option enables usage of MPlayer's internal
postprocessing filter, and also gives an interface
where you can pass options to the named filter. To
get a list of available filters, use -pphelp.
Note that each sub-filter must be separated with a
/ sign.
Each filter defaults to 'c' (chrominance).
The keywords accept a '-' prefix to disable the op*
tion.
A ':' followed by a letter may be appended to the
option to indicate its scope:
a Automatically switches the filter off if
the CPU is too slow.
c Do chrominance filtering, too.
y Do not do chrominance filtering (only lumi*
nance filtering).
EXAMPLES:
-vf pp=hb/vb/dr/al
horizontal and vertical deblocking, dering*
ing and automatic brightness/contrast
-vf pp=hb/vb/dr/al/lb
horizontal and vertical deblocking, dering*
ing, automatic brightness/contrast and lin*
ear blend deinterlacer
-vf pp=de/-al
default filters without brightness/contrast
correction
-vf pp=de/tn:1:2:3
Enable default filters & temporal denoiser.
-vf pp=hb:y/vb:a -autoq 6
Deblock horizontal only luminance and
switch vertical deblocking on or off auto*
matically depending on available CPU time.
mbd=<0-2>
Macroblock decision algorithm (high quality mode),
encode each macro block in all modes and choose the
best. This is slow but results in better quality
and file size.
0 use mbcmp (default)
1 select the MB mode which needs the fewest
bits (=vhq)
2 select the MB mode which has the best rate
distortion
noise[=luma[u][t|a][h][p]:chroma[u][t|a][h][p]]
Adds noise.
<0-100>
luma noise
<0-100>
chroma noise
u uniform noise (gaussian otherwise)
t temporal noise (noise pattern changes be*
tween frames)
a averaged temporal noise (smoother, but a
lot slower)
h high quality (slightly better looking,
slightly slower)
p mix random noise with a (semi)regular pat*
tern
denoise3d[=luma:chroma:time]
This filter aims to reduce image noise producing
smooth images and making still images really still
(This should enhance compressibility.). It can be
given from 0 to 3 parameters. If you omit a param*
eter, a reasonable value will be inferred.
luma spatial luma strength (default = 4)
chroma
spatial chroma strength (default = 3)
time temporal strength (default = 6)