View previous topic :: View next topic |
Author |
Message |
st. anger Apprentice
Joined: 30 Oct 2002 Posts: 273
|
Posted: Thu Dec 19, 2002 1:40 am Post subject: shrink movies |
|
|
i am trying to compress the size of my movies(from my mini dv camcorder).
ive used mencoder to encode to divx, but was wondering f there was a way to scale the actual X-Y geometry down.
ive checked the man page for mplayer but the closest thng i found s this:
Code: | -x <x> (MPLAYER only)
Scale image to x width (if sw/hw scaling avail-
able). Disables aspect calculations.
-xvidopts <option1:option2:...>
Specify additional parameters when decoding with
XviD.
dr2 Activate direct rendering
method 2.
nodr2 Deactivate direct rendering
method 2.
-xy <x>
x<=8 Scale image by factor <x>.
x>8 Set width to <x> and calcu-
late height to keep correct
aspect ratio.
-y <y> (MPLAYER only)
|
those options are for MPLAYER only though.
any ideas? |
|
Back to top |
|
|
kipper Tux's lil' helper
Joined: 20 Apr 2002 Posts: 112
|
|
Back to top |
|
|
sputnik1969 Guru
Joined: 08 Aug 2002 Posts: 401 Location: Berlin / Germany
|
Posted: Fri Dec 20, 2002 8:16 pm Post subject: |
|
|
Try it with
man mencoder not man mplayer
the correct parameter is
Code: | -vop scale[=w:h[:c[:p]]] |
_________________ 'Cynic' is a word invented by optimists to criticize realists. - Nigel. In the ocean of Night by Gregory Benford
"Zyniker" ist ein Wort das Optimisten erfunden haben um Realisten zu kritisieren. - Nigel. Im Meer der Nacht von Gregory Benford |
|
Back to top |
|
|
st. anger Apprentice
Joined: 30 Oct 2002 Posts: 273
|
Posted: Sat Dec 21, 2002 5:40 am Post subject: |
|
|
tried that:
Code: | $ man mencoder
No manual entry for mencoder |
i thought there should have been a man page for mencoder but i dont know why its not on my system. wierd.
could you elaborate on that a bit more?
ex: w is width, h is height (im guessing); what is c and p??
thanks |
|
Back to top |
|
|
sputnik1969 Guru
Joined: 08 Aug 2002 Posts: 401 Location: Berlin / Germany
|
Posted: Sat Dec 21, 2002 9:22 pm Post subject: |
|
|
The scaling process is handled by the 'scale' video filter: -vop scale=widht:height. Its quality can be set with the -sws option. If it's not specified, MEncoder will use 0: fast bilinear.Optionaly chroma skipping (c from 0-3)
and scaling parameters can be specified.
-sws <software scaler type> (see -vop scale option too)
This option sets the quality (and speed, respectively) of the software scaler, with the -zoom option. 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 -vop 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
There is nothing about the "-scale:p" in the documentation, sorry... _________________ 'Cynic' is a word invented by optimists to criticize realists. - Nigel. In the ocean of Night by Gregory Benford
"Zyniker" ist ein Wort das Optimisten erfunden haben um Realisten zu kritisieren. - Nigel. Im Meer der Nacht von Gregory Benford |
|
Back to top |
|
|
|