User Tools

Site Tools


codec

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

codec [2014/11/10 07:14] (current)
Line 1: Line 1:
 +====== H.263 Encode Library ======
 +===== Introduction =====
 +In the latter half of year 2002, I took part in a project of remote education system and was responsible for the design of video coding library. After studies and discussions,​ H.263 recommendation was choosed as the base algorithm, and then there comes two choices: modifying available open source codes from Internet or write the code by ourselves over again. Finally, the latter was adopted considering the future'​s problem of software maintenance and code optimization. Development works began in November 2002 and was almost over before Spring Festival of 2003. And afterwards only a few modifications was done on it, most work was done on the optimization for Intel x86 and XScale architecture processors. After I began to work for ISCAS in Apral 2004, I found lots of developments was based on the open source codes from Internet, accordingly I distributed this software also.
 +===== Feature =====
 +  * Picture format(size) supported: YUV4:2:0 (SUBQCIF, QCIF, CIF, 4CIF)
 +  * Quantization level of I,P,B picture can be preset
 +  * Motion search method can be set as FULLSEARCH of MVFAST
 +  * Bitstream format supported: ITU-T H.263, ITU-T H.263+, ITU-T H.263++
 +  * Coding options supported: AP, DF, RPS, B frames
 +  * GOB is alternate
 +  * Simple rate control algorithm is provided
 +  * Three packetization method provided: GOB unit, picture unit and fixed packed size(NEW)
 +RD Curves:
 +{{:​performance.gif|}}
 +===== Acknowledgment =====
 +We thank Chen Hao(action.chen@philips.com),​ Zhang Jie(zhangjiesd@huawei.com) and Dr. Song Bin(bsong@mail.xidian.edu.cn).
 +===== Building Problems =====
 +Linux:
 +Unpack the tar ball and enter the henclib directive, run "make dep" and "​make"​. Two macros can be assigned some value, STATIC for generating static library and DEBUG for generating debug infomation. (there are still some problems in static library, it can not be linked correctly during building applications,​ need help!!!)
 +
 +Windows:
 +Open file henclib.dsw using Visual C++ 6.0, three projects included: test(test program), WinDll(windows dynamic link library) and henclib(windows static library).
 +===== Using HEnclib =====
 +Encoding flow:
 +  - Get default encoding options(GetOption)
 +  - Reset encoding options
 +  - Open encoder(EncOpen)
 +  - Coding loop(EncOneFrm)
 +  - Close encoder(EncClose)
 +Notes:
 +  - Encoding options can be modified through structure Enc_Option.
 +  - A Callback functions must be provided by library user and attached to class CH263Encoder to deal with bits produced by the encoder(write to files or packed)
 +===== Download =====
 +        * [[http://​3xin2yi.info/​wwwroot/​tech/​package/​vcoder.rar|Vcoder 1.0]]
 +        * [[http://​3xin2yi.info/​wwwroot/​tech/​package/​h263sdk.rar|H.263 Video Coding Lib]]
 +        * [[http://​3xin2yi.info/​wwwroot/​tech/​package/​h263sdko.rar|H.263 Video Coding Lib(Optimized)]]
 +===== Todos =====
 +Better rate control schemes
 +Application to openh323 software(Finished)
 +
 +Contact: Li_chunlinAT263.net(Substitute @ for AT)
  
codec.txt · Last modified: 2014/11/10 07:14 (external edit)