<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[QTCN开发网]]></title>
 <link><![CDATA[http://www.qtcn.org/bbs]]></link>
 <description><![CDATA[最新帖子]]></description>
 <copyright><![CDATA[Copyright(C) QTCN开发网]]></copyright>
 <generator><![CDATA[http://www.phpwind.com]]></generator>
 <lastBuildDate><![CDATA[Tue, 09 Jun 2026 03:22:33 +0000]]></lastBuildDate>
 <ttl><![CDATA[60]]></ttl>
 <pubDate><![CDATA[Fri, 05 Jun 2026 01:11:09 +0000]]></pubDate>
<item>
 <title><![CDATA[全网原创再次熬夜升级/支持云台预置位的onvif设备模拟器/虚拟监控摄像头/可设置主码流子码流]]></title>
 <description><![CDATA[<br />onvif监控设备模拟器用户不断增加，近期有定制需求，一个是能够主码流子码流切换，一个是能够识别云台操作预置位管理，这两个需求很常用也很合理，直接撸起袖子加油干。之前就是一个设备对应一个采集源，主码流子码流地址都是同一个，实际情况往往需要子码流更小的码率和分辨率，比如采集桌面推流模拟成一个监控通道，主码流按照1080P分辨率采集，子码流可以按照640分辨率采集，在公网环境非常有用，节约流量。所以需要在现有基础上，增加另外一路采集源对应子码流的推流，子码流地址就约定在主码流基础上加上后缀 _sub 即可。主码流地址是<a href="rtsp://127.0.0.1:8554/video" target="_blank" >rtsp://127.0.0.1:8554/video</a>，那么子码流就是<a href="rtsp://127.0.0.1:8554/video_sub" target="_blank" >rtsp://127.0.0.1:8554/video_sub</a>。其中主码流和子码流都可以开启编码和指定分辨率等参数。<br /><br />云台和预置位的识别，之前是没有实现的，之前按照简单做的，能够搜索和获取设备信息、码流地址等，所以打包的xml数据中并没有云台相关，用odm等工具打开对应视频流后，会发现云台功能禁用的，因为发送的相关配置profile信息中，并没有指明开启具备云台，通过抓包分析，需要对应GetNode指令进行应答，如果是预置位的话，需要对GetPresets指令应答，这样才表示云台和预置位都开启。至于云台的上下左右移动变倍聚焦光圈，预置位的添加删除修改查询等，都是通过xml数据进行交互，加上这些交互，然后放出两个信号ptzControl/ptzPreset即可，信号中的参数包括对应枚举值类型OnvifPtzType。打完收工相当完美，这次还顺带支持了聚焦和光圈功能。<br /><span id="att_24209" class="f12"><span id="td_att24209" onmouseover="postAttImgHover('menu_att24209','td_att24209');" style="display:inline-block;" class="J_attImg"><img src="http://www.qtcn.org/bbs/attachment/Mon_2606/44_110085_f0e289d966ea3e3.jpg?339" border="0" onclick="if(this.parentNode.tagName!='A'&&this.width>=700) window.open('http://www.qtcn.org/bbs/attachment/Mon_2606/44_110085_f0e289d966ea3e3.jpg?339');" style="max-width:700px;max-height:700px;" onload="if(is_ie6&&this.offsetWidth>700)this.width=700;" ></span><div id="menu_att24209" class="fl" style="display:none;"><div class="pw_menu" style="position:absolute;z-index:1;"><div style="border:1px solid ;background:;padding:5px 10px;"><p><span class="mr10">图片:video_simulate_onvif4.jpg</span></p></div></div></div></span><br />]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/read-htm-tid-94936.html]]></link>
 <author><![CDATA[XChinux@163.com (liudianwu)]]></author>
 <category><![CDATA[Qt 作品展]]></category>
 <pubDate><![CDATA[Fri, 05 Jun 2026 01:11:09 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[我的程序启动速度偏慢，该如何优化？]]></title>
 <description><![CDATA[win10(华为matebook X系列，8GB，固态盘)+Qt5.15.2；编写的一个图片转icon的小工具，没几行代码，用的是静态编译库，打包成EXE约15MB；<br />同样功能，我用GOVCL库封装，启动速度明显快许多，而Qt的点完之后，需要等约1-2秒，界面才出来，明显能感觉等待。<br /><br />是不是Qt的没有优化导致？]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/read-htm-tid-94937.html]]></link>
 <author><![CDATA[XChinux@163.com (mugua010)]]></author>
 <category><![CDATA[Qt基础编程]]></category>
 <pubDate><![CDATA[Sun, 07 Jun 2026 15:42:13 +0000]]></pubDate>
</item>
<item>
 <title><![CDATA[Cheap_Flash_FS(check_disk_fail_HOTPLUG)--Embedded FAT16/32 file systeme for free download]]></title>
 <description><![CDATA[<br />Cheap_Flash_FS(High_level_verson-check_disk_fail_HOTPLUG)--Embedded FAT16/32 file system source code for free download<br /><br />This code is compatible with FAT16/FAT32 totally 2 formats,compatible with long file name.<br />compatible with chinese long file name(compatible with GB2312/UNICODE codepage(which can be disable,save the ROM space)).<br />compatible with subdirectory,in support of file read,write,delete,create ect.. and other related functions.<br />finally,the code is totally write by the C code,can port to other platforms to achieve the file system module.<br /><br />this code is released free code, user can free test,research,apply.also allowed used on commercial applications.<br /><br />if you want to contact with the author,please follow the way below.<br />e-mail:292942278@qq.com or <a href="mailto:tony_yang123@sina.com.cn ">tony_yang123@sina.com.cn</a><br /><br /><span style="color:#ff0000 ">this version if the driver return FAIL,all fs_api will return disk_fail</span><br /><span style="color:#ff0000 ">this version&#39;s function as all same with previous version,except add disk fail function. </span><br /><span style="color:#ff0000 ">full support disk HOTPLUG.</span><br /><br /><span id="att_24210">(附件)</span><br /><div style="margin-top: 10px;"><span style="background: none repeat scroll 0 0 #F3F9FB;border: 1px solid #A6CBE7;padding: 3px 10px;">本帖包含的部分附件只能  <a style="color: #014C90;" href="http://www.qtcn.org/bbs/read-htm-tid-94938.html" target="_blank">访问</a> 社区查看</span></div>]]></description>
 <link><![CDATA[http://www.qtcn.org/bbs/read-htm-tid-94938.html]]></link>
 <author><![CDATA[XChinux@163.com (figureyang)]]></author>
 <category><![CDATA[Qt 作品展]]></category>
 <pubDate><![CDATA[Mon, 08 Jun 2026 00:55:05 +0000]]></pubDate>
</item>
</channel></rss>