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

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




       lavplay [options] lavfile1 [lavfile2 ... lavfileN]


       lavplay  can  be  used  to  playback video in MJPEG format
       (either quicktime, movtar or AVI) on a zoran video-capture
       device,  such as the Miro/Pinnacle DC10(+), the Iomega Buz
       or Linux Media Labs' LML33, or  in  software  mode  (using

       It  also  provides mechanisms for non-destructive editting
       video using an interactive front-end such as glav(1).  See
       SEARCHING AND EDITING below for details.


       lavplay accepts the following options:

       -p/--playback [S|C|H]
               The  playback  mode  to  be  used. 'S' means soft­
               ware-playback using SDL.  hardware-playback to the
               video-out   of  the  zoran  video-capture  device.
               Obviously, 'C' and 'H' only work on computers with
               zoran video-capture devices.

               Full-screen   playback.  This  works  if  SDL-  or
               onscreen-playback is chosen.

       --size NxN
               Size of the video window  (default:  size  of  the
               input video) when using software (SDL) or hardware
               onscreen playback

       -a/--audio num
               When play audio, 0 means never, or sum of
                 1: while playing forward,
                 2: while playing reverse,
                 4: even fast playing,
                 8: while pausing
               (default: 7: forward/reverse/fast).  If 8(pausing)
               was  contained,  lavplay  will  be very noisy, but
               useful when you want to edit by sound.

               Zooms the video to fit the screen as good as  pos­

       -x      Exchange  fields  of an interlaced video. Try this
               with wrong field order interlacing settings)

               Disable  stills flicker reduction.  This is useful
               if you want to see stills  exactly  as  they  were
               recorded rather than flicker-free!

       -c/--synchronization [0|1]
               Enables  (1)  or disables (0) the use of sync cor­
               rections. Basically,  you  almost  certainly  want
               this.   Disabling  is  really there for diagnostic
               purposes and not much else.

       -H/--H-offset num, -V/--V-offset num
               Horizontal (-H)  and  vertical  (-V)  offset  when
               using  hardware-playback.   Offset  plus  width or
               height should be smaller  than  or  equal  to  the
               playback  device's  maximum  allowed  size (DC10+:
               640x480     or     768x576,      LML33/Marvel/Buz:

       --s-x-offset num, --s-y-offset num
               Offset  for the video window (from top left screen
               corner) when using hardware onscreen  playback  in
               non-fullscreen mode.

       --display :x.x
               When   using  hardware  fullsreen  video  playback
               (-pH), this setting can be  used  to  specify  the
               video  display  (default:  :0.0)  to use for video

               Makes lavplay stay alive at the end of  the  video
               (lavplay  won't quit).  Use 'q<enter>' on the com­
               mand line to quit (see below, SEARCHING AND  EDIT­

               Enables  GUI-mode.  This is used by glav and Linux
               Video Studio. It will output the current  position
               in  the  video each frame, so that the glav or LVS
               can keep track of where we are in the video  which
               is being played back.

               This is used by glav and Linux Video Studio.  When
               editlists are created the original  pathnames  for
               files are used and not the canonicalised pathnames
               from the root directory.   Useful  if  you've  got
               things like automounters active that make directo­
               ries with the same non-canonical name have differ­

               The video device. Default is /dev/video

               The audio device. Default is /dev/dsp


       lavplay can do more than simple plain playback. It is also
       intended to be controlled using commands  sent  via  stdin
       from  a  front-end like glav(1) or similar, more sophisti­
       cated tools.  The most significant aspect  of  this  func­
       tionality  is the ability to create edit list files giving
       the playback sequence of an editted version of  the  input
       video.   The  edit  list  file  can  be read by any of the
       mjpegtools(1)  (including  lavplay!)  wherever  an  actual
       video  file  would  be acceptable.  Such edit lists record
       only the original source file and start and stop frames of
       the  components  of the editted video editting rather than
       the video itself.  As such editting  leaves  the  original
       files  unchanged  and  requires only tiny amounts of data-
       movement.  The drawback is that for the edit list to  work
       the  original files must remain unchanged, and that inter­
       active play may be jumpy  due  to  the  playback  sequence
       "skipping  about"  between different parts of the original
       video sequence.

       If a stand-alone consolidated versions of editted video is
       required  it  can  be  produced by running the lavtrans(1)
       utility on the edit list.

       Edit list files are plain text with a very  simple  syntax
       to allow easy manual editting using a text-editor or writ­
       ing of scripted editting tools.


       The commands accepted on standard  input  sre  as  follows
       (and  can  of  course  be entered directly by command-line

       +, -    Goes to next/previous frame. Only makes sense when
               the video is paused.

       pN      Sets playback speed to N (N=..., -1, 0, 1, ...)

       a[01]   Enables/disables audio playback

       sN      if  N is a number, this means to go to frame N. if
               N is prefixed by a + or -,  this  means  to  go  N
               frames back- or forward.

       e[ou] N1 N2
               Cuts  (u) or copies (o) frames N1-N2 from the cur­
               rent editlist into an internal selection.

       ep      Pastes the contents of the selection into the cur­
               rent position in the editlist.

       em N1 N2 N3
               Moves frames N1-N2 to position N3 in the video.

       ed N1 N2
               Deletes frames N1-N2 from the editlist.

       ea video N1 N2 N3
               Adds  frames  N1-N2  of the video into position N3
               within the editlist.  N1=-1 means to add the whole

       es N1 N2
               Sets  the current viewable frames within the whole
               video to N1-N2. This is useful for trimming.


       Editlists record absolute pathnames.  This  more  or  less
       forces  manual  editting of the pathnames in them if it is
       desired to move editlists and source video files.

       lavplay really ought to make a  decent  job  of  detecting
       what  playback  options  are feasible (on-screen hardware,
       video-out port hardware, software)  and  set  the  default
       playback mode appropriately.  Alas, it does not.


       This man page was written by Ronald Bultje.
       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


       mjpegtools(1), lavrec(1), glav(1)

MJPEG Linux Square       6 December 2001               lavplay(1)

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


The Linux Tutorial is always looking for new contributors.



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