CN117956226A - Video decoding method and device of cloud mobile phone - Google Patents

Video decoding method and device of cloud mobile phone Download PDF

Info

Publication number
CN117956226A
CN117956226A CN202410268762.3A CN202410268762A CN117956226A CN 117956226 A CN117956226 A CN 117956226A CN 202410268762 A CN202410268762 A CN 202410268762A CN 117956226 A CN117956226 A CN 117956226A
Authority
CN
China
Prior art keywords
video
resolution
decoding
compression standard
push
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410268762.3A
Other languages
Chinese (zh)
Inventor
李丽萍
刘东升
邹炳坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Duling Technology Co ltd
Original Assignee
Guangzhou Duling 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 Guangzhou Duling Technology Co ltd filed Critical Guangzhou Duling Technology Co ltd
Priority to CN202410268762.3A priority Critical patent/CN117956226A/en
Publication of CN117956226A publication Critical patent/CN117956226A/en
Pending legal-status Critical Current

Links

Abstract

The disclosure provides a video decoding method and device of a cloud mobile phone, relates to the technical field of cloud computing, and particularly relates to the technical field of cloud mobile phones, and can be applied to cloud game scenes. One embodiment of the method comprises the following steps: responding to the client to start the cloud mobile phone, and detecting whether the client is provided with a decoder for decoding the video of the first video compression standard; in response to the decoder having the function of decoding the video of the first video compression standard, decoding the push video of the cloud handset based on at least one resolution supported by the first video compression standard; and playing the video obtained by decoding the push video based on the first video compression standard in response to the success of decoding the push video based on the at least one resolution. According to the embodiment, by means of the pre-detection mode, the client can initiate video streaming by using the optimal video format and resolution, so that the quality and fluency of streaming video are improved.

Description

