Code Monkey home page Code Monkey logo

openh264-1's Introduction

openh264

使用cmake编译的openh264,用nasm编译的汇编,仅支持x86平台的汇编编译(linux/windows已测试通过),汇编默认打开

todos

1.支持linux汇编 已支持

2.支持encoder编译 已支持

编译方式

首先安装cmake与nasm,并配置环境变量

mkdir build_release
cd build_release
cmake ..
cmake --build -j4

相关测试

  • 不启用汇编解码时间
./dec_console ../test_cif_I_CABAC_slice.264

H264 source file name: ../test_cif_I_CABAC_slice.264..
Can not find any output file to write..
------------------------------------------------------
-------------------------------------------------------
iWidth:         352
height:         288
Frames:         300
decode time:    0.673991 sec
FPS:            445.109801 fps
-------------------------------------------------------
  • 不启用汇编编码时间
./enc_console welsenc.cfg

Width:          320
Height:         192
Frames:         9
encode time:    0.009989 sec
FPS:            900.991090 fps
  • 启动汇编解码时间
H264 source file name: ../test_cif_I_CABAC_slice.264..
Can not find any output file to write..
------------------------------------------------------
-------------------------------------------------------
iWidth:         352
height:         288
Frames:         300
decode time:    0.524717 sec
FPS:            571.736765 fps
-------------------------------------------------------
  • 启用汇编编码时间
Width:          320
Height:         192
Frames:         9
encode time:    0.004487 sec
FPS:            2005.794517 fps

openh264-1's People

Contributors

mstorsjo avatar sijchen avatar huili2 avatar ethanhugg avatar haibozhu avatar volvet avatar dongzha avatar licaiguo avatar shihuade avatar zhilwang avatar guangweiwang avatar xiaotiansf avatar saamas avatar varunbpatil avatar ekr avatar syureyi avatar fluffy avatar zhuling13 avatar xiweigu avatar xiaotianshi2 avatar andreasgal avatar ruil2 avatar ganyangbbl avatar pengyanhai avatar lyao2 avatar jwwang avatar daniel-j-h avatar ylatuya avatar thaytan avatar adamroach avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.