HH2263encodde
所属分类:流媒体/Mpeg4/MP4
开发工具:Visual C++
文件大小:753KB
下载次数:3
上传日期:2012-08-05 23:28:31
上 传 者:
attendants
说明: H.263编码器源代码((TMN encoder)
(H.263 Encoder source code ((TMN encoder))
文件列表:
HH2263encodde\H263coder10-genmutex\Coder.c (34734, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Config.h (6702, 2004-03-30)
HH2263encodde\H263coder10-genmutex\COPYING (0, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Countbit.c (34861, 2004-02-06)
HH2263encodde\H263coder10-genmutex\DCT.C (9265, 2004-02-06)
HH2263encodde\H263coder10-genmutex\DISCLAIM (1091, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Getbits.c (4840, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Global.h (402, 2004-02-06)
HH2263encodde\H263coder10-genmutex\INDICES.H (5244, 2004-02-06)
HH2263encodde\H263coder10-genmutex\IO.C (7334, 2004-02-06)
HH2263encodde\H263coder10-genmutex\MACROS.H (2542, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Main.c (51624, 2004-05-07)
HH2263encodde\H263coder10-genmutex\Makefile (1676, 2004-02-06)
HH2263encodde\H263coder10-genmutex\MOT_EST.C (17070, 2004-02-06)
HH2263encodde\H263coder10-genmutex\out.raw (1140480, 2004-05-07)
HH2263encodde\H263coder10-genmutex\PRED.C (45538, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Putbits.c (4652, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Putvlc.c (4562, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Putvlc.h (2297, 2004-02-06)
HH2263encodde\H263coder10-genmutex\QUANT.C (4256, 2004-02-06)
HH2263encodde\H263coder10-genmutex\RATECTRL.C (9538, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Sac.c (7598, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Sac.save (6762, 2004-02-06)
HH2263encodde\H263coder10-genmutex\SACTBLS.H (14034, 2004-02-06)
HH2263encodde\H263coder10-genmutex\Sim.h (13098, 2004-03-08)
HH2263encodde\H263coder10-genmutex\SNR.C (5071, 2004-02-06)
HH2263encodde\H263coder10-genmutex\stream0.263 (145140, 2004-05-07)
HH2263encodde\H263coder10-genmutex\stream1.263 (2652, 2004-05-07)
HH2263encodde\H263coder10-genmutex\stream2.263 (91, 2004-03-05)
HH2263encodde\H263coder10-genmutex\stream3.263 (101, 2004-03-05)
HH2263encodde\H263coder10-genmutex\time0.all (2083, 2004-05-07)
HH2263encodde\H263coder10-genmutex\time1.all (67, 2004-05-07)
HH2263encodde\H263coder10-genmutex\time2.all (67, 2004-03-05)
HH2263encodde\H263coder10-genmutex\time3.all (67, 2004-03-05)
HH2263encodde\H263coder10-genmutex\TODO (107, 2004-02-06)
HH2263encodde\H263coder10-genmutex\UBC.COPYRIGHT (519, 2004-02-06)
HH2263encodde\H263coder10-genmutex\view.001 (5109, 2004-02-06)
HH2263encodde\H263coder10-genmutex\VIEW.BAK (6859, 2004-02-06)
HH2263encodde\H263coder10-genmutex\view.dsp (5089, 2004-02-06)
... ...
tmn
===
Version 3.0, May 27, 1997
(C) Department of Electrical Engineering
University of British Columbia CANADA.
Guy Cote , Faouzi Kossentini ,
Micheal Gallant and Berna Erol
(Based on Telenor's tmn version 2.0)
tmn is a very low bitrate video encoder producing H.263 bitstreams.
Compatibility
=============
This H.263 encoder is believed to be compatible with the description
of the H.263 standard as of May 7, 1996. All the the negotiable coding
modes described in the standard are implemented: the Unrestricted
Motion Vector mode, the Syntax-based Arithmetic Coding mode, the
Advanced Prediction mode and the PB-frames mode. See the CHANGES file
for changes since the last version. See the TODO file for items not
included in this version.
You can decode (and display) all bitstreams from this encoder with
tmndecode. Tmndecode is also available from Telenor's ftp site
bonde.nta.no in /pub/tmn/software. Use the same version of the decoder
as the encoder.
TMN was the Test Model Near-term for the ITU-LBC group working towards
a standard for video telephony on normal analogue telephone lines.
This standard is now called H.263.
Installation
============
This software should work on most 32 bit systems. I have tested it
with OSF/1, SunOS-4.1.3, Linux, Win32 (Visual C++ 2.x/Windows NT/95).
To build the encoder with Visual C++ 2.x, start a new project of type
"console application", add all c-files to the project, and choose
"build".
You can change the default filenames in config.h to suit your
site. Check the Makefile for a couple of defines you can use to change
the coding behavior. These can also be defined in sim.h.
Usage
=====
tmn [options] -i [more options]
tmn is controlled by options on the command line. The only required
parameter is '-i '. Typing just 'tmn -i ' will
encode one image of the sequence 'filename' with every parameter set
at the default value. Change the defaults with the options below.
Options:
-a image to start at [0]
-b image to stop at [0]
-x coding format [3]
n=1: SQCIF n=2: QCIF n=3: CIF n=4: 4CIF n=5: 16CIF
128x96 176x144 352x288 704x576 1408x1152
-s (0..15) integer pel search window [15]
-q (1..31) quantization parameter QP [10]
-I (1..31) QP for first frame [10]
-r target bitrate in bits/s, default is variable bitrate
-R start rate control after n% of sequence [0], or
-R target frame rate [10.00], depending on rate control mode
-S frames to skip between each encoded frame [2]
-Z reference frame rate (25 or 30 fps) [30.0]
-O frames skipped in original compared to reference frame rate [0]
-e original sequence has n bytes header [0]
-g insert sync after each n GOB (slice) [0]
zero above means no extra syncs inserted
-i original sequence [/b2/qcif/claire.qcif]
-o reconstructed frames [/b2/kol/out.qcif]
-B filename for bitstream [./stream.263]
-w write difference image to file "./diff.qcif" [OFF]
-m write repeated reconstructed frames to disk [OFF]
-t write trace to tracefile trace.intra/trace [OFF]
-D use unrestricted motion vector mode (annex D) [OFF]
-E use syntax-based arithmetic coding (annex E) [OFF]
-F use advanced prediction mode (annex F) [OFF]
-G use PB-frames (annex G) [OFF]
-Q (0..3) BQUANT parameter [2]
-h Prints simple help
-H Prints advanced help
Default filenames and other options in square brackets
are chosen in config.h
If you think there are many options, I agree with you, but that's the
way I want it. I don't like complicated read-at-run-time config
files. For complicated and many compressions, I use batch files.
This software could have used some more documentation. If you have
questions, please read the H.263 and TMN5 documents available from the
WWW page listed below, as well as the source code itself. If you still
have questions, please feel free to contact any of the persons listed
in the source code headers, or me.
File format
===========
The input (original) sequence format is as follows.
QCIF = 176x144 luma resolution with 4:1:1 chroma subsampling.
176
+-------------+
| |
| Y | 144
| |
| |
+-------------+
| U |
| 88 |72
+------+
| V |
| 88 |72
+------+
Each component is raster-scanned from the top left corner down to the
bottom right corner. The Y, U and V components are then concatenated
together for each frame. All frames in the sequence are finally
concatenated in one big file. This is directly read from disk into
memory (see io.c).
The output file format is the same as the input format. All the
standard test sequences are available in this format from monet.ee.ubc.ca
in /pub/tmn/qcif_source/.
Contact guyc@ee.ubc.ca if you have trouble using this software or
find any bugs. For the latest information on new versions and H.263
docs, check our WWW page at http://www.ee.ubc.ca/image/h263/.
CREDITS
=======
Anurag Bist at Rockwell International did most of the TMN5 rate
control in version 1.1.
Patrick Mulroy and Wayne Ellis at BT Labs did most of the SAC work
included in version 1.4.
The bitstream routines and VLC functions in version 1.7 were written
by Robert Danielsen at Telenor R&D. They are based on ideas from the
MPEG-2 Software Simulation Group work.
Karl Olav Lillevold of Telenor's R&D was the former maintainer of the code
and wrote most of the code as well as the documentation and this README
file.
--
近期下载者:
相关文件:
收藏者: