CN113596453A - Video compression and decompression method, device, equipment and storage medium - Google Patents

Video compression and decompression method, device, equipment and storage medium Download PDF

Info

Publication number
CN113596453A
CN113596453A CN202110854062.9A CN202110854062A CN113596453A CN 113596453 A CN113596453 A CN 113596453A CN 202110854062 A CN202110854062 A CN 202110854062A CN 113596453 A CN113596453 A CN 113596453A
Authority
CN
China
Prior art keywords
video
numbered
picture
odd
matte
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
CN202110854062.9A
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.)
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Culture Technology 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 China Mobile Communications Group Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110854062.9A priority Critical patent/CN113596453A/en
Publication of CN113596453A publication Critical patent/CN113596453A/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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention belongs to the technical field of computers, and discloses a video compression and decompression method, device, equipment and storage medium. The video compression method comprises the following steps: when a video compression instruction is detected, determining a corresponding video to be compressed according to the video compression instruction, and splitting the video to be compressed into a plurality of video frame pictures; setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers; performing complementary matting on video frame pictures in an odd picture set and an even picture set to obtain an odd matting set and an even matting set; and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video. Because the video frame pictures in the odd number picture set and the even number picture set obtained by splitting the video to be compressed are subjected to complementary matting, a large amount of information can be reduced, and therefore, the compression ratio of the video can be further improved.

Description

