Multimedia redirection method, device, and system
AssigneeHuawei Technologies Co., Ltd.
InventorsChong Chen, Yanping Meng
Life of this patent
Estimating the term…
Abstract
A multimedia redirection method comprising receiving, by a server, a hardware decoding capability sent by a client, where the hardware decoding capability is a hardware decoding capability that is in a video hardware acceleration specification and that is converted from a hardware decoding capability of a non-Windows operating system by the client; restoring, by the server, video data to a video code stream of a standard encoding format after receiving the hardware decoding capability; and sending, by the server, the video code stream to the client for decoding and display.
Claims16
A multimedia redirection method, comprising:
- receiving, by a server, a hardware decoding capability *seat-from a client device, wherein the hardware decoding capability is in a video hardware acceleration specification, wherein the hardware decoding capability is converted from a hardware decoding capability of an operating system by the client device, and wherein the hardware decoding capability of die operating system Is not a hardware decoding capability in the video hardware acceleration specification;
- restoring, by the server, video data to a video code stream of a standard encoding format after receiving the hardware decoding capability;
- and
- sending, by the server, the video code stream to the client device;
- wherein restoring video data to the video code stream of the standard encoding format comprises:
- obtaining, by the server from an image buffer, decoding parameter information used to decode the video data, wherein the decoding parameter information comprises a specification, a profile level, and video resolution that correspond to a code stream of the video data;
- obtaining, by the server, a video frame sequence of the video data from a code stream buffer;
- filling, by the server, the decoding parameter information into a structure corresponding to the standard encoding format;
- and
- synthesizing, by the server, the video frame sequence with the decoding parameter information in the structure corresponding to the standard encoding format to obtain the video code stream of the standard encoding format.
A multimedia redirection method, comprising:
- converting, by a client device, a hardware decoding capability of the client device into a hardware decoding capability in a video hardware acceleration specification, wherein the client device comprises an operating system, wherein the hardware decoding capability of the operating system is not a hardware decoding capability in the video hardware acceleration specification;
- sending, by the client device, the hardware decoding capability in the video hardware acceleration specification to a server;
- receiving, by the client device, a video code stream of a standard encoding format and obtained by restoring video data by the server;
- creating, by the client device, a decoder based on the hardware decoding capability in the video hardware acceleration specification;
- decoding by the client device, the video code stream;
- displaying, by the client device, the decoded video code stream;
- wherein receiving, by the client device, the video code stream of the standard encoding format and obtained by restoring video data by the server, and decoding and displaying the video code stream comprises:
- receiving, by the client device, a video frame instruction seat-fey from the server;
- wherein the video frame instruction comprises decoding parameter information in a structure corresponding to the standard encoding format and a video frame of a video frame sequence, and wherein the decoding parameter information in the structure corresponding to the standard encoding format comprises a specification, a profile level;
- and video resolution that correspond to a code stream of the video data;
- receiving, by the client device, a rendering instruction corresponding to the video frame instruction and from the server, wherein the rendering instruction comprises an identifier of the video frame and a display area;
- decoding, by the client device, the video code stream according to the video frame instruction and the rendering instruction;
- and
- displaying, by the client device, the decoded video code stream.
A server comprising:
- a memory storing a program of executable instructions;
- and a processor coupled to the memory and configured to execute the program in the memory to:
- receive a hardware decoding capability from a client device, wherein the hardware decoding capability is in a video hardware acceleration specification and, wherein the hardware decoding capability is converted from a hardware decoding capability of an operating system by the client device, and wherein the hardware decoding capability of the operating, system is not a hardware decoding capability in the video hardware acceleration specification;
- restore video data to a video code stream of a standard encoding format after receiving the hardware decoding capability;
- and
- send the video code stream to the client device;
- wherein the processor is further configured to:
- obtain, from an image buffer, decoding parameter information needed to decode the video data, wherein the decoding parameter information comprises a specification, a profile level, and video resolution that correspond to a code stream of the video data;
- obtain a video frame sequence of the video data from a code stream buffer;
- fill the decoding parameter information into a structure corresponding to the standard encoding format;
- and
- synthesize the video frame sequence with the decoding parameter information in the structure corresponding to the standard encoding format to obtain the video code stream of the standard encoding format.
A client device comprising:
- a memory storing a program of executable instructions;
- and
- a processor coupled to the memory and configured to execute program in the memory to:
- convert a hardware decoding capability of the client device into a hardware decoding capability in a video hardware acceleration specification, wherein the client device comprises an operating system, and wherein die hardware decoding capability of the operating system is not a hardware decoding capability In the video hardware acceleration specification;
- send the hardware decoding capability in the video hardware acceleration specification to a server;
- receive a video code stream of a standard encoding format and obtained by restoring video data by the server;
- create a decoder based on the hardware decoding capability in die video hardware acceleration specification;
- decode the video code stream;
- and display the decoded video code stream' wherein the processor is further configured to:
- receive a video frame instruction four the server, wherein the video frame instruction comprises decoding parameter information in a structure corresponding to the standard encoding format and a video frame of a video frame sequence, and wherein the decoding parameter information in the structure corresponding to the standard encoding format comprises a specification, a profile level, and video resolution that correspond to a code stream of the video data;
- receive a rendering instruction corresponding to the video frame instruction and sent from the server, wherein the rendering instruction comprises an identifier of the video frame and a display area;
- decode the video code stream according to the video frame instruction and the rendering instruction;
- and display the decoded video code stream.
Dependencies are inferred from the claim text.