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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


