Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Connect for Kids

 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, 67 guest(s) and 0 member(s) that are online.

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




       divxdec [options] [input AVI]


       This utility uses avifile to read an avi file  and  output
       various components of it.  You may output lavtools-compat­
       ible MJPEGs, YUV4MPEG2 streams, PCM .wav  files,  or  even
       playback on a MJPEG playback device.

       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.

       MJPEG  playback  is  very  CPU  intensive.   The  video is
       decoded to YUV by avifile, then re-encoded using  software
       MJPEG  and  output  to  the  desired destination (often an
       MJPEG hardware playback device).  software MJPEG is  still
       slow.   Expect a 352x240 avi to play back properly via "-p
       C" with quality 60 on an 800 MHz-class machine  with  75+%
       CPU use.  Using the default decimation I have been able to
       get 640x420 playback to work (barely) with quality  24  on
       an Athlon T-Bird 1400 MHz.


       For PCM .wav output:

       -W [ <filename> ]

       --wavefile [ <filename> ]
              The wave audio data from the avi file is written to
              filename.  If omitted, stdout is assumed.

       For YUV4MPEG2 output:

       -Y [ <filename> ]

       --yuvfile [ <filename> ]
              The video data from  the  avi  file  is  output  as
              YUV4MPEG2  data to filename.  If omitted, stdout is

       For LAV file output:

       -L [ <filename> ]

       --lavfile [ <filename> ]
              The avifile is re-encoded as an MJPEG file to file­
              name.   Format  should  be  given by the -f option.
              (See further options below.

       For MJPEG device playback:

       -m, --maxfilesize <num>
              Specify the maximum size of an output LAV file,  in
              MiB.   Defaults to 1500.  To be able to output mul­
              tiple files, specify the  -L  option  as  a  format
              string  (e.g.  "output-%02d.lav.avi"  will generate
              "output-01.lav.avi", "output-02.lav.avi" etc).

       Options for -L (LAV file) and -p (MJPEG  device  playback)

       -q, --quality <num>
              Specify quality of the output, default 50.

       Options for -p (MJPEG device playback):

       -n, --norm { "p", "n" }
              Specifies  the  output norm for MJPEG playback.  If
              -p is omitted, detection is attempted but it is not

       -I, --interlace
              Identifies  the treatment of avi files too large to
              be displayed non-interlaced.   They  will  be  dis­
              played  as  interlaced  if this option is asserted.
              Since MJPEG hardware playback uses software  encod­
              ing  of  the  JPEG  data, the large frames become a
              significant performance problem.   The  default  is
              not  to  use  this  option.   If this option is not
              specified, MJPEG output will be decimated to fit in
              the hardware device's dimensions.  Only really use­
              ful if the -p argument is "C" or "H".

       -r, --rationalise
              Performs a quick filter on the video before output,
              to  ensure  all  luma values are in the valid range
              16-235.  Values outside of this range can look  odd
              on some output devices.

       Options for all output types:

       -e [ <num> ]

       --endframe [ <num> ]
              Specify  the  frame  number  of  the  last frame to
              decode.  Note that this is not the number of frames
              to decode.

       -b [ <num> ]

       --beginframe [ <num> ]
              Specify  the  frame  number  of  the first frame to


       Save audio:

       divxdec -W output.wav input.divx.avi

       Output YUV and audio to files

       divxdec -W output.wav -Y output.yuv input.divx.avi

       Output to LAV files divxdec -L output-%02d.lav.mov -f q \
           -q 70 -m 1900 input.divx.avi

       Output the second 500 frames to an MJPEG device:

       divxdec -p C -n p -q 50 -r -b 500 -e 1000 input.divx.avi

       Everything!   Hope  you've  got  a  monster  system to try
       divxdec -L output-%02d.lav.mov -f q -q 70 -m 1900 \
           -W output.wav -Y output.yuv \


       Output WAV and YUV files are not checked  for  sizes.   If
       your  system  and  lavtools  can  handle files > 2GiB, you
       won't have a problem.  If not, you will  get  errors  when
       you reach this size.

       The whole MJPEG hardware playback thing is a hack.  It can
       certainly be improved.

       <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), lav2divx(1), lav2wav(1)

MJPEG Linux Square       2001 December 19              divxdec(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 help in many different ways.


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.11 Seconds