CN109120929A - A kind of Video coding, coding/decoding method, device, electronic equipment and system - Google Patents

A kind of Video coding, coding/decoding method, device, electronic equipment and system Download PDF

Info

Publication number
CN109120929A
CN109120929A CN201811216417.6A CN201811216417A CN109120929A CN 109120929 A CN109120929 A CN 109120929A CN 201811216417 A CN201811216417 A CN 201811216417A CN 109120929 A CN109120929 A CN 109120929A
Authority
CN
China
Prior art keywords
frame
target
target frame
video
coding
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.)
Granted
Application number
CN201811216417.6A
Other languages
Chinese (zh)
Other versions
CN109120929B (en
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811216417.6A priority Critical patent/CN109120929B/en
Publication of CN109120929A publication Critical patent/CN109120929A/en
Application granted granted Critical
Publication of CN109120929B publication Critical patent/CN109120929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • 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/176Methods 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 block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Landscapes

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

Abstract

The application is about a kind of Video coding, coding/decoding method, device, electronic equipment and system.The video encoding/decoding method includes:, for target frame to be encoded, if continuous N frame is identical as the target frame after detecting the target frame, to carry out preset frame level coding to the target frame and continuous N frame during encoding to video;Wherein, the N is more than or equal to 1, the frame level coding are as follows: carries out block grade coding to the frame in the target frame and continuous N frame, and the quantity for carrying out frame level to the corresponding repeating frame of the target frame is stated;After the frame level coding that is finished, by first video frame after the target frame and different from the target frame, as next target frame to be encoded.As it can be seen that the code efficiency in cataloged procedure can be improved under the premise of guaranteeing coding quality by this programme.

Description

A kind of Video coding, coding/decoding method, device, electronic equipment and system
Technical field
This application involves field of video processing more particularly to a kind of Video coding, coding/decoding method, device, electronic equipment and System.
Background technique
Digital video technology is widely used in the fields such as communication, computer, radio and television, because video is by a series of views Frequency frame composition, each video frame is usually the complete image of a width, and there are same or similar in same image or in adjacent image Content, promoted the generation of video coding technique.
Currently, Video coding includes the block grade coding for being directed to video, the principle of so-called piece of grade coding are as follows: will be to be encoded Target frame is divided into data block one by one, then from left to right, is successively encoded from top to bottom.
In the related technology, video be directed to each frame in block grade cataloged procedure and carry out block grade coding.But Be, since certain continuous video frames may be completely the same, each frame is carried out block grade coding undoubtedly cause code efficiency compared with It is low.
Summary of the invention
To overcome the problems in correlation technique, the application provides a kind of Video coding, coding/decoding method, device, electronics Equipment and system, to improve the code efficiency of cataloged procedure under the premise of guaranteeing coding quality, meanwhile, improve decoding process Solution bit rate.The specific technical proposal is:
According to the embodiment of the present application in a first aspect, providing a kind of method for video coding, comprising:
During being encoded to video, for target frame to be encoded, if after detecting the target frame Continuous N frame is identical as the target frame, carries out preset frame level coding to the target frame and continuous N frame;Wherein, the N is big In being equal to 1, the frame level is encoded are as follows: carries out block grade coding to the frame in the target frame and continuous N frame, and to the target The corresponding repeating frame of frame carries out the quantity statement of frame level;
After the frame level coding that is finished, by first view after the target frame and different from the target frame Frequency frame, as next target frame to be encoded.
Optionally, a kind of method for video coding further include:
For target frame to be encoded, if detecting that the next frame of the target frame is different from the target frame, to institute It states target frame and carries out block grade coding;
After being finished to the block grade coding of the target frame, by the next frame of the target frame, as next wait compile The target frame of code.
Optionally, the mode of the quantity statement of frame level is carried out to the corresponding repeating frame of the target frame, comprising:
The quantity of the corresponding repeating frame of the target frame is stated into the mode in frame head.
Optionally, the step of preset frame level coding being carried out to the target frame and continuous N frame, comprising:
For the frame in the target frame and continuous N frame, the first claim information is added in the frame head of the frame, and to adding The frame after adding first claim information carries out block grade coding;
Wherein, first claim information is used to state: about the video frame for being added with first claim information, existing N number of repeating frame.
Optionally, for the frame in the target frame and continuous N frame, the first statement letter is added in the frame head of the frame Breath, comprising:
The first claim information is added in the frame head of the target frame;
Alternatively,
The first claim information is added in the last frame of the continuous N frame.
Optionally, the step of preset frame level coding being carried out to the target frame and continuous N frame, comprising:
Block grade coding is carried out to the target frame;
After the target frame and it is different from the frame head of first video frame of the target frame, the second statement of addition Information;
Wherein, second claim information is used to state: about the video frame added with second claim information One encoded video frame, there are N number of repeating frames.
According to the second aspect of the embodiment of the present application, a kind of video encoding/decoding method is provided, comprising:
During being decoded to video, based on the encoded information of encoded target frame, the target frame is restored; Wherein, the video is encoded according to a kind of method for video coding provided herein;
If detecting the quantity for stating to have repeating frame in the target frame, restore the repeating frame.
Optionally, if detecting the quantity for stating to have repeating frame in the target frame, restore the repeating frame, comprising:
If detecting the quantity for stating to have repeating frame in the frame head of the target frame, restore the repeating frame.
Optionally, if detecting the quantity for stating to have repeating frame in the frame head of the target frame, restore the repeating frame, Include:
If detecting that there are the first claim informations in the frame head of the target frame, after the target frame/before increase Add N number of target frame;
First claim information is used to state: about the video frame for being added with first claim information, there are N number of heavy Multi-frame.
Optionally, if detecting the quantity for stating to have repeating frame in the frame head of the target frame, restore the repeating frame, Include:
If detecting that there are the second claim informations in the frame head of the target frame, in the target frame and the target frame A upper video frame between, add a upper video frame for the N number of target frame;
Second claim information is used to state: about upper one of video frame added with second claim information Encoded video frame, there are N number of repeating frames.
According to the third aspect of the embodiment of the present application, a kind of video coding apparatus is provided, comprising:
First coding unit is configured as during encoding to video, for target frame to be encoded, if Continuous N frame is identical as the target frame after detecting the target frame, carries out preset frame to the target frame and continuous N frame Grade coding;Wherein, the N is more than or equal to 1, the frame level coding are as follows: carry out block to the frame in the target frame and continuous N frame Grade coding, and the quantity for carrying out frame level to the corresponding repeating frame of the target frame is stated;
Determination unit is configured as after the frame level coding that is finished, will be after the target frame and different from institute First video frame for stating target frame, as next target frame to be encoded.
Optionally, a kind of video coding apparatus further include:
Second coding unit is configured as target frame to be encoded, if detecting the next frame of the target frame It is different from the target frame, block grade coding is carried out to the target frame;
The determination unit is additionally configured to after being finished to the block grade coding of the target frame, by the target The next frame of frame, as next target frame to be encoded.
Optionally, first coding unit carries out the side of the quantity statement of frame level to the corresponding repeating frame of the target frame Formula, comprising:
The quantity of the corresponding repeating frame of the target frame is stated into the mode in frame head.
Optionally, first coding unit includes:
First adding module is configured as target frame to be encoded, if detecting continuous N after the target frame Frame is identical as the target frame, and for the frame in the target frame and continuous N frame, the first statement is added in the frame head of the frame Information;
First coding module is configured as carrying out block grade coding to the frame after addition first claim information;
Wherein, first claim information is used to state: about the video frame for being added with first claim information, existing N number of repeating frame.
Optionally, first adding module is specifically configured to:
For target frame to be encoded, if continuous N frame is identical as the target frame after detecting the target frame, The first claim information is added in the frame head of the target frame, alternatively, the first statement of addition in the last frame of the continuous N frame Information.
Optionally, first coding unit includes:
Second coding module is configured as target frame to be encoded, if detecting continuous N after the target frame Frame is identical as the target frame, carries out block grade coding to the target frame;
Second adding module is configured as after the target frame and is different from first video frame of the target frame Frame head in, add the second claim information;
Wherein, second claim information is used to state: about the video frame added with second claim information One encoded video frame, there are N number of repeating frames.
According to the fourth aspect of the embodiment of the present application, a kind of video decoder is provided, comprising:
Decoding unit is configured as during being decoded to video, the coding letter based on encoded target frame Breath, restores the target frame;Wherein, the video is encoded according to a kind of method for video coding;
Recovery unit restores described heavy if being configured as detecting the quantity for stating to have repeating frame in the target frame Multi-frame.
Optionally, the recovery unit includes:
Recovery module is restored if being configured as the quantity that statement in the frame head for detecting the target frame has repeating frame The repeating frame.
Optionally, the recovery module is specifically configured to:
If detecting that there are the first claim informations in the frame head of the target frame, after the target frame/before increase Add N number of target frame;
First claim information is used to state: about the video frame for being added with first claim information, there are N number of heavy Multi-frame.
Optionally, the recovery module is specifically configured to:
If detecting that there are the second claim informations in the frame head of the target frame, in the target frame and the target frame A upper video frame between, add a upper video frame for the N number of target frame;
Second claim information is used to state: about upper one of video frame added with second claim information Encoded video frame, there are N number of repeating frames.
According to the 5th of the embodiment of the present application the aspect, a kind of video coding and decoding system is provided, comprising:
First electronic equipment, for during being encoded to video, for target frame to be encoded, if detection Continuous N frame is identical as the target frame after to the target frame, carries out preset frame level volume to the target frame and continuous N frame Code;Wherein, the N is more than or equal to 1, the frame level coding are as follows: carry out block grade volume to the frame in the target frame and continuous N frame Code, and the quantity for carrying out frame level to the corresponding repeating frame of the target frame is stated;After the frame level coding that is finished, by institute It states target frame later and is different from first video frame of the target frame, as next target frame to be encoded;
Second electronic equipment, for during being decoded to video, the coding based on encoded target frame to be believed Breath, restores the target frame;If detecting the quantity for stating to have repeating frame in the target frame, restore the repeating frame.
According to the 6th of the embodiment of the present application the aspect, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: when executing the executable instruction stored on the memory, realize this Shen Please provided by a kind of method for video coding the step of.
According to the 7th of the embodiment of the present application the aspect, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: when executing the executable instruction stored on the memory, realize this Shen Please provided by a kind of video encoding/decoding method the step of.
According to the eighth aspect of the embodiment of the present application, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of electronic equipment, so that electronic equipment is able to carry out provided herein one The step of kind method for video coding.
According to the 9th of the embodiment of the present application the aspect, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of electronic equipment, so that electronic equipment is able to carry out provided herein one The step of kind video encoding/decoding method.
According to the tenth of the embodiment of the present application the aspect, a kind of computer program is provided, the computer program is for being transported The step of row is to execute a kind of method for video coding provided herein.
On the one hand according to the tenth of the embodiment of the present application the, a kind of computer program is provided, the computer program is used for quilt The step of operation is to execute a kind of video encoding/decoding method provided herein.
A kind of method for video coding provided herein, during being encoded to video, for be encoded Target frame, if continuous N frame is identical as target frame after detecting target frame to be encoded, to the target frame and continuous N frame Preset frame level coding is carried out, i.e., block grade coding is carried out to the frame in the target frame and continuous N frame, and corresponding to the target frame Repeating frame carry out frame level quantity statement;It, will be after the target frame and different from the mesh after the frame level coding that is finished First video frame for marking frame, as next target frame to be encoded.As it can be seen that by this programme, it is consistent for content continuous At least two frames, only in this at least two frames a frame carry out block grade coding, while to the quantity of repeating frame carry out frame level sound It is bright, the block grade coding for repeating frame is avoided, therefore, under the premise of guaranteeing coding quality, can be improved in cataloged procedure Code efficiency.
The application is carried out based on a kind of video encoding/decoding method provided by a kind of above-mentioned method for video coding to video During decoded, based on the encoded information of encoded target frame, the target frame is restored;If detecting sound in the target frame The bright quantity for having repeating frame, restores the repeating frame.As it can be seen that being avoided by the video encoding/decoding method to repeating frame progress and block Grade encodes corresponding decoding, it is thus possible to improve the decoding efficiency of decoding process.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of method for video coding shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of video encoding/decoding method shown according to an exemplary embodiment;
Fig. 3 is the schematic diagram of continuous multiple video frames shown by the application;
Fig. 4 is a kind of block diagram of video coding apparatus shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of video decoder shown according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of video coding and decoding system shown according to an exemplary embodiment
Fig. 7 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment;
Fig. 8 is the block diagram of another electronic equipment shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of device for encoding and decoding of video shown according to an exemplary embodiment;
Figure 10 is the block diagram of another device for encoding and decoding of video shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
In order to solve prior art problem, the embodiment of the present application provide a kind of method for video coding, video encoding/decoding method, Device, electronic equipment and system.
A kind of method for video coding provided by the embodiment of the present application is introduced first below.
It should be noted that a kind of method for video coding provided herein can be applied in electronic equipment.Having In body application, which can be terminal device or server.In addition, a kind of method for video coding provided herein Targeted video can be any one video to be encoded, and the application does not limit source, the content etc. of video to be encoded It is fixed.
Fig. 1 is a kind of flow chart of method for video coding shown according to an exemplary embodiment.As shown in Figure 1, this Shen Please a kind of method for video coding provided by an exemplary embodiment, may include steps of:
S101, during being encoded to video, for target frame to be encoded, if detect the target frame it Continuous N frame is identical as the target frame afterwards, carries out preset frame level coding to the target frame and continuous N frame;
Wherein, N is more than or equal to 1, frame level coding are as follows: block grade coding is carried out to the frame in the target frame and continuous N frame, And the quantity for carrying out frame level to the quantity of the corresponding repeating frame of the target frame is stated.
During being encoded to video, can putting in order according to video frame, successively to each video frame into Row coding.It is understood that first target frame to be encoded encoded using the provided coding method of the present embodiment, It can be the first frame of the video.Certainly, encoded using the provided coding method of the present embodiment first is to be encoded Target frame, it is not limited to the first frame of video, for example:, can be by a certain of the video according to scheduled code requirement First frame in multiple video frames of period, as first encoded using the provided coding method of the present embodiment wait compile The video frame of code.
It is not block grade coding directly to be carried out to the target frame, but examine for target frame to be encoded in the present embodiment It surveys after the target and whether there is that continuous N frame is identical as the target frame, which includes the next frame of the target frame.In turn, If continuous N frame is identical as the target frame after detecting the target frame, preset frame is carried out to the target frame and continuous N frame Grade coding.For example: as shown in Figure 3, it is assumed that there are this 5 video frames of F1-F5, if the target frame is F1, F2-F4 with should Target frame is identical, and the different target frames of F5, then the continuous N frame are as follows: F2-F4, F5 are first and mesh after the target frame The different video frame of frame is marked, then, then preset frame level is executed to the F1 and F2-F4 and encoded.
Specifically, whether identical as continuous N frame in order to detect the target frame, it can be determined that the target frame and the target frame Whether next frame is identical, if identical, can continue to judge whether the next frame after the next frame is identical as the target frame, Until first video frame different from the target frame is found, at this point it is possible to obtain the corresponding repeating frame of the target frame Quantity, i.e., the quantity of continuous N frame.It is understood that stopping if the target frame is not identical as the next frame of the target frame Detection, and determine that the next frame of the target frame is different from the target frame, do not meet continuous N frame and target frame after the target frame Identical condition.For example: referring to Fig. 3, it is assumed that there are this 5 video frames of F1-F5, F1-F4 are identical video frame, if Whether the target frame is F1, identical as continuous N frame in order to detect the target frame, then first determines whether F1 is identical as F2, is judged As a result for it is identical when, continue judge whether F1 identical as F3, judging result be it is identical when, it can be determined that F1 whether with F4 phase Together, and judging result be still it is identical, then continue to judge whether the F1 and F5 identical, judging result be difference, at this point, obtain F1 with This continuous 3 frame of F2-F4 is identical, and F5 is first video frame different from F1.
It is understood that judgment mode whether identical for any two frame is there are a variety of, for example: can calculate The similarity of two frames judges whether two frames are identical based on similarity;Alternatively, two frames can be subtracted each other, tied based on subtracting each other Fruit judges whether two frames are identical.Any one can judge that the whether identical mode of two frames can be applied to the application, tool Which kind of body uses, and can be set according to the actual situation, the application does not limit this.
Further optionally, to the mode of the quantity statement of the target frame corresponding repeating frame progress frame level, may include: The quantity of the corresponding repeating frame of the target frame is stated into the mode in frame head, is not limited thereto certainly.Also, it is so-called Quantity is stated in frame head, i.e., increases new semanteme in frame head, and the new semanteme is for characterizing claim information, and the new semanteme Binary encoded content can be used.
It should be noted that based on the quantity of the corresponding repeating frame of the target frame is stated the mode in frame head, about The specific implementation of preset frame level coding is carried out there are a variety of to the target frame and continuous N frame, in order to be laid out it is clear and Scheme understands, subsequent to carry out in detail about the specific implementation for carrying out preset frame level coding to the target frame and continuous N frame It introduces.
S102, after the frame level coding that is finished, by first view after the target frame and different from the target frame Frequency frame, as next target frame to be encoded.
Due to by way of only encoding a frame and carrying out quantity statement to repeating frame simultaneously, ensure that the target frame and continuous The coding quality of N frame, that is, the every frame for being equal to the target frame and continuous N frame are encoded, and therefore, being finished, the frame level is compiled After code, after the target frame and it can will be different from first video frame of the target frame, as next target frame to be encoded, And then return to the step of executing S101.In this way, the identical each group video frame of content can carry out frame level coding in video, thus Amount of coded data is greatly reduced, code efficiency is improved.
In addition, it is necessary to explanation, for target frame to be encoded, if detecting the next frame and the mesh of the target frame It is different to mark frame, then block grade coding can be carried out to the target frame;After being finished to the block grade coding of the target frame, by the mesh The next frame for marking frame as next target frame to be encoded, and then returns and executes S101.
It is emphasized that the specific implementation of the block grade coding mentioned in the present embodiment and in the prior art piece The mode of grade coding is identical, and the application is without limitation.Illustratively, the process of block grade coding can be with are as follows: for any to be encoded Data block, the corresponding prediction block of data to be encoded block is obtained from reference frame, then, by data to be encoded block and prediction block phase Subtract to obtain residual error, to what is obtained after residual error execution DCT (Discrete Cosine Transform, discrete cosine transform) transformation DCT coefficient matrix is disposably quantified, finally, will quantization obtained DCT coefficient matrix, data to be encoded block and prediction block it Between motion vector etc. be input in entropy coder and encoded.
A kind of method for video coding provided herein, during being encoded to video, for be encoded Target frame, if continuous N frame is identical as target frame after detecting target frame to be encoded, to the target frame and continuous N frame Preset frame level coding is carried out, i.e., block grade coding is carried out to the frame in the target frame and continuous N frame, and corresponding to the target frame Repeating frame carry out frame level quantity statement;It, will be after the target frame and different from the mesh after the frame level coding that is finished First video frame for marking frame, as next target frame to be encoded.As it can be seen that by this programme, it is consistent for content continuous At least two frames only carry out block grade coding to the frame in this at least two frames, while carrying out frame level statement to the quantity of repeating frame, The block grade coding for repeating frame is avoided, therefore, under the premise of guaranteeing coding quality, the volume in cataloged procedure can be improved Code efficiency.
Based on the quantity of the corresponding repeating frame of the target frame is stated the mode in frame head, about to the target frame and company Continuous N frame carries out the specific implementation of preset frame level coding there are a variety of, is lifted below with reference to two kinds of specific implementations Example explanation.
Optionally, in one implementation, the step of preset frame level coding being carried out to the target frame and continuous N frame, May include:
For the frame in the target frame and continuous N frame, the first claim information is added in the frame head of the frame, and to addition The frame after first claim information carries out block grade coding;
Wherein, which is used to state: about the video frame for being added with first claim information, there are N number of Repeating frame.
In this kind of implementation, which can add any frame in the target frame and continuous N frame Frame head in.It is understood that first claim information can be binary encoded content, binary encoded content Represented meaning are as follows: about the video frame for being added with first claim information, there are N number of repeating frames.For the first statement letter Corresponding specific binary encoded content is ceased, and is applied without limitation.
In a particular application, convenient in order to add, for the frame in the target frame and continuous N frame, in the frame head of the frame The first claim information of middle addition may include:
The first claim information is added in the frame head of the target frame;Alternatively, adding in the last frame of the continuous N frame One claim information.
For example, with reference to Fig. 3, it is assumed that there are this 5 video frames of F1-F5, F1-F4 is identical video frame, if the target Frame is F1, and the target frame is identical as continuous 3 frame, at this point it is possible to increase by the first claim information in the frame head of F1, to complete needle For the frame level coding of F1 and F2-F4, which shows F1, and there are 3 repeating frames;It is subsequent extensive to repeating frame progress When multiple, after decoding F1,3 F1 can be increased after F1.For another example, referring to Fig. 3, it is assumed that there are this 5 videos of F1-F5 Frame, F1-F4 are identical video frame, if the target frame is F1, the target frame is identical as continuous 3 frame, at this point it is possible to F4's Increase by the first claim information in frame head, to complete the frame level coding for being directed to F1 and F2-F4, which shows this There are 3 repeating frames by F4;It is subsequent when restoring to repeating frame, after decoding obtains F4,3 F4 are added before F4.
Optionally, in another implementation, the described pair of target frame and continuous N frame carry out preset frame level coding Step may include:
Block grade coding is carried out to the target frame;
After the target frame and it is different from the frame head of first video frame of the target frame, addition the second statement letter Breath;
Wherein, which is used to state: upper one about the video frame added with second claim information Encoded video frame, there are N number of repeating frames.
It is understood that second claim information can be binary encoded content, binary encoded content Represented meaning are as follows: about a upper encoded video frame for the video frame added with second claim information, there are N number of heavy Multi-frame.Specific binary encoded content corresponding for the second claim information, and apply without limitation.
For example, with reference to Fig. 3, it is assumed that there are this 5 video frames of F1-F5, F1-F4 are identical video frame, and F5 is different from F1, If the target frame is F1, the target frame is identical as continuous 3 frame, at this point it is possible to increase by the second claim information in the frame head of F5, It is encoded to complete to be directed to the frame level of F1 and F2-F4, the F1 before the second statement bright F5 of information table, there are 3 repeating frames; When subsequent repeating frame is restored, after decoding obtains F1 and F5,3 F1 are added before F5.
It is emphasized that carrying out preset frame level coding about to the target frame and continuous N frame given by above-mentioned Specific implementation is merely exemplary, should not constitute the restriction to the application.
Corresponding to a kind of above-mentioned method for video coding, the embodiment of the present application also provides a kind of video encoding/decoding methods.
It should be noted that a kind of video encoding/decoding method provided herein can be applied in electronic equipment.Having In body application, which can be terminal device or server.In addition, a kind of video encoding/decoding method provided herein Targeted video can be any one video to be encoded, and the application does not limit source, the content etc. of video to be encoded It is fixed.
Fig. 2 is a kind of flow chart of video encoding/decoding method shown according to an exemplary embodiment, the video encoding/decoding method For a kind of above-mentioned corresponding coding/decoding method of method for video coding.As shown in Fig. 2, provided by one exemplary embodiment of the application A kind of video encoding/decoding method, may include steps of:
S201, based on the encoded information of encoded target frame, restores the target during being decoded to video Frame;
Wherein, the video is encoded according to a kind of method for video coding provided in above-described embodiment.
For encoded target frame, which can be restored based on the encoded information of encoded target frame.It needs Illustrate, it is described be based on encoded information, restore the specific implementation of target frame, with block grade in the prior art coding corresponding to Reduction mode it is identical, this will not be repeated here.
S202 restores the repeating frame if detecting the quantity for stating to have repeating frame in the target frame.
After restoring the target frame, the quantity that repeating frame whether is stated in the target frame can detecte, if detected Statement has the quantity of repeating frame in the target frame, then can restore the repeating frame.It should be noted that often restoring a target It, can be with the recovery for the detection and repeating frame that number of executions is stated when frame;Certainly, after restoring multiple target frames, can distinguish The detection of quantity statement and the recovery of repeating frame are carried out for each target frame.
Wherein, the mode in frame head is stated corresponding to the above-mentioned quantity by repeating frame, if described detect the mesh Statement has the quantity of repeating frame in mark frame, restores the repeating frame, may include:
If detecting the quantity for stating to have repeating frame in the frame head of the target frame, restore the repeating frame.
Optionally, corresponding to the mode for carrying out quantity statement in an above-mentioned frame in target frame and continuous N frame, if It detects the quantity for stating to have repeating frame in the frame head of the target frame, restores the repeating frame, may include:
If detecting that there are the first claim informations in the frame head of the target frame, after the target frame/before increase it is N number of The target frame;
First claim information is used to state: about the video frame for being added with first claim information, there are N number of repetitions Frame.
For example: still by taking Fig. 3 as an example, it is assumed that be added with the first claim information in the frame head of F1, then restore described heavy Multi-frame are as follows: increase by 3 F1 after F1;Assuming that being added with the first claim information in the frame head of F4, then restore the repeating frame Are as follows: increase by 3 F4 before F4.
Optionally, the side of quantity statement is carried out in first different video frame after target frame corresponding to above-mentioned Formula restores the repeating frame, may include: if detecting the quantity for stating to have repeating frame in the frame head of the target frame
If detected in the frame head of the target frame there are the second claim information, in the upper of the target frame and the target frame Between one video frame, a upper video frame for N number of target frame is added;
Second claim information is used to state: upper one about the video frame added with second claim information is encoded Video frame, there are N number of repeating frames.
For example: still by taking Fig. 3 as an example, it is assumed that be added with the second claim information in the frame head of F5, then restore described heavy Multi-frame are as follows: after decoding obtains F1 and F5,3 F1 are added between F1 and F5.
The application is carried out based on a kind of video encoding/decoding method provided by a kind of above-mentioned method for video coding to video During decoded, based on the encoded information of encoded target frame, the target frame is restored;If detecting sound in the target frame The bright quantity for having repeating frame, restores the repeating frame.As it can be seen that being avoided by the video encoding/decoding method to repeating frame progress and block Grade encodes corresponding decoding, it is thus possible to improve the decoding efficiency of decoding process.
Corresponding to a kind of above-mentioned method for video coding, the embodiment of the present application also provides a kind of video coding apparatus.Fig. 4 It is a kind of block diagram of video coding apparatus shown according to an exemplary embodiment.Referring to Fig. 4, one exemplary embodiment of the application A kind of provided video coding apparatus includes: the first coding unit 410 and the second determination unit 420.
Wherein, first coding unit 410, is configured as during encoding to video, for be encoded Target frame, if detecting that continuous N frame is identical as the target frame after the target frame, to the target frame and continuous N Frame carries out preset frame level coding;Wherein, the N is more than or equal to 1, the frame level coding are as follows: to the target frame and continuous N frame In a frame carry out block grade coding, and to the corresponding repeating frame of the target frame carry out frame level quantity state.
The determination unit 420 is configured as after the frame level coding that is finished, will be after the target frame and not It is same as first video frame of the target frame, as next target frame to be encoded.
A kind of video coding apparatus provided herein, during being encoded to video, for be encoded Target frame, if continuous N frame is identical as target frame after detecting target frame to be encoded, to the target frame and continuous N frame Preset frame level coding is carried out, i.e., block grade coding is carried out to the frame in the target frame and continuous N frame, and corresponding to the target frame Repeating frame carry out frame level quantity statement;It, will be after the target frame and different from the mesh after the frame level coding that is finished First video frame for marking frame, as next target frame to be encoded.As it can be seen that by this programme, it is consistent for content continuous At least two frames only carry out block grade coding to the frame in this at least two frames, while carrying out frame level statement to the quantity of repeating frame, The block grade coding for repeating frame is avoided, therefore, under the premise of guaranteeing coding quality, the volume in cataloged procedure can be improved Code efficiency.
Optionally, comprising the first coding unit 410 and on the basis of determination unit 420, which is also wrapped It includes:
Second coding unit is configured as target frame to be encoded, if detecting the next frame of the target frame It is different from the target frame, block grade coding is carried out to the target frame;
The determination unit 420 is additionally configured to after being finished to the block grade coding of the target frame, by the mesh The next frame for marking frame, as next target frame to be encoded.
Optionally, in one implementation, first coding unit 410 to the corresponding repeating frame of the target frame into The mode of the quantity statement of row frame level, comprising:
The quantity of the corresponding repeating frame of the target frame is stated into the mode in frame head.
Optionally, in one implementation, first coding unit 410 includes:
First adding module is configured as target frame to be encoded, if detecting continuous N after the target frame Frame is identical as the target frame, and for the frame in the target frame and continuous N frame, the first statement is added in the frame head of the frame Information;
First coding module is configured as carrying out block grade coding to the frame after addition first claim information;
Wherein, first claim information is used to state: about the video frame for being added with first claim information, existing N number of repeating frame.
Optionally, first adding module is specifically configured to:
For target frame to be encoded, if continuous N frame is identical as the target frame after detecting the target frame, The first claim information is added in the frame head of the target frame, alternatively, the first statement of addition in the last frame of the continuous N frame Information.
Optionally, in another implementation, first coding unit 410 includes:
Second coding module is configured as target frame to be encoded, if detecting continuous N after the target frame Frame is identical as the target frame, carries out block grade coding to the target frame;
Second adding module is configured as after the target frame and is different from first video frame of the target frame Frame head in, add the second claim information;
Wherein, second claim information is used to state: about the video frame added with second claim information One encoded video frame, there are N number of repeating frames.
About the device in above-described embodiment, wherein each unit/module executes the concrete mode of operation related It is described in detail in the embodiment of this method, no detailed explanation will be given here.
Corresponding to a kind of above-mentioned video encoding/decoding method, the embodiment of the present application also provides a kind of video decoders.Fig. 5 It is a kind of block diagram of video decoder shown according to an exemplary embodiment.Referring to Fig. 5, one exemplary embodiment of the application A kind of provided video decoder includes: decoding unit 510 and recovery unit 520.
Wherein, decoding unit 510 are configured as during being decoded to video, based on encoded target frame Encoded information, restore the target frame;Wherein, the video is compiled according to method for video coding provided herein Code.
Recovery unit 520, if being configured as detecting the quantity for stating to have repeating frame in the target frame, described in recovery Repeating frame.
A kind of video decoder provided herein, during being decoded to video, based on encoded The encoded information of target frame restores the target frame;If detecting the quantity for stating to have repeating frame in the target frame, it is heavy to restore this Multi-frame.It, therefore, can be with as it can be seen that avoid and carry out decoding corresponding with block grade coding to repeating frame by the video encoding/decoding method Improve the decoding efficiency of decoding process.
Optionally, the recovery unit 520 includes:
Recovery module is restored if being configured as the quantity that statement in the frame head for detecting the target frame has repeating frame The repeating frame.
Optionally, in one implementation, the recovery module is specifically configured to:
If detecting that there are the first claim informations in the frame head of the target frame, after the target frame/before increase Add N number of target frame;
First claim information is used to state: about the video frame for being added with first claim information, there are N number of heavy Multi-frame.
Optionally, in one implementation, the recovery module is specifically configured to:
If detecting that there are the second claim informations in the frame head of the target frame, in the target frame and the target frame A upper video frame between, add a upper video frame for the N number of target frame;
Second claim information is used to state: about upper one of video frame added with second claim information Encoded video frame, there are N number of repeating frames.
About the device in above-described embodiment, wherein each unit/module executes the concrete mode of operation related It is described in detail in the embodiment of this method, no detailed explanation will be given here.
Corresponding to above method embodiment, the embodiment of the present application also provides a kind of video coding and decoding systems, such as Fig. 6 institute Show, which may include:
First electronic equipment 610, for during being encoded to video, for target frame to be encoded, if Continuous N frame is identical as the target frame after detecting the target frame, carries out preset frame to the target frame and continuous N frame Grade coding;Wherein, the N is more than or equal to 1, the frame level coding are as follows: carry out block to the frame in the target frame and continuous N frame Grade coding, and the quantity for carrying out frame level to the corresponding repeating frame of the target frame is stated;After the frame level coding that is finished, By first video frame after the target frame and different from the target frame, as next target frame to be encoded;
Second electronic equipment 620, for during being decoded to video, the coding based on encoded target frame Information restores the target frame;If detecting the quantity for stating to have repeating frame in the target frame, restore the repeating frame.
Wherein, the specific implementation and relevant explanation content of each step executed about the first electronic equipment, can be with Referring to a kind of related content of above-mentioned method for video coding, this will not be repeated here.Similar, it is executed about the second electronic equipment Each step specific implementation and relevant explanation content, may refer to a kind of phase of above-mentioned video encoding/decoding method inside the Pass Hold, this will not be repeated here.Also, first electronic equipment can be with terminal device or server, and second electronic equipment can also Think terminal device or server, this is all reasonable.
In addition, the embodiment of the present application also provides one corresponding to a kind of method for video coding provided by above-described embodiment Kind electronic equipment, as shown in fig. 7, the electronic equipment may include:
Processor 710;
Memory 720 for storage processor executable instruction;
Wherein, the processor 710 is configured as: real when executing the executable instruction stored on the memory 720 A kind of the step of method for video coding provided by existing the embodiment of the present application.
It is understood that the electronic equipment can be server or terminal device, in a particular application, which is set Standby can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
Corresponding to a kind of above-mentioned video encoding/decoding method, the embodiment of the present application also provides a kind of electronic equipment.Such as Fig. 8 institute Show, which includes:
Processor 810;
Memory 820 for storage processor executable instruction;
Wherein, the processor 810 is configured as: real when executing the executable instruction stored on the memory 820 A kind of the step of video encoding/decoding method provided by existing the embodiment of the present application.
It is understood that the electronic equipment can be server or terminal device, in a particular application, which is set Standby can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
Fig. 9 is a kind of block diagram of device 900 for encoding and decoding of video shown according to an exemplary embodiment.Example Such as, device 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 9, device 900 may include following one or more components: processing component 902, memory 904, electric power Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 902 may include that one or more processors 920 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEFROM) is erasable to compile Journey read-only memory (EFROM), programmable read only memory (FROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TF).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When device 900 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G) or them Combination.In one exemplary embodiment, communication component 916 is received via broadcast channel from the wide of external broadcasting management system Broadcast signal or broadcast related information.In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) Module, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) can be based in NFC module Technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSF), digital signal processing appts (DSFD), programmable logic device (FLD), field programmable gate array (FFGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
Figure 10 is a kind of block diagram of device 1000 for encoding and decoding of video shown according to an exemplary embodiment. For example, device 1000 may be provided as a server.Referring to Fig.1 0, device 1000 includes processing component 1022, further Including one or more processors, and the memory resource as representated by memory 1032, it can be by processing component for storing The instruction of 1022 execution, such as application program.The application program stored in memory 1032 may include one or one with On each correspond to one group of instruction module.In addition, processing component 1022 is configured as executing instruction, it is above-mentioned to execute Method for video coding/video encoding/decoding method.
Device 1000 can also include that a power supply module 1026 be configured as the power management of executive device 1000, and one Wired or wireless network interface 1050 is configured as device 1000 being connected to network and input and output (I/O) interface 1058.Device 1000 can be operated based on the operating system for being stored in memory 1032, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In addition, the embodiment of the present application also provides a kind of non-transitorycomputer readable storage medium, when the storage is situated between When instruction in matter is executed by the processor of electronic equipment, so that electronic equipment is able to carry out one provided by the embodiment of the present application The step of kind method for video coding.
In addition, the embodiment of the present application also provides a kind of non-transitorycomputer readable storage medium, when the storage is situated between When instruction in matter is executed by the processor of electronic equipment, so that electronic equipment is able to carry out one provided by the embodiment of the present application The step of kind video encoding/decoding method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete above-mentioned Video coding/solution Code method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
In addition, the computer program is for being run to hold the embodiment of the present application also provides a kind of computer program The step of row above-mentioned method for video coding.
In addition, the computer program is for being run to hold the embodiment of the present application also provides a kind of computer program The step of row above-mentioned video encoding/decoding method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of method for video coding characterized by comprising
During being encoded to video, for target frame to be encoded, if detecting continuous N after the target frame Frame is identical as the target frame, carries out preset frame level coding to the target frame and continuous N frame;Wherein, the N is more than or equal to 1, the frame level coding are as follows: block grade coding is carried out to the frame in the target frame and continuous N frame, and corresponding to the target frame Repeating frame carry out frame level quantity statement;
After the frame level coding that is finished, by first video after the target frame and different from the target frame Frame, as next target frame to be encoded.
2. the method according to claim 1, wherein further include:
For target frame to be encoded, if detecting that the next frame of the target frame is different from the target frame, to the mesh It marks frame and carries out block grade coding;
After being finished to the block grade coding of the target frame, by the next frame of the target frame, as next to be encoded Target frame.
3. method according to claim 1 or 2, which is characterized in that carry out frame level to the corresponding repeating frame of the target frame Quantity statement mode, comprising:
The quantity of the corresponding repeating frame of the target frame is stated into the mode in frame head.
4. according to the method described in claim 3, it is characterized in that, carrying out preset frame level to the target frame and continuous N frame The step of coding, comprising:
For the frame in the target frame and continuous N frame, the first claim information is added in the frame head of the frame, and to addition institute The frame after stating the first claim information carries out block grade coding;
Wherein, first claim information is used to state: about the video frame for being added with first claim information, there are N number of Repeating frame.
5. according to the method described in claim 4, it is characterized in that, for the frame in the target frame and continuous N frame, at this The first claim information is added in the frame head of frame, comprising:
The first claim information is added in the frame head of the target frame;
Alternatively,
The first claim information is added in the last frame of the continuous N frame.
6. according to the method described in claim 3, it is characterized in that, carrying out preset frame level to the target frame and continuous N frame The step of coding, comprising:
Block grade coding is carried out to the target frame;
After the target frame and it is different from the frame head of first video frame of the target frame, addition the second statement letter Breath;
Wherein, second claim information is used to state: upper one about the video frame added with second claim information Encoded video frame, there are N number of repeating frames.
7. a kind of video encoding/decoding method characterized by comprising
During being decoded to video, based on the encoded information of encoded target frame, the target frame is restored;Its In, the video is encoded according to method for video coding described in any one of claims 1-6;
If detecting the quantity for stating to have repeating frame in the target frame, restore the repeating frame.
8. the method according to the description of claim 7 is characterized in that if detecting that statement has repeating frame in the target frame Quantity restores the repeating frame, comprising:
If detecting the quantity for stating to have repeating frame in the frame head of the target frame, restore the repeating frame.
9. according to the method described in claim 8, it is characterized in that, if detecting that statement has weight in the frame head of the target frame The quantity of multi-frame restores the repeating frame, comprising:
If detecting that there are the first claim informations in the frame head of the target frame, after the target frame/before increase it is N number of The target frame;
First claim information is used to state: about the video frame for being added with first claim information, there are N number of repetitions Frame.
10. according to the method described in claim 8, it is characterized in that, stating have if detected in the frame head of the target frame The quantity of repeating frame restores the repeating frame, comprising:
If detected in the frame head of the target frame there are the second claim information, in the upper of the target frame and the target frame Between one video frame, a upper video frame for N number of target frame is added;
Second claim information is used to state: upper one about the video frame added with second claim information is encoded Video frame, there are N number of repeating frames.
CN201811216417.6A 2018-10-18 2018-10-18 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and video encoding system Active CN109120929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811216417.6A CN109120929B (en) 2018-10-18 2018-10-18 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and video encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811216417.6A CN109120929B (en) 2018-10-18 2018-10-18 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and video encoding system

Publications (2)

Publication Number Publication Date
CN109120929A true CN109120929A (en) 2019-01-01
CN109120929B CN109120929B (en) 2021-04-30

Family

ID=64854883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811216417.6A Active CN109120929B (en) 2018-10-18 2018-10-18 Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and video encoding system

Country Status (1)

Country Link
CN (1) CN109120929B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505522A (en) * 2019-09-16 2019-11-26 腾讯科技(深圳)有限公司 Processing method, device and the electronic equipment of video data
CN114390314A (en) * 2021-12-30 2022-04-22 咪咕文化科技有限公司 Variable frame rate audio and video processing method, equipment and storage medium
CN117615137A (en) * 2024-01-15 2024-02-27 北京铁力山科技股份有限公司 Video processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07298260A (en) * 1994-04-21 1995-11-10 Canon Inc Compressor for image data, compression method for image data, expansion device for image data, image data expansion method and compression expansion system for image data
CN101507283A (en) * 2006-06-21 2009-08-12 霍尼韦尔国际公司 Two-stage codec for frame-based program images
US20100074543A1 (en) * 2008-09-19 2010-03-25 Torai Atsushi Image Compression Apparatus and Image Expansion Apparatus
US20100150454A1 (en) * 2008-12-17 2010-06-17 Sony Corporation Information processor and method therefor
CN104079950A (en) * 2014-07-04 2014-10-01 福建天晴数码有限公司 Video output processing method, device and system and video receiving processing method, device and system
CN107211126A (en) * 2015-02-02 2017-09-26 英特尔公司 Wireless bandwidth reduction in encoder

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07298260A (en) * 1994-04-21 1995-11-10 Canon Inc Compressor for image data, compression method for image data, expansion device for image data, image data expansion method and compression expansion system for image data
CN101507283A (en) * 2006-06-21 2009-08-12 霍尼韦尔国际公司 Two-stage codec for frame-based program images
US20100074543A1 (en) * 2008-09-19 2010-03-25 Torai Atsushi Image Compression Apparatus and Image Expansion Apparatus
US20100150454A1 (en) * 2008-12-17 2010-06-17 Sony Corporation Information processor and method therefor
CN104079950A (en) * 2014-07-04 2014-10-01 福建天晴数码有限公司 Video output processing method, device and system and video receiving processing method, device and system
CN107211126A (en) * 2015-02-02 2017-09-26 英特尔公司 Wireless bandwidth reduction in encoder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郝雪 彭国华: "基于SVD和稀疏子空间聚类的视频摘要", 《计算机辅助设计与图形学学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505522A (en) * 2019-09-16 2019-11-26 腾讯科技(深圳)有限公司 Processing method, device and the electronic equipment of video data
CN114390314A (en) * 2021-12-30 2022-04-22 咪咕文化科技有限公司 Variable frame rate audio and video processing method, equipment and storage medium
CN117615137A (en) * 2024-01-15 2024-02-27 北京铁力山科技股份有限公司 Video processing method, device, equipment and storage medium
CN117615137B (en) * 2024-01-15 2024-04-09 北京铁力山科技股份有限公司 Video processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109120929B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN110650370B (en) Video coding parameter determination method and device, electronic equipment and storage medium
CN106454413B (en) Code switching method, device and equipment is broadcast live
CN107277423B (en) Method and device for packet loss retransmission
US10986332B2 (en) Prediction mode selection method, video encoding device, and storage medium
CN109120929A (en) A kind of Video coding, coding/decoding method, device, electronic equipment and system
CN103455241B (en) Method and apparatus for playing video in portable terminal
CN104918107B (en) The identification processing method and device of video file
CN110536168A (en) Video method for uploading, device, electronic equipment and storage medium
CN109275029B (en) Video stream processing method and device, mobile terminal and storage medium
CN105183755B (en) A kind of display methods and device of picture
US11812050B2 (en) Motion vector obtaining method and apparatus
US20160277737A1 (en) Method and system to control bit rate in video encoding
CN106792118A (en) The player method and device of multimedia file
CN104284015A (en) Apparatus and method for controlling multi-user permissions in terminal
CN109447258B (en) Neural network model optimization method and device, electronic device and storage medium
CN109547782A (en) MPM candidate list construction method, device, electronic equipment and storage medium
CN107493478B (en) Method and device for setting coding frame rate
CN105957011B (en) Image processing method and device
CN110267096A (en) Video broadcasting method, device, electronic equipment and storage medium
CN109076211A (en) Renewal step by step in case of motion
CN109660812A (en) The determination method, apparatus and computer readable storage medium of complexity and code rate
CN111860552A (en) Model training method and device based on nuclear self-encoder and storage medium
CN112115321A (en) Training method and device of content recommendation model, electronic equipment and storage medium
US9477439B2 (en) Device and method for terminating music reproduction in a wireless terminal
CN105245898B (en) Image data recording method and device

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
GR01 Patent grant
GR01 Patent grant