Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

shrink movies

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
st. anger
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Wed Oct 30, 2002 2:29 am

shrink movies

  • Quote

Post by st. anger » Thu Dec 19, 2002 1:40 am

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: Select all

 -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?
Top
kipper
Tux's lil' helper
Tux's lil' helper
Posts: 112
Joined: Sat Apr 20, 2002 2:10 am

  • Quote

Post by kipper » Thu Dec 19, 2002 1:18 pm

Transcode : http://www.theorie.physik.uni-goettinge ... 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.
Top
sputnik1969
Guru
Guru
User avatar
Posts: 401
Joined: Thu Aug 08, 2002 12:58 am
Location: Berlin / Germany
Contact:
Contact sputnik1969
Website

  • Quote

Post by sputnik1969 » Fri Dec 20, 2002 8:16 pm

Try it with

man mencoder not man mplayer

the correct parameter is

Code: Select all

  -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
Top
st. anger
Apprentice
Apprentice
User avatar
Posts: 273
Joined: Wed Oct 30, 2002 2:29 am

  • Quote

Post by st. anger » Sat Dec 21, 2002 5:40 am

tried that:

Code: Select all

 $ 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
Top
sputnik1969
Guru
Guru
User avatar
Posts: 401
Joined: Thu Aug 08, 2002 12:58 am
Location: Berlin / Germany
Contact:
Contact sputnik1969
Website

  • Quote

Post by sputnik1969 » Sat Dec 21, 2002 9:22 pm

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
Top
Post Reply

5 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic