[go: up one dir, main page]

CN101729865B - Transcoder ofuniversal video monitoring platform - Google Patents

Transcoder ofuniversal video monitoring platform Download PDF

Info

Publication number
CN101729865B
CN101729865B CN200910110447.3A CN200910110447A CN101729865B CN 101729865 B CN101729865 B CN 101729865B CN 200910110447 A CN200910110447 A CN 200910110447A CN 101729865 B CN101729865 B CN 101729865B
Authority
CN
China
Prior art keywords
video
module
monitoring platform
video monitoring
transcoder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910110447.3A
Other languages
Chinese (zh)
Other versions
CN101729865A (en
Inventor
程刚
陈启伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Di Vision Ltd By Share Ltd
Original Assignee
SHENZHEN DVISION VIDEO TELECOMMUNICATION CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN DVISION VIDEO TELECOMMUNICATION CO Ltd filed Critical SHENZHEN DVISION VIDEO TELECOMMUNICATION CO Ltd
Priority to CN200910110447.3A priority Critical patent/CN101729865B/en
Publication of CN101729865A publication Critical patent/CN101729865A/en
Priority to HK10107421.2A priority patent/HK1141180B/en
Application granted granted Critical
Publication of CN101729865B publication Critical patent/CN101729865B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a transcoder of a universal video monitoring platform, comprising an interface unit and a system control module, a resource acquisition module, a resource selecting module, a video acquisition module and a DSP encoding module respectively connected with the interface unit by buses, wherein the resource acquisition module is used for reading monitoring resource node data in the client memory page of the existing video monitoring platform; the resource selecting module is used for switching the client of the existing video monitoring platform, connected with the transcoder of the universal video monitoring platform, under the control command of the system control module; the video acquisition module is used for intercepting video data in client show video cache of the existing video monitoring platform; and the DSP encoding module is used for carrying out H.264 encoding on RGB or YUV video data acquired by the video acquisition module and then synchronously outputting analog video signals and digital video code streams with H.264 formats.

Description

Transcoder of universal video monitoring platform
Technical Field
The invention relates to a transcoder of a universal video monitoring platform. The invention belongs to the technical field of image communication, and particularly relates to equipment capable of uniformly scheduling and transcoding images of various video monitoring networking platforms.
Background
According to statistics, the application of video monitoring in China before 2008 is mainly concentrated in government departments, and special departments and industries such as finance, public security, traffic, electric power and the like. Among them, government and financial industries have occupied market shares of 20.9% and 20.6%, respectively. However, with the progress of social informatization, the demand of video monitoring in more and more industries and fields is greatly increased, and up to now, video monitoring begins to extend from individual fields such as banks and transportation to multiple fields, and the traditional security monitoring develops to management monitoring and production operation monitoring.
The video surveillance demand market is expanding, and besides the traditional industry, the enterprise and personal markets are emerging, including the most economically active small and medium enterprises in china and personal users. The application prospect of video monitoring is increasingly presented. Meanwhile, the requirements of users are increasing, and the most prominent of the requirements is to realize real-time, region-free and barrier-free transmission of a large amount of video data, so that resource sharing is achieved, and convenient, quick and effective services are provided for managers and decision makers at all levels.
At present, most of video monitoring systems are often limited to a local network, that is, the whole system is networked with monitoring resources in a city, a county or a limited distance. With the development of social informatization, more and more government departments and industries applying video monitoring need whole province or national networking office, and further require a video monitoring system to realize cross-province and cross-district linkage, so that the deployed local platform is required to be networked on a larger scale on the basis of the prior art. Due to regional differences in the construction of local platforms, the type selection of the equipment and the type selection of the platform are different from place to place. In order to fully utilize the existing resources of each local platform in large-scale networking and protect the existing investment, the differences between local equipment and the platforms need to be processed in a compatible manner as much as possible.
Due to the difference between video monitoring equipment and platforms, it is necessary to be able to perform unified scheduling and viewing of the existing local platform for video networking
Disclosure of Invention
In view of this, the technical problem to be solved by the present invention is to provide a universal video transcoder supporting unified scheduling control of multiple video monitoring platforms, which can fundamentally solve the networking problem of heterogeneous video monitoring platforms, reduce the difficulty of large-scale video networking, and reduce the cost of repeated construction.
The purpose of the invention is realized by the following technical scheme:
a universal video surveillance platform transcoder comprising: the interface unit is used for being connected with the existing video monitoring platform through a network; and connected to the interface unit via buses, respectively
A system control module;
the resource acquisition module is used for reading monitoring resource node data from a client memory page of the existing video monitoring platform through the interface unit;
a resource selection module; the client side is used for switching the existing video monitoring platform connected with the transcoder of the universal video monitoring platform under the control instruction of the system control module;
the video acquisition module is used for intercepting video data in a client display video cache of an existing video monitoring platform; and,
and the DSP coding module is used for carrying out H.264 coding on the RGB or YUV video data acquired by the video acquisition module and then synchronously outputting an analog video signal and an H.264 format digital video code stream.
Preferably, the system control module adopts a plug-in simulation technology to control the action of the resource selection module.
In the above technical solution, the general video monitoring platform transcoder can be realized in a structure that a physical layer is divided into a hardware (physical) part and a software (logical) part, the hardware part includes a CPU, a DSP, a storage, and the like, and the software part includes resource acquisition, image acquisition, resource management, system control, and the like.
Wherein,
compared with the prior art, the invention has the advantages of fundamentally solving the networking problem of the heterogeneous video monitoring platform, reducing the difficulty of large-scale video networking and reducing the cost of repeated construction.
Drawings
FIG. 1 is a block diagram of an embodiment of a universal video surveillance platform transcoder of the present invention;
FIG. 2 is a transcoding logic diagram of a generalized transcoder of an embodiment of the generalized video surveillance platform transcoder of the present invention;
FIG. 3 is a physical block diagram of one embodiment of a universal video surveillance platform transcoder of the present invention;
FIG. 4 is a diagram illustrating cross-process memory access in one embodiment of a universal video surveillance platform transcoder of the present invention;
FIG. 5 is a cross-process resource reading flow diagram of an embodiment of a universal video surveillance platform transcoder of the present invention;
FIG. 6 is a cross-process resource node location flow diagram of an embodiment of a universal video surveillance platform transcoder of the present invention;
fig. 7 is a flowchart of h.264 encoding by an embodiment of the universal video surveillance platform transcoder of the present invention.
Detailed Description
The invention is further described with reference to the drawings and the preferred embodiments.
As shown in fig. 1 and 2, a general video surveillance platform transcoder includes: the interface unit is used for being connected with the existing video monitoring platform through a network; and a system control module respectively connected with the interface unit through a bus; the resource acquisition module is used for reading monitoring resource node data from a client memory page of the existing video monitoring platform through the interface unit; a resource selection module; the client side is used for switching the existing video monitoring platform connected with the transcoder of the universal video monitoring platform under the control instruction of the system control module; the video acquisition module is used for intercepting video data in a client display video cache of an existing video monitoring platform; and the DSP coding module is used for carrying out H.264 coding on the RGB or YUV video data acquired by the video acquisition module and then synchronously outputting an analog video signal and an H.264 format digital video code stream.
The acquisition of resource nodes, namely clients including existing video monitoring platforms, requires a process code injection technique because of the cross-process resource access problem. Here we use direct code injection, which is the most complex but also the most efficient method. Under the Windows9x system, the fields from 80000000h to bfffffffffh are a process shared space with 1 gbyte visible to all processes, a process shared DLL space and a memory mapped file space, which can be used as process communication transfer data. Therefore, a space visible for all processes can be allocated in the region by calling VirtualAlloc (), or a memory file mapping shared space visible for all processes can be established in the region by calling CreateFileMapping () and MapViewOfFileEx (), and then target data is written by using WriteProcessMemory (), so that the purpose of reading cross-process resources is realized. For a system behind Windows2000, 80000000 h-FFFFFFh is 2G system kernel space, and is inaccessible in the Ring3 user mode, and the region must enter Ring0 core mode to be accessed, so that a piece of private space of the process needs to be allocated in the host process by calling VirtualAllocEx (), a target data pointer is written into the address space by calling WriteProcessMemory (), host process node data is written into the address by using a Windows message mechanism, and host process node data is read from the target data pointer by using ReadProcessMemory (). As shown in fig. 4 for cross-process memory access. The implementation of the invention is that firstly, a memory is applied in a target process, the characters of the resource nodes are copied to the memory, then the data of the memory is copied to the memory of the process, and the resource nodes are collected and provided to a management module, for example, a cross-process resource reading flow shown in fig. 5; positioning is realized by sending a positioning message to the target process and then reading the position coordinates of the resource in the target process window, as shown in fig. 6, which is a cross-process resource node positioning process.
As shown in fig. 7, the acquisition of image data intercepts DirectShow drawing surface data through a hook technology, controls a DSP coding chip through a system control module to perform h.264 coding on YUV data, and provides network transmission.
The DSP coding chip adopts a digital media processor Davinci TMS320DM6446 DSP coding chip of TI company. H.264 encoder architecture: the input image enters the encoder by taking a macro block as a unit, and intra-frame or inter-frame prediction encoding is selected according to the speed of image change. If intra-frame prediction coding is selected, whether the current block to be coded contains a lot of details is judged, and then whether the frame needs to be subdivided is determined. Then, the best prediction mode of the current block is selected by taking the blocks in the reconstructed frame muF' n as reference and combining the prediction modes of the blocks around the current block. And finally, obtaining the predicted value of the current block according to the corresponding block in the reconstructed frame mu F' n and the prediction mode selected by the current block. According to the method, the intra-frame prediction is carried out on each macro block in the image, and then the predicted value P of one frame of image is obtained. If interframe predictive coding is selected, the current input frame Fn and the previous frame (reference frame) Fn-1 are sent to a Motion Estimator (ME), and by block search, matching can obtain the offset of each macroblock in the current frame with respect to the corresponding macroblock in the reference frame, i.e., a motion vector in general. Then, the reference frame Fn-1 and the motion vector MV just obtained are sent to a Motion Compensator (MC), and an inter-frame prediction value P is obtained by calculation; subtracting the current frame Fn and the frame predicted value P to obtain a residual Dn, transforming, quantizing to generate a group of quantized transformation coefficients X, entropy coding, and forming a compressed code stream together with some side information (such as prediction mode quantization parameters, motion vectors and the like) required by decoding, wherein the compressed code stream is transmitted and stored through a Network Adaptive Layer (NAL). And H, encoder encoding flow: firstly, unit division is carried out on an input frame image: the macro blocks are used as basic units for division, then a plurality of macro blocks are combined into Slice, and Slice Group is formed by Slice, thus Slice and Slice Group to which each macro block belongs are determined. And then judging whether the input Frame image is an I-Frame or a P-Frame. After the above work is completed, each macroblock can be coded. After each macroblock is encoded, 1/4 pixel-precision interpolation processing, reference frame buffer insertion processing, and the like are required for the reconstructed image. Until this point, the work of encoding a frame is complete.
The specific application mode of the embodiment comprises the following steps:
1. video area drawing data interception and coding service for starting video monitoring platform
2. Starting video monitoring platform
3. Starting the resource reading and control service of the video monitoring platform, as shown in fig. 6 and 7
4. Wait for resource selection control action
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (2)

1. A universal video surveillance platform transcoder, comprising: the interface unit is used for being connected with the existing video monitoring platform through a network; and connected to the interface units via buses, respectively
A system control module;
the resource acquisition module is used for reading monitoring resource node data from a client memory page of the existing video monitoring platform through the interface unit;
a resource selection module; the client side is used for switching the existing video monitoring platform connected with the transcoder of the universal video monitoring platform under the control instruction of the system control module;
the video acquisition module is used for intercepting video data in a client display video cache of an existing video monitoring platform; and,
and the DSP coding module is used for carrying out H.264 coding on the RGB or YUV video data acquired by the video acquisition module and then synchronously outputting an analog video signal and an H.264 format digital video code stream.
2. The universal video surveillance platform transcoder of claim 1, wherein the system control module employs an analog plug-in technique to control the resource selection module action.
CN200910110447.3A 2009-10-30 2009-10-30 Transcoder ofuniversal video monitoring platform Expired - Fee Related CN101729865B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910110447.3A CN101729865B (en) 2009-10-30 2009-10-30 Transcoder ofuniversal video monitoring platform
HK10107421.2A HK1141180B (en) 2010-08-03 Transcoder for general video monitoring platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910110447.3A CN101729865B (en) 2009-10-30 2009-10-30 Transcoder ofuniversal video monitoring platform

Publications (2)

Publication Number Publication Date
CN101729865A CN101729865A (en) 2010-06-09
CN101729865B true CN101729865B (en) 2011-09-21

Family

ID=42449944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910110447.3A Expired - Fee Related CN101729865B (en) 2009-10-30 2009-10-30 Transcoder ofuniversal video monitoring platform

Country Status (1)

Country Link
CN (1) CN101729865B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905165B (en) * 2012-10-24 2015-04-29 安徽博微广成信息科技有限公司 Video networking service front-end computer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529479A (en) * 2003-10-17 2004-09-15 中国联合通信有限公司 Metropolitan Integrated Service Network System
US20090113303A1 (en) * 2007-10-31 2009-04-30 Microsoft Corporation Analyzing video game performance using non-intrusive capture and storage of run-time game data
CN101442667A (en) * 2007-11-20 2009-05-27 中国电信股份有限公司 Interworking system for operation class video monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529479A (en) * 2003-10-17 2004-09-15 中国联合通信有限公司 Metropolitan Integrated Service Network System
US20090113303A1 (en) * 2007-10-31 2009-04-30 Microsoft Corporation Analyzing video game performance using non-intrusive capture and storage of run-time game data
CN101442667A (en) * 2007-11-20 2009-05-27 中国电信股份有限公司 Interworking system for operation class video monitoring system

Also Published As

Publication number Publication date
CN101729865A (en) 2010-06-09
HK1141180A1 (en) 2010-10-29

Similar Documents

Publication Publication Date Title
CN107241598B (en) GPU (graphics processing Unit) decoding method for multi-channel h.264 video conference
CN111405287A (en) Prediction method and device of chrominance block
CN101710986A (en) H.264 parallel decoding method and system based on isostructural multicore processor
CN101263717A (en) Arbitrary resolution change downsizing decoder
WO2017005096A2 (en) Method and device for encoding multiple video streams
CN108495128A (en) Video transmission system based on super-resolution rebuilding technology and transmission method
CN101014129B (en) Video data compression method
CN110493596A (en) A kind of video coding framework neural network based
US10091531B2 (en) Image coding and decoding methods and apparatuses
KR20150107727A (en) Bandwidth saving architecture for scalable video coding spatial mode
CN115361582B (en) Video real-time super-resolution processing method, device, terminal and storage medium
CN101707716B (en) Video coder and coding method
CN102143361B (en) Video coding method and video coding device
CN102714717A (en) Low-cost video encoder
WO2020038378A1 (en) Method and device for predicting chroma block
CN101841722A (en) Detection device of filtering boundary strength and detection method thereof
CN101729865B (en) Transcoder ofuniversal video monitoring platform
CN102801980B (en) A kind of decoding device for scalable video and method
WO2024240135A1 (en) Video coding method and apparatus, electronic device, and storage medium
WO2023193701A1 (en) Image coding method and apparatus
Shi et al. Algorithm optimization and hardware implementation for Merge mode in HEVC
CN101262607B (en) Two-folded prediction video coding and decoding method and device
HK1141180B (en) Transcoder for general video monitoring platform
TW202337217A (en) Feature domain optical flow determining method and related device
CN109495745A (en) It is a kind of based on inverse quantization/inverse transformation lossless compression coding/decoding method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1141180

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1141180

Country of ref document: HK

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Nanshan District Xili Street Tea Light Road Shenzhen City, Guangdong province 518057 No. 1089 Shenzhen integrated circuit design and application of Industrial Park 306-1, room 307-2, 306-2

Patentee after: Shenzhen Di vision Limited by Share Ltd.

Address before: 518057, No. 2, No. 2, No. 402-406, No. fourth, No. fifth, No. 501-503, West West Road, North West Zone, Shenzhen hi tech Zone, Guangdong

Patentee before: SHENZHEN DVISION VIDEO Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 1202-1203, building 3, R & D building 3, Fangda Plaza, No. 28, Gaofa West Road, Taoyuan community, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Di vision Limited by Share Ltd.

Address before: Nanshan District Xili Street Tea Light Road Shenzhen City, Guangdong province 518057 No. 1089 Shenzhen integrated circuit design and application of Industrial Park 306-1, room 307-2, 306-2

Patentee before: Shenzhen Di vision Limited by Share Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110921

Termination date: 20211030

CF01 Termination of patent right due to non-payment of annual fee