[go: up one dir, main page]

CN112468819A - Video image plug flow system and equipment - Google Patents

Video image plug flow system and equipment Download PDF

Info

Publication number
CN112468819A
CN112468819A CN202011353394.0A CN202011353394A CN112468819A CN 112468819 A CN112468819 A CN 112468819A CN 202011353394 A CN202011353394 A CN 202011353394A CN 112468819 A CN112468819 A CN 112468819A
Authority
CN
China
Prior art keywords
video
image
real
module
plug flow
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.)
Pending
Application number
CN202011353394.0A
Other languages
Chinese (zh)
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.)
Wuhan Gaode Micro Electromechanical And Sensing Industrial Technology Research Institute Co ltd
Wuhan Guide Infrared Co Ltd
Original Assignee
Wuhan Guide Infrared 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 Wuhan Guide Infrared Co Ltd filed Critical Wuhan Guide Infrared Co Ltd
Priority to CN202011353394.0A priority Critical patent/CN112468819A/en
Publication of CN112468819A publication Critical patent/CN112468819A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The embodiment of the invention provides a video image plug flow system and video image plug flow equipment. The system comprises: the video coding module is used for compressing the acquired real-time image; the video stream transmission module is used for transmitting the real-time image compressed by the video coding module; and the video decoding module is used for decoding the real-time image which is transmitted by the video streaming transmission module and compressed by the video coding module. According to the video image stream pushing system and the video image stream pushing equipment, the video coding module, the video stream transmission module and the video decoding module are integrated, so that multiple image transmission modes can be supported simultaneously, most video transmission application scenes are met, the integrity of information is effectively guaranteed, and the transmission quantity of data is remarkably reduced.

Description

Video image plug flow system and equipment
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to a video image plug flow system and video image plug flow equipment.
Background
At present, the photoelectric fire control software mainly adopts uncompressed video as analysis data. The loss of the uncompressed video information is less, the target detection and identification are more convenient, but the data volume is larger, and the long-time video recording is not facilitated. Therefore, it is an urgent technical problem in the art to develop a video image stream pushing system and device that can effectively overcome the above-mentioned drawbacks in the related art.
Disclosure of Invention
In view of the foregoing problems in the prior art, embodiments of the present invention provide a video image plug flow system and device.
In a first aspect, an embodiment of the present invention provides a video image plug flow system, including: the video coding module is used for compressing the acquired real-time image; the video stream transmission module is used for transmitting the real-time image compressed by the video coding module; and the video decoding module is used for decoding the real-time image which is transmitted by the video streaming transmission module and compressed by the video coding module.
On the basis of the content of the above system embodiment, the video image plug flow system provided in the embodiment of the present invention compresses the acquired real-time image, and includes: and compressing the acquired real-time image into a standard h264 code stream.
On the basis of the content of the above system embodiment, the video image plug flow system provided in the embodiment of the present invention compresses the acquired real-time image, and includes: compressing each image into zip code stream, adding packet header and control protocol.
On the basis of the content of the above system embodiment, the video image stream pushing system provided in the embodiment of the present invention, where the real-time image compressed by the video encoding module is transmitted, includes: and transmitting the standard h264 code stream by adopting an rtsp protocol.
On the basis of the content of the above system embodiment, the video image stream pushing system provided in the embodiment of the present invention, where the real-time image compressed by the video encoding module is transmitted, includes: and transmitting the zip-format code stream by adopting a 3-time packet loss retransmission mechanism in the udp mode.
On the basis of the content of the above system embodiment, the video image stream pushing system provided in the embodiment of the present invention, decoding the real-time image transmitted by the video stream transmission module and compressed by the video encoding module, includes: and decoding the standard h264 code stream by adopting an h264 decoder.
On the basis of the content of the above system embodiment, the video image stream pushing system provided in the embodiment of the present invention, decoding the real-time image transmitted by the video stream transmission module and compressed by the video encoding module, includes: and decoding the zip-format code stream by adopting a zip decompression mode.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the video image plug flow system provided by any of the various implementations of the first aspect.
In a third aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to implement the video image plug flow system provided in any one of the various implementations of the first aspect.
According to the video image stream pushing system and the video image stream pushing equipment, the video coding module, the video stream transmission module and the video decoding module are integrated, so that multiple image transmission modes can be supported simultaneously, most video transmission application scenes are met, the integrity of information is effectively guaranteed, and the transmission quantity of data is remarkably reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below to the drawings required for the description of the embodiments or the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a video image plug-flow system according to an embodiment of the present invention;
fig. 2 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a transmission process of an h264 code stream according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a transmission process of lossless compression image data according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In addition, technical features of various embodiments or individual embodiments provided by the present invention may be arbitrarily combined with each other to form a feasible technical solution, and such combination is not limited by the sequence of steps and/or the structural composition mode, but must be realized by a person skilled in the art, and when the technical solution combination is contradictory or cannot be realized, such a technical solution combination should not be considered to exist and is not within the protection scope of the present invention.
To obtain a video compression, transmission, decoding technique. While ensuring high image quality, reducing data storage and transmission capacity, and using advanced hardware functions as much as possible to accelerate video encoding/decoding speed, an embodiment of the present invention provides a video image stream pushing system, see fig. 1, which includes: the video coding module is used for compressing the acquired real-time image; the video stream transmission module is used for transmitting the real-time image compressed by the video coding module; and the video decoding module is used for decoding the real-time image which is transmitted by the video streaming transmission module and compressed by the video coding module.
Based on the content of the foregoing system embodiment, as an optional embodiment, the video image plug flow system provided in the embodiment of the present invention compresses the acquired real-time image, including: and compressing the acquired real-time image into a standard h264 code stream.
Based on the content of the foregoing system embodiment, as an optional embodiment, the video image plug flow system provided in the embodiment of the present invention compresses the acquired real-time image, including: compressing each image into zip code stream, adding packet header and control protocol.
Based on the content of the foregoing system embodiment, as an optional embodiment, the video image stream pushing system provided in the embodiment of the present invention, where the transmitting of the real-time image compressed by the video encoding module includes: and transmitting the standard h264 code stream by adopting an rtsp protocol.
Based on the content of the foregoing system embodiment, as an optional embodiment, the video image stream pushing system provided in the embodiment of the present invention, where the transmitting of the real-time image compressed by the video encoding module includes: and transmitting the zip-format code stream by adopting a 3-time packet loss retransmission mechanism in the udp mode.
Based on the content of the foregoing system embodiment, as an optional embodiment, the video image stream pushing system provided in the embodiment of the present invention, where decoding a real-time image transmitted by a video stream transmission module and compressed by a video encoding module includes: and decoding the standard h264 code stream by adopting an h264 decoder.
Based on the content of the foregoing system embodiment, as an optional embodiment, the video image stream pushing system provided in the embodiment of the present invention, where decoding a real-time image transmitted by a video stream transmission module and compressed by a video encoding module includes: and decoding the zip-format code stream by adopting a zip decompression mode.
Based on the content of the above system embodiment, as an optional embodiment, reference may be made to fig. 3 for a process related to h264 code stream transmission in the video image stream pushing system provided in the embodiment of the present invention. In fig. 3, the video encoding module is configured to compress the acquired real-time image (RGBA image data) into a standard h264 code stream. The h264 code stream is used for common video monitoring and video analysis scenes; the video stream transmission module is used for transmitting the h264 code stream (h264 compressed data) by adopting an rtsp protocol (rtsp code stream); and the video decoding module is used for decoding the h264 code stream by adopting an h264 decoder to obtain RGBA image data and realize image decoding.
Based on the content of the foregoing system embodiment, as an alternative embodiment, the transmission process of the lossless compressed image data in the video image plug flow system provided in the embodiment of the present invention may be referred to fig. 4. In fig. 4, the video encoding module is configured to compress the acquired real-time images (X16/Y16 image data) into a self-defined lossless compression format (mainly a zip encoding format), where the self-defined lossless compression format employs a zip compression (zip encoding) mode to compress each image to obtain zip compressed data, and add a packet header and a control protocol, and the video encoding module is mainly used for scenes with high requirements on image quality, such as scenes with infrared temperature measurement, where information loss cannot occur; the video stream transmission module adopts a udp data stream mode to carry out video transmission and uses a 3-time packet loss retransmission mechanism; the video decoding module decodes the image by means of zip decompression (zip decoding) to obtain X16/Y16 image data.
The operation flow of the video image plug flow system provided by the embodiment of the invention is as follows: acquiring a real-time image through an SDK provided by acquisition equipment; and selecting the h264 video code stream or the self-defined lossless compression code stream according to the actual application condition. When the h264 video code stream is selected, an h264 encoder is adopted to encode the acquired RGBA image data, then video transmission is carried out through an rtsp protocol, and after the h264 code stream is received by a receiving end, an h264 decoder is adopted to decompress the code stream into RGBA image data. The implementation scheme is implemented by adopting optimized and tailored ffmpeg + live555, and both ffmpeg and live555 are open source video processing items. When a user-defined lossless compression code stream is selected, a zip compression mode is adopted to compress single-frame image data, then the compressed data is transmitted in a udp data stream mode, a receiving end receives the block compressed data, then the compressed image is formed again, and lossless original image data is obtained in a zip decompression mode. And a user-defined control protocol is adopted in the Udp data stream transmission process, and the whole compressed image is discarded after 3 times of retransmission failures. In a local area network, a communication link is generally excellent, and a 3-time retransmission mechanism can acquire complete lossless compression image data at a large rate.
The video image stream pushing system provided by the embodiment of the invention can simultaneously support multiple image transmission modes by integrating the video coding module, the video stream transmission module and the video decoding module, meets most video transmission application scenes, effectively ensures the integrity of information and obviously reduces the transmission quantity of data.
The video image plug flow system provided by the embodiment of the invention simultaneously supports a standard h264+ rtsp image transmission mode, and conforms to most video transmission application scenes; the integrity of information can be effectively ensured by self-defining a lossless compression image transmission technology; compared with the traditional uncompressed data transmission, the data volume is greatly reduced.
The system of the embodiment of the invention is realized by depending on the electronic equipment, so that the related electronic equipment is necessarily introduced. To this end, an embodiment of the present invention provides an electronic apparatus, as shown in fig. 2, including: at least one processor (processor)201, a communication Interface (communication Interface)204, at least one memory (memory)202 and a communication bus 203, wherein the at least one processor 201, the communication Interface 204 and the at least one memory 202 are configured to communicate with each other via the communication bus 203. The at least one processor 201 may invoke logic instructions in the at least one memory 202 to implement the various systems provided in the system embodiments.
Furthermore, the logic instructions in the at least one memory 202 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be substantially implemented or contributed to by the prior art, or the technical solution may be implemented in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the system according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to implement the methods or systems of the various embodiments or some parts of the embodiments.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. Based on this recognition, each block in the flowchart or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In this patent, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A video image plug flow system, comprising: the video coding module is used for compressing the acquired real-time image; the video stream transmission module is used for transmitting the real-time image compressed by the video coding module; and the video decoding module is used for decoding the real-time image which is transmitted by the video streaming transmission module and compressed by the video coding module.
2. The video image plug flow system of claim 1, wherein said compressing the captured real-time image comprises: and compressing the acquired real-time image into a standard h264 code stream.
3. The video image plug flow system of claim 1, wherein said compressing the captured real-time image comprises: compressing each image into zip code stream, adding packet header and control protocol.
4. The video image plug flow system according to claim 2, wherein said transmitting the real-time image compressed by the video coding module comprises: and transmitting the standard h264 code stream by adopting an rtsp protocol.
5. The video image plug flow system according to claim 3, wherein said transmitting the real-time image compressed by the video coding module comprises: and transmitting the zip-format code stream by adopting a 3-time packet loss retransmission mechanism in the udp mode.
6. The video image plug flow system according to claim 4, wherein said decoding the real-time image transmitted by the video streaming module and compressed by the video encoding module comprises: and decoding the standard h264 code stream by adopting an h264 decoder.
7. The video image plug flow system according to claim 5, wherein said decoding the real-time image transmitted by the video streaming module and compressed by the video encoding module comprises: and decoding the zip-format code stream by adopting a zip decompression mode.
8. An electronic device, comprising:
at least one processor, at least one memory, a communication interface, and a bus; wherein,
the processor, the memory and the communication interface complete mutual communication through the bus;
the memory stores program instructions executable by the processor, which are invoked by the processor to implement the system of any one of claims 1 to 7.
9. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to implement the system of any one of claims 1 to 7.
CN202011353394.0A 2020-11-27 2020-11-27 Video image plug flow system and equipment Pending CN112468819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011353394.0A CN112468819A (en) 2020-11-27 2020-11-27 Video image plug flow system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011353394.0A CN112468819A (en) 2020-11-27 2020-11-27 Video image plug flow system and equipment

