Video compression method and device, video decompression method and device, terminal and medium

A video compression and decompression technology, applied in the field of video processing, can solve the problems of high computational complexity and low video compression rate

Active Publication Date: 2019-04-09
上海数迹智能科技有限公司
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a video compression method, decompression method, device, terminal, and medium to solve the problems of high computational complexity and low video compression rate involved in video compression and decompression in the prior art

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
  • Video compression method and device, video decompression method and device, terminal and medium
  • Video compression method and device, video decompression method and device, terminal and medium
  • Video compression method and device, video decompression method and device, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 It is a flow chart of the video compression method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of compressing video. The method can be executed by a video compression device, which can be implemented by software and / or hardware , and can be integrated on terminals, such as smart mobile terminals, computers, notebooks and ipads, etc.

[0043] Such as figure 1 As shown, the video compression method provided in this embodiment may include:

[0044] S110. Acquire the bit depth of the target frame image in the video, where the bit depth of the target frame image is greater than or equal to a first preset bit depth threshold.

[0045] The target frame image may be any frame image in the video to be compressed, specifically including a depth image and an original phase image. The bit depths of the multi-frame images included in the video to be compressed are less varied, and the bit depth distribution is continu...

Embodiment 2

[0065] figure 2 It is a flow chart of the video compression method provided by Embodiment 2 of the present invention. In this embodiment, the target frame image is subjected to unequal partition encoding as an example, and further optimization is performed on the basis of the foregoing embodiments. Such as figure 2 As shown, the method may include:

[0066] S210. Acquire the bit depth of the target frame image in the video, where the bit depth of the target frame image is greater than or equal to a first preset bit depth threshold.

[0067] S220. According to the bit depth, perform non-equal partition coding on the target frame image to obtain high bit data and low bit data.

[0068] For high-order data, S230 may be executed; for low-order data, S240 may be executed.

[0069] S230. If the number of bits of the high-order data is greater than the segmentation threshold, according to the first difference between the number of bits of the high-order data and the segmentatio...

Embodiment 3

[0080] image 3 It is a flow chart of the video compression method provided by Embodiment 3 of the present invention. In this embodiment, the bit depth of the target frame image in the video is 16 bits, and the target frame image is equally divided and encoded to obtain high 8-bit data and low 8-bit data, and the target frame image is unevenly divided to obtain high 9-bit data and low 7-bit data Data is used as an example to illustrate the video compression method, but it should not be understood as a specific limitation on the solution of the present invention.

[0081] Such as image 3 As shown, the video compression method provided in this embodiment may include:

[0082] S310. Read in the target frame image in the video.

[0083] S320. Perform segmentation encoding on the target frame image according to its bit depth.

[0084] If it is non-equal partition coding, execute S330, and if it is equal partition coding, execute S340.

[0085] S330. Obtain high 9-bit data and...

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

The embodiment of the invention discloses a video compression method and device, a decompression method and device, a terminal and a medium. The video compression method comprises the steps of obtaining the bit depth of a target frame image in a video, wherein the bit depth of the target frame image is greater than or equal to a first preset bit depth threshold; carrying out segmentation coding onthe target frame image according to the bit depth, to obtain high-bit data and low-bit data; and compressing the high-bit data and the low-bit data by adopting a compression mode corresponding to thehigh-bit data and the low-bit data respectively. According to the embodiment of the invention, the problems of relatively high calculation complexity and relatively low video compression rate relatedto video compression and decompression in the prior art are solved, the calculation complexity of video compression and decompression when the bit depth of an image frame is relatively large is reduced, the video compression rate is improved, and the video distortion rate is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of video processing, and in particular, to a video compression method, decompression method, device, terminal and medium. Background technique [0002] Compression refers to the use of encoding and decoding to reduce the storage space required for data. Network transmission of the compressed video data can reduce network transmission volume and save network bandwidth. [0003] When the bit depth of each frame image in the video is large, such as the depth image sequence (video) based on the depth camera, the existing compression method usually uses the 16-bit (bit) image encoding into 3*8bit conforming to YUV characteristics The image is then compressed using the JPEG (Joint Photographic Experts Group) algorithm or the H.264 algorithm (one of the video codec standards). [0004] However, for video frame images with a large bit depth, the existing video compression methods have hig...

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 Applications(China)
IPC IPC(8): H04N19/42
CPCH04N19/42
Inventor 邹耀贾佳璐刘佩林应忍冬邓宁葛昊
Owner 上海数迹智能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products