Video compression and decompression method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a video compression and decompression method, device, equipment and storage medium.
Background
Video generally contains a huge amount of information and is difficult to store and transmit, and therefore, the video needs to be compressed in order to be stored and transmitted. At present, the main video compression standards are h.264 and h.265 standards, and the information content of the video can be reduced to a certain extent by integrally compressing the video through h.264 and h.265 standards, so that the video can be conveniently stored and transmitted. However, the video is compressed integrally only in such a way, the compression ratio of the video is low, the compressed video is still large, and the improvement effect on the aspects of storage and transmission is not obvious enough.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a video compression and decompression method, a video compression and decompression device, video compression and decompression equipment and a storage medium, and aims to solve the technical problem that the compression ratio of a video in the prior art is low.
To achieve the above object, the present invention provides a video compression method, comprising the steps of:
when a video compression instruction is detected, determining a corresponding video to be compressed according to the video compression instruction, and splitting the video to be compressed into a plurality of video frame pictures;
setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers;
performing complementary matting on video frame pictures in the odd-numbered picture set and the even-numbered picture set to obtain an odd-numbered matting set and an even-numbered matting set, wherein the complementary matting is that a matting region corresponding to the odd-numbered picture set is complementary to a matting region corresponding to the even-numbered picture set;
and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video.
Optionally, the step of performing complementary matting on the video frame pictures in the odd-numbered picture set and the even-numbered picture set to obtain an odd-numbered matte set and an even-numbered matte set includes:
acquiring a standard video frame picture, and performing region division on the standard video frame picture according to a preset matting interval to obtain a plurality of picture subregions;
selecting odd-numbered matting regions from the picture sub-regions according to a preset region selection rule, and taking the remaining picture sub-regions as even-numbered matting regions;
and carrying out matting on the video frame pictures in the odd number picture set according to the odd number matting regions to obtain an odd number matting set, and carrying out matting on the video frame pictures in the even number picture set according to the even number matting regions to obtain an even number matting set.
Optionally, the step of obtaining a preset coding type, and coding the odd-numbered matte collection and the even-numbered matte collection based on the preset coding type to obtain a compressed video includes:
acquiring a preset coding type;
when the preset coding type is simultaneous coding, combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers corresponding to the video frame pictures in the odd-numbered matte set and the even-numbered matte set to obtain a video matte set;
and coding the video matting set according to a preset coding mode to obtain a compressed video.
Optionally, after the step of obtaining the preset encoding type, the method further includes:
when the preset coding type is odd-even double coding, carrying out shot splitting on the video to be compressed to obtain a plurality of picture shots;
determining odd lenses and even lenses corresponding to the image lenses according to the odd-numbered matte collection and the even-numbered matte collection;
packaging the odd lenses and the even lenses corresponding to the image lenses into the same lens file to obtain lens files corresponding to the image lenses;
and combining the lens files corresponding to the lenses of each picture to obtain a compressed video.
In addition, to achieve the above object, the present invention further provides a video decompression method, including the following steps:
when a video decompression instruction is detected, acquiring a compressed video to be decompressed corresponding to the video decompression instruction;
decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set;
acquiring picture numbers corresponding to all video frame pictures in the odd-numbered matte set and the even-numbered matte set;
and combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed.
Optionally, before the step of decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set, the method further includes:
acquiring a coding type corresponding to the compressed video to be decompressed;
if the coding type is odd-even double coding, acquiring a plurality of picture shots corresponding to the compressed video to be decompressed;
the step of combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed comprises the following steps:
acquiring a lens file corresponding to each picture lens;
decoding the shot files to obtain odd shots and even shots corresponding to all the picture shots;
and determining an odd-numbered matte set and an even-numbered matte set according to the odd-numbered shots and the even-numbered shots corresponding to the shots of each picture.
In addition, to achieve the above object, the present invention further provides a video compression apparatus, including the following modules:
the instruction receiving module is used for determining a corresponding video to be compressed according to a video compression instruction when the video compression instruction is detected, and splitting the video to be compressed into a plurality of video frame pictures;
the picture splitting module is used for setting picture numbers for the video frame pictures and dividing the video frame pictures into an odd picture set and an even picture set according to the picture numbers;
a complementary matting module, configured to perform complementary matting on video frame pictures in the odd-numbered picture set and the even-numbered picture set to obtain an odd-numbered matting set and an even-numbered matting set, where the complementary matting is that a matting region corresponding to the odd-numbered picture set is complementary to a matting region corresponding to the even-numbered picture set;
and the picture coding module is used for coding the odd-numbered matte collection and the even-numbered matte collection to obtain a compressed video.
In addition, to achieve the above object, the present invention further provides a video decompression device, which includes the following modules:
the instruction receiving module is used for acquiring a compressed video to be decompressed corresponding to a video decompression instruction when the video decompression instruction is detected;
the video decoding module is used for decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set;
a number obtaining module, configured to obtain a picture number corresponding to each video frame picture in the odd-numbered matte set and the even-numbered matte set;
and the picture combination module is used for combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed.
In addition, to achieve the above object, the present invention further provides a terminal device, including: a processor, a memory and a video compression program or a video decompression program stored on said memory and executable on said processor, said video compression program implementing the steps of the video compression method as described above when executed by the processor and said video decompression program implementing the steps of the video decompression method as described above when executed by the processor.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium, which stores thereon a video compression program or a video decompression program, the video compression program implementing the steps of the video compression method as described above when executed, and the video decompression program implementing the steps of the video decompression method as described above when executed.
When a video compression instruction is detected, determining a corresponding video to be compressed according to the video compression instruction, and splitting the video to be compressed into a plurality of video frame pictures; setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers; performing complementary matting on video frame pictures in an odd picture set and an even picture set to obtain an odd matting set and an even matting set; and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video. Because the video frame pictures in the odd number picture set and the even number picture set obtained by splitting the video to be compressed are subjected to complementary matting, a large amount of information can be reduced, and therefore, the compression ratio of the video can be further improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video compression method according to a first embodiment of the present invention;
FIG. 3 is a diagram illustrating image group splitting according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of odd-numbered matting area division according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of even-numbered matting area division according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a second embodiment of a video compression method according to the present invention;
FIG. 7 is a flowchart illustrating a first embodiment of a video decompression method according to the present invention;
FIG. 8 is a flowchart illustrating a second embodiment of a video decompression method according to the present invention;
FIG. 9 is a block diagram of a video compression apparatus according to a first embodiment of the present invention;
fig. 10 is a block diagram of a video decompression apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a video compression program or a video decompression program.
In the electronic apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the electronic device according to the present invention may be provided in a terminal device, and the electronic device calls the video compression program or the video decompression program stored in the memory 1005 through the processor 1001 and executes the video compression method or the video decompression method provided by the embodiment of the present invention.
An embodiment of the present invention provides a video compression method, and referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a video compression method according to the present invention.
In this embodiment, the video compression method includes the following steps:
step S10: when a video compression instruction is detected, determining a corresponding video to be compressed according to the video compression instruction, and splitting the video to be compressed into a plurality of video frame pictures.
It should be noted that the execution main body of this embodiment may be the terminal device, and the terminal device may be an electronic device such as a mobile phone, a tablet computer, a personal computer, a server, or other devices that can achieve the same or similar functions.
The video compression instruction may be an instruction generated by a user operating a terminal device when the user needs to perform video compression, or may be an instruction transmitted to the terminal device by the user through another device. The video to be compressed may be a video that is transmitted by the user to the terminal device in advance and needs to be compressed.
It is understood that the video is composed of a plurality of video frame pictures, and therefore, the video can be split into a plurality of video frame pictures, for example: assuming that the frame rate of the video a is 50Hz and the video length is 5 seconds, the video a can be split into 50 × 5 — 250 video frame pictures.
In practical use, a video to be compressed may be a compressed video, and at this time, the video to be compressed is composed of a plurality of Group of pictures (GOP), and the GOP is composed of a key frame (I frame), a bidirectional prediction frame (B frame), and a forward prediction frame (P frame).
For convenience of understanding, the description is made with reference to fig. 3, but the present solution is not limited thereto, and fig. 3 is a schematic diagram illustrating splitting a group of pictures in the present embodiment, where a frame denoted by I represents I-frame positioning, a frame denoted by B represents B-frame positioning, a frame denoted by P represents P-frame positioning, GOP #1 represents a GOP with picture number 1, and GOP #1 represents a GOP with picture number 2.
Step S20: and setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers.
It should be noted that setting a picture number for a video frame picture may be set according to a video playing sequence, and the initial number of the picture number may be 1. The dividing of the video frame pictures into the odd number picture set and the even number picture set according to the picture numbers may be to create two blank sets a and B first, add the video frame pictures with the picture numbers of odd numbers to the set a, add the video frame pictures with the picture numbers of even numbers to the set B, after the video frame pictures are all added, use the set a as the odd number picture set, and use the set B as the even number picture set.
Step S30: and performing complementary matting on the video frame pictures in the odd number picture set and the even number picture set to obtain an odd number matting set and an even number matting set, wherein the complementary matting is that a matting region corresponding to the odd number picture set is complementary to a matting region corresponding to the even number picture set.
It should be noted that, performing complementary matting on the video frame pictures in the odd number picture set and the even number picture set may be setting complementary odd number matting regions and even number matting regions, then performing matting on the video frame pictures in the odd number picture set according to the odd number matting regions to obtain an odd number matting set, and performing matting on the video frame pictures in the even number picture set according to the even number matting regions to obtain an even number matting set.
In actual use, if a video frame picture is a GOP, only an I frame in the GOP is subjected to matting when the video frame picture is subjected to matting.
Further, in order to reasonably set the odd-numbered matte regions and the even-numbered matte regions, step S30 in this embodiment may include:
acquiring a standard video frame picture, and performing region division on the standard video frame picture according to a preset matting interval to obtain a plurality of picture subregions;
selecting odd-numbered matting regions from the picture sub-regions according to a preset region selection rule, and taking the remaining picture sub-regions as even-numbered matting regions;
and carrying out matting on the video frame pictures in the odd number picture set according to the odd number matting regions to obtain an odd number matting set, and carrying out matting on the video frame pictures in the even number picture set according to the even number matting regions to obtain an even number matting set.
It should be noted that the standard video frame picture may be determined according to a video display format of the video to be compressed, for example: the video display format of the video to be compressed is 1080P, that is, the resolution of the video to be compressed is 1920 × 1080, and the resolution of the standard video frame picture may also be 1920 × 1080. The preset matting interval can be set by a manager of the terminal device according to actual needs, and the unit can be a pixel, for example: the preset matte interval is set to 16 pixels or 1 pixel. The preset region selection rule may be preset by a manager of the terminal device according to actual needs, which is not limited in this embodiment.
In actual use, the obtaining of the standard video frame picture may be searching for a corresponding tagged video frame picture in a standard picture library according to a video display format of a video to be compressed, where the standard picture library may include various standard video frame pictures with different resolutions, and the standard picture library may be preset by a manager of the terminal device. Dividing the standard video frame picture into a plurality of picture sub-regions according to the preset matting interval, wherein the step of obtaining the plurality of picture sub-regions can be that the preset matting interval is used as a line height to divide the standard video frame picture into a plurality of lines, and each line is used as a picture sub-region, so that the plurality of picture sub-regions are obtained; or dividing the standard video frame picture into a plurality of columns by taking the preset cutout interval as the column width, and taking each column as a picture sub-region so as to obtain a plurality of picture sub-regions; the standard video frame picture can be divided into a plurality of square areas by taking the preset cutout interval as the side length, and each square area is taken as a picture sub-area, so that a plurality of picture sub-areas are obtained.
It should be noted that, performing matting on video frame pictures in an odd number picture set according to an odd number matting region, obtaining the odd number matting set may be obtaining each video frame picture in the odd number picture set, removing pixels in the odd number matting region of each video frame picture to obtain a matting picture, and then combining the obtained matting pictures to obtain the odd number matting set. Similarly, the video frame pictures in the even picture set are subjected to matting according to the even matting region to obtain an even matting set similar to the even matting set, and details are not repeated here.
It should be noted that, through multiple tests, it can be determined that the smaller the preset cutout interval is, the better the compression effect on the video is, and the higher the corresponding video compression ratio is.
For convenience of understanding, the description is made with reference to fig. 4 and fig. 5, but the present solution is not limited thereto, fig. 4 is a schematic diagram of dividing an odd-numbered matte region in the present embodiment, and fig. 5 is a schematic diagram of dividing an even-numbered matte region in the present embodiment, where a region filled with oblique lines is a matte region, a standard video frame picture is divided into a plurality of square regions with a preset matte interval as a side length, and each square region is taken as a picture sub-region, so as to obtain a plurality of picture sub-regions, and each picture sub-region is divided into an odd-numbered matte region and an even-numbered matte region, and the odd-numbered matte region is complementary to the even-numbered matte region.
Step S40: and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video.
It should be noted that, the odd-numbered matte set and the even-numbered matte set are encoded to obtain a compressed video, which may be by obtaining a preset encoding type, and selecting a corresponding encoding mode according to the preset encoding type to encode the odd-numbered matte set and the even-numbered matte set, thereby obtaining the compressed video. The preset coding type may include simultaneous coding and parity double coding, and may be preset by a manager of the terminal device.
In the embodiment, when a video compression instruction is detected, a corresponding video to be compressed is determined according to the video compression instruction, and the video to be compressed is split into a plurality of video frame pictures; setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers; performing complementary matting on video frame pictures in an odd picture set and an even picture set to obtain an odd matting set and an even matting set; and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video. Because the video frame pictures in the odd number picture set and the even number picture set obtained by splitting the video to be compressed are subjected to complementary matting, a large amount of information can be reduced, and therefore, the compression ratio of the video can be further improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a video compression method according to a second embodiment of the present invention.
Based on the first embodiment, a second embodiment of the video compression method of the present invention is proposed.
It should be noted that the preset coding types are divided into two types, namely simultaneous coding and parity dual coding, and the coding modes corresponding to different preset coding types are different, so that the preset coding types can be obtained, and different coding modes are selected according to the preset coding types to code the odd-numbered matte set and the even-numbered matte set.
When the preset encoding type is simultaneous encoding, the step S40 of the video compression method of this embodiment includes:
step S401: and combining the odd-numbered matte collection and the even-numbered matte collection according to the picture numbers corresponding to the video frame pictures in the odd-numbered matte collection and the even-numbered matte collection to obtain the video matte collection.
It should be noted that if the preset coding type is simultaneous coding, a representative administrator only wants to perform complementary matting on video frame pictures in a video, and does not perform additional operation during coding, so that when the preset coding type is simultaneous coding, picture numbers corresponding to video frame pictures in an odd matting set and an even matting set can be obtained, and then the video frame pictures in the odd matting set and the even matting set are added to an ordered set by using the picture numbers as a sequence, thereby obtaining the video matting set.
Step S402: and coding the video matting set according to a preset coding mode to obtain a compressed video.
The preset encoding method may be h.264, h.265, avs (audio Video coding standard), or other similar encoding methods, which is not limited in this embodiment. The preset encoding mode may be set in advance by a manager of the terminal device.
It should be noted that, when the preset encoding mode is simultaneous encoding, no additional operation is performed during encoding, and therefore, a conventional mode can be adopted to directly decode a compressed video to obtain a video frame picture set, and then video playing is performed according to the video frame picture set. In order to overcome the defects, after the video matting set is obtained, the video matting set can be converted into a video to be played, the playing parameters are gradually adjusted, when the playing parameters are adjusted to enable the playing effect of the converted video to be basically consistent with the playing effect of the video to be decompressed, the current playing parameters are used as target playing parameters, the target playing parameters are embedded into video information of the compressed video, the video can be played according to the recorded target playing parameters when the video is subsequently decompressed and played, and the phenomenon that the color of a picture is light can be avoided. The playing parameters may include brightness, contrast, saturation, softness, and the like.
When the preset encoding type is parity double encoding, the step S40 of the video compression method of this embodiment includes:
step S401': and splitting the shot of the video to be compressed to obtain a plurality of picture shots.
If the predetermined encoding type is parity double encoding, it is desirable for the representative manager to use a special processing method even during encoding, thereby further improving the video compression rate. Therefore, at this time, the shot splitting can be performed on the video to be compressed, and the video to be compressed is split into a plurality of picture shots.
In practical use, the shot splitting of the video to be compressed may be to detect a shot edge frame in the video to be compressed, and then split the video with compression into a plurality of picture shots according to the shot edge frame.
Step S402': and determining odd lenses and even lenses corresponding to the image lenses according to the odd-numbered matte collection and the even-numbered matte collection.
It should be noted that, one frame shot corresponds to a certain section of content in a video to be compressed, and there is a start time and an end time, so that video frame pictures corresponding to each frame shot can be determined according to the start time and the end time of each frame shot, then picture numbers of each video frame picture are obtained, odd-numbered scratch pictures corresponding to each frame shot can be searched in an odd-numbered scratch set according to the picture numbers, so as to obtain odd-numbered shots, and similarly, even-numbered scratch pictures corresponding to each frame shot can be searched in an even-numbered scratch set according to the picture numbers, so as to obtain even-numbered shots.
Step S403': and packaging the odd lenses and the even lenses corresponding to the image lenses into the same lens file to obtain the lens file corresponding to the image lenses.
It should be noted that, because the matting regions of the odd-numbered matting pictures and the even-numbered matting pictures are complementary, when the pictures are encoded, if the odd-numbered matting pictures and the even-numbered matting pictures are encoded together, the compression ratio of the encoded compression is the lowest, which is equivalent to not being compressed, and if the odd-numbered matting pictures and the odd-numbered matting pictures are encoded together or the even-numbered matting pictures and the even-numbered matting pictures are encoded together, since the effective regions of the pictures are consistent, there is a possibility of inter-frame compression, which can improve the compression ratio. Therefore, the step of packaging the odd shots and the even shots corresponding to each frame shot into the same shot file can be to encode the odd shots corresponding to each frame shot to obtain an odd shot file, encode the corresponding even shots to obtain an even shot file, and package the odd shot file and the even shot file into the same shot file, thereby obtaining the shot file corresponding to each frame shot. The method for encoding the odd shots or the even shots may be h.264, or may be an encoding method such as h.265 or AVS, which is not limited in this embodiment.
It should be noted that, because the number of each video frame picture during encoding can only be a continuous number, and the picture number of each video frame picture in the odd shot or the even shot is not continuous, the odd number coding number can be set for each video frame picture in the odd-numbered scratch set from 1, the even number coding number can be set for each video frame picture in the even-numbered scratch set from 1, the video frame pictures are encoded according to the reset odd number coding number during encoding the odd shot, and the video frame pictures are encoded according to the reset even number during encoding the even shot.
Step S404': and combining the lens files corresponding to the lenses of each picture to obtain a compressed video.
It can be understood that, combining the shot files corresponding to each picture shot to obtain the compressed video may be splicing the corresponding shot files according to the playing sequence of each picture shot, so as to obtain the compressed video.
It should be noted that, since it is not possible to determine whether the picture number of the 1 st frame of video frame picture of each shot is an odd number or an even number after the shots are split, in order to facilitate the subsequent playing of the compressed video encoded in the odd-even dual-coding manner, the picture number corresponding to each video frame picture also needs to be reserved, and the picture number corresponding to each video frame picture can be encapsulated into the video information of the compressed video or hung on the compressed video in a plug-in manner.
According to the embodiment, the preset coding type set by the administrator of the terminal device is obtained, different modes are selected according to the preset coding type to encode the odd-numbered matte set and the even-numbered matte set, the compressed video is obtained, different compression requirements of the administrator can be met, and the universality of the video compression method is improved.
An embodiment of the present invention provides a video decompression method, and referring to fig. 7, fig. 7 is a flowchart illustrating a first embodiment of a video decompression method according to the present invention.
In this embodiment, the video decompression method includes the following steps:
step S110: and when a video decompression instruction is detected, acquiring a to-be-decompressed compressed video corresponding to the video decompression instruction.
The video decompression command may be a command generated by a user operating a terminal device when the user needs to decompress a video, or may be a command transmitted to the terminal device by the user through another device. The video to be decompressed can be a video which is transmitted to the terminal device by the user in advance and needs to be decompressed, and the video to be decompressed can be a video which is compressed by adopting the video compression method.
Step S120: and decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set.
It should be noted that the compressed video to be decompressed is obtained by encoding according to the odd-numbered matte set and the even-numbered matte set, and therefore, the odd-numbered matte set and the even-numbered matte set can be obtained by decoding the compressed video to be decompressed in a reverse manner.
Step S130: and acquiring picture numbers corresponding to the video frame pictures in the odd-numbered matte set and the even-numbered matte set.
It can be understood that if the coding types corresponding to the compressed video to be decompressed are simultaneous coding, the coding is performed according to the picture numbers when the odd-numbered matte set and the even-numbered matte set are coded, and the picture numbers of the pictures of the video frames can be directly obtained. If the coding type corresponding to the compressed video to be decompressed is parity double coding, the picture number of each video frame picture may be encapsulated in the video information of the compressed video to be decompressed or mounted on the compressed video to be decompressed in a plug-in manner, or may be obtained in a corresponding manner.
Step S140: and combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed.
It should be noted that, the odd-numbered matte set and the even-numbered matte set are combined according to the picture numbers to obtain the video frame picture set corresponding to the compressed video to be decompressed, that is, the video frame pictures in the technical matte set and the even-numbered matte set are added to a blank set from small to large according to the corresponding picture numbers, so as to obtain the video frame picture set corresponding to the compressed video to be decompressed.
It can be understood that after the video frame picture set corresponding to the compressed video to be decompressed is obtained, video playing can be performed according to the video frame picture set. If the video frame picture is a GOP, when video playing is carried out according to the video frame picture set, if a B frame or a P frame in the GOP is played, real-time deduction is carried out on a part, subjected to image matting deduction, of an I frame in the GOP, and presentation is carried out after deduction is finished.
In actual use, if the coding type corresponding to the compressed video to be decompressed is simultaneous coding, after the video frame picture set corresponding to the compressed video to be decompressed is obtained, the target playing parameter can be obtained from the video information of the compressed video to be decompressed, video playing is performed according to the target playing parameter and the video frame picture set, and the phenomenon that the picture color is light can be avoided.
In practical use, if the coding type corresponding to the compressed video to be decompressed is odd-even dual coding, the video frame pictures with the picture numbers of odd numbers and even numbers can be played alternately, and the user can form a complete image by self-brain compensation by utilizing the visual residual of the user. The higher the frame rate of the video, the easier it is for the user to complement the image according to the visual residual, and the higher the resolution of the video, the less visible the user is to the grain points, so the higher the frame rate of the compressed video to be decompressed, the better the playing effect in this way.
It can be understood that, when the coding type corresponding to the compressed video to be decompressed is odd-even dual coding, if the compressed video to be decompressed is large and inconvenient to load completely, only one frame shot can be loaded at a time during video playing, then the shot file of the frame shot is decoded to obtain the corresponding odd number shot and even number shot, then the picture numbers corresponding to the video frame pictures in the odd number shot and the even number shot are obtained, and the video frame pictures in the odd number shot and the even number shot are played alternately according to the sequence of the picture numbers.
In the embodiment, when a video decompression instruction is detected, a compressed video to be decompressed corresponding to the video decompression instruction is acquired; decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set; acquiring picture numbers corresponding to all video frame pictures in the odd-numbered matte set and the even-numbered matte set; and combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed. And finally, combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed, so that the video playing sequence is correct when the video is played according to the video frame picture set subsequently, and the compressed video to be decompressed can be played normally.
Referring to fig. 8, fig. 8 is a flowchart illustrating a video decompression method according to a second embodiment of the present invention.
Based on the first embodiment, the step S120 of the video decompression method of this embodiment includes:
step S1201: and acquiring a plurality of picture shots corresponding to the compressed video to be decompressed.
It should be noted that, when compressing a video, the preset coding types of the administrator are different, and the coding modes of the odd-numbered matte set and the even-numbered matte set are also different, so that when decompressing a compressed video to be decompressed, the coding type set when compressing the compressed video to be decompressed can be obtained first, and different decoding modes are selected for decoding according to the coding types.
It should be noted that, if the coding type corresponding to the compressed video to be decompressed is simultaneous coding, the coding mode is a conventional coding mode, and the compressed video to be decompressed can be directly decoded by using the conventional decoding mode, so as to obtain the odd-numbered matte set and the even-numbered matte set, but if the coding type corresponding to the compressed video to be decompressed is parity dual coding, the coding mode is not the conventional coding mode, the conventional decoding mode cannot ensure successful decoding, a specific mode needs to be adopted for decoding, and then a plurality of picture shots corresponding to the compressed video to be decompressed can be obtained first.
Step S1202: acquiring a lens file corresponding to each picture lens;
it should be noted that, if the coding type of the compressed video to be decompressed is odd-even dual coding, the compressed video to be decompressed is obtained by combining the shot files corresponding to the shots of each picture, and therefore, the compressed video to be decompressed can also be split to obtain the shot files corresponding to the shots of each picture.
Step S1203: decoding the shot files to obtain odd shots and even shots corresponding to all the picture shots;
it should be noted that the odd-numbered shots and the even-numbered shots corresponding to the image shots are encapsulated in the shot file corresponding to each image shot, and the odd-numbered shots and the even-numbered shots corresponding to each image shot can be obtained by analyzing the shot file.
Step S1204: and determining an odd-numbered matte set and an even-numbered matte set according to the odd-numbered shots and the even-numbered shots corresponding to the shots of each picture.
In actual use, the odd-numbered matte set and the even-numbered matte set are determined according to the odd-numbered shots and the even-numbered shots corresponding to the respective picture shots, and the video frame pictures in the odd-numbered shots corresponding to the respective picture shots are combined to obtain the odd-numbered matte set, and the video frame pictures in the even-numbered shots corresponding to the respective picture shots are combined to obtain the even-numbered matte set.
The embodiment can also obtain the coding type corresponding to the compressed video to be decompressed before the compressed video to be decompressed is decoded, and the compressed video to be decompressed is decoded by adopting different modes according to the coding type, so that the odd-numbered matte set and the even-numbered matte set can be normally obtained.
Furthermore, an embodiment of the present invention further provides a storage medium, where a video compression program or a video decompression program is stored, the video compression program when executed by a processor implements the steps of the video compression method as described above, and the video decompression program when executed by the processor implements the steps of the video decompression method as described above.
Referring to fig. 9, fig. 9 is a block diagram of a video compression apparatus according to a first embodiment of the present invention.
As shown in fig. 9, the video compression apparatus according to the embodiment of the present invention includes:
the instruction receiving module 10 is configured to, when a video compression instruction is detected, determine a corresponding video to be compressed according to the video compression instruction, and split the video to be compressed into a plurality of video frame pictures;
the picture splitting module 20 is configured to set a picture number for the video frame picture, and divide the video frame picture into an odd picture set and an even picture set according to the picture number;
a complementary matting module 30, configured to perform complementary matting on video frame pictures in the odd-numbered picture set and the even-numbered picture set to obtain an odd-numbered matting set and an even-numbered matting set, where the complementary matting is that a matting region corresponding to the odd-numbered picture set is complementary to a matting region corresponding to the even-numbered picture set;
and the picture coding module 40 is configured to code the odd-numbered matte set and the even-numbered matte set to obtain a compressed video.
In the embodiment, when a video compression instruction is detected, a corresponding video to be compressed is determined according to the video compression instruction, and the video to be compressed is split into a plurality of video frame pictures; setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers; performing complementary matting on video frame pictures in an odd picture set and an even picture set to obtain an odd matting set and an even matting set; and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video. Because the video frame pictures in the odd number picture set and the even number picture set obtained by splitting the video to be compressed are subjected to complementary matting, a large amount of information can be reduced, and therefore, the compression ratio of the video can be further improved.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the video compression method provided in any embodiment of the present invention, and are not described herein again.
Referring to fig. 10, fig. 10 is a block diagram illustrating a first embodiment of a video decompression apparatus according to the present invention.
As shown in fig. 10, the video decompression apparatus according to the embodiment of the present invention includes:
the instruction receiving module 100 is configured to, when a video decompression instruction is detected, obtain a compressed video to be decompressed corresponding to the video decompression instruction;
a video decoding module 200, configured to decode the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set;
a number obtaining module 300, configured to obtain a picture number corresponding to each video frame picture in the odd-numbered matte set and the even-numbered matte set;
and the picture combination module 400 is configured to combine the odd-numbered matte set and the even-numbered matte set according to the picture number to obtain a video frame picture set corresponding to the compressed video to be decompressed.
In the embodiment, when a video decompression instruction is detected, a compressed video to be decompressed corresponding to the video decompression instruction is acquired; decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set; acquiring picture numbers corresponding to all video frame pictures in the odd-numbered matte set and the even-numbered matte set; and combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed. And finally, combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed, so that the video playing sequence is correct when the video is played according to the video frame picture set subsequently, and the compressed video to be decompressed can be played normally. And when the compressed video to be decompressed is decoded, the coding type corresponding to the compressed video to be decompressed can be obtained before, and the compressed video to be decompressed is decoded by adopting different modes according to the coding type, so that the odd-numbered matte set and the even-numbered matte set can be normally obtained.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the video decompression method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A video compression method, characterized in that it comprises the steps of:
when a video compression instruction is detected, determining a corresponding video to be compressed according to the video compression instruction, and splitting the video to be compressed into a plurality of video frame pictures;
setting picture numbers for the video frame pictures, and dividing the video frame pictures into odd picture sets and even picture sets according to the picture numbers;
performing complementary matting on video frame pictures in the odd-numbered picture set and the even-numbered picture set to obtain an odd-numbered matting set and an even-numbered matting set, wherein the complementary matting is that a matting region corresponding to the odd-numbered picture set is complementary to a matting region corresponding to the even-numbered picture set;
and coding the odd-numbered matte set and the even-numbered matte set to obtain a compressed video.
2. The video compression method as claimed in claim 1, wherein the step of performing complementary matting on the video frame pictures in the odd and even picture sets to obtain odd and even matting sets comprises:
acquiring a standard video frame picture, and performing region division on the standard video frame picture according to a preset matting interval to obtain a plurality of picture subregions;
selecting odd-numbered matting regions from the picture sub-regions according to a preset region selection rule, and taking the remaining picture sub-regions as even-numbered matting regions;
and carrying out matting on the video frame pictures in the odd number picture set according to the odd number matting regions to obtain an odd number matting set, and carrying out matting on the video frame pictures in the even number picture set according to the even number matting regions to obtain an even number matting set.
3. A video compression method as claimed in any one of claims 1-2, wherein said step of encoding said odd and even sets of mattes to obtain compressed video comprises:
combining the odd-numbered matte collection and the even-numbered matte collection according to the picture numbers corresponding to the video frame pictures in the odd-numbered matte collection and the even-numbered matte collection to obtain a video matte collection;
and coding the video matting set to obtain a compressed video.
4. A video compression method as claimed in any one of claims 1-2, wherein said step of encoding said odd and even sets of mattes to obtain compressed video comprises:
splitting a lens of the video to be compressed to obtain a plurality of picture lenses;
determining odd lenses and even lenses corresponding to the image lenses according to the odd-numbered matte collection and the even-numbered matte collection;
packaging the odd lenses and the even lenses corresponding to the image lenses into the same lens file to obtain lens files corresponding to the image lenses;
and combining the lens files corresponding to the lenses of each picture to obtain a compressed video.
5. A method for video decompression, characterized in that it comprises the following steps:
when a video decompression instruction is detected, acquiring a compressed video to be decompressed corresponding to the video decompression instruction;
decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set;
acquiring picture numbers corresponding to all video frame pictures in the odd-numbered matte set and the even-numbered matte set;
and combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed.
6. The video decompression method according to claim 5, wherein the step of decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set comprises:
acquiring a plurality of picture lenses corresponding to the compressed video to be decompressed;
acquiring a lens file corresponding to each picture lens;
decoding the shot files to obtain odd shots and even shots corresponding to all the picture shots;
and determining an odd-numbered matte set and an even-numbered matte set according to the odd-numbered shots and the even-numbered shots corresponding to the shots of each picture.
7. A video compression apparatus, characterized in that the video compression apparatus comprises the following modules:
the instruction receiving module is used for determining a corresponding video to be compressed according to a video compression instruction when the video compression instruction is detected, and splitting the video to be compressed into a plurality of video frame pictures;
the picture splitting module is used for setting picture numbers for the video frame pictures and dividing the video frame pictures into an odd picture set and an even picture set according to the picture numbers;
a complementary matting module, configured to perform complementary matting on video frame pictures in the odd-numbered picture set and the even-numbered picture set to obtain an odd-numbered matting set and an even-numbered matting set, where the complementary matting is that a matting region corresponding to the odd-numbered picture set is complementary to a matting region corresponding to the even-numbered picture set;
and the picture coding module is used for coding the odd-numbered matte collection and the even-numbered matte collection to obtain a compressed video.
8. A video decompression apparatus, characterized in that the video decompression apparatus comprises the following modules:
the instruction receiving module is used for acquiring a compressed video to be decompressed corresponding to a video decompression instruction when the video decompression instruction is detected;
the video decoding module is used for decoding the compressed video to be decompressed to obtain an odd-numbered matte set and an even-numbered matte set;
a number obtaining module, configured to obtain a picture number corresponding to each video frame picture in the odd-numbered matte set and the even-numbered matte set;
and the picture combination module is used for combining the odd-numbered matte set and the even-numbered matte set according to the picture numbers to obtain a video frame picture set corresponding to the compressed video to be decompressed.
9. A terminal device, characterized in that the terminal device comprises: processor, memory and a video compression program or a video decompression program stored on the memory and executable on the processor, the video compression program when executed by the processor implementing the steps of the video compression method as claimed in any one of claims 1 to 4, the video decompression program when executed by the processor implementing the steps of the video decompression method as claimed in claim 5 or 6.
10. A computer-readable storage medium, characterized in that a video compression program or a video decompression program is stored on the computer-readable storage medium, which when executed performs the steps of the video compression method according to any one of claims 1-4, and which when executed performs the steps of the video decompression method according to claim 5 or 6.
CN202110854062.9A 2021-07-27 2021-07-27 Video compression and decompression method, device, equipment and storage medium Pending CN113596453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110854062.9A CN113596453A (en) 2021-07-27 2021-07-27 Video compression and decompression method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110854062.9A CN113596453A (en) 2021-07-27 2021-07-27 Video compression and decompression method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113596453A true CN113596453A (en) 2021-11-02

Family

ID=78250830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110854062.9A Pending CN113596453A (en) 2021-07-27 2021-07-27 Video compression and decompression method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113596453A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996617A (en) * 2023-07-31 2023-11-03 咪咕音乐有限公司 Video color ring display method and device, electronic equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170707A (en) * 2007-11-08 2008-04-30 华为技术有限公司 Image format conversion and recovery method and device
US8498334B1 (en) * 2010-02-03 2013-07-30 Imagination Technologies Limited Method and system for staggered parallelized video decoding
CN106488243A (en) * 2016-11-03 2017-03-08 河海大学 A kind of many description screen content method for video coding
CN112218096A (en) * 2020-09-03 2021-01-12 深圳市捷视飞通科技股份有限公司 Video image encoding method and apparatus, electronic device, and storage medium
CN112333438A (en) * 2020-09-08 2021-02-05 深圳Tcl新技术有限公司 Method, device and equipment for processing stereo image and computer readable storage medium
CN112954393A (en) * 2021-01-21 2021-06-11 北京博雅慧视智能技术研究院有限公司 Target tracking method, system, storage medium and terminal based on video coding

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170707A (en) * 2007-11-08 2008-04-30 华为技术有限公司 Image format conversion and recovery method and device
US8498334B1 (en) * 2010-02-03 2013-07-30 Imagination Technologies Limited Method and system for staggered parallelized video decoding
CN106488243A (en) * 2016-11-03 2017-03-08 河海大学 A kind of many description screen content method for video coding
CN112218096A (en) * 2020-09-03 2021-01-12 深圳市捷视飞通科技股份有限公司 Video image encoding method and apparatus, electronic device, and storage medium
CN112333438A (en) * 2020-09-08 2021-02-05 深圳Tcl新技术有限公司 Method, device and equipment for processing stereo image and computer readable storage medium
CN112954393A (en) * 2021-01-21 2021-06-11 北京博雅慧视智能技术研究院有限公司 Target tracking method, system, storage medium and terminal based on video coding

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996617A (en) * 2023-07-31 2023-11-03 咪咕音乐有限公司 Video color ring display method and device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
US20210076051A1 (en) Coding apparatus, coding method, decoding apparatus, and decoding method
US11200426B2 (en) Video frame extraction method and apparatus, computer-readable medium
CN105959724B (en) Video data processing method and device
JP4682102B2 (en) Image coding apparatus and image coding method
CN101350929B (en) Enhanced compression in representing non-frame-edge blocks of image frames
CN111800653B (en) Video decoding method, system, device and computer readable storage medium
US20050196056A1 (en) Image coding and decoding method
CN110049347B (en) Method, system, terminal and device for configuring images on live interface
CN113596453A (en) Video compression and decompression method, device, equipment and storage medium
CN114339412A (en) Video quality enhancement method, mobile terminal, storage medium and device
US20100067880A1 (en) Moving-image reproducing apparatus and moving-image reproducing method
CN112423101B (en) Remote display method, device, equipment and computer readable storage medium
CN111510643A (en) System and method for splicing panoramic image and close-up image
CN111510731B (en) System and method for splicing traffic images
CN116450149A (en) Hardware decoding method, device and storage medium
CN109379591B (en) Image transcoding method, electronic device and computer readable storage medium
US11082718B2 (en) Method and device for coding image and method and device for decoding image
CN114217758A (en) Image display method, image display device, electronic equipment and computer readable storage medium
CN113905240A (en) Video encoding method and device, server and storage medium
CN109429067B (en) Dynamic picture compression method and device, computer equipment and storage medium
US7149408B2 (en) Method and apparatus for editing video data
US20160064039A1 (en) Thumbnail Generation
JP4209783B2 (en) Image compression apparatus, image reproduction apparatus, image compression method, image reproduction method, image compression program, and image reproduction program
CN114339338B (en) Image custom rendering method based on vehicle-mounted video and storage medium
WO2024067736A1 (en) Video coding method and apparatus, computing device, storage medium, and program product

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