Publications (1)

Publication Number Publication Date
CN112468819A true CN112468819A (en) 2021-03-09

Family

ID=74809534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011353394.0A Pending CN112468819A (en) 2020-11-27 2020-11-27 Video image plug flow system and equipment

Country Status (1)

Country Link
CN (1) CN112468819A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090046207A1 (en) * 2006-12-18 2009-02-19 Emanuele Salvucci Multi-compatible low and high dynamic range and high bit-depth texture and video encoding system
CN105681826A (en) * 2016-01-08 2016-06-15 全时云商务服务股份有限公司 Video data transmission system and method and video data decoding method
CN108111859A (en) * 2017-12-29 2018-06-01 北京华航无线电测量研究所 H.264 video coding-decoding method and device based on JetsonTX1 platforms
CN109803144A (en) * 2018-12-25 2019-05-24 北京凯视达科技有限公司 Video coding-decoding method, device, system and electronic equipment
CN110798688A (en) * 2019-11-20 2020-02-14 珠海市长盛电线电缆有限公司 High-definition video compression coding system based on real-time transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090046207A1 (en) * 2006-12-18 2009-02-19 Emanuele Salvucci Multi-compatible low and high dynamic range and high bit-depth texture and video encoding system
CN105681826A (en) * 2016-01-08 2016-06-15 全时云商务服务股份有限公司 Video data transmission system and method and video data decoding method
CN108111859A (en) * 2017-12-29 2018-06-01 北京华航无线电测量研究所 H.264 video coding-decoding method and device based on JetsonTX1 platforms
CN109803144A (en) * 2018-12-25 2019-05-24 北京凯视达科技有限公司 Video coding-decoding method, device, system and electronic equipment
CN110798688A (en) * 2019-11-20 2020-02-14 珠海市长盛电线电缆有限公司 High-definition video compression coding system based on real-time transmission

