自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (4)
  • 收藏
  • 关注

原创 JT/T 1078 部标流媒体服务器双向对讲实现详解(含代码示例)

JT/T 1078-2016《道路运输车辆卫星定位系统视频通信协议》规定了 1078 终端设备的音视频协议格式,其中包括实时音视频传输请求,如视频、监听、双向对讲等功能。等高性能网络库,优化并发处理能力,提高系统的稳定性与实时性。如需完整代码或技术支持,欢迎联系QQ交流!流媒体服务器的核心任务是。在实际应用中,可结合。,并提供相关代码示例。

2024-07-06 13:38:33 1214 2

原创 H.264/H.265 1078音视频服务器实现:SPS解析与视频流处理详解

实现H.264、H.265 视频的 1078 音视频服务器。

2024-03-15 16:00:07 472 1

原创 JT1078流媒体服务器的开发

简介JT/1078即<道路运输车辆卫星定位系统-视频通信协议>,于2016年发布,经过几年的沉淀,逐渐应用于道路两客一危、中高端定制化货运、出租车运输等行业。目前市面上开发的JT1078流媒体服务器,多数只能完成一种或者二种播放方式(比如rtsp、rtmp、flv等的一种)。本文将介绍的一种实现方式,可实现从终端获取到的视频流,经转码后,可进行rtmp、rtsp、hls、ts、http-flv、websocket-flv、webRTC等播放方式,可适配手机端播放、PC端及浏览器的视频播放。

2022-02-04 16:06:32 5745 3

原创 使用 libuv 实现高性能 C++ TCP 服务器(支持粘包拆包处理)【附完整代码】

本文介绍了如何使用 libuv 实现一个支持粘包拆包处理的 C++ TCP 服务器。首先讲解了 TCP 粘包/拆包问题的原理及其原因,随后通过“定长包头 + 不定长消息体”的协议方式解决消息边界问题。文章详细展示了基于 libuv 的服务端代码实现,包括连接处理、数据接收与缓冲区解析逻辑,并提供 Python 客户端进行测试验证。适合有一定 C++ 基础的开发者参考,适用于高并发、跨平台网络编程场景。

2025-04-09 09:38:13 59

原创 支持WebSocket播放的JTT1078流媒体服务器:突破浏览器6路视频限制,轻松实现多路并发播放

在Web客户端使用HTTP-FLV进行流媒体播放时,由于浏览器的限制,最多只能同时播放6路视频。然而,在部分实际应用场景中,可能需要在Web端播放超过6路的视频流。为了解决这个问题,可以采用WebSocket技术,流媒体服务器通过或的方式进行数据推送,从而实现更高并发的视频播放。Web客户端只需调用对应的流地址,即可支持超过6路的音视频播放。

2022-12-07 14:33:47 1960

原创 记一次修改开源1078音视频服务器兼容粤标音视频的变更

粤标和JTT1078-2016主要是SIM卡的卡号长度区别,2016版本的卡号为BCD[6],而粤标的为BCD[10],某开源音视频服务器,稳定性先不说,功能上不支持粤标的实时音视频流,所以导致部分粤标设备无法接入。

2022-11-13 19:37:48 1106 2

原创 JTT1078标准视频流粘包处理与消息解析全攻略

JTT1078标准视频流处理中,粘包问题不可避免,需通过数据流解析、分隔符识别和缓存优化进行处理。随后,解析消息头字段,如SIM卡号、逻辑通道号和数据类型,以确保数据完整性。根据数据类型区分音视频帧,统一转换格式并传输至视频服务系统,最终支持RTSP、RTMP、HTTP-FLV等格式播放,提高视频流处理的稳定性和兼容性。

2022-03-23 19:25:20 1037 1

原创 北京54或国家80或CGCS2000转WGS84坐标系的程序实现方法

介绍在工程测量中,经常使用的坐标系如北京54坐标系、国家80(也叫西安80)坐标系、CGCS2000坐标系。而在终端设备或定位平台中,一般使用WGS84坐标系。这样的情况下,就需要一种北京54、国家80、CGCS2000转WGS84坐标系的通用程序方法。而我们使用的就是布尔莎七参数法来进行的程序转换。通过使用C++程序,从而得到平台需要的wgs84坐标。布尔莎七参数标准的七参数转换方法,使用X、Y、Z平移,X、Y、Z旋转,K尺度,这七个参数,在已知三个以上点的情况下,来计算七参数模型。具体七参数计

2021-07-03 15:14:25 4994 2

websocket-fmp4、websocket-flv 视频播放器 web端 wsplayer

websocket-fmp4、websocket-flv 视频播放器 web端 wsplayer

2022-12-07

CoordGM.rar

坐标转换问题的详细了解对于测量很重要,那么请和我一起来讨论这个问题。 首先,我们要弄清楚几种坐标表示方法。大致有三种坐标表示方法:经纬度和高程,空间直角坐标,平面坐标和高程。 我们通常说的WGS-84坐标是经纬度和高程这一种,北京54坐标是平面坐标和高程着一种。 现在,再搞清楚转换的严密性问题,在同一个椭球里的转换都是严密的,而在不同的椭球之间的转换是不严密的。举个例子,在WGS-84坐标和北京54坐标之间是不存在一套转换参数可以全国通用的,在每个地方会不一样,因为它们是两个不同的椭球基准。 那么,两个椭球间的坐标转换应该是怎样的呢?一般而言比较严密的是用七参数法(包括布尔莎模型,一步法模型,海尔曼特等),即X平移,Y平移,Z平移,X旋转,Y旋转,Z旋转,尺度变化K。要求得七参数就需要在一个地区需要3个以上的已知点,如果区域范围不大,最远点间的距离不大于30Km(经验值),这可以用三参数(莫洛登斯基模型),即X平移,Y平移,Z平移,而将X旋转,Y旋转,Z旋转,尺度变化K视为0,所以三参数只是七参数的一种特例。在本软件中提供了计算三参数、七参数的功能。 在一个椭球的不同坐标系中转换可能会用到平面转换,现阶段一般分为四参数和平面网格拟合两种方法,以四参数法在国内用的较多,举个例子,在深圳既有北京54坐标又有深圳坐标,在这两种坐标之间转换就用到四参数,计算四参数需要两个已知点。更精确的可以提供网格拟合数据,本软件提供计算和应用四参数的功能,也提供了网格拟合的功能

2021-07-03

libuv-1.37.0.zip

libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by [Node.js][], but it's also used by [Luvit](http://luvit.io/), [Julia](http://julialang.org/), [pyuv](https://github.com/saghul/pyuv), and [others](https://github.com/libuv/libuv/wiki/Projects-that-use-libuv). ## Feature highlights * Full-featured event loop backed by epoll, kqueue, IOCP, event ports. * Asynchronous TCP and UDP sockets * Asynchronous DNS resolution * Asynchronous file and file system operations * File system events * ANSI escape code controlled TTY * IPC with socket sharing, using Unix domain sockets or named pipes (Windows) * Child processes * Thread pool * Signal handling * High resolution clock * Threading and synchronization primitives

2020-05-04

freetds-1.1.33.tar.gz

FreeTDS is a free implementation of Sybase's DB-Library, CT-Library, and ODBC libraries. FreeTDS builds and runs on every flavor of unix-like systems we've heard of (and some we haven't) as well as Win32 (with or without Cygwin), VMS, and Mac OS X. Failure to build on your system is probably considered a bug. It has C language bindings, and works also with Perl and PHP, among others.

2020-05-04

Tesseract-OCR.rar

Note that this is a text-only and possibly out-of-date version of the wiki ReadMe, which is located at: http://code.google.com/p/tesseract-ocr/wiki/ReadMe Introduction ============ This package contains the Tesseract Open Source OCR Engine. Originally developed at Hewlett Packard Laboratories Bristol and at Hewlett Packard Co, Greeley Colorado, all the code in this distribution is now licensed under the Apache License: ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** http://www.apache.org/licenses/LICENSE-2.0 ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License. Dependencies and Licenses ========================= Leptonica is required. (www.leptonica.com). Tesseract no longer compiles without Leptonica. Libtiff is no longer required as a direct dependency. Installing and Running Tesseract -------------------------------- All Users Do NOT Ignore! The tarballs are split into pieces. tesseract-x.xx.tar.gz contains all the source code. tesseract-x.xx.<lang>.tar.gz contains the language data files for <lang>. You need at least one of these or Tesseract will not work. Note that tesseract-x.xx.tar.gz unpacks to the tesseract-ocr directory. tesseract-x.xx.<lang>.tar.gz unpacks to the tessdata directory which belongs inside your tesseract-ocr directory. It is therefore best to download them into your tesseract-x.xx directory, so you can use unpack here or equivalent. You can unpack as many of the language packs as you care to, as they all contain different files. Note that if you are using make install you should unpack your language data to your source tree before you run make install. If you unpack them as root to the destination directory of make install, then the user ids and access permissions might be messed up. boxtiff-2.xx.<lang>.tar.gz contains data that was used in training for those that want to do their own training. Most users should NOT download these files. Instructions for using the training tools are documented separately at Tesseract wiki http://code.google.com/p/tesseract-ocr/w/list Windows ------- Please use installer (for 3.00 and above). Tesseract is library with command line interface. If you need GUI, please check AddOns wiki page http://code.google.com/p/tesseract-ocr/wiki/AddOns#GUI If you are building from the sources, the recommended build platform is VC++ Express 2008 (optionally 2010). The executables are built with static linking, so they stand more chance of working out of the box on more windows systems. The executable must reside in the same directory as the tessdata directory or you need to set up environment variable TESSDATA_PREFIX. Installer will set it up for you. The command line is: tesseract imagename outputbase [-l lang] [-psm pagesegmode] [configfiles...] If you need interface to other applications, please check wrapper section on AddOns wiki page: http://code.google.com/p/tesseract-ocr/wiki/AddOns#Tesseract_3.0x Non-Windows (or Cygwin) ----------------------- You have to tell Tesseract through a standard unix mechanism where to find its data directory. You must either: ./autogen.sh ./configure make make install sudo ldconfig to move the data files to the standard place, or: export TESSDATA_PREFIX="directory in which your tessdata resides/" In either case the command line is: tesseract imagename outputbase [-l lang] [-psm pagesegmode] [configfiles...] New there is a tesseract.spec for making rpms. (Thanks to Andrew Ziem for the help.) It might work with your OS if you know how to do that. If you are linking to the libraries, as Ocropus does, please link to libtesseract_api. History ======= The engine was developed at Hewlett Packard Laboratories Bristol and at Hewlett Packard Co, Greeley Colorado between 1985 and 1994, with some more changes made in 1996 to port to Windows, and some C++izing in 1998. A lot of the code was written in C, and then some more was written in C++. Since then all the code has been converted to at least compile with a C++ compiler. Currently it builds under Linux with gcc4.4.3 and under Windows with VC++2008. The C++ code makes heavy use of a list system using macros. This predates stl, was portable before stl, and is more efficient than stl lists, but has the big negative that if you do get a segmentation violation, it is hard to debug. The most recent change is that Tesseract can now recognize 39 languages, including Arabic, Hindi, Vietnamese, plus 3 Fraktur variants is fully UTF8 capable, and is fully trainable. See TrainingTesseract for more information on training. Tesseract was included in UNLV's Fo

2020-05-04

空空如也

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

TA关注的人

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