自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

柳鲲鹏

能为阁下带来一点便利、启发,幸甚

  • 博客(101)
  • 资源 (88)
  • 收藏
  • 关注

原创 有的字体,用黑色渲染,效果是灰色

  昨天看到这个图时,吾以为是用了灰色绘制。有人研究认为就是字体本身的问题。

2020-06-30 08:27:59 557

原创 CENTOS取消锁屏功能

进入设置界面左上,应用程序,系统工具,设置。关闭锁屏隐私(Privacy),锁屏,关。

2020-06-30 06:06:29 777

原创 CENTOS安装配置samba

安装sambayum install -y samba允许WINDOWS访问/etc/sysconfig/selinuxSELINUX=disabled

2020-06-30 05:53:54 429

原创 全网首发:CENTOS FreeSwitch集成NVIDIA CODEC

最近成功完成。为了方便需要的朋友,在此详细记录。安装nv-codec-headersgit clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.gitcd nv-codec-headerssudo makesudo make install安装NVIDIA驱动和CUDAhttps://quantum6.blog.csdn.net/article/details/106931358注意最后的更新环境变量。安装NVID

2020-06-29 21:53:37 516 2

原创 CentOS更改主机名

命令:hostnamectl set-hostname telecom

2020-06-29 19:36:14 316

原创 解决办法:java.lang.ExceptionInInitializerError

  就是类初始化时出错了。有人奇怪了,类怎么初始化失败?就是类中有一些成员先进行初始化,产生异常。  怎么解决?就是把成员初始化的代码,集中到一个static块中,抓住异常抛出,即可看到原因。...

2020-06-29 10:42:53 3612 2