Similar Documents

Publication Publication Date Title
US8874531B2 (en) Methods and systems for encoding/decoding files and transmissions thereof
CN100551065C (en) A kind of verifying video content system and method
EP2061255A1 (en) Information processing device and method
CN108307202B (en) Real-time video transcoding sending method and device and user terminal
KR20200081386A (en) Method and device for generating a second image from a first image
KR101336243B1 (en) Transport stream structure for transmitting and receiving video data in which additional information is inserted, method and apparatus thereof
WO2013165215A1 (en) Method for storing image data, method for parsing image data, and an apparatus for using the same
US20100085963A1 (en) Reconstruction of errored media streams in a communication system
CN110662084B (en) MP4 file stream live broadcasting method, mobile terminal and storage medium
CN108419041B (en) Video data processing method and device
WO2013137697A1 (en) Method for storing image information, method for parsing image information and apparatus using same
CN112565224B (en) Video processing method and device
CN110474867A (en) A kind of transmission method of multi-medium data, system and equipment
CN113645485A (en) Method and device for realizing conversion from any streaming media protocol to NDI (network data interface)
CN109040818B (en) Audio and video synchronization method, storage medium, electronic equipment and system during live broadcasting
CN111263164A (en) High frame frequency video parallel coding and recombination method
CN102196268A (en) Method, device and system for processing multimedia data
CN102075817A (en) Method and system for forwarding audio and video data
FR2888424A1 (en) DEVICE AND METHOD FOR ENCODING AND DECODING VIDEO DATA AND DATA TRAIN
CN112468819A (en) Video image plug flow system and equipment
US20240080487A1 (en) Method, apparatus for processing media data, computer device and storage medium
CN1863311B (en) Method of transmitting video data
CN101296166B (en) Index-based multimedia data measurement method
WO2014051745A1 (en) Entropy coding techniques and protocol to support parallel processing with low latency
CN111279694A (en) GDR code stream encoding method, terminal device and machine readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210630

Address after: No.6, Huanglongshan South Road, Donghu Development Zone, Wuhan City, Hubei Province

Applicant after: WUHAN GUIDE INFRARED Co.,Ltd.

Applicant after: Wuhan Gaode micro electromechanical and sensing Industrial Technology Research Institute Co.,Ltd.

Address before: No.6, Huanglongshan South Road, Donghu Development Zone, Wuhan City, Hubei Province

Applicant before: WUHAN GUIDE INFRARED Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309

RJ01 Rejection of invention patent application after publication