Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
The ONE Campaign to make poverty history

 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

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

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

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

  

lav2mpeg



SYNOPSIS

       lav2mpeg [ options ] lavfile1 [lavfile2 ... lavfileN]


DESCRIPTION

       lav2mpeg  is  a  shell script to ease the use of the mjpeg
       utilities, providing a  convinient  way  to  convert  from
       MJPEG  files  to  popular  MPEG file formats.  It supports
       output in VCD, medium and high rate VCD, SVCD,  high  rate
       SVCD, and generic mpeg1 and mpeg2

       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).


OPTIONS

       -s/S   Turn stereo off/on                   (default auto)

       -k/K   Turn keeping of raw files off/on      (default off)

       -f/F   Turn use of Fifos off/on              (default off)

       -l/L   Turn logging of entire process off/on (default off)

       -n/N   Turn "noisy logging" off/on           (default off)

       -y/Y   Turn use of yuvdenoise off/on         (default off)

       -m     one of MODES (see below)              (default vcd)

       -e     encoding quality : 0, 1, or 2         (default 2)

       -o     output file  ( defaults to firstInputFileName.mpg )

       -b     video bitrate in kbps   (  only  used  when  -o  is
              "mpeg1" or "mpeg2" )

       -a     audio  bitrate  in kpbs  ( only used when -o is not
              "vcd*" )

       -q     quality for mpeg2enc    (  only  used  when  -o  is
              "mpeg1" or "mpeg2" )

       -d     dimensions  XxY          (  only  used  when  -o is
              "mpeg1" or "mpeg2" ) defaults to same as input


MODES

       vcd -- standard VCD        (352x240 or 352x288)

       vcd_medium -- 1550kbps video VCD  (352x240 or 352x288)

       vcd_high -- 1800kbps video VCD  (352x240 or 352x288)
       ~/.lav2mpegrc
              user configuration file. It is bash sourceable, and
              can modify any of the  environment  variables  men­
              tioned  in  the  ENVIRONMENT  section,  or  set the
              LAV2MPEG_OPTIONS variable to add default options.


ENVIRONMENT

       NICEVAL
              the nice value of each command, set using 'nice  -n
              command'

       YUVSCALER
              modify which command is called for yuvscaler

       LAV2WAV
              modify which command is called for lav2wav

       MPLEX  modify which command is called for mplex

       YUVDENOISE
              modify which command is called for yuvdenoise

       MPEG2ENC
              modify which command is called for mpeg2enC

       AUDIOENC
              audioenc  is similar to those above, however, if it
              is set to 'mp2enc' it will use mp2enc  rather  than
              toolame, and set flags appropriotely.

       NOISYLOGFILE
              set  the  file used for noisy logging (-N) defaults
              to outputfile.log

       QUIETLOG
              set the file used for quiet  logging.  defaults  to
              lav2mpeg.log  if  set  to  ""  it  will log only to
              screen

       LOGDATE
              defaults to 1, set to 0 to not have the date logged
              in log or output (see man date for more info)

       LOGDATESTR
              will  pass  this on to 'date' to describe what time
              format to use.  only used if LOGDATE is not 0

       LOGCOMMANDS
              if set to non-zero, will log to the quite  log  the
              commands  used.  commands are always logged to NOI­
              SYLOGFILE if used

       SVCD_HIGH_BR
              video bitrate for mode=svcd_high

       SVCD_HIGH_QUAL
              quality used (-q 0-30 to mpeg2enc) for SVCD_HIGH

       SVCD_HIGH_BUFFSIZE
              buffsize  (-V  to  mpeg2enc)  used  for   svcd_high
              defaults to 100

       EXTRA_LAV2YUV
              set  extra command line arguments to lav2yuv, which
              will be added on the end

       EXTRA_YUVSCALER
              set extra  command  line  arguments  to  yuvscaler,
              which will be added on the end

       EXTRA_MPEG2ENC
              set extra command line arguments to mpeg2enc, which
              will be added on the end

       EXTRA_LAV2WAV
              set extra command line arguments to lav2wav,  which
              will be added on the end

       EXTRA_AUDIOENC
              set  extra  command  line  arguments  to  mp2enc or
              toolame (depending  on  AUDIOENC),  which  will  be
              added on the end

       EXTRA_MPLEX
              set  extra  command  line arguments to mplex, which
              will be added on the end

       EXTRA_YUVDENOISE
              set extra command  line  arguments  to  yuvdenoise,
              which will be added on the end


DIAGNOSTICS

       To  simply  see  the  commands  that  lav2mpeg  would have
       called, run 'LOGONLY=1 lav2mpeg ...'


BUGS

       Possibly Exist, please let the author know


AUTHOR

       Scott Moser <smoser at brickies dot net>


EXAMPLES

       create a VCD complient mpeg regardless of input named file.mpg
       lav2mpeg file.avi

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


  




Login
Nickname

Password

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?
The Linux Tutorial can use your help.


Friends



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