Supercharge Your Innovation With Domain-Expert AI Agents!

A video encoding method, decoding method and device

A video coding and video technology, which is applied in the field of video processing, can solve problems such as large gaps, inability to accurately represent the video to be transmitted, and low accuracy of the transmission matrix.

Inactive Publication Date: 2021-01-29
BEIJING UNIV OF POSTS & TELECOMM
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the prior art, during the video encoding process, the transmitting end of the soft broadcasting system calculates the data volume of the remaining video blocks according to the preset compression rate, and then deletes the video containing less information from all video blocks. block, and some video blocks with less information may include important information of the video to be transmitted, such as: edge pixel information, corner information, etc., so the target video block cannot accurately represent the video to be transmitted, and the video block obtained The accuracy of the transmission matrix is ​​not high, so the accuracy of the transmission matrix received by the receiving end is not high, and the receiving end decodes the transmission matrix, resulting in a large gap between the effect of the video to be transmitted and the video to be transmitted

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A video encoding method, decoding method and device
  • A video encoding method, decoding method and device
  • A video encoding method, decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] Such as figure 1 As shown, a video coding method provided by an embodiment of the present invention is applied to a transmitter, and the method includes:

[0076] S101. Perform three-dimensional discrete cosine transform on multiple groups of video frames of the video to be transmitted respectively, to obtain a three-dimensional matrix corresponding to each group of video frames.

[0077] Exemplarily, the transmitting end obtains t video frames after the video slice to be transmitted, divides the t video frames into a group of GoP (Group of Pictures, group of pictures), and takes a group of pictures as a group of inputs, denoted as I, The number of pixels in each video frame is a×b, and the total number of blocks divided by a group of inputs is B=p×q, a represents the total number of row pixels in the video frame, b represents the total number of column pixels in the video frame, and p represents the video After the frame is divided into blocks, the total number of vid...

Embodiment 2

[0097] An optional implementation mode provided as an embodiment of the present invention, such as figure 2 As shown, the preset threshold can be obtained through the following steps:

[0098] S201. Obtain an encoded video data amount according to a preset compression rate and a data amount of the video to be transmitted.

[0099] For example, assuming that the preset compression rate is 40%, and the data volume of the video to be transmitted is 100M, the video to be transmitted needs to be compressed to 40M, that is, the video data volume after encoding is 40M, and the data of the transmission matrix The amount is 40M.

[0100] S202. Determine the number of elements to be deleted in the one-dimensional column matrix according to the amount of encoded video data.

[0101] Exemplarily, assuming that the data volume of the video to be transmitted is 100M, when the encoded video data volume is 40M, the number of elements in the one-dimensional column matrix is ​​60, and the si...

Embodiment 3

[0106] Such as image 3 As shown, as an optional implementation mode provided by the embodiment of the present invention, after the above step S103, a video coding method provided by the embodiment of the present invention further includes:

[0107] S301. In the zero-set one-dimensional column matrix, replace the i-th non-zero element from the original row of the element to a row with the same sequence number as the i-th target column.

[0108] Among them, the i-th target column is to group the columns in the preset Hadamard matrix to obtain multiple groups of columns, determine the column with the highest reliability from each group of columns, and perform descending order of multiple columns with the highest reliability owned.

[0109] Since the Hadamard matrix H N The matrix H composed of the first M rows in m , H m The repetition interval of the columns in is S, so put H m The columns are divided into S groups, the columns between each group are completely different, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a video encoding method, decoding method, and device. The video encoding method includes: performing three-dimensional discrete cosine transforms on multiple groups of video frames to be transmitted to obtain a three-dimensional matrix corresponding to each group of video frames; The elements of each column in the three-dimensional matrix corresponding to the group of video frames form a one-dimensional column matrix in the order of the video frames; the elements in the one-dimensional column matrix that are lower than the preset threshold are set to zero, and the zero-set one-dimensional column matrix is ​​obtained ; Multiplying the zero-set one-dimensional column matrix with a preset Hader code matrix and a power matrix in sequence to obtain a transmission matrix; sending the transmission matrix to a receiving end. Compared with the prior art, the embodiment of the present invention can obtain higher accuracy of the transmission matrix under the same compression ratio.

Description

technical field [0001] The present invention relates to the field of video processing, in particular to a video encoding method, decoding method and device. Background technique [0002] With the increase in the amount of network video, video transmission is also facing challenges. It is inevitable to compress video before video transmission to reduce the amount of video data, and video encoding can reduce the amount of video data to achieve the purpose of video compression. [0003] In the related art, the softcast video transmission system is often used to encode, transmit and decode the video. Before the system transmits the video to be transmitted, the transmitter will encode the video to be transmitted according to the preset compression rate. There is a linear relationship between the video to be transmitted and the pixel value of the video to be transmitted, so the "cliff effect" that occurs in traditional video transmission can be well avoided, that is, when the sign...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/625H04N19/42
CPCH04N19/42H04N19/625
Inventor 牛凯董超刘思源
Owner BEIJING UNIV OF POSTS & TELECOMM
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More