Readme for avi2mpg1 ver 1.4
This program is distributed under the GNU copyright, please see the accompanying
file COPYING for details. Please note that only the changes to the original source
code are copyrighted under GNU, except for the the multiplexer portions, which
are also under the GNU copyright. The copyrights for the other two source programs,
the video and audio encoders are detailed in their respective source, as well as the
original distributions.
avi2mpg1 is a simple command line mpeg-1 encoder that runs at the command prompt
under Windows '95 or NT. Copy the file avi2mpg1.exe to any directory in your
path. C:\WINDOWS\COMMAND or C:\WINNT should work for most people.
Invoke the program with the following syntax:
usage: avi2mpg1 [-options] inputfile.avi [outputfile.mpg]
where:
options can be:
-b byterate Where byterate is total system stream
rate in KBytes/s (default 150)
Valid range = 10 to 500.
-s bitrate Where bitrate is total system stream
rate in K bits/s (default 1200)
Valid range = 80 to 4000.
YOU CAN ONLY SPECIFY -b OR -s, NOT BOTH!
-a bitrate Where bitrate is audio bitrate in
K bits/s (default 128)
Valid values for layer I:
32,64,96,128,160,192,224,256,288,320,352,
384,416,448
Valid values for layer II:
32,48,56,64,80,96,112,128,160,192,224,256,
320,384
-l layer Where layer specifies which audio layer
to use, valid values 1 or 2.
(default 2)
-j specifies use joint stereo mode IF
input file contains stereo audio.
Has no effect if audio portion of .avi
is mono. (default non-joint stereo)
-v specifies fixed datarates as defined
for video cd streams. If this option
is used, it overides any -a, -b or -s
rates specified as well as -l, -n, -c and -y
options.
-p filename.par specifies video encoding parameter
file, (OPTIONAL) allows control over additional
parameters. See Param.txt. Note that the
parameter file as well as the matrix files
must be in the current directory unless you
specify full path names.
-e specifies encode file even if some frames in
avi are bad, ie: use previous good video frame
or 0 data for audio if file is corrupt.
At least FIRST frame must be valid!
-n generate video stream only, ignore audio if
there is an audio stream. You must use this
option to encode an avi file that does not
have an audio track. Result is a .m1v file.
(Even if you specify .mpg)
-y vbv_buffer size in 16K bit multiples,
default = 20
-m motion search magnitude, range 0 - 4, default 0,
higher values MAY result in better encoding
(depending on video), but will take
SIGNIFICANTLY longer to encode.
Try it on a short sample first!
-c hs vs set output video size to hs horizontal and
vs vertical. Larger input video is cropped to
fit while smaller video is padded out to size.
-f frame_rate_code force mpeg file frame rate regardless of
input file frame rate. Implies -n (video only).
Frame rates codes -> 1 = 23.976 FPS
2 = 24 FPS
3 = 25 FPS
4 = 29.97 FPS
5 = 30 FPS
inputfile.avi A windows avi file constrained to the following
parameters:
Horizontal size: max 720 pixels
Vertical size: max 480 pixels
Note: if dimensions are not a multiple of 16,
then frame data will be padded out to a multiple
of 16 with resulting black bands around picture.
Frame rate : 23.976, 24, 25, 29.97, or 30 FPS
10, 12, and 15 FPS are upsampled.
Colour depth: 8, 16, 24, or 32 bit.
(palletized, thousands,
millions, millions+)
codec used in file must be installed in windows.
Audio sample rate: 11.025, 22.05, and 44.1KHz
Audio sample size: 8 or 16 bit
Audio channels: 1 or 2
Uncompressed PCM audio only.
outputfile.mpg Optional, if not specified, inputfilename with .mpg
extension will be created.
The optional template.par file contains the same values that the
encoder has hard coded as default values for all other video
encoding parameters. Use this file as your starting point for
experimenting with other values, such as motion search vectors.
See param.txt.
*** WARNING: VIDEO EXCEEDS CPB STANDARD!, if you get this warning during video
encoding, your video exceeds the Constrained Parameter Bitstream standard, and
may not be playable on many mpeg-1 players, either software or hardware.
Although many players can play mpeg-1 with higher than CPB bitrates,
few are capable of higher resolutions than SIF (352x288).
Example: avi2mpg1 test
This example will encode an .avi file "test.avi" located in the
current directory to test.mpg, at 150KB/sec total data rate
with audio at 128Kb/sec.
You will need to make sure that the current directory has enough room for the
temporary files the encoder will produce, in other words, approximately twice
the space needed for the resulting .mpg file.
Credits:
This program is basically the combination of the video encoder by the
MPEG Software Simulation Group, available from:
"http://www.creative.net/~tristan/MPEG/mssg/mpeg2vidcodec_v12.tar.gz"
the ISO audio encoder, available from:
"ftp://ftp.iuma.com/audio_utils/converters/source/mpegaudio.tar.Z",
and Christoph Moar's systems stream multiplexer, available from:
"ftp://ftp.informatik.tu-muenchen.de/pub/comp/graph
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
VB源码.rar (53个子文件)
屏幕录制VB源码
avi2mpg
COPYING 18KB
FAQS.TXT 6KB
PARAM.TXT 13KB
AVI2MPG1.EXE 189KB
TEMPLATE.PAR 2KB
README.TXT 15KB
frmCapture.frx 2KB
MoosenoseCapture1.htm 1KB
Form1.frm 4KB
frmCapture.frm 10KB
cFileDlg.cls 22KB
MSSCCPRJ.SCC 193B
Controller.frx 7KB
AVItoGIF 1.0
Topper.bas 1KB
AVItoGIF.vbp 1KB
AVItoGIF.res 456B
mWheel.bas 2KB
ucCanvas.ctl 13KB
mAVIImp.bas 8KB
mDialogFile.bas 4KB
cGIF.cls 36KB
cDIB.cls 18KB
cTile.cls 7KB
fMain.frm 23KB
mGIFExt.bas 14KB
mDither8bpp.bas 22KB
mGIFLZWEnc.bas 14KB
cPal8bpp.cls 20KB
fMain.frx 2KB
AVItoGIF.vbw 486B
mDialogColor.bas 2KB
mMisc.bas 2KB
ucProgress.ctl 11KB
mGIFLZWDec.bas 9KB
frmRight.frm 1KB
Module2.bas 2KB
modShellExec.bas 9KB
Former1.frm 2KB
Controller.frm 20KB
MoosenoseCapture.htm 1KB
cDIB.cls 10KB
fMain.frm 10KB
logo.gif 5KB
Project1.vbw 535B
frmBottom.frm 963B
MCapture.bas 15KB
frmLeft.frm 959B
fMain.frx 5KB
mAVIDecs.bas 23KB
100705103909.ico 2KB
Images
frmTop.frm 959B
Project1.vbp 1KB
modGraphics.bas 2KB
共 53 条
- 1
资源评论
- ygshan2012-01-22录像后,保存的文件体积太大,没有实用价值。
- w206195432014-05-08没有实用价值
- fanweijian2015-12-06代码太老了,不能用了
challenge1
- 粉丝: 4
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功