Video decoding method and device of cloud mobile phone
Technical Field
The disclosure relates to the technical field of cloud computing, in particular to the technical field of cloud mobile phones, and can be applied to cloud game scenes.
Background
Cloud gaming is a game style based on cloud computing. In the running mode of the cloud game, all games are run at the server side, and the rendered game pictures are compressed and then transmitted to the client side through the network. The client does not need any high-end processor and display card, and only needs basic video decompression capability.
However, the branding and decoding chips of clients are very popular, and each client has a different hardware decoding capability for video. To ensure optimal compatibility and user experience, push streaming is required using multiple video formats. For example, in the current cloud mobile phone service, for the H265 video format that is promoted gradually, a white list may be configured by the server side to perform plug-flow. The client in the white list uses the H265 video format to push. The other clients adopt the H264 video format to carry out push stream by default.
Disclosure of Invention
The embodiment of the disclosure provides a video decoding method, device, equipment, storage medium and program product of a cloud mobile phone.
In a first aspect, an embodiment of the present disclosure provides a video decoding method of a cloud mobile phone, including: responding to the client to start the cloud mobile phone, and detecting whether the client is provided with a decoder for decoding the video of the first video compression standard; in response to the decoder having the function of decoding the video of the first video compression standard, decoding the push video of the cloud handset based on at least one resolution supported by the first video compression standard; and playing the video obtained by decoding the push video based on the first video compression standard in response to the success of decoding the push video based on the at least one resolution.
In a second aspect, an embodiment of the present disclosure provides a video decoding apparatus of a cloud mobile phone, including: the detection module is configured to respond to the client to start the cloud mobile phone and detect whether the client is provided with a decoder for decoding the video of the first video compression standard; a decoding module configured to decode, in response to a decoder equipped with a decoder to decode video of the first video compression standard, push video of the cloud handset based on at least one resolution supported by the first video compression standard; and the first playing module is configured to play the video obtained by decoding the push video based on the first video compression standard in response to successful decoding of the push video based on the at least one resolution.
In a third aspect, an embodiment of the present disclosure proposes an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform a method as described in the first aspect.
In a fifth aspect, embodiments of the present disclosure propose a computer program product comprising a computer program which, when executed by a processor, implements a method as described in the first aspect.
The embodiment of the disclosure provides a video decoding method of a cloud mobile phone, wherein an SDK actively initiates decoding detection of push video of the cloud mobile phone, and intelligently decides the most suitable video decoding format and resolution by combining the attribute of a hardware decoder of a client. The white list configuration of the server side or the cooperative coordination with other departments is not needed, and the operation flow is simplified. By the pre-detection mode, the current client can initiate video push by using the optimal video format and resolution, so that the quality and fluency of push video are improved. The method not only simplifies the processing flow of the video push stream, but also improves the success rate of the video push stream, and provides better video experience for users.
Nor is it intended to limit the scope of the present disclosure to the critical or important features of the embodiments of the present disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a video decoding method of a cloud handset according to the present disclosure;
FIG. 3 is a flow chart of yet another embodiment of a video decoding method of a cloud handset according to the present disclosure;
FIG. 4 is a flow chart of one scenario in which the video decoding method of the cloud handset of the present disclosure may be implemented;
FIG. 5 is a schematic structural diagram of one embodiment of a video decoding device of a cloud handset according to the present disclosure;
fig. 6 is a block diagram of an electronic device used to implement a video decoding method of a cloud handset according to an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 illustrates an exemplary system architecture 100 in which the present application may be applied.
As shown in fig. 1, system architecture 100 may include a terminal device 101, a network 102, and a server 103. Network 102 is the medium used to provide communication links between terminal device 101 and server 103. Network 102 may include various connection types such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 103 via the network 102 using the terminal device 101 to receive or send messages or the like. Various client applications, such as a cloud game application, may be installed on the terminal device 101.
The terminal device 101 may be hardware or software. When the terminal device 101 is hardware, it may be a variety of electronic devices including, but not limited to, smartphones, tablets, laptop and desktop computers, and the like. When the terminal apparatus 101 is software, it can be installed in the above-listed electronic apparatus. Which may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 103 may be a server that provides various services, such as a background server of a cloud gaming application. The cloud game may be executed in the server 103, and the rendered game screen is compressed and then transmitted to the terminal device 101 through the network 102. The terminal device 101 decompresses the compressed game screen, i.e., displays the game screen.
The server 103 may be hardware or software. When the server 103 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 103 is software, it may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module. The present invention is not particularly limited herein.
It should be noted that, the video decoding method of the cloud mobile phone provided by the embodiment of the present application is generally executed by the terminal device 101, and accordingly, the video decoding device of the cloud mobile phone is generally disposed in the terminal device 101.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a video decoding method of a cloud handset according to the present disclosure is shown. The video decoding method of the cloud mobile phone comprises the following steps:
In step 201, in response to the client starting the cloud mobile phone, it is detected whether the client is provided with a decoder for decoding the video of the first video compression standard.
In this embodiment, when the client starts up the cloud mobile phone, it may be detected whether the client has a decoder that decodes the video of the first video compression standard. If the client has a decoder for decoding the video of the first video compression standard, the process continues to step 202.
Typically, the server may provide the SDK (Software Development Kit ) for plug-in of the cloud handset to the client. The client may install the SDK to integrate the cloud handset onto the client. When the client starts the cloud mobile phone, the SDK is operated and loaded. At this time, it can be detected whether the client has a decoder that decodes the video of the first video compression standard. In particular, the configuration information of the client may be obtained to determine whether it is provided with a decoder that decodes video of the first video compression standard.
The cloud mobile phone can be a mobile phone which applies a cloud computing technology to network terminal services and realizes cloud services through a cloud server. The cloud mobile phone is based on an end cloud integrated virtualization technology, and the user personalized requirements are elastically adapted through the digital capabilities of a cloud network, safety, artificial intelligence and the like, so that the hardware resources of the mobile phone are released, and the mobile phone forms applied to mass cloud are loaded as required. Because the cloud mobile phone is based on the 5G network, complex calculation and large-capacity data can be stored on the cloud end. The user can remotely control the cloud mobile phone in real time in a video stream mode, and finally cloud operation of the android native application and the hand tour is achieved.
The first video compression standard may be, for example, a newly developed video compression standard, which can provide higher video quality and lower bandwidth requirements, thereby improving the viewing experience of the user and bringing better service to the user. For example, in current cloud handset services, the first video compression standard may be, for example, H265. Among them, H265, also called HEVC (HIGH EFFICIENCY Video Coding), is one of several potential successors of AVC (Advanced Video Coding ) that is widely used. H265 provides approximately twice the data compression ratio at the same video quality level, or significantly improves video quality at the same bit rate, as compared to AVC. H265 supports multiple resolutions, where the dominant stream resolution is 1080 x 1920 and 720 x 1280.
Step 202, in response to a decoder capable of decoding video of the first video compression standard, decoding push video of the cloud handset based on at least one resolution supported by the first video compression standard.
In this embodiment, if the client has a decoder for decoding the video of the first video compression standard, the push video of the cloud mobile phone may be decoded based on at least one resolution supported by the first video compression standard.
Wherein the first video compression standard may support at least one resolution. Here, the push video of the cloud handset may be decoded based on at least one resolution supported by the first video compression standard. For example, the first video compression standard supports two main stream resolutions, and push video of the cloud mobile phone can be decoded based on the two main stream resolutions respectively. In some embodiments, firstly decoding a push video of a cloud mobile phone based on the maximum main stream resolution, and if the decoding is successful, obtaining a corresponding decoded video; if the decoding fails, the plug-flow video of the cloud mobile phone is decoded by utilizing the minimum main stream resolution, and if the decoding is successful, the corresponding decoded video is obtained. In some embodiments, the push video of the cloud handset is decoded based on both mainstream resolutions simultaneously. If only one main stream resolution is successfully decoded, obtaining a decoded video corresponding to the resolution of the decoding success; and if the two main stream resolutions are decoded successfully, obtaining a decoded video corresponding to the maximum resolution. Therefore, the two embodiments can ensure that the client can initiate video push by using the optimal video format and resolution, so that the quality and fluency of push video are improved.
In response to successful decoding of the push video based on the at least one resolution, a video resulting from decoding of the push video based on the first video compression standard is played 203.
In this embodiment, if the decoding of the push video based on at least one resolution is successful, a video obtained by decoding the push video based on the first video compression standard may be played. For example, if the decoding of the push video of the cloud mobile phone based on the maximum main stream resolution is successful, a video obtained by decoding the push video of the cloud mobile phone based on the maximum main stream resolution may be played. If the decoding of the push video of the cloud mobile phone based on the maximum main stream resolution fails, but the decoding of the push video of the cloud mobile phone based on the minimum main stream resolution is successful, a video obtained by decoding the push video of the cloud mobile phone based on the minimum main stream resolution can be played.
The embodiment of the disclosure provides a video decoding method of a cloud mobile phone, wherein an SDK actively initiates decoding detection of push video of the cloud mobile phone, and intelligently decides the most suitable video decoding format and resolution by combining the attribute of a hardware decoder of a client. The white list configuration of the server side or the cooperative coordination with other departments is not needed, and the operation flow is simplified. By the pre-detection mode, the current client can initiate video push by using the optimal video format and resolution, so that the quality and fluency of push video are improved. The method not only simplifies the processing flow of the video push stream, but also improves the success rate of the video push stream, and provides better video experience for users.
With further reference to fig. 3, a flow 300 of one embodiment of a video decoding method of a cloud handset according to the present disclosure is shown. The video decoding method of the cloud mobile phone comprises the following steps:
in step 301, the client starts a cloud mobile phone.
In this embodiment, the client may start the cloud handset.
Typically, the server may provide the SDK for push of the cloud handset to the client. The client may install the SDK to integrate the cloud handset onto the client. When the client starts the cloud mobile phone, the SDK is operated and loaded.
The cloud mobile phone can be a mobile phone which applies a cloud computing technology to network terminal services and realizes cloud services through a cloud server. The cloud mobile phone is based on an end cloud integrated virtualization technology, and the user personalized requirements are elastically adapted through the digital capabilities of a cloud network, safety, artificial intelligence and the like, so that the hardware resources of the mobile phone are released, and the mobile phone forms applied to mass cloud are loaded as required. Because the cloud mobile phone is based on the 5G network, complex calculation and large-capacity data can be stored on the cloud end. The user can remotely control the cloud mobile phone in real time in a video stream mode, and finally cloud operation of the android native application and the hand tour is achieved.
In step 302, it is detected whether the client is provided with a decoder for decoding video of the first video compression standard.
In this embodiment, when the client starts up the cloud mobile phone, it may be detected whether the client has a decoder that decodes the video of the first video compression standard. If the client has a decoder for decoding the video of the first video compression standard, step 303 is executed; if the client does not have a decoder for decoding the video of the first video compression standard, the process continues to step 310.
When the client starts the cloud mobile phone, the SDK is operated and loaded. At this time, it can be detected whether the client has a decoder that decodes the video of the first video compression standard. In particular, the configuration information of the client may be obtained to determine whether it is provided with a decoder that decodes video of the first video compression standard.
The first video compression standard may be, for example, a newly developed video compression standard, which can provide higher video quality and lower bandwidth requirements, thereby improving the viewing experience of the user and bringing better service to the user. For example, in current cloud handset services, the first video compression standard may be, for example, H265. Among them, H265, also called HEVC, is one of several potential successors of AVC that is widely used. H265 provides approximately twice the data compression ratio at the same video quality level, or significantly improves video quality at the same bit rate, as compared to AVC. H265 supports multiple resolutions, where the dominant stream resolution is 1080 x 1920 and 720 x 1280.
And step 303, decoding the push video by sequentially using at least one resolution according to the order of the resolutions from the large resolution to the small resolution until the push video is successfully decoded.
In this embodiment, if the client has a decoder for decoding the video of the first video compression standard, the push video may be decoded sequentially using at least one resolution in order of resolution from higher to lower until the push video is successfully decoded.
Wherein the first video compression standard may support at least one resolution. For example, the first video compression standard supports two main stream resolutions, and push video of the cloud mobile phone can be decoded based on the two main stream resolutions respectively. Specifically, firstly decoding the push video of the cloud mobile phone based on the maximum main stream resolution, and stopping decoding if the decoding is successful; and if the decoding fails, decoding the push video of the cloud mobile phone by utilizing the minimum main stream resolution.
Step 304 determines whether the push video was successfully decoded with the maximum of the at least one resolution.
In this embodiment, it is determined whether the push video is successfully decoded using the maximum resolution of the at least one resolution. If the decoding of the push video is successful using the maximum resolution of the at least one resolution, step 305 is performed; if decoding of the push video fails with the maximum resolution of the at least one resolution, step 309 is performed.
Step 305 determines the maximum resolution of the first video compression standard supported by the decoder.
In this embodiment, in case that the decoding of the push video is successful using the maximum resolution of the at least one resolution, the maximum resolution of the first video compression standard supported by the decoder may be determined. In particular, the configuration information of the client may be obtained to determine a maximum resolution of the first video compression standard supported by the decoder. Wherein the maximum resolution of the first video compression standard supported by the decoder is related to the configuration of the client, the maximum resolutions of the first video compression standards supported by the decoders of different clients are typically different.
Step 306 determines whether the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution.
In this embodiment, it is determined whether the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution. If the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution, performing step 307; if the maximum resolution of the first video compression standard supported by the decoder is not greater than the maximum resolution of the at least one resolution, step 308 is performed.
In step 307, the video obtained by decoding the push video using the maximum resolution of the first video compression standard supported by the decoder is played.
In this embodiment, if the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution, a video obtained by decoding the push video using the maximum resolution of the first video compression standard supported by the decoder may be played.
Step 308, playing the video obtained by decoding the push video with the maximum resolution of the at least one resolution.
In this embodiment, if the maximum resolution of the first video compression standard supported by the decoder is not greater than the maximum resolution of the at least one resolution, a video obtained by decoding the push video using the maximum resolution of the at least one resolution may be played.
Step 309, playing the video obtained by decoding the push video with the resolution of successful decoding.
In this embodiment, if the decoding of the push video by using a resolution other than the maximum resolution in the at least one resolution is successful, a video obtained by decoding the push video by using the resolution that was decoded successfully may be played.
Step 310 determines the maximum resolution of the second video compression standard supported by the decoder.
In this embodiment, if decoding of the push video fails based on at least one resolution, a maximum resolution of the second video compression standard supported by the decoder may be determined. In particular, the configuration information of the client may be obtained to determine the maximum resolution of the second video compression standard supported by the decoder. Wherein the maximum resolution of the second video compression standard supported by the decoder is related to the configuration of the client, the maximum resolutions of the second video compression standards supported by the decoders of different clients are typically different.
The second video compression standard may be, for example, a currently common video compression standard. Typically, the second video compression standard supports a lower resolution than the first video compression standard. For example, in current cloud handset services, the first video compression standard may be, for example, H265 and the second video compression standard may be, for example, H264. Where H264 is a highly compressed digital video codec standard. The greatest advantage of H264 is a very high data compression ratio. The low code rate plays an important role in the high compression ratio of H264, and the H264 compression technology can greatly save the downloading time and the data traffic charge of users. In particular, H264 has a high compression ratio and also has a high quality and smooth image, and as such, video data compressed by H264 requires less bandwidth and is more economical in network transmission. H265 is a new video coding standard formulated subsequent to H264. Higher video quality and lower bandwidth requirements can be provided compared to H264.
Step 311, playing the video obtained by decoding the push video with the maximum resolution of the second video compression standard supported by the decoder.
In this embodiment, after determining the maximum resolution of the second video compression standard supported by the decoder, the push video may be decoded using the maximum resolution of the second video compression standard supported by the decoder, and the decoded video may be played. Thus, it can be ensured that in case of decoding failure of the first video compression standard, the second video compression standard can still be used for push.
The embodiment of the disclosure provides a video decoding method of a cloud mobile phone, which can automatically detect and identify decoding conditions of cloud mobile phone videos supportable by a client, and has the following remarkable advantages:
1. High-efficiency decision: the SDK actively initiates real push video decoding detection of the cloud mobile phone, and intelligently decides the most suitable video decoding format and resolution by combining the attribute of a hardware decoder of the client. This mechanism ensures that the H265 video format is preferentially selected for high-quality low-traffic streaming, providing a better viewing experience for the user.
2. The simplified flow: the white list configuration of the server side or the cooperative coordination with other departments is not needed, and the operation flow is simplified. This greatly improves the promotion progress of the H265 video stream.
3. The success rate is improved: by increasing detection and resolution judgment of H265 and H264, the probability of successful plug flow connection of the cloud mobile phone is improved. This improvement ensures the stability and reliability of the push-to-flow connection, reducing the instances of connection interruption or failure.
In summary, through automatic detection and intelligent decision, the operation flow is simplified, and the quality and success rate of video push flow are improved. The cloud mobile phone video streaming method and the cloud mobile phone video streaming system provide a smoother and high-quality cloud mobile phone video experience for users, and simultaneously provide a more efficient video streaming solution for service providers.
With further reference to fig. 4, a flow 400 of one scenario of a video decoding method of a cloud handset that may implement the present disclosure is shown, comprising the steps of:
Step 401, it is determined whether the cell phone decoder supports H265. If yes, go to step 402 and step 403; if not, go to step 409.
Step 402, obtaining the maximum height supported by the H265 decoder of the mobile phone.
Step 403, whether decoding 1080 x 1920 the H265 video was successful. If yes, go to step 404; if not, go to step 407.
Step 404, determining whether the maximum height is greater than 1080 x 1920. If yes, go to step 405; if not, go to step 406.
Step 405, obtain the maximum height supported by the H265 decoder of the handset.
In step 406, the maximum value supported by the H265 decoder is 1080×1920.
Step 407, whether the decoding 720 x 1280 of the H265 video was successful. If yes, go to step 408; if not, go to step 409.
In step 408, the maximum value supported by the H265 decoder is 720 x 1280.
Step 409, H265 is not supported.
Step 410, the maximum height supported by the H264 decoder of the mobile phone is obtained.
In a scenario of implementing the video decoding method of the cloud mobile phone of the present disclosure, when the SDK is loaded, a mechanism is designed for detecting whether the mobile phone client has a hardware decoder for decoding the H265 video. And if so, performing hardware decoding attempt on the cloud mobile phone push video with the H265 coding format with two built-in resolutions in advance. By judging whether the complete video frame can be decoded, whether the current mobile phone client has the capability of decoding H265 video can be determined. Once decoded successfully, the client's current decoder also parses the maximum resolution supported by H265 to select the appropriate resolution for subsequent pushing.
If it fails in decoding H265, the client's current decoder will simultaneously resolve the maximum resolution supported by H264. This step is to ensure that H264 can still be used for push in case of H265 decoding failure.
By the pre-detection mode, the current client can initiate video streaming by using the optimal video format and resolution, so that the streaming quality and smoothness are improved. The design not only simplifies the processing flow of the video push flow, but also improves the success rate of the video push flow, and provides better video experience for users.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of a video decoding apparatus of a cloud mobile phone, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the video decoding apparatus 500 of the cloud mobile phone of the present embodiment may include: a detection module 501, a decoding module 502 and a first playing module 503. Wherein the detection module 501 is configured to detect, in response to the client starting the cloud mobile phone, whether the client is provided with a decoder for decoding the video of the first video compression standard; a decoding module 502 configured to decode the plug-flow video of the cloud handset based on at least one resolution supported by the first video compression standard in response to a decoder having the capability of decoding video of the first video compression standard; the first playing module 503 is configured to play a video obtained by decoding the push video based on the first video compression standard in response to successful decoding of the push video based on the at least one resolution.
In this embodiment, in the video decoding apparatus 500 of the cloud mobile phone: the specific processing and technical effects of the detection module 501, the decoding module 502 and the first playing module 503 may refer to the relevant descriptions of steps 201 to 203 in the corresponding embodiment of fig. 2, and are not repeated herein.
In some alternative implementations of the present embodiment, the decoding module 502 is further configured to: and sequentially decoding the push video by using at least one resolution according to the order of the resolutions from large to small until the push video is successfully decoded.
In some optional implementations of this embodiment, the first playing module 503 is further configured to: determining a maximum resolution of a first video compression standard supported by a decoder in response to successful decoding of the push video with a maximum resolution of the at least one resolution; and if the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution, playing the video obtained by decoding the push video by utilizing the maximum resolution of the first video compression standard supported by the decoder.
In some optional implementations of this embodiment, the first playing module 503 is further configured to: and if the maximum resolution of the first video compression standard supported by the decoder is not greater than the maximum resolution of the at least one resolution, playing the video obtained by decoding the push video by utilizing the maximum resolution of the at least one resolution.
In some optional implementations of this embodiment, the first playing module 503 is further configured to: and in response to the success of decoding the push video by using the resolution other than the maximum resolution in the at least one resolution, playing the video obtained by decoding the push video by using the resolution of which the decoding is successful.
In some optional implementations of this embodiment, the video decoding apparatus 500 of the cloud mobile phone further includes: a determining module configured to determine a maximum resolution of a second video compression standard supported by the decoder in response to a failure to decode the push video based on the at least one resolution, wherein the resolution supported by the second video compression standard is lower than the resolution supported by the first video compression standard; and the second playing module is configured to play the video obtained by decoding the push video by using the maximum resolution of the second video compression standard supported by the decoder.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the video decoding method of a cloud handset. For example, in some embodiments, the video decoding method of a cloud handset may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the video decoding method of the cloud handset described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the video decoding method of the cloud handset by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions provided by the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (15)

