Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 81 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       lav2divx [options] -o [output AVI] lavfile1 [lavfile2  ...


       This utility reads lavtools-compatible files and uses them
       to generate a .avi file using avifile.

       Note that you must have avifile available in order to  use
       this  utility.   If  building from a CVS snapshot or copy,
       this will be detected at build time.

       The input files may be any combination of AVI (.avi), Mov­
       tar  (.movtar),  Quicktime (.qt/.mov) or editlist files so
       long as they are all lavtools-readable (e.g. MJPEG-encoded
       AVI/Quicktime/Movtar or DV type 2 AVI).


       -o <filename>

       --outputfile <filename>
              Mandatory</fR>   (except   for  --help,  -V).   The
              resulting encoded avi file is written to  filename.

       -b <kbps>

       --divxbitrate <kbps>
              Specifies  the  output  video bitrate (kilobits per
              second). Default is 1800.

       -a <kbps>

       --mp3bitrate <kbps>
              Specifies the output audio  bitrate  (kilobits  per
              second).  Default  is 56 for mono audio and 128 for

       -e <frames>

       --endframe <frames>
              Encode only frames frames. Default is to encode all
              frames  present  in video on stdin (extra audio, if
              available, is ignored).

       -c <width>x<height>+<left>+<top>

       --crop <width>x<height>+<left>+<top>
              Include only the specified rectangle in the encoded
              output.   Default  is  no cropping, entire frame is


              Output version and exit.

       -s <rate>

       --forcedaudiorate <rate>
              Overrides audio rate (if audio is present).  Should
              only be used if rate is not correct in wav or input
              lav file.  (This option may  disappear,  I  can  no
              longer find any cases where it is needed.)


              Attempt  to guess the argument to use for -c.  This
              looks at the first 100 hundred frames and  attempts
              to determine where the transition from a black bor­
              der to active content occurs.  It does  not  always
              work (that's why it's a guess!) but can help narrow
              the process  down  some.   This  is  useful  as  an
              invariant   border  can  usually  be  discarded  to
              increase the available  bandwidth  for  the  active
              portion  of the frame.  When using this option, the
              utility exits after the first 100 frames.

       -k <num>

       --keyframes <num>
              Sets the keyframes attribute of the video  encoder.
              Not  all  avifile  encoders use this attribute, but
              when an encoder does, the attribute  specifies  the
              number  of  frames  between keyframes.  The default
              depends on the codec being used.

       -C <num>

       --crispness <num>
              Sets the crispness attribute of the video  encoder.
              Not  all avifile encoders use this attribute.  When
              it is used, it affects how edges are  detected  and
              encoded.  I have found that higher values may cause
              increased  bandwidth  usage   with   some   codecs.
              Default 50.

       -E <fourcc>

       --encoder <fourcc>
              Specifies  which  video  encoder  to use.  You must
              specify the  encoder  using  the  "fourcc"  of  the
              codec.  The default is "DIV3". Common ones include:


              Performs a rather naive combination of stereo input
              audio to monoaural.

       -v <level>

       --verbose <level>
              Specifies the level of verbosity  on  output.   All
              output  occurs  to stderr. 2 shows progress and all
              logging, 1 shows informative  output  and  0  shows
              only important messages.

              Display a brief summary of help and exit.


       lav2divx  -o output.avi -b 600 -E DIV5 input.eli input.avi


       No checking or handling of large output avi files is  per­
       formed  (i.e.  output files larger than 2 GiB may break on
       your installation  depending  on  a  number  of  installa­
       tion-specific parameters).

       Interlaced video isn't handled well.

       <insert general pithy comment about additional hidden bugs
       remaining here>


       Shawn Sulma <lav2divx@athos.cx>
       If you have questions, remarks, problems or you just  want
       to  contact  the developers, the main mailing list for the
       MJPEG-tools is:
       For more info, see our website at


       yuv2divx(1), lav2yuv(1), divxdec(1), lav2wav(1)

MJPEG Linux Square       2001 December 19             lav2divx(1)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =




Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds