- 博客(9)
- 收藏
- 关注
原创 windows下编译带rtmp的nginx1.19.1
1.创建文件夹objs/lib,将nginx-rtmp-module,openssl-1.0.2r,pcre-8.43,zlib-1.2.11copy进去 2.创建生成bulid.bat auto/configure --with-cc=cl --with-debug --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs
2020-07-21 08:59:38
611
原创 GB28181流
rtp头(80 60,80 88, 80 e0, 80 62开头的12个字节) ps头(00 00 01 ba开始的14个字节) pes头(00 00 00 01+(c0~DF) 表示音频;00 00 00 01+(E0~EF) 表示视频) System Header(00 00 00 01 bb开始的18个字节,只有I帧有) 节目映射流(00 00 00 01 bb开始的30个字节,只有...
2020-04-01 17:31:10
1431
原创 resiprocate windows下环境的搭建和注册
1.下载 https://www.resiprocate.org/files/pub/reSIProcate/releases/(1.7版本无错) 2.打开 3.编译 编译resiprocate工程 编译reprolib工程 在编译运行repro工程 4.运行 5.配置 添加domain 添加user 关掉repro.exe 将工程中的b...
2020-04-01 17:28:54
956
原创 ubuntu设置固定ip
ens33由ifconfig获得 sudo ifconfig ens33 down sudo ifconfig ens33 192.168.1.63 broadcast 192.168.1.255 netmask 255.255.255.0 sudo ifconfig ens33 up
2018-12-13 17:37:12
304
转载 qt作为客户端通过json传输中文,服务器端显示出现乱码
在服务器端用以下代码进行转码,乱码解决 std::string UTF8ToGBK(const std::string& strUTF8) { int len = MultiByteToWideChar(CP_UTF8, 0, strUTF8.c_str(), -1, NULL, 0); unsigned short * wszGBK = new unsigned ...
2018-07-23 17:47:38
1559
原创 tx2中ubuntu无法进入,闪屏
今天tx2上的ubuntu,进入登录界面输入密码后一直卡在这里,后来的解决方案:1.重启ctrl+alt+F1进入命令文本界面2.sudo chown 你的用户名:你的用户名 .Xauthority3.ls -l .Xauthorityctrl+alt+F7进入图形化界面,可以进入,但出现闪屏,解决方案:1.进入命令文本界面2.执行rm -rf .cache/ .config/ .Xauthori...
2018-04-20 11:34:31
2651
原创 ubuntu两台电脑直连
给两台电脑分配固定ip(sudo ifconfig enp4s0 192.168.199.10),然后用网线直连,选择有线连接即可
2018-03-27 14:01:55
3575
原创 Qt 柱状图
1.官网下载qcustomplot .cpp,qcustomplot.h文件2.将上述两个文件放在自己的工作目录下3.将上述两个文件引入CMakeLists.txt中如(qcustomplot .cpp,qcustomplot.h放置的位置和main.cpp在同一目录下):set(SOURCE_FILES main.cpp qcustomplot.h qcust...
2018-03-22 10:37:48
2037
原创 QT 国际化
1.将需要翻译的.h和.cpp文件用 SOURCES += src/main/demo.h src/main/demo.cpp的形式加入到自己qt程序中的.pro文件中(假如是demo.pro)2.执行lupdate-codecfortr utf-8 demo.pro -ts pro.ts生成pro.ts文件3.执行linguist pro.ts将中文变成英文4.执行lreleas...
2018-03-16 17:49:52
162
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