1. A video decoding method of a cloud mobile phone comprises the following steps:
Responding to a client to start a cloud mobile phone, and detecting whether the client is provided with a decoder for decoding video of a first video compression standard;
Decoding, in response to a decoder having the capability of decoding video of the first video compression standard, push video of the cloud handset based on at least one resolution supported by the first video compression standard;
And playing the video obtained by decoding the push video based on the first video compression standard in response to the success of decoding the push video based on the at least one resolution.
2. The method of claim 1, wherein the decoding the push video of the cloud handset based on at least one resolution supported by the first video compression standard comprises:
And sequentially decoding the push video by using the at least one resolution according to the order of the resolutions from the large resolution to the small resolution until the push video is successfully decoded.
3. The method of claim 2, wherein the playing of the video resulting from decoding the push video based on the first video compression standard comprises:
determining a maximum resolution of the first video compression standard supported by the decoder in response to successful decoding of the push video with a maximum resolution of the at least one resolution;
And if the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution, playing the video obtained by decoding the push video by utilizing the maximum resolution of the first video compression standard supported by the decoder.
4. The method of claim 3, wherein the playing of the video decoded from the push video based on the first video compression standard further comprises:
And if the maximum resolution of the first video compression standard supported by the decoder is not greater than the maximum resolution of the at least one resolution, playing the video obtained by decoding the push video by utilizing the maximum resolution of the at least one resolution.
5. The method of claim 4, wherein the playing of the video decoded from the push video based on the first video compression standard further comprises:
And in response to the success of decoding the push video by using the resolution except the maximum resolution in the at least one resolution, playing the video obtained by decoding the push video by using the resolution which is successfully decoded.
6. The method of any of claims 1-5, wherein the method further comprises:
Determining a maximum resolution of a second video compression standard supported by the decoder in response to failure to decode the push video based on the at least one resolution, wherein the second video compression standard supports a lower resolution than the first video compression standard;
And playing the video obtained by decoding the push video by utilizing the maximum resolution of the second video compression standard supported by the decoder.
7. A video decoding device of a cloud mobile phone, comprising:
a detection module configured to detect whether a client is provided with a decoder for decoding video of a first video compression standard in response to the client starting a cloud mobile phone;
a decoding module configured to decode push video of the cloud handset based on at least one resolution supported by the first video compression standard in response to a decoder equipped to decode video of the first video compression standard;
And the first playing module is configured to play the video obtained by decoding the push video based on the first video compression standard in response to successful decoding of the push video based on the at least one resolution.
8. The apparatus of claim 7, wherein the decoding module is further configured to:
And sequentially decoding the push video by using the at least one resolution according to the order of the resolutions from the large resolution to the small resolution until the push video is successfully decoded.
9. The apparatus of claim 8, wherein the first playback module is further configured to:
determining a maximum resolution of the first video compression standard supported by the decoder in response to successful decoding of the push video with a maximum resolution of the at least one resolution;
And if the maximum resolution of the first video compression standard supported by the decoder is greater than the maximum resolution of the at least one resolution, playing the video obtained by decoding the push video by utilizing the maximum resolution of the first video compression standard supported by the decoder.
10. The apparatus of claim 9, wherein the first playback module is further configured to:
And if the maximum resolution of the first video compression standard supported by the decoder is not greater than the maximum resolution of the at least one resolution, playing the video obtained by decoding the push video by utilizing the maximum resolution of the at least one resolution.
11. The apparatus of claim 10, wherein the first playback module is further configured to:
And in response to the success of decoding the push video by using the resolution except the maximum resolution in the at least one resolution, playing the video obtained by decoding the push video by using the resolution which is successfully decoded.
12. The apparatus of any of claims 7-11, wherein the apparatus further comprises:
A determining module configured to determine a maximum resolution of a second video compression standard supported by the decoder in response to a failure to decode the push video based on the at least one resolution, wherein the resolution supported by the second video compression standard is lower than the resolution supported by the first video compression standard;
and a second playing module configured to play a video obtained by decoding the push video with a maximum resolution of the second video compression standard supported by the decoder.
13. An electronic device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-6.
CN202410268762.3A 2024-03-08 2024-03-08 Video decoding method and device of cloud mobile phone Pending CN117956226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410268762.3A CN117956226A (en) 2024-03-08 2024-03-08 Video decoding method and device of cloud mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410268762.3A CN117956226A (en) 2024-03-08 2024-03-08 Video decoding method and device of cloud mobile phone

