Coder Social home page Coder Social logo

debugger999 / gb28181toh264 Goto Github PK

View Code? Open in Web Editor NEW
156.0 19.0 102.0 1.41 MB

作为上级域,可以对接海康、大华、宇视等gb28181平台,获取ps流,转换为标准h.264裸流

Makefile 12.78% C++ 25.47% C 57.63% Objective-C 4.06% QMake 0.07%

gb28181toh264's Issues

指定对齐未关闭,会导致对象内存布局解析紊乱,程序崩溃

在pstream.h中,指定字节对齐后,未恢复自然对齐
#pragma pack (1)
typedef union littel_endian_size_s {
unsigned short int length;
unsigned char byte[2];
} littel_endian_size;
......

具体会导致的问题,可以参考该网址下的具体bug分析:
https://www.zhihu.com/question/323920295/answer/681105149
<问题已解决> c++ 类对象的数据成员地址在局部函数调用中发生诡异偏移,字节对齐发生变化?

编译出现fPIC的问题

我在编译代码的时候,报错,提示说osip2和eXosip提供的库文件,出现的fPIC的问题

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.