CN117478914A - Method and system for transmitting GB35114 video stream - Google Patents
Method and system for transmitting GB35114 video stream Download PDFInfo
- Publication number
- CN117478914A CN117478914A CN202311431376.3A CN202311431376A CN117478914A CN 117478914 A CN117478914 A CN 117478914A CN 202311431376 A CN202311431376 A CN 202311431376A CN 117478914 A CN117478914 A CN 117478914A
- Authority
- CN
- China
- Prior art keywords
- video
- transmission
- frame
- transmitting
- decoding
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000005540 biological transmission Effects 0.000 claims abstract description 72
- 238000012545 processing Methods 0.000 claims abstract description 18
- 238000012937 correction Methods 0.000 claims abstract description 14
- 230000009471 action Effects 0.000 claims abstract description 7
- 238000011084 recovery Methods 0.000 claims abstract description 6
- 238000005516 engineering process Methods 0.000 claims description 4
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000003786 synthesis reaction Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 4
- 238000004891 communication Methods 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/89—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention relates to the technical field of video safety communication protection, in particular to a method and a system for transmitting GB35114 video streams, which comprises the steps of pre-coding GB35114 video frame data to generate pre-coded video frames; transmitting the pre-encoded video frame to a channel so as to realize the transmission of the encoded video code stream under the action of a transmission medium; acquiring a transmission signal and decoding to recover an original GB35114 video frame; whether error codes exist in the channel transmission process or not is checked, if so, error code correction processing is performed, and the GB35114 video stream is safely and stably transmitted in the environment of poor network quality, and high-efficiency, safe and reliable video transmission capability can be provided through precoding processing, video code stream transmission, signal decoding recovery and error code correction. Meanwhile, the invention also reduces the development cost and deployment difficulty of video safety and stability transmission, improves the transmission efficiency, and increases the safety, flexibility and convenience of the whole security video private network application.
Description
Technical Field
The invention relates to the technical field of video safety communication protection, in particular to a method and a system for transmitting GB35114 video streams.
Background
With the rapid development of mobile internet and video applications, there is an increasing demand for high quality video. The GB35114 video standard is taken as the first technical standard aiming at video monitoring networking information security in China, is a high-definition video format, and has higher requirements on network quality and stability in the transmission process. However, transmitting GB35114 video streams can be challenging in some cases where the network quality is poor due to network environment instabilities, such as signal loss, transmission delay, noise, etc. Therefore, there is a need to propose a method and system for transmitting GB35114 video stream.
Disclosure of Invention
Object of the invention
In order to solve the technical problems in the background art, the invention provides a method and a system for transmitting GB35114 video streams.
(II) technical scheme
To solve the above problem, a first aspect of the present invention provides a method for transmitting GB35114 video streams, including:
pre-encoding the GB35114 video frame data to generate pre-encoded video frames;
transmitting the pre-encoded video frame to a channel so as to realize the transmission of the encoded video code stream under the action of a transmission medium;
acquiring a transmission signal and decoding to recover an original GB35114 video frame;
and checking whether error codes exist in the channel transmission process, and if so, performing error code correction processing.
As an aspect of the present invention, the precoding processing includes:
extracting difference information between GB35114 video frames by utilizing an inter-frame difference technology, taking two continuous frames as a reference frame and a current frame, wherein the difference information is pixel difference between the reference frame and the current frame;
generating a difference frame according to the difference information;
compressing the difference frame by using an entropy coding algorithm;
and fusing the difference frame with a reference frame according to a pixel value weighted average algorithm to generate a pre-coded video frame.
As an aspect of the present invention, the acquiring and decoding a transmission signal to recover an original GB35114 video frame includes:
the receiving end receives the transmission signal, and decodes the transmission signal by utilizing a decoder preset decoding algorithm;
analyzing the decoded data into difference information A and a reference frame A;
the difference information a and the reference frame a are synthesized using a synthesis algorithm to recover the original GB35114 video frame.
As a technical solution of the present invention, the checking whether an error code exists in a channel transmission process includes:
detecting data received by a receiving end by using a verification algorithm;
acquiring possible error codes, and finding out the positions and types of the error codes;
and correcting the detected error code.
As a technical scheme of the invention, the transmission parameters are configured according to the service requirement, including a precoding processing algorithm, a transmission mode and a decoding algorithm.
A second aspect of the present invention proposes a system for transmitting GB35114 video streams, comprising:
the pre-coding processing unit is used for pre-coding the GB35114 video frame data to generate a pre-coded video frame;
a transmission unit, configured to send the pre-encoded video frame to a channel, so that transmission of the encoded video code stream is achieved under the action of a transmission medium;
the decoding recovery unit is used for acquiring the transmission signal and decoding the transmission signal to recover the original GB35114 video frame;
and the correction unit is used for checking whether error codes exist in the channel transmission process, and if so, performing error code correction processing.
The invention adopts a technical scheme that the system comprises a sending end and a receiving end, wherein the sending end and the receiving end are used for setting and configuring parameters according to service requirements so as to realize customized transmission capacity.
The technical scheme of the invention has the following beneficial technical effects:
the GB35114 video stream is safely and stably transmitted under the environment of poor network quality, and high-efficiency, safe and reliable video transmission capability can be provided through precoding processing, video code stream transmission, signal decoding recovery and error code correction. Meanwhile, the invention also reduces the development cost and deployment difficulty of video safety and stability transmission, improves the transmission efficiency, and increases the safety, flexibility and convenience of the whole security video private network application.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
fig. 2 is a flowchart of a precoding process in the method of the present invention.
Detailed Description
The objects, technical solutions and advantages of the present invention will become more apparent by the following detailed description of the present invention with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
Referring to fig. 1-2, a first aspect of the present invention provides a method of transmitting a GB35114 video stream, comprising:
step S100, pre-coding the GB35114 video frame data to generate a pre-coded video frame;
wherein the precoding process comprises:
step S111, extracting difference information between GB35114 video frames by utilizing an inter-frame difference technology, wherein two continuous frames are used as a reference frame and a current frame, and the difference information is pixel difference between the reference frame and the current frame; step S222, generating a difference frame according to the difference information; step S333, compressing the difference frame by using an entropy coding algorithm; step S444, fusing the difference frame with a reference frame according to a pixel value weighted average algorithm, and generating a pre-encoded video frame.
Extracting difference information using an inter-frame difference technique: two consecutive frames are selected as a reference frame and a current frame, pixel differences between them are calculated, and a difference frame is generated from the difference information and used for subsequent processing.
Compressing the difference frame: the entropy coding algorithm is applied to compress the difference frames, and the transmission data volume is reduced by using methods such as Huffman coding or Lempel-Ziv-Welch (LZW) coding;
merging the difference information and the reference frame: merging the difference frame with the reference frame to generate a pre-coded video frame, and fusing the difference frame with the reference frame by using algorithms such as pixel value weighted average and the like;
outputting the precoded video frames:
step 200, transmitting the pre-encoded video frame to a channel, so as to realize the transmission of the encoded video code stream under the action of a transmission medium (network); and outputting the generated pre-coded video frames to a channel transmission module to prepare for transmission. Step S300, obtaining a transmission signal and decoding to recover an original GB35114 video frame; step S400, checking whether error codes exist in the channel transmission process, and if so, performing error code correction processing.
In one embodiment of the invention, the acquiring and decoding of the transmission signal to recover the original GB35114 video frames comprises: and the receiving end receives the transmission signal, decodes the transmission signal by utilizing a decoder preset decoding algorithm, analyzes the data obtained by decoding into difference information A and a reference frame A, and synthesizes the difference information A and the reference frame A by using a synthesis algorithm so as to recover the original GB35114 video frame.
In one embodiment of the invention, the checking whether there is an error code in the channel transmission process includes: and detecting the data received by the receiving end by using a verification algorithm, obtaining possible error codes, finding out the positions and types of the error codes, and correcting the detected error codes.
And correcting errors according to error correction codes, retransmission and other technologies, and ensuring the integrity and accuracy of data.
In one embodiment of the invention, the transmission parameters are configured according to the service requirement, including a precoding processing algorithm, a transmission mode and a decoding algorithm.
A second aspect of the present invention proposes a system for transmitting GB35114 video streams, comprising: the pre-coding processing unit is used for pre-coding the GB35114 video frame data to generate a pre-coded video frame; a transmission unit, configured to send the pre-encoded video frame to a channel, so that transmission of the encoded video code stream is achieved under the action of a transmission medium; the decoding recovery unit is used for acquiring the transmission signal and decoding the transmission signal to recover the original GB35114 video frame; and the correction unit is used for checking whether error codes exist in the channel transmission process, and if so, performing error code correction processing.
The invention also comprises a sending end and a receiving end, wherein the sending end and the receiving end are used for setting and configuring parameters according to service requirements so as to realize customized transmission capacity.
In order to better understand the invention, through the implementation steps, the method for safely and stably transmitting the GB35114 video stream in the environment with poor network quality is realized. Implementation of the steps of pre-coding processing, video code stream transmission, signal decoding recovery, error code correction and the like can provide efficient, safe and reliable video transmission capability. Meanwhile, the method reduces the development cost and deployment difficulty of video safety and stability transmission, improves the transmission efficiency, and increases the safety, flexibility and convenience of the whole security video private network application. The steps of the examples are clearly described to aid in understanding the practice of the invention.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the above-described embodiments, and that the above-described embodiments and descriptions are only preferred embodiments of the present invention, and are not intended to limit the invention, and that various changes and modifications may be made therein without departing from the spirit and scope of the invention as claimed.
Claims (7)
1. A method of transmitting a GB35114 video stream, comprising:
pre-encoding the GB35114 video frame data to generate pre-encoded video frames;
transmitting the pre-encoded video frame to a channel so as to realize the transmission of the encoded video code stream under the action of a transmission medium;
acquiring a transmission signal and decoding to recover an original GB35114 video frame;
and checking whether error codes exist in the channel transmission process, and if so, performing error code correction processing.
2. A method of transmitting a GB35114 video stream according to claim 1, wherein the pre-encoding process comprises:
extracting difference information between GB35114 video frames by utilizing an inter-frame difference technology, taking two continuous frames as a reference frame and a current frame, wherein the difference information is pixel difference between the reference frame and the current frame;
generating a difference frame according to the difference information;
compressing the difference frame by using an entropy coding algorithm;
and fusing the difference frame with a reference frame according to a pixel value weighted average algorithm to generate a pre-coded video frame.
3. A method of transmitting a GB35114 video stream according to claim 1, wherein said obtaining a transmission signal and decoding to recover the original GB35114 video frames comprises:
the receiving end receives the transmission signal, and decodes the transmission signal by utilizing a decoder preset decoding algorithm;
analyzing the decoded data into difference information A and a reference frame A;
the difference information a and the reference frame a are synthesized using a synthesis algorithm to recover the original GB35114 video frame.
4. A method of transmitting a GB35114 video stream according to claim 1, wherein said checking whether an error code exists during channel transmission comprises:
detecting data received by a receiving end by using a verification algorithm;
acquiring possible error codes, and finding out the positions and types of the error codes;
and correcting the detected error code.
5. A method of transmitting a GB35114 video stream according to claim 1, wherein the transmission parameters are configured according to the traffic requirements, including a precoding processing algorithm, a transmission scheme and a decoding algorithm.
6. A system for transmitting GB35114 video streams, comprising:
the pre-coding processing unit is used for pre-coding the GB35114 video frame data to generate a pre-coded video frame;
a transmission unit, configured to send the pre-encoded video frame to a channel, so that transmission of the encoded video code stream is achieved under the action of a transmission medium;
the decoding recovery unit is used for acquiring the transmission signal and decoding the transmission signal to recover the original GB35114 video frame;
and the correction unit is used for checking whether error codes exist in the channel transmission process, and if so, performing error code correction processing.
7. A system for transmitting GB35114 video streams according to claim 6, comprising a sender and a receiver for setting and configuring parameters according to service requirements to achieve customized transmission capabilities.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311431376.3A CN117478914A (en) | 2023-10-30 | 2023-10-30 | Method and system for transmitting GB35114 video stream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311431376.3A CN117478914A (en) | 2023-10-30 | 2023-10-30 | Method and system for transmitting GB35114 video stream |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117478914A true CN117478914A (en) | 2024-01-30 |
Family
ID=89635946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311431376.3A Pending CN117478914A (en) | 2023-10-30 | 2023-10-30 | Method and system for transmitting GB35114 video stream |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117478914A (en) |
-
2023
- 2023-10-30 CN CN202311431376.3A patent/CN117478914A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1606953B1 (en) | Method, apparatus and system for encoding and decoding side information for multimedia transmission | |
CN108028725B (en) | Terminal device, control method thereof, and recording medium | |
JP6523249B2 (en) | Method and apparatus for compressing packet header | |
US6744738B1 (en) | Wireless communication system for video packet transmission | |
US20060188025A1 (en) | Error concealment | |
US20210314627A1 (en) | Method and apparatus for video encoding and/or decoding to prevent start code confusion | |
EP1900224B1 (en) | Video coding | |
WO2016112837A1 (en) | Data information transmission method, device, and system | |
KR100840877B1 (en) | Method and device for coding a signal, method and device for coding coded data stream, a method of channel encoding and a channel encoder, a method of channel decoding and a channel decoder, and a storage medium | |
US20060090118A1 (en) | Coding a data stream with unequal error protection | |
JP5006631B2 (en) | Video data encoding apparatus, video data decoding apparatus, video data encoding method, and video data decoding method | |
CN117478914A (en) | Method and system for transmitting GB35114 video stream | |
JP4316385B2 (en) | Robust signal coding | |
JP2011172153A (en) | Media encoding and transmitting apparatus | |
US20040258163A1 (en) | Video communication system and video coding method | |
KR100363550B1 (en) | Encoder and decoder in a wireless terminal for retransmitting a moving picture | |
JPH10200595A (en) | Variable length encoded data transmitter, transmitter side equipment, receiver side equipment and its method | |
KR101073813B1 (en) | Method of complementing bitstream errors, preprocessor for complementing bitstream errors, and decoding device comprising the same preprocessor | |
US7302632B2 (en) | Method and system for the protection of data with a header in a transmission system | |
CN102158698B (en) | Method for carrying out layered channel coding on H.264 video data | |
EP1509046A1 (en) | Error resistant encoded image and video transmission using variable length codes (VLC) | |
JP2000316033A (en) | Transmission device, reception device, data transmission system and data transmission method | |
CN102231832B (en) | Variable length code encoding and decoding method and system | |
Wang et al. | An Error Resilient Video Coding Algo-rithm Combining FEC and WZ Technol-ogy over Error-prone Channel | |
KR20140011514A (en) | Apparatus and method for transmitting/receiving data in communication system |
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 |