原创 访问jar中的文件

  其实吾是想访问jar中的目录下的文件,结果没找到办法。做法:把目录下的文件,记到一个txt中。 访问这个文件,获得文件列表。具体代码: public void initIcons() { try { InputStream ins = this.getClass().getResourceAsStream(ICON_LIST_FILE); byte[] data = new byte[ins.availa

2020-06-29 08:26:41 4621 2

原创 ffmpeg把YUV转换为H264

ffmpeg -pix_fmts

2020-06-28 21:59:35 3198

原创 FFmpeg Invalid data found when processing input

you shuold recompile

2020-06-28 20:46:03 13112 11

原创 全网首发:给doubango增加支持H264 stap-a帧

https://blog.csdn.net/quantum7/article/details/106724308

2020-06-28 19:31:02 528

原创 You must install signalwire-client-c to build mod_signalwire。

errormaking all mod_signalwiremake[4]: 进入目录“/home/quantum6/freeswitch/freeswitch-1.10.3/src/mod/applications/mod_signalwire”Makefile:934: *** You must install signalwire-client-c to build mod_signalwire。 停止。1https://blog.csdn.net/quantum7/article

2020-06-27 08:23:41 2346

原创 LINUX编译cmake

downloadwget https://cmake.org/files/v3.13/cmake-3.13.3.tar.gzdecompresstar -zxvf cmake-3.13.3.tar.gzcd cmake-3.13.3 build./bootstrapgmakesudo make install

2020-06-26 23:47:18 5981 2

原创 全网首发:为什么依赖库编译时加了-fPIC,还是提示依赖库要使用-fPIC?

请参考:https://blog.csdn.net/quantum7/article/details/106975043

2020-06-26 22:19:35 1021 1

原创 CMake 3.7.2 or higher is required. You are running version 2.8.12.2

errorCMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.7.2 or higher is required. You are running version 2.8.12.2编译安装,https://cmake.org/files/

2020-06-26 22:07:35 10413

原创 全网首发:relocation R_X86_64_PC32 against symbol can not be used when making a shared object recompile

网上所有教程,都说加-fPIC。大多情况下有用,个别情况下没用。比如编译FFmpeg。

2020-06-26 21:59:20 8661 14

原创 Cannot lock pid file /usr/local/freeswitch/run/freeswitch.pid.

killall freeswitchsudo freeswitch

2020-06-26 14:01:38 2761

原创 FFMpeg编译支持NVidia CODEC(成功)

下载头文件git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.gitcd nv-codec-headerssudo makesudo make install下载ffmpeg最新的。重新编译export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --modversion ffnvcodec X264.

2020-06-26 13:31:03 7450 33

原创 ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec

PKG_CONFIG_PATH shoud has ffnvcodec.pc

2020-06-26 13:22:21 1743

原创 ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

1.git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.gitmakesudo make install2.PKG_CONFIG_PATH=/usr/local/lib/pkgconfigX264_PATH=`pwd`/../x264-snapshot-20180101-2245-stableCUDA_PATH=/usr/local/cuda-11.0/./configure \ --extra

2020-06-26 13:09:34 3541 2

原创 编译错误:AVFormatContext没有名为‘url’的成员

avformat.c: 在函数‘mod_avformat_alloc_output_context2’中:avformat.c:385:4: 错误:‘AVFormatContext’没有名为‘url’的成员 s->url = strdup(filename);

2020-06-25 18:40:29 1395 4

原创 LIBAVCODEC_VERSION_INT是哪里定义的?

libavcodec/version.h#define LIBAVCODEC_VERSION_MAJOR 58#define LIBAVCODEC_VERSION_MINOR 12#define LIBAVCODEC_VERSION_MICRO 1

2020-06-25 18:38:47 1404

原创 编译NVIDIA之Video_Codec_SDK_9.1.23之Sample

download and installhttps://blog.csdn.net/quantum7/article/details/106932663libhttps://blog.csdn.net/quantum7/article/details/106954214https://blog.csdn.net/quantum7/article/details/106954225modifyhttps://blog.csdn.net/quantum7/article/details/

2020-06-25 06:58:08 2190

原创 编译错误:vulkan/vulkan.h:没有那个文件或目录

In file included from AppMotionEstimationVkCuda.cpp:21:0:utility.h:18:27: 致命错误:vulkan/vulkan.h:没有那个文件或目录sudo yum install -y vulkan-devel

2020-06-25 06:54:54 4199

原创 编译错误:GL/glew.h, GL/glut.h, EGL/egl.h没有那个文件或目录

In file included from AppDecGL.cpp:26:0:FramePresenterGL.h:21:21: 致命错误:GL/glew.h:没有那个文件或目录#include <GL/glew.h>sudo yum install glew-develIn file included from AppDecGL.cpp:26:0:FramePresenterGL.h:22:21: 致命错误:GL/glut.h:没有那个文件或目录#include <..

2020-06-25 06:52:46 6726 3

原创 对‘avformat_find_stream_info’未定义的引用、to the PKG_CONFIG_PATH environment variable

AppDec.o:在函数‘FFmpegDemuxer::FFmpegDemuxer(AVFormatContext*)’中:AppDec.cpp:(.text._ZN13FFmpegDemuxerC2EP15AVFormatContext[_ZN13FFmpegDemuxerC5EP15AVFormatContext]+0x19e):对‘avformat_find_stream_info’未定义的引用Package libavcodec was not found in the pkg-con.

2020-06-25 06:41:11 1690

原创 AV_PIX_FMT_YUV420P12LE’在此作用域中尚未声明

In file included from AppDec.cpp:26:0:../../NvCodec/../Utils/FFmpegDemuxer.h: 在构造函数‘FFmpegDemuxer::FFmpegDemuxer(AVFormatContext*)’中:../../NvCodec/../Utils/FFmpegDemuxer.h:93:14: 错误:‘AV_PIX_FMT_YUV420P12LE’在此作用域中尚未声明 case AV_PIX_FMT_YUV420P12LE.

2020-06-25 06:33:40 1252

原创 libavformat.so.57: cannot open shared object file: No such file or directory

error:-ERR [module load file routine returned an error]2020-06-24 20:36:59.576687 [CRIT] switch_loadable_module.c:1785 Error Loading module /usr/local/freeswitch/mod/mod_av.so**libavformat.so.57: cannot open shared object file: No such file or direct

2020-06-24 20:43:47 1148 2

原创 使用内存映射提高BufferedRandoAccessFile性能(测试可用)

  今天看代码,看到RandomAccessFile。然后就想,这东西有没有缓冲?没有缓冲的话,性能会很差的。一搜索,说没有。然后有人提供了代码。吾简单复制过来,没有进行分析。以后有机会根据吾思路改写一下。import java.io.File;import java.io.FileNotFoundException;import java.io.IOException;import java.io.RandomAccessFile;import java.util.Arrays;publ

2020-06-24 11:47:33 492

原创 服务器一定要改默认端口

  为什么要改?下图是吾在家里的二机,装的FreeSwitch,拍到的画面:  这个机器是内网,没有外网网址。有人绕过猫,竟然连到了我的机器上。你问他们为什么?他们说闲着也是闲着。所以一定要改默认端口。改了还会有人扫描,那样机会就少多了。...

2020-06-24 08:16:57 932

原创 NVIDIA官方指南:libav编译支持Nvidia Codec(结果失败)

https://developer.nvidia.com/ffmpeggit clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.gitcd nv-codec-headers && sudo make installmake clean./configure \ --prefix=/usr/local \ --enable-shared \ --enable-libx264 \

2020-06-23 22:33:07 665

原创 CentOS安装NVIDIA Video Codec SDK

https://developer.nvidia.com/nvidia-video-codec-sdk/download

2020-06-23 22:19:07 2619

原创 CentOS安装Nvidia显卡驱动和CUDA

checklsmod | grep nouveau修改/etc/modprobe.d/blacklist.conf 文件,加入一行并保存 #nvidia driver blacklist nouveau# 备份原来的镜像文件mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak# 重建新镜像文件dracut /boot/initramfs-$(uname -r).im...

2020-06-23 21:05:04 5157

原创 CentOS支持NTFS格式

errorinstall(no use)sudo yum install -y ntfs-3gdownloadhttps://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz./configuremake sudo make install

2020-06-23 20:10:51 787

原创 Dialog是逻辑字体,实际绘制时会选择不同字体

  同事报了个故障,说是在国产平台上,行间距太大。吾视之,确实。于是跟踪了一番,更加糊涂。后来问了别人,说Dialog是逻辑字体。  什么是逻辑字体?这个字体实际上不存在,没有对应的字体文件。 在绘制时,会自行选择一种字体。 在不同平台、不同字体文件时,绘制效果就会有很大差异。  怎么解决?不使用Dialog字体,用指定字体。...

2020-06-23 11:52:43 1735

原创 CentOS关闭防火墙

  据说会影响freeswitch。# checksystemctl status firewalld.service# stopsystemctl stop firewalld.service# disablesystemctl disable firewalld.service

2020-06-23 06:53:29 414

原创 Freeswitch拨号响应太慢的解决办法

  FreeSwitch编译,启动,测试。然后就会发现,每次拨号时,对应要等很久才收到来电。这年头机器如此强大,网络如此迅速,这不正常啊?  进入/usr/local/freeswitch/conf,编译vars.xml,把默认的密码1234改成其他。再试试拨号,是不是就快了?  这是为什么?这是为了防止非法访问。...

2020-06-23 06:46:08 1801 6

原创 Centos删除virbr0网卡

deleteifconfig virbr0 downbrctl delbr virbr0nmcli device delete virbr0-nicsystemctl mask libvirtd.servicesystemctl disable libvirtd.service

2020-06-22 21:51:50 967

原创 CENTOS上编译FreeSwitch-1.10.3

比如nasm版本太老,必须自己编译。

2020-06-22 20:51:05 550

原创 You must install libopus-dev to build mod_opus

error:You must install libopus-dev to build mod_opushttps://blog.csdn.net/quantum7/article/details/104087104

2020-06-22 19:57:02 5017

原创 文本文件中,如何判断有效换行?

  做代码工具,需要对行进行计数或者判断。WINDOWS/LINUX是不一样的,怎样正确处理?吾代码如下: private int isLine(final int pos) { // WINDOWS换行 if (textBuffer[pos] == '\r') { return (textBuffer[pos+1] == '\n') ? 2 : 1; } // LI

2020-06-22 11:36:52 1496

补丁包:无法启动此程序,因为计算机中丢失D3DCOMPILER-47.dll 尝试重新安装该程序以解

WINDOWS7/WIN7提示错误:无法启动此程序,因为计算机中丢失D3DCOMPILER_47.dll。尝试重新安装该程序以解决此问题。 下载安装后即解决。

2022-11-13

Java3D/Jogl/Gluegen需要的各平台库WINDOWS/ARM64/MIPS64EL/LOONGARCH64

JAVA3D 1.6.2,Jogamp 2.3.2,各平台编译结果。具体测试源码:

2022-11-11

英文字体图像的结构/baseline

英文字体图像的结构,ascent line/ascender line/cap line/mean line/baseline/descender line/descent line。简单情形可看: https://blog.csdn.net/quantum7/article/details/127615203

2022-10-31

Android-USB-OTG-Camera可用的APK

也可以自行下载编译。 https://github.com/quantum6/Android-USB-OTG-Camera

2022-10-24

FontForge-2022-03-08-Windows.exe

可以打开字体文件,进行察看编辑

2022-09-28

提示缺少D3Dcompiler_47.dll,win7-kb4019990补丁

网上说那种直接复制DLL,并没有用

2022-09-21

.Net Framework 4.6.2 3in1

具体使用办法,参考博文: https://blog.csdn.net/quantum7/article/details/99942830 https://blog.csdn.net/quantum7/article/details/125104058

2022-06-02

vs_Community-2017.zip

vs_Community-2017,参考以下博文: https://blog.csdn.net/quantum7/article/details/105408999

2022-06-02

vs_Community-2019.zip

可以进行离线下载。参考: https://blog.csdn.net/quantum7/article/details/105408999

2022-06-02

V4L2抓取USB摄像头YUV视频数据代码/v4l2.tar

也可以自行下载。具体参考: https://quantum6.blog.csdn.net/article/details/122527708

2022-01-16

sourceforge-YUVplayer.zip

https://sourceforge.net/projects/raw-yuvplayer/files/latest/download

2022-01-04

hkwsYUVPlayer.zip

海康威视YUV播放器。使用时注意设置视频格式和分辨率。

2022-01-04

jna-4.5.2,此版本不需要libjnidispatch.so

jna 5.10.0需要libjnidispatch.so,如果是新平台可能就用不了。这个时候可以使用老版本,如4.5.2

2021-12-24

支持loongarch64的jna-5.10.0.zip

jan5需要编译本地代码,这就给编译带来了困难。所以吾将已编译好的loongarch64开放出来。

2021-12-24

Quantum6-Android-IPCamera-ONVIF-main.zip

JAVA版本的IPCamera ONVIF代码。可以在安卓上使用。

2021-12-10

commons-lang3-3.12.0.zip

java包。 import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder;

2021-11-15

Windows-File-SignatureTool.zip

WINDOWS签名使用的相关文件。具体参考: https://quantum6.blog.csdn.net/article/details/121078445 可以指定为sha512

2021-11-01

Windows-File-SignatureTool.zip

WINDOWS签名使用的相关文件。打开其中的Readme.txt,按照步骤操作。具体参考: https://quantum6.blog.csdn.net/article/details/121078445 可以指定为sha512

2021-11-01

VS2015安装所需报错时需要的证书.

具体参考: https://quantum6.blog.csdn.net/article/details/119779610

2021-08-18

java 生成 eps.zip

最近在GEF中用到将Figure保存为图片的技术,原本保存为jpg格式,用户看了说失真,要求生成eps。

2021-08-13

QT sqldriver/MySQL驱动qsqlmysql.dll MinGW版编译工程目录(含编译脚本)

终于可以顺利编译了。 其中有脚本build-mingw.bat,可以直接运行

2024-09-18

QT sqldriver/MySQL驱动qsqlmysql.dll MSVC版编译工程目录(含编译脚本)

编译起来十分麻烦。 具体参考: https://blog.csdn.net/quantum7/article/details/142298654

2024-09-16

QT使用VLC播放RTSP流的完整代码工程

QT使用VLC播放RTSP流,下载了就能用。

2024-09-09

Clion-2023.1.4长期使用版

有时候必须使用,就凑合使用一段时间吧。

2024-06-28

vsftpd-3.0.5及编译脚本(交叉编译)

vsftpd-3.0.5及编译脚本(交叉编译)

2024-06-18

EasyGBS 2.7.0 windows

用于测试视频GB28181

2024-06-13

网络测试工具sokit-1.3

比如测试某个机器,是否已经监听端口。

2024-06-06

串口工具SSCOM V5.13.1

串口无处不在。

2024-06-06

相机云台-PELCOD协议介绍

相机云台转动时的协议。

2024-03-18

开发板USB转串口CH340/341驱动

WIN10/WIN11并不需要,WIN7需要。

2024-03-01

烧录工具ToolPlatform-1.0.11-win32-x86-64.zip

如果自己的出错了,可以下载这个使用。

2024-03-01

Virtual Serial Port Driver 6.9(VSPD)

很多机器上没有串口,结果又需要串口,可以用这个模拟

2024-02-28

vsftpd-3.0.2源码

修改了Makefile

2024-02-26

RK3399ProD开发板的固件烧录教程.pdf

RK3399ProD开发板的固件烧录教程。按照内容逐步操作即可。

2024-01-22

Toshiba eStudio Printer Driver 2303am-2803am-Series

Toshiba eStudio Printer Driver 2303am-2803am-Series

2023-12-19

jockson-2.15.3.jar

也可以自行下载

2023-10-19

安卓UiAutomator/UiDevice/Instrumentation官方测试范例

到现在为止,搜索的时候发现没有可用的范例,无处下手。那么先参考官方的范例吧。如何使用,参考其中的说明文件。

2023-10-12

STM32延迟(休眠)函数delay/sleep

博文: https://mp.csdn.net/mp_blog/creation/success/131497719

2023-07-02

stm32f4xx.h

也许有人需要。

2023-06-30

IRST(Intel Rapid Storage Technology) V19.1.0.1001-PV

安装WINDOWS 10的时候,可能需要。

2023-02-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除