lav2mpeg -V (return code: 1)
/usr/bin/lav2mpeg: illegal option -- -
Usage: lav2mpeg [ -s/S -k/K -f/F -l/L -n/N -y/Y ] [ -m mode ] [ -e 0|1|2 ] [ -o outputFile ] [ -b vidbitrate ] [ -a audbitrate ] [ -q 0-30 ] [ -d XxY ] srcfile...
s/S - stereo : -s=off -S=on (default auto)
k/K - keep raw output files (.m1v, .m2v, .mp2) : -k=no -K=yes (default no)
f/F - use fifos : -f=no -F=yes (default no)
l/L - log all encoding : -l=no -L=yes (default no)
n/N - be noisy (don't hide output of tools) : -n=no -N=yes (default no)
y/Y - yuvdenoise : -y=don't use -Y=use (default e=1|2 use e=0 dont)
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)
svcd -- standard SVCD (480x480 or 480x576)
svcd_high -- 3000kbps(max) vbr @qual=5 (480x480 or 480x576)
mpeg1 -- honor -a -b -q -d flags default resolution same as input
mpeg2 -- honor -a -b -q -d flags default resolution same as input
EXAMPLE:
VCD: lav2mpeg file.avi
- will create a VCD compatible mpeg named file.mpg
mpeg2: lav2mpeg -m mpeg2 -o output.mpg file.edl
- will create a mpeg2 with default bitrate in same res as input
mpeg1: lav2mpeg -a 160 -b 2110 -d 320x240 -m mpeg1 -o output.mpg file.edl
- will create a mpeg2 with videobitrate=2110 and audio=160
- and resolution 320x240
debug: export LOGONLY=1; lav2mpeg -m mpeg2 -o output.mpg file.edl
- will print out the commands it would use to do this, but
- not do anything
please see the script for more info and environment variables set/used
lav2mpeg --help (return code: 1)
Usage: lav2mpeg [ -s/S -k/K -f/F -l/L -n/N -y/Y ] [ -m mode ] [ -e 0|1|2 ] [ -o outputFile ] [ -b vidbitrate ] [ -a audbitrate ] [ -q 0-30 ] [ -d XxY ] srcfile...
s/S - stereo : -s=off -S=on (default auto)
k/K - keep raw output files (.m1v, .m2v, .mp2) : -k=no -K=yes (default no)
f/F - use fifos : -f=no -F=yes (default no)
l/L - log all encoding : -l=no -L=yes (default no)
n/N - be noisy (don't hide output of tools) : -n=no -N=yes (default no)
y/Y - yuvdenoise : -y=don't use -Y=use (default e=1|2 use e=0 dont)
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)
svcd -- standard SVCD (480x480 or 480x576)
svcd_high -- 3000kbps(max) vbr @qual=5 (480x480 or 480x576)
mpeg1 -- honor -a -b -q -d flags default resolution same as input
mpeg2 -- honor -a -b -q -d flags default resolution same as input
EXAMPLE:
VCD: lav2mpeg file.avi
- will create a VCD compatible mpeg named file.mpg
mpeg2: lav2mpeg -m mpeg2 -o output.mpg file.edl
- will create a mpeg2 with default bitrate in same res as input
mpeg1: lav2mpeg -a 160 -b 2110 -d 320x240 -m mpeg1 -o output.mpg file.edl
- will create a mpeg2 with videobitrate=2110 and audio=160
- and resolution 320x240
debug: export LOGONLY=1; lav2mpeg -m mpeg2 -o output.mpg file.edl
- will print out the commands it would use to do this, but
- not do anything
please see the script for more info and environment variables set/used