Reduce the size of a Avi video

The easiest command I found, is using avconv. To install avconv in Ubuntu, open a terminal (Alt+Ctrl+t) and enter

sudo apt-get install libav-tools

To convert a video from .avi to .mp4, just use

avconv -i InputVideoName.avi outputVideoName.mp4

To change the size of the video you can add the -s flag, e.g.

avconv -i InputVideoName.avi -s 720x540 outputVideoName.mp4

 

blog_tags: 

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <img> <br> <p> <span>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Use [collapse] and [/collapse] to create collapsible text blocks. [collapse collapsed] or [collapsed] will start with the block closed.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Code snippets in <code>...</code> or <source>...</source> automatically will be pretty printed.
  • Use [collapse] and [/collapse] to create collapsible text blocks. [collapse collapsed] or [collapsed] will start with the block closed.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Target Image