<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[brk1985的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/brk1985</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; brk1985]]></copyright><item><title><![CDATA[windows10的vs2019编译openssl静态库备忘]]></title><link>https://blog.csdn.net/brk1985/article/details/150335704</link><guid>https://blog.csdn.net/brk1985/article/details/150335704</guid><author>brk1985</author><pubDate>Wed, 13 Aug 2025 08:59:26 +0800</pubDate><description><![CDATA[powershell使用cd命令打开当前源码目录。x64版本使用x64 Native Tools Command Prompt for VS 2019，x86版本使用x86 Native Tools Command Prompt for VS 2019。使用命令nasm系统开始编译，编译完成后使用nasm install 生成的库和头文件等内容拷贝到C:\OpenSSL-static-vs2019。使用中activeperl有些异常提示、缺模块，最后使用了Strawberry Perl。]]></description><category></category></item><item><title><![CDATA[gcc编译webrtc x64]]></title><link>https://blog.csdn.net/brk1985/article/details/133340694</link><guid>https://blog.csdn.net/brk1985/article/details/133340694</guid><author>brk1985</author><pubDate>Wed, 27 Sep 2023 09:59:46 +0800</pubDate><description><![CDATA[此处“absl::optional  tempchunk = chunk;”赋值失败，改用memcpy复制内存的方式，前4个字节0x01、0x00、0x00、0x00，第5个字节起拷贝chunk的内存。链接: https://pan.baidu.com/s/1oHVz9bxXlW3Q6uO996c5XA。最后在out\Release-x64\obj路径下生成libwebrtc.a。1、下载离线版webrtc（也可以翻墙下载webrtc）]]></description><category></category></item><item><title><![CDATA[VS2019编译FFMPEG 5.2.r109878]]></title><link>https://blog.csdn.net/brk1985/article/details/130627142</link><guid>https://blog.csdn.net/brk1985/article/details/130627142</guid><author>brk1985</author><pubDate>Thu, 11 May 2023 18:48:15 +0800</pubDate><description><![CDATA[5、拷贝yasm.props、nasm.props等文件到C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations。3、进入E:\working\FFmpegCompile\FFmpegMFC\FFmpeg\SMP,执行SMP下的project_get_dependencies.bat，下载时间有点久，耐心等待一会。其他的都是小问题了。]]></description><category></category></item><item><title><![CDATA[本地socket unix domain socket]]></title><link>https://blog.csdn.net/brk1985/article/details/80514460</link><guid>https://blog.csdn.net/brk1985/article/details/80514460</guid><author>brk1985</author><pubDate>Wed, 30 May 2018 19:03:28 +0800</pubDate><description><![CDATA[socket API原本是为网络通讯设计的，但后来在socket的框架上发展出一种IPC机制，就是UNIXDomain Socket。虽然网络socket也可用于同一台主机的进程间通讯（通过loopback地址127.0.0.1），但是UNIX Domain Socket用于IPC更有效率：不需要经过网络协议栈，不需要打包拆包、计算校验和、维护序号和应答等，只是将应用层数据从一个进程拷贝到另一个进...]]></description><category></category></item><item><title><![CDATA[JavaScript时间函数用法总结（部分）]]></title><link>https://blog.csdn.net/brk1985/article/details/79826452</link><guid>https://blog.csdn.net/brk1985/article/details/79826452</guid><author>brk1985</author><pubDate>Thu, 05 Apr 2018 15:11:44 +0800</pubDate><description><![CDATA[1、yyyy-mm-dd hh:mm:ss转换成时间戳1522910473000：格式yyyy-MM-dd转为yyyy/MM/dd再转换成时间戳var dDateTime = new Date(strTime.replace(new RegExp(&quot;-&quot;, &quot;gm&quot;), &quot;/&quot;));//strTime为yyyy-mm-dd hh:mm:ss格式
var lDateTime = dDateTime....]]></description><category></category></item><item><title><![CDATA[安卓开发环境搭建后碰到的疑难问题]]></title><link>https://blog.csdn.net/brk1985/article/details/78684629</link><guid>https://blog.csdn.net/brk1985/article/details/78684629</guid><author>brk1985</author><pubDate>Fri, 01 Dec 2017 11:13:05 +0800</pubDate><description><![CDATA[1、cvc-complex-type.2.4.d: 发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素。 
D:\Software\android-sdk-windows\tools\lib\devices.xml覆盖D:\Software\android-sdk-windows\system-images\android-27\android-tv\x86\devices.xm]]></description><category></category></item><item><title><![CDATA[windows和linux下select定时器demo]]></title><link>https://blog.csdn.net/brk1985/article/details/78674261</link><guid>https://blog.csdn.net/brk1985/article/details/78674261</guid><author>brk1985</author><pubDate>Thu, 30 Nov 2017 11:33:06 +0800</pubDate><description><![CDATA[// TestTime.cpp : Defines the entry point for the console application.
//


#ifdef WIN32
	#include "stdafx.h"
	#include 
	#include 
	#pragma comment(lib,"Ws2_32.lib")
#else
	#include 
	#include 
#endi]]></description><category></category></item><item><title><![CDATA[HTTP文件断点续传的原理]]></title><link>https://blog.csdn.net/brk1985/article/details/78661419</link><guid>https://blog.csdn.net/brk1985/article/details/78661419</guid><author>brk1985</author><pubDate>Wed, 29 Nov 2017 09:10:37 +0800</pubDate><description><![CDATA[前几天一个同事跑过来找我说，我们在广告素材视频这块想做断点续传，就是这次某个视频缓存到一半，下次不用重头开始，可以在原来停留得位置开始继续下载.以提供更好的用户体验。

同时说需要我们支持吐素材地址的业务接口告诉终端最后修改时间/文件签名（md5），用这个用来判断我当前要下的文件有没有变化，同时告诉终端文件的Size大小.

我一细想，这个问题压根不需要通过改变现有接口提供更多的数据来做.]]></description><category></category></item><item><title><![CDATA[linux调试错误原因总结（部分）]]></title><link>https://blog.csdn.net/brk1985/article/details/78540566</link><guid>https://blog.csdn.net/brk1985/article/details/78540566</guid><author>brk1985</author><pubDate>Wed, 15 Nov 2017 14:49:20 +0800</pubDate><description><![CDATA[1、Segmentation fault
a、直接拷贝到ftp上造成，改用tftp上传不会有该问题；
b]]></description><category></category></item><item><title><![CDATA[cab包制作使用]]></title><link>https://blog.csdn.net/brk1985/article/details/78527856</link><guid>https://blog.csdn.net/brk1985/article/details/78527856</guid><author>brk1985</author><pubDate>Tue, 14 Nov 2017 10:31:56 +0800</pubDate><description><![CDATA[1、如果需要创建cab文件，首先需要Cabarc或者Makecab，它们随着Cabinet SDK的安装就有了，Cabinet SDK的下载地址是http://msdn.microsoft.com/workshop/management/cab/cabdl.asp。
Cabarc可以创建、查看或者解出cab里面的文件，而Makecab则只可以用来创建cab文件。
2、制作cab文件时需要将所有]]></description><category></category></item><item><title><![CDATA[小技巧、小经验（6）]]></title><link>https://blog.csdn.net/brk1985/article/details/78435550</link><guid>https://blog.csdn.net/brk1985/article/details/78435550</guid><author>brk1985</author><pubDate>Fri, 03 Nov 2017 14:48:19 +0800</pubDate><description><![CDATA[1、PostMessage与PostThreadMessage的区别消息队列是属于线程的，Post消息就是把消息放到目标线程的消息队列中。这两者的区别在于：PostMessage 通过指定目标窗口句柄来确定目标线程，通常情况下由窗口过程来处理消息；PostThreadMessage 直接指定目标线程ID来确定目标线程，没有目标窗口，只能在消息循环中直接根据消息类型做相应的处理。在程序设计的选择方面...]]></description><category></category></item><item><title><![CDATA[ubuntu linux虚拟机配置多个IP地址]]></title><link>https://blog.csdn.net/brk1985/article/details/78126759</link><guid>https://blog.csdn.net/brk1985/article/details/78126759</guid><author>brk1985</author><pubDate>Thu, 28 Sep 2017 18:10:06 +0800</pubDate><description><![CDATA[1、设置里允许启用多个网络连接




2、修改interfaces配置文件
vim /etc/network/interfaces



vim /etc/network/interfaces

auto lo  
iface lo inet loopback 

auto eth0  
iface eth0 inet dhcp
  
auto eth0:0  
iface ]]></description><category></category></item><item><title><![CDATA[YUV格式数据存储方式总结（常见的）]]></title><link>https://blog.csdn.net/brk1985/article/details/77989804</link><guid>https://blog.csdn.net/brk1985/article/details/77989804</guid><author>brk1985</author><pubDate>Fri, 15 Sep 2017 11:36:02 +0800</pubDate><description><![CDATA[YUV格式有两大类：平面（planar）和紧凑（packed）。
对于planar的YUV格式，先连续存储所有像素点的Y，紧接着存储所有像素点的U，随后是所有像素点的V。
对于packed的YUV格式，每个像素点的Y,U,V是连续交*存储的。以下缩写p表示“紧凑”，sp表示“半紧凑”。



以分辨率8*4为例，数据存储方式如下。


1、yuyv（yuv422）【YUY2】：]]></description><category></category></item><item><title><![CDATA[图文详解YUV420数据格式]]></title><link>https://blog.csdn.net/brk1985/article/details/77987776</link><guid>https://blog.csdn.net/brk1985/article/details/77987776</guid><author>brk1985</author><pubDate>Fri, 15 Sep 2017 09:28:30 +0800</pubDate><description><![CDATA[YUV格式有两大类：planar和packed。
对于planar的YUV格式，先连续存储所有像素点的Y，紧接着存储所有像素点的U，随后是所有像素点的V。
对于packed的YUV格式，每个像素点的Y,U,V是连续交*存储的。

 

YUV，分为三个分量，“Y”表示明亮度（Luminance或Luma），也就是灰度值；而“U”和“V” 表示的则是色度（Chrominance或Chro]]></description><category></category></item><item><title><![CDATA[Ubuntu14.04安装及问题解决]]></title><link>https://blog.csdn.net/brk1985/article/details/77371300</link><guid>https://blog.csdn.net/brk1985/article/details/77371300</guid><author>brk1985</author><pubDate>Fri, 18 Aug 2017 16:10:04 +0800</pubDate><description><![CDATA[注意安装版本不能过老，否则没有安装包镜像、网上找安装包资源很麻烦。


1、设置root密码
sudo passwd输入2次密码即可


2、ssh安装
sudo apt-get install openssh-server



3、Ubuntu14.04解决ssh登录不上

http://blog.sina.com.cn/s/blog_5f435c130102v6p]]></description><category></category></item><item><title><![CDATA[项目实用makefile]]></title><link>https://blog.csdn.net/brk1985/article/details/77006771</link><guid>https://blog.csdn.net/brk1985/article/details/77006771</guid><author>brk1985</author><pubDate>Wed, 09 Aug 2017 17:32:57 +0800</pubDate><description><![CDATA[在上一篇文章“小项目实用makefile”中，已经说明了单个makefile管理层次目录的局限性。本文，主要总结一下项目中的一种实用makefile树写法，为10来个人协作的中小型项目makefile编写，提供参考。
        
        1. 需求
        从实用角度，makefile树应该达到以下需求：
        1）自动加入编译系统。新增目录、文件后，能够自]]></description><category></category></item><item><title><![CDATA[H.264编码原理以及I帧B帧P帧]]></title><link>https://blog.csdn.net/brk1985/article/details/76668473</link><guid>https://blog.csdn.net/brk1985/article/details/76668473</guid><author>brk1985</author><pubDate>Fri, 04 Aug 2017 10:50:01 +0800</pubDate><description><![CDATA[前言

-----------------------

       H264是新一代的编码标准，以高压缩高质量和支持多种网络的流媒体传输著称，在编码方面，我理解的他的理论依据是：参照一段时间内图像的统计结果表明，在相邻几幅图像画面中， 一般有差别的像素只有10%以内的点,亮度差值变化不超过2%，而色度差值的变化只有1%以内。所以对于一段变化不大图像画面，我们可以先编码出一个完整 的图像]]></description><category></category></item><item><title><![CDATA[《VC网络通讯编程实例》目录]]></title><link>https://blog.csdn.net/brk1985/article/details/73252961</link><guid>https://blog.csdn.net/brk1985/article/details/73252961</guid><author>brk1985</author><pubDate>Wed, 14 Jun 2017 22:26:00 +0800</pubDate><description><![CDATA[（1）基本网络编程实例
Winsock实现网络聊天室【\chap1\ChatRoom(Winsock)】
CSocket实现聊天室【\chap1\ChatRoom(Csocket)】


（2）本地计算机网络编程实例
获取计算机的名称和IP地址【\chap2\Local】
获取计算机的子网掩码【\chap2\ Local】
获取计算机的DNS设置【\chap2\ Local】
获]]></description><category></category></item><item><title><![CDATA[VS错误总结（部分）]]></title><link>https://blog.csdn.net/brk1985/article/details/72801996</link><guid>https://blog.csdn.net/brk1985/article/details/72801996</guid><author>brk1985</author><pubDate>Mon, 29 May 2017 14:16:34 +0800</pubDate><description><![CDATA[1、问题1
 1&gt;fatal error C1900: “P1”(第“20080116”版)和“P2”(第“20070207”版)之间 Il 不匹配
1&gt;LINK : fatal error LNK1257: 代码生成失败 
解决：安装VS2008 SP1.]]></description><category></category></item><item><title><![CDATA[初探nginx架构(100%)]]></title><link>https://blog.csdn.net/brk1985/article/details/70240161</link><guid>https://blog.csdn.net/brk1985/article/details/70240161</guid><author>brk1985</author><pubDate>Wed, 19 Apr 2017 14:31:25 +0800</pubDate><description><![CDATA[众所周知，nginx性能高，而nginx的高性能与其架构是分不开的。那么nginx究竟是怎么样的呢？这一节我们先来初识一下nginx框架吧。
nginx在启动后，在unix系统中会以daemon的方式在后台运行，后台进程包含一个master进程和多个worker进程。我们也可以手动地关掉后台模式，让nginx在前台运行，并且通过配置让nginx取消master进程，从而可以使nginx以单进程方]]></description><category></category></item></channel></rss>