Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shrink movies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
st. anger
Apprentice
Apprentice


Joined: 30 Oct 2002
Posts: 273

PostPosted: Thu Dec 19, 2002 1:40 am    Post subject: shrink movies Reply with quote

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
View user's profile Send private message
kipper
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 112

PostPosted: Thu Dec 19, 2002 1:18 pm    Post subject: Reply with quote

Transcode : http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/ allows you to resize the X-Y geometry.
Or if you prefer gui, you could always try avidemux : http://fixounet.free.fr/avidemux/
There are ebuilds for both programs.
Back to top
View user's profile Send private message
sputnik1969
Guru
Guru


Joined: 08 Aug 2002
Posts: 401
Location: Berlin / Germany

PostPosted: Fri Dec 20, 2002 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
st. anger
Apprentice
Apprentice


Joined: 30 Oct 2002
Posts: 273

PostPosted: Sat Dec 21, 2002 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
sputnik1969
Guru
Guru


Joined: 08 Aug 2002
Posts: 401
Location: Berlin / Germany

PostPosted: Sat Dec 21, 2002 9:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum