Unlock instant, AI-driven research and patent intelligence for your innovation.

A coding method, device and terminal equipment

An encoding method and encoding technology, applied in the information field, can solve the problem that the network video encoding method cannot be changed flexibly.

Active Publication Date: 2021-05-14
SHENZHEN MONTNETS TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an encoding method, device and terminal equipment to solve the problem in the prior art that the encoding method of network video cannot be flexibly changed according to the application environment

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 coding method, device and terminal equipment
  • A coding method, device and terminal equipment
  • A coding method, device and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] like figure 1 As shown, the embodiment of the present invention provides an encoding method, including the following steps:

[0031] S101. Detect whether there is an uncoded frame in the currently coded video.

[0032] In the above step S101, the currently encoded video is an online video, which needs to be downloaded from the server and the image of each frame in the video is encoded and displayed; unencoded frames are unencoded images.

[0033] In a specific application, if there are unencoded frames in the currently encoded video, it means that the playback of the video has not ended, or the unplayed video part also includes the part that has not been downloaded and encoded; if there is no unencoded frame in the video, then It means that the playing of the video has ended, or the part of the unplayed video has been downloaded and encoded, and saved in the cache area.

[0034] S102. If there are uncoded frames in the video, detect whether the current network is in a...

Embodiment 2

[0047] In step S103 of the first embodiment above, the encoding selection instruction includes a fluency encoding instruction and an information degree encoding instruction; the fluency encoding instruction corresponds to a fluency encoding mode, and when the encoding selection instruction is the fluency encoding instruction , encode the unencoded frame in the fluency encoding mode; the information degree encoding instruction corresponds to the information degree encoding mode, and when the encoding selection instruction is the information degree encoding instruction, the information degree Encoding the unencoded frame in encoding mode.

[0048] like figure 2As shown, this embodiment provides a step of encoding the unencoded frame in the fluency encoding mode, including:

[0049] S201. Calculate the first motion intensity of the current encoding;

[0050] S202. Calculate a first loss rate of the current encoding according to the first motion intensity;

[0051] S203. Selec...

Embodiment 3

[0082] like Figure 4 As shown, this embodiment also provides a coding device 40 , a packet frame detection module 41 , a network detection module 42 , a congested network coding module 43 , a regular network coding module 44 and a persistence detection module 45 .

[0083] Frame detection module 41, is used for detecting whether there is unencoded frame in the video of current encoding;

[0084] The network detection module 42 is used for judging whether the current network is in a congested state if there are unencoded frames in the video;

[0085] A congested network encoding module 43, configured to obtain an encoding selection instruction when the network is in a congested state, select an encoding mode according to the encoding selection instruction, and encode the unencoded frame;

[0086] A regular network encoding module 44, configured to obtain a regular encoding instruction to encode the unencoded frame when the network is not in a congested state;

[0087] The co...

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 present invention is applicable to the field of information technology, and provides an encoding method, device and terminal equipment. The encoding method includes: detecting whether an unencoded frame exists in a currently encoded video; if an unencoded frame exists in the video, detecting whether the current network is in a Congested state; when the network is in a congested state, obtain the encoding selection instruction, select the encoding mode according to the encoding selection instruction, and encode the unencoded frame; when the network is not in a congested state, obtain the conventional encoding instruction, and select the conventional encoding mode according to the conventional encoding instruction , encode unencoded frames; return to detect whether there are unencoded frames in the currently encoded video. The present invention can flexibly change the video coding mode according to the network state of the application environment.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to an encoding method, device and terminal equipment. Background technique [0002] With the development of communication technology, online video users and mobile phone video users have grown steadily. In the case of concentrated concurrent users and unstable mobile channels, there are likely to be congested network video freezes and frequent buffering problems. At this time, users can adjust the resolution of the video, that is, reduce the clarity of the video to relieve network pressure. [0003] However, the current mainstream solution ignores the acceptable loss point of video information, and will use different frame loss processing and encoding modes uniformly depending on the application environment of different videos, thus restricting the application effect. Contents of the invention [0004] In view of this, the embodiments of the present invention pro...

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): H04N21/4363H04N21/44H04N21/4402H04N21/442H04N19/103
CPCH04N21/4363H04N21/44008H04N21/440245H04N21/44227H04N19/103
Inventor 舒倩
Owner SHENZHEN MONTNETS TECH CO LTD