A video encoding method, electronic device and system utilizing long-term reference frames

A long-term reference frame and video coding technology, which is applied in the field of video coding, can solve the problems of IDR frame packet loss, low IDR frame coding efficiency, and stuttering, etc.

Active Publication Date: 2020-05-01
肖峰
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the encoding efficiency of the IDR frame is relatively low, so it is relatively large, and sending the IDR frame is likely to cause packet loss and freeze

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A video encoding method, electronic device and system utilizing long-term reference frames
  • A video encoding method, electronic device and system utilizing long-term reference frames
  • A video encoding method, electronic device and system utilizing long-term reference frames

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0096] An embodiment of the present invention provides a video encoding method using a long-term reference frame, referring to figure 1 As shown, the method includes:

[0097] 101. Acquire video frames.

[0098] Specifically, acquiring video frames includes acquiring video frames through a camera. Optionally, acquiring video frames includes acquiring video frames from other devices or acquiring stored video frames. The embodiment of the present invention does not limit this.

[0099] 102. Determine whether the first preset condition is met; if yes, perform step 103.

[0100] Specifically, the first preset condition includes periodic timing and / or a difference between the video frame and a previous long-term reference frame exceeds a first threshold.

[0101] 103. Add the video frame to a reference frame buffer and mark it as a long-term reference frame to be validated.

[0102] Specifically, adding the video frame to the reference frame buffer and marking it as a long-ter...

Embodiment 2

[0128] An embodiment of the present invention provides a video encoding method using a long-term reference frame, referring to figure 2 As shown, the method includes:

[0129] 201. Acquire video frames.

[0130] Specifically, acquiring video frames includes acquiring video frames through a camera. Optionally, acquiring video frames includes acquiring video frames from other devices or acquiring stored video frames. The embodiment of the present invention does not limit this.

[0131] 202. Determine whether the periodic timing is satisfied; if yes, perform step 203.

[0132] Specifically, the periodic timing may be calculated according to real time, for example, every 10 seconds, or may be calculated according to frame intervals, for example, every 5 frames. The embodiment of the present invention does not limit the specific form and length of the periodic timing.

[0133] 203. Add the video frame to a reference frame buffer and mark it as a long-term reference frame to b...

Embodiment 3

[0172] An embodiment of the present invention provides a video encoding method using a long-term reference frame, referring to image 3 As shown, the method includes:

[0173] 301. Acquire video frames.

[0174] Specifically, acquiring video frames includes acquiring video frames through a camera. Optionally, acquiring video frames includes acquiring video frames from other devices or acquiring stored video frames. The embodiment of the present invention does not limit this.

[0175] 302. Determine whether the period timing is satisfied and the difference between the video frame and the previous long-term reference frame exceeds a first threshold; if yes, perform step 303.

[0176] Specifically, the periodic timing may be calculated according to real time, for example, every 10 seconds, or may be calculated according to frame intervals, for example, every 5 frames. The embodiment of the present invention does not limit the specific form and length of the periodic timing. ...

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

PUM

No PUM Login to view more

Abstract

The embodiments of the invention provide a video encoding method using a long-term reference frame, electronic equipment, and a system, belonging to the field of video encoding and decoding. The method comprises the following steps: obtaining a video frame; judging whether the video frame meets a first preset condition; if the video frame meets the first preset condition, adding the video frame to a reference frame cache, and marking the video frame as a long-term reference frame to be validated; judging whether the video frame meets a second preset condition; if the video frame meets the second preset condition, encoding the video frame with use of a validated long-term reference frame in the reference frame cache to generate encoded data; if the video frame does not meet the second preset condition, encoding the video frame with use of a short-term reference frame in the reference frame cache to generate encoded data; judging whether the video frame is marked as a long-term reference frame to be validated; if the video frame is marked as a long-term reference frame to be validated, setting information indicating that the video frame is a long-term reference frame in the encoded data; sending the encoded data to a decoder; receiving a long-term reference frame feedback from the decoder; and marking a long-term reference frame to be validated targeted by the long-term reference frame feedback as a validated long-term reference frame.

Description

technical field [0001] The present invention relates to the field of video coding, in particular to a video coding method, electronic equipment and system utilizing long-term reference frames. Background technique [0002] In the standard H.264, the encoder sends an IDR (instant decoding refresh) frame to the decoder at regular intervals. The IDR frame is the first I frame of a GOP (group of pictures), that is, starting from the IDR frame, restarting a new sequence encoding, its function is to make the decoder refresh immediately, so that the prediction error will not propagate, and provide Random access capability. Frames after the IDR frame may refer to the IDR frame, or the most recent frame, but not to frames preceding the IDR frame. However, the encoding efficiency of the IDR frame is relatively low, so it is relatively large, and sending the IDR frame is likely to cause packet loss and freeze. Contents of the invention [0003] In order to solve the above problems...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/583
Inventor 焦华龙
Owner 肖峰
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products