Publications (1)

Publication Number Publication Date
CN117956226A true CN117956226A (en) 2024-04-30

Family

ID=90796431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410268762.3A Pending CN117956226A (en) 2024-03-08 2024-03-08 Video decoding method and device of cloud mobile phone

Country Status (1)

Country Link
CN (1) CN117956226A (en)

Similar Documents

Publication Publication Date Title
WO2020248909A1 (en) Video decoding method and apparatus, computer device, and storage medium
CN111135569A (en) Cloud game processing method and device, storage medium and electronic equipment
CN112422963A (en) Cloud computer system, encoding method, device, equipment and storage medium
CN114422799B (en) Decoding method and device for video file, electronic equipment and program product
CN115643449A (en) Video display method, device, equipment, storage medium and system of cloud service
CN112200712A (en) GLES image rendering method and device, storage medium and computer equipment
US10462200B2 (en) System for cloud streaming service, method for still image-based cloud streaming service and apparatus therefor
CN114245175A (en) Video transcoding method and device, electronic equipment and storage medium
CN107493478B (en) Method and device for setting coding frame rate
CN116866658A (en) Video data processing method, device, equipment and medium
US20220239920A1 (en) Video processing method, related apparatus, storage medium, and program product
CN117956226A (en) Video decoding method and device of cloud mobile phone
CN114501084B (en) Play method, device, equipment and medium of player
CN111467797B (en) Game data processing method and device, computer storage medium and electronic equipment
CN114760309A (en) Business interaction method, device, equipment and medium of terminal based on cloud service
CN114979541A (en) Video display system
WO2016154816A1 (en) Data processing method and device
KR20160093929A (en) System for cloud streaming service, method of image cloud streaming service using simultaneous encoding and apparatus for the same
CN114125135B (en) Video content presentation method and device, electronic equipment and storage medium
CN116033235B (en) Data transmission method, digital person production equipment and digital person display equipment
CN113840173B (en) Webpage video playing method, device, equipment, storage medium and program product
CN113824985B (en) Live streaming method, apparatus, device, storage medium and computer program product
CN116405709A (en) Cloud rendering method and related equipment
CN114071185A (en) Video stream issuing method, related device and computer program product
CN115801878A (en) Cloud application picture transmission method, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination