📄 lav2mpeg.1
字号:
.\" Process this file with.\" groff -man -Tascii foo.1.\".TH lav2mpeg 1 "JANUARY 2002" "MJPEG Linux Square" "MJPEG tools manual".SH NAMElav2mpeg \- easy conversion of lav files to mpeg.SH SYNOPSIS.B lav2mpeg [ options ].I lavfile1 [lavfile2 ... lavfileN].SH DESCRIPTION.B lav2mpegis a shell script to ease the use of the mjpeg utilities, providing a convenient way to convert from MJPEG files to popular MPEG file formats.It supports output in VCD, medium and high rate VCD, SVCD, high rateSVCD, and generic mpeg1 and mpeg2.LP The input files may be any combination of AVI (.avi),Quicktime (.qt) or editlist files so long as they are all lavtools\-readable (e.g. MJPEG-encoded AVI/Quicktime or DV type 2 AVI)..SH OPTIONS.IP -s/S Turn stereo off/on (default auto).IP -k/KTurn keeping of raw files off/on (default off).IP -f/F Turn use of fifos off/on (default off).IP -l/L Turn logging of entire process off/on (default off).IP -n/N Turn "noisy logging" off/on (default off).IP -y/YTurn use of yuvdenoise off/on (default off).IP -m one of MODES (see below) (default vcd).IP -e encoding quality : 0, 1, or 2 (default 2).IP -o output file ( defaults to firstInputFileName.mpg ).IP -b video bitrate in kbps ( only used when -o is "mpeg1" or "mpeg2" ).IP -a audio bitrate in kpbs ( only used when -o is not "vcd*" ).IP -q quality for mpeg2enc ( only used when -o is "mpeg1" or "mpeg2" ).IP -d dimensions XxY ( only used when -o is "mpeg1" or "mpeg2" )defaults to same as input.SH MODES.B vcd.ft R-- standard VCD (352x240 or 352x288).B vcd_medium-- 1550kbps video VCD (352x240 or 352x288).B vcd_high-- 1800kbps video VCD (352x240 or 352x288).B svcd-- standard SVCD (480x480 or 480x576).B svcd_high-- 3000kbps(max) vbr @qual=5 (480x480 or 480x576).B mpeg1-- honor -a -b -q -d flags default resolution same as input.B mpeg2-- honor -a -b -q -d flags default resolution same as input.SH FILES.I ~/.lav2mpegrc.RSuser configuration file. It is bash sourceable, and can modify any ofthe environment variables mentioned in the ENVIRONMENT section, or setthe LAV2MPEG_OPTIONS variable to add default options..SH ENVIRONMENT.IP NICEVAL the nice value of each command, set using 'nice -n command'.IP YUVSCALER modify which command is called for yuvscaler.IP LAV2WAV modify which command is called for lav2wav.IP MPLEX modify which command is called for mplex.IP YUVDENOISE modify which command is called for yuvdenoise.IP MPEG2ENC modify which command is called for mpeg2enC.IP 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..IP NOISYLOGFILE set the file used for noisy logging (-N) defaults to outputfile.log.IP QUIETLOGset the file used for quiet logging. defaults to lav2mpeg.log if set to "" it will log only to screen.IP LOGDATEdefaults to 1, set to 0 to not have the date logged in log or output (see man date for more info).IP LOGDATESTRwill pass this on to 'date' to describe what time format to use. Only used if LOGDATE is not 0.IP LOGCOMMANDSif set to non-zero, will log to the quite log the commands used. Commands are always logged to NOISYLOGFILE if used.IP LOGONLYif set to non-zero, will only log the commands it would use but not actually run any commands.IP LAV2MPEGRCthe lav2mpegrc file. Only beneficial if set from environment variable..IP VCD_MEDIUM_BRvideo bitrate for mode=vcd_medium.IP VCD_HIGH_BRvideo bitrate for mode=vcd_high.IP SVCD_HIGH_BRvideo bitrate for mode=svcd_high.IP SVCD_HIGH_QUALquality used (-q 0-30 to mpeg2enc) for SVCD_HIGH.IP SVCD_HIGH_BUFFSIZEbuffsize (-V to mpeg2enc) used for svcd_high defaults to 100.IP EXTRA_LAV2YUVset extra command line arguments to lav2yuv, which will be added on the end.IP EXTRA_YUVSCALERset extra command line arguments to yuvscaler, which will be added on the end.IP EXTRA_MPEG2ENCset extra command line arguments to mpeg2enc, which will be added on the end.IP EXTRA_LAV2WAVset extra command line arguments to lav2wav, which will be added on the end.IP EXTRA_AUDIOENCset extra command line arguments to mp2enc or toolame (depending on AUDIOENC), which will be added on the end.IP EXTRA_MPLEXset extra command line arguments to mplex, which will be added on the end.IP EXTRA_YUVDENOISEset extra command line arguments to yuvdenoise, which will be added on the end.SH DIAGNOSTICSTo simply see the commands that lav2mpeg would have called, run 'LOGONLY=1 lav2mpeg ...'.SH BUGSPossibly. Please let the author know..SH AUTHORScott Moser <smoser at brickies dot net>.SH EXAMPLES.nf create a VCD compliant mpeg regardless of input named file.mpg.ft Blav2mpeg file.avi.ft Rcreate a SVCD high rate mpeg from input named out.mpg.ft Blav2mpeg -o out.mpg -m svcd_high file.avi.ft Ruse lav2yuv.new for instead of lav2yuv, and add the '-M MMX' flag toyuvscaler:.ft BLAV2YUV="lav2yuv.new" EXTRA_YUVSCALER="-M MMX" lav2mpeg file.avi.ft RPlease read other examples included in documentation for .lav2mpegrc usage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -