摘要:
java写的后台,上传文件时出错。 运行时异常:Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.Fil 阅读全文
随笔档案-2020年07月
ffmpeg水印处理
2020-07-11 17:14 by su_hq, 836 阅读, 收藏, 编辑
摘要:
//avfilter_register_all():注册所有AVFilter。//avfilter_graph_alloc():为FilterGraph分配内存。//avfilter_graph_create_filter():创建并向FilterGraph中添加一个Filter。//avfilte 阅读全文
ffmpeg通过rtsp对摄像头摄像头抓图
2020-07-10 13:09 by su_hq, 1281 阅读, 收藏, 编辑
摘要:
ffmpeg调用顺序 1.av_register_all 2.avformat_network_init 3.avformat_open_input 4.avformat_find_stream_info 5.av_find_best_stream 6.avcodec_find_decoder 7. 阅读全文
ffmpeg命令行截图
2020-07-09 23:19 by su_hq, 1327 阅读, 收藏, 编辑
摘要:
因为要接收反馈结果,cmd命令可以这样写 rtsp://user:password@ip:port -ss 00:00:01 -vframes 1 -f image2 -vcodec png image.png && echo succeeded ||echo failed 当ffmpeg执行正确时 阅读全文
ffmpeg保存为jpg文件
2020-07-09 18:40 by su_hq, 1311 阅读, 收藏, 编辑
摘要:
int img_savePicture(AVFrame *pFrame, char *out_filename) {//编码保存图片 int width = pFrame->width; int height = pFrame->height; AVCodecContext *pCodeCtx = 阅读全文
ffmpeg打开视频文件
2020-07-09 18:38 by su_hq, 893 阅读, 收藏, 编辑
摘要:
下载地址: https://ffmpeg.zeranoe.com/builds/ .h文件 extern "C" { #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libavutil/avuti 阅读全文
ffmpeg将mp4视频转换成多张jpg图片
2020-07-09 18:33 by su_hq, 3854 阅读, 收藏, 编辑
摘要:
https://blog.csdn.net/danmeng8068/article/details/96430660 1.分离视频音频流 ffmpeg -i input_file -vcodec copy -an output_file_video //分离视频流 ffmpeg -i input_f 阅读全文
Microsoft SQL Server 双机热备份,实时同步
2020-07-08 12:28 by su_hq, 1196 阅读, 收藏, 编辑
摘要:
参考:https://www.cnblogs.com/itdaocaoren/archive/2019/03/05/10475497.html 1.两台服务器,主服务器,从服务器,两台服务器都安装SQL Server 2008R2并且安装相同表结构的数据库(需要实时同步的数据库) 2.主服务器数据库 阅读全文
idhttp访问出现onnection closed gracefully
2020-07-07 11:47 by su_hq, 427 阅读, 收藏, 编辑
摘要:
idhttp=new TIdHTTP(NULL);idhttp->AllowCookies =true;idhttp->HandleRedirects =true; //允许重定向idhttp->ConnectTimeout =20000;idhttp->ReadTimeout =20000;//h 阅读全文
sql 身份信息显示XXXX
2020-07-06 15:45 by su_hq, 210 阅读, 收藏, 编辑
摘要:
DECLARE @CreditCardNumber VARCHAR(20)SET @CreditCardNumber = '170202199408103544' SELECT STUFF(@CreditCardNumber, 7, 8,'XXXX') 阅读全文
sql 拼接json
2020-07-06 15:40 by su_hq, 993 阅读, 收藏, 编辑
摘要:
select '[' + STUFF(( select top 10 ',{"carnumber":"' + cast(carnumber as varchar) + '"' + ',"goodsno":"' + cast(goodsno as varchar)+ '"' + ',"goods":" 阅读全文
wireshark抓包
2020-07-02 08:29 by su_hq, 150 阅读, 收藏, 编辑
摘要:
可以通过ip.addr,tcp.dst, tcp.port 和tcp.len>0的方式过滤得到指定IP和端口通信的数据包。 阅读全文