MS_mpeg4

所属分类:mpeg/mp3
开发工具:Visual C++
文件大小:1200KB
下载次数:9
上传日期:2009-02-18 16:16:47
上 传 者sunbeamyuan
说明:  微软公司内部自已实现的MPEG4,跟MPEG4的标准类似,但是好多细节方面不一样
(Microsoft' s own internal realize the MPEG4, with the MPEG4 standard is similar, but not the same as a lot of details)

文件列表:
ms_mpeg4\app\convertpar\convertpar.cpp (84867, 1999-08-07)
ms_mpeg4\app\convertpar\convertpar.dsp (4332, 1999-08-10)
ms_mpeg4\app\convertpar (0, 2005-06-11)
ms_mpeg4\app\decoder\decoder.cpp (28345, 1999-06-03)
ms_mpeg4\app\decoder\decoder.dsp (12762, 1999-06-03)
ms_mpeg4\app\decoder (0, 2005-06-11)
ms_mpeg4\app\encoder\encoder.cpp (108910, 1999-08-12)
ms_mpeg4\app\encoder\encoder.dsp (14637, 1999-08-06)
ms_mpeg4\app\encoder\example.par (6488, 1999-08-06)
ms_mpeg4\app\encoder (0, 2005-06-11)
ms_mpeg4\app (0, 2005-06-11)
ms_mpeg4\cpptocc.sh (1850, 1999-06-03)
ms_mpeg4\demo\convertpar.exe (69632, 1999-08-11)
ms_mpeg4\demo\decoder.exe (294912, 2005-06-11)
ms_mpeg4\demo\encoder.exe (454656, 2005-06-11)
ms_mpeg4\demo\example.par (6503, 2005-06-11)
ms_mpeg4\demo\foreman_part_qcif.yuv (114048, 2001-09-03)
ms_mpeg4\demo\orig\brea_cif.cmp (18072, 1999-08-11)
ms_mpeg4\demo\orig\brea_cif.par (6490, 1999-08-06)
ms_mpeg4\demo\orig\example.par (6488, 1999-08-06)
ms_mpeg4\demo\orig\sprt_stef_sif.cmp (31334, 1999-08-11)
ms_mpeg4\demo\orig\sprt_stef_sif.par (6523, 1999-08-06)
ms_mpeg4\demo\orig\stef_cif.cmp (85740, 1999-08-11)
ms_mpeg4\demo\orig\stef_cif.par (6488, 1999-08-06)
ms_mpeg4\demo\orig\vtc_brea_cif.cmp (10698, 1999-08-11)
ms_mpeg4\demo\orig\vtc_brea_cif.ctl (783, 1999-06-03)
ms_mpeg4\demo\orig\vtc_brea_cif.par (1802, 1999-08-11)
ms_mpeg4\demo\orig (0, 2005-06-11)
ms_mpeg4\demo (0, 2005-06-11)
ms_mpeg4\Makefile (11688, 1999-08-12)
ms_mpeg4\ProgrammersGuide.doc (13312, 1999-06-03)
ms_mpeg4\status.txt (1150, 1999-08-12)
ms_mpeg4\sys\block.cpp (13060, 1999-06-03)
ms_mpeg4\sys\block.hpp (3253, 1999-06-03)
ms_mpeg4\sys\cae.cpp (9263, 1999-06-03)
ms_mpeg4\sys\cae.h (3399, 1999-06-03)
ms_mpeg4\sys\codehead.h (5850, 1999-06-03)
ms_mpeg4\sys\dct.cpp (8659, 1999-06-03)
ms_mpeg4\sys\dct.hpp (3680, 1999-06-03)
... ...

【运行帮助】 To run encoder: encoder [parameter_file_name] An example parameter file can be found in app\encoder\example.par To run decoder: decoder [bitstream_file_name] [reconstructed_image_file_name] [display_with] [display_height] For example, "decoder example.cmp example_recon 176 144" will decoder the bitstream file "example.cmp" and save the reconstructed images in "example_recon.yuv" as 176x144 images. When you decoded spatial scalable bitstreams, set to arguments as the following: "decoder [baselayer bitsream] [enhancement layer bitstream] [output yuv filename] [baselayer width] [baselayer height]" The frame size of the enhancement layer is set at the same value as vol height and width, 【ps】 1、本目录下提供了可运行的例子: encoder example.par 2、测试序列要求 编码器要求的测试序列可以是yuv4:2:0的序列,但需注意: 其扩展名必须是.yuv 3、.par文件中的".\"表示当前目录 ------------------------------------------------- Microsoft Visual FDIS Software Version 1.0 August 12th 1999 1. FILES This package contains the following files: encoder.exe Video encoder decoder.exe Video decoder readme.txt Info file example.par Example parameter file stef_cif.par Example parameter file brea_cif.par Example parameter file sprt_stef_sif.par Example sprite parameter file stef_cif.cmp Example encoded bitstream (frame-based coding) brea_cif.cmp Example encoded bitstream (object-based coding) sprt_stef_sif.cmp Example sprite bitstream vtc_brea_cif.cmp Example Visual Texture bitstream vtc_brea_cif.ctl Example Visual Texture control file vtc_brea_cif.par Example Visual Texture parameter file 2. ENCODING A SEQUENCE Prepare a parameter file to control the encoder operation. The file example.par can be used as a template for this. It will be necessary to adjust the width and height fields to the size of your source image, change the first and last frame numbers appropriately, and set the temporal sampling rate. If the temporal sampling rate is set to 3, every third frame will be encoded. Additionally, the I, P, or B picture sequence can be controlled with the "Number of PVOP's between 2 IVOP's" and "Number of BVOP's between 2 PVOP's" fields. The source file name should be included in the "file prefix" field, and the directory path to that file given in "file directory". For object-based encoding, the encoder inserts the object index number between the directory path and file prefix. The source file must end with the .yuv extension and be in 4:2:0 raw YUV format. For object-based coding, a segmentation mask file must also be present with a .seg extension. This should contain binary mask or alpha-plane mask data, where a transparent pixel has value 0, and an opaque pixel is represented by 255. The .yuv and .seg files are simple dumps of binary data, with frames concatenated together with no format information. For .yuv files, each frame consists of width * height Y pixels then width/2 * height/2 U pixels then width/2 * height/2 V pixels. For the .seg file there each frame consists of width * height Alpha pixels. Run the encoder using the following command line: encoder par_file.par where par_file.par is the name of the parameter file. The encoder will generate a bitstream file, which is placed in .\cmp, and a reconstructed output file, which is placed in .\rec. These locations can be altered by changing the relevant fields in the parameter file. 2A. PARAMETER FILES The parameter file format has changed. Files with the old format (before version 901) can be converted to the new format by running the convertpar tool which is included with the release. convertpar old_par_file [new_par_file] "[xxx]" means optional. 3. DECODING A SEQUENCE The decoder takes a bitstream file and decodes it, generating a .yuv file and, if object-based decoding is enabled, also a .seg file. The following command line should be used: decoder bit_file.cmp out_file base_width base_height where bit_file.cmp is the name of the encoded bitstream file, and out_file is the root name of the output file to create. The .yuv or .seg extensions will be added by the decoder. Here, base_width and base_height represent the width and height of the destination image. This can be larger than the encoded image size if necessary. To decode a bitstream with an enhancement layer, use the command line: decoder bit_file.cmp bit_file_enh.cmp out_file base_width base_height where bit_file_enh.cmp is the name of the enhancement layer bitstream file. 4. EXAMPLES The example bitstreams can be decoded using the following command lines: decoder stef_cif.cmp stef_cif 352 288 decoder brea_cif.cmp brea_cif 352 288 decoder sprt_stef_sif.cmp sprt_stef_cif 352 240 decoder -vtc vtc_brea_cif.cmp out.yuv 1 1 5. PROBLEMS The encoder and decoder are release compiled, the error reporting is bad, as most things are trapped with assert statements that are removed for the release version. There will be access violations if, for example, the correct parameters are not specified... 6. RESOURCES For information about the software contained in this package, contact: Ming-Chieh Lee (mingcl@microsoft.com) Wei-ge Chen (wchen@microsoft.com) Simon Winder (swinder@microsoft.com) Microsoft Corporation One Microsoft Way Redmond, WA ***052

近期下载者

相关文件


收藏者