1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
tmndecode
Version 3.0, May 27, 1997
(C) Department of Electrical Engineering
University of British Columbia CANADA.
Guy Cote <guyc@ee.ubc.ca>, Faouzi Kossentini <faouzi@ee.ubc.ca>,
Micheal Gallant <mikeg@ee.ubc.ca> and Berna Erol <bernae@ee.ubc.ca>
(Based on Telenor's tmn version 2.0)
=========
tmndecode is a decoder and player for H.263 and H.263+ bitstreams. It can display
the decoded sequence at 8, 16, and 24(32) bits colordepths in both X11
and Microsoft Win32 window systems. For QCIF resolutions the display
speed should be real-time on most systems.
tmndecode was originally based on mpeg2decode and mpeg2play. What is
left is the file organization, the io-routines and some of the
display- routines for X11. mpeg2decode is (C) 1994, MPEG Software
Simulation Group and mpeg2play is (C) Stefan Eckart,
stefan@lis.e-technik.tu-muenchen.de. Most of the 16 and 24(32) bit
colordepth routines are from mpeg_play, and are (C) 1995 Erik Corry.
Compatibility
=============
This H.263+ encoder is believed to be compatible with the description
of the H.263+ standard, draft 20. All the H.263 negotiable coding
modes are supported: the Unrestricted Motion Vector mode,
the Syntax-based Arithmetic Coding mode, the
Advanced Prediction mode and the PB-frames mode.
At this moment, the following H.263+ negotiable coding modes are
supported: Advanced Intra Coding mode, Deblocking Filter mode,
Improved PB-frames mode, Scalability mode,
Alternative Inter VLC mode, and Modified Quantization mode.
See the CHANGES file for changes since the last version.
See the TODO file for items not included in this version.
An H.263+ (TMN8) compatible encoder with the same modes (tmn) and some
sample bitstreams are also available from UBC's ftp site at
ftp:\\monet.ee.ubc.ca\pub\tmn\
TMN was the Test Model Near-term for the ITU-LBC group working towards
a standard for video telephony on normal analogue telephone lines.
The original standard is called H.263.
H.263+ is version 2 of the H.263 standard.
Installation
============
This software should work on most 32 bit systems. It has been tested
with OSF/1, SunOS-4.1.3, Linux, and Windows 95/NT. Display works with
both X11 and Windows. Use Makefile to compile under Unix.
Windows: The enclosed makefile tmndec.mak can be used with Visual
C++. If you prefer not to use the makefile then start a new project as
"console application", add all c-files to the project, define WINDOWS
and USE_TIME, add vfw32.lib and winmm.lib to the library link list
and choose "build".
If you can't get it to compile with a Win32
compiler other than VisualC++, we will probably not be able to help you.
Usage
=====
Usage: tmndec {options} bitstream {outputfilename%d}
Options:
-vn verbose output (n: level)
Instructs tmndecode to generate informative output about the sequence
to stdout. Increasing level (-v1, -v2) results in more detailed output.
-on output format
n=0 : YUV
n=1 : SIF
n=2 : TGA
n=3 : PPM
n=4 : X11 Display
n=5 : YUV concatenated
n=6 : Windows 95/NT display
Use -o5 for the same format as the Telenor encoder uses.
You have to choose one output format!
-q disable warnings to stderr
-r use double precision IDCT
-t enable low level tracing
-s <filename> output reconstructed frame to filename (YUV concatenated)
-p enable tmn-8 post filter
-x interpolate pictures to double size before display
(on Windows, maximize display window to get double size display)
-fn frame rate in frames per second
n=0 : as fast as possible
n=99 : read frame rate from bitstream (default)
-l loop sequence
Setting this flag results in repeated display of the sequence.
Contact mikeg@ee.ubc.ca if you have trouble using tmndecode 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/h263plus.
CREDITS
=======
Juha Mustonen first included code for 24 bit colordepth. I changed
this with code for both 16 and 24 (32) bits written by Erik Corry, and
added my own routine for 24 bits packed mode. Juha then suggested
improvements and helped me test the new modes.
Patrick Mulroy and Wayne Ellis at BT Labs did most of the SAC work
included in version 1.4.
Anurag Bist at Rockwell had the idea and implementation outline for
double sized display.
Michael Third at Intel Architecture Labs wrote the first version of
the Windows display running in a separate thread.
H.263+ coder and options were implemented by Guy Cote, Berna Erol and Micheal
Gallant of the University of British Columbia (UBC):
Annex I implemented by guyc@ee.ubc.ca
Annex J implemented by guyc@ee.ubc.ca
Annex M implemented by bernae@ee.ubc.ca
Annex O implemented by mikeg@ee.ubc.ca
Annex S implemented by guyc@ee.ubc.ca
Annex T implemented by bernae@ee.ubc.ca
|