CN102761736A - Video decoding method and device - Google Patents

Video decoding method and device Download PDF

Info

Publication number
CN102761736A
CN102761736A CN2011101104841A CN201110110484A CN102761736A CN 102761736 A CN102761736 A CN 102761736A CN 2011101104841 A CN2011101104841 A CN 2011101104841A CN 201110110484 A CN201110110484 A CN 201110110484A CN 102761736 A CN102761736 A CN 102761736A
Authority
CN
China
Prior art keywords
server
decoder
soft decoder
user
video
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
CN2011101104841A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2011101104841A priority Critical patent/CN102761736A/en
Publication of CN102761736A publication Critical patent/CN102761736A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video decoding method which comprises the steps as follows: in user terminal equipment, presetting a user terminal chip ability list for indicating video formats respectively supported by decoders in the user terminal equipment; identifying the formats of videos to be played, and searching a decoder supporting the formats of the videos to be played in the user terminal chip ability list; and calling the searched decoder to decode the videos to be played. In addition, the invention further discloses a video decoding device. The user experience can be improved by using the method and the device disclosed by the invention.

Description

Video decoding method and device
Technical Field
The present invention relates to decoding technologies, and in particular, to a video decoding method and apparatus.
Background
With the development and popularization of smart phones, users watch videos with mobile phone players increasingly frequently. After the user downloads the video to be watched into the smart phone, the smart phone decodes the downloaded video and then can smoothly play the video. In the prior art, there are mainly two video decoding methods: a hardware-based decoding method and a software-based decoding method are described below.
Current smartphones are typically equipped with a system decoder, i.e., a hard decoder as described below. Different chip models of smart phones may include different hard decoders, where a hard decoder includes a plurality of different hardware decoding elements, where the different hardware decoding elements include different hardware decoding elements, and each hardware decoding element may be used to decode a format of video. The hard decoder has higher decoding speed, but is limited by the type and the number of hardware decoding elements, and one hard decoder can only decode videos in fixed formats, for example, for the hard decoder of an android system smart phone, only video files in mp4 and 3gp formats are supported.
The soft decoder is hardware independent, the hard decoder decodes video at the physical layer, and the soft decoder is used to decode video using decoding techniques at the application layer. There are many kinds of soft decoders on the market currently, there is a corresponding soft decoder for each video format, and as long as the soft decoder supporting the corresponding video format is installed on the smart phone, the video in the format can be decoded, so that the soft decoder has a relatively flexible applicability. However, the instructions of the soft decoder guarantee the compatibility of the smart phones with different chip models in a mode of sacrificing efficiency when the instructions are operated, so the operation speed of the soft decoder is not high.
The smart phone system in the current market is provided with a hard decoder and one or more soft decoders, when a user needs to decode a downloaded video, the smart phone system provides two options for the user, wherein one option is used for indicating that the hard decoder is selected, the other option is used for indicating that the soft decoder is selected, if the hard decoder is selected by the user, the smart phone system calls the hard decoder to decode, and if the soft decoder is selected by the user, the smart phone system calls the corresponding soft decoder to decode after recognizing the format of the video to be played. If the smart phone system does not have the soft decoder corresponding to the format of the video to be played, the smart phone also needs to send a request to the server in a wireless networking mode to request the soft decoder corresponding to the format, the server stores the soft decoders corresponding to each different video format one by one in advance, after receiving the request sent by the smart phone, the server sends the soft decoder corresponding to the format to the smart phone, namely the smart phone downloads the soft decoder corresponding to the format, and then the smart phone system calls the soft decoder to decode.
It can be seen that, in the prior art, the user selects the decoder to decode the video to be played by a manual method, and since the user does not know the format of the video to be played, the format supported by the hard decoder and the format supported by each soft decoder, the user selects the decoder by a manual method is a completely blind behavior. This blind behavior may result in multiple repeated selections, for example, if the video to be played is in a format supported by a soft decoder, the user blindly selects a hard decoder that does not support the format, resulting in a decoding failure, and then the user must re-select the soft decoder among the options. Such blind selection may also result in a failure to select an optimal decoder for the video, for example, if the video to be played is in a format supported by a hard decoder with a faster decoding rate, the user blindly selects a soft decoder with a slower decoding rate that also supports this format, resulting in a longer decoding time for the video. In summary, in the prior art, a method for decoding a video to be played by selecting a decoder manually by a user has certain blindness, and a correct and optimal decoder may not be selected for the video, so that the user repeatedly selects the video for many times or the decoding time is long, thereby reducing the user experience.
Disclosure of Invention
In view of this, the present invention provides a video decoding method, which can improve user experience.
The invention provides a video decoding device which can improve user experience.
In order to solve the technical problem, the technical scheme of the invention is realized as follows:
a method of video decoding, the method comprising:
presetting a user side chip capability table in user equipment, wherein the user side chip capability table is used for representing video formats supported by each decoder in the user equipment;
identifying the video format of the video to be played, searching a decoder supporting the video format of the video to be played in a user side chip capability table, and calling the searched decoder to decode the video to be played.
Before invoking the searched decoder to decode the video to be played, the method further comprises: judging whether the searched decoder comprises a hard decoder, if so, calling the hard decoder to decode the video to be played; otherwise, calling a soft decoder supporting the video format of the video to be played to decode the video to be played.
Before looking up the decoder supporting the video format of the video to be played in the client chip capability table, the method further comprises: the method comprises the steps of storing each soft decoder in a server in advance, and setting a plurality of server-side chip capability tables in the server, wherein each server-side chip capability table corresponds to one chip type, and each server-side chip capability table is used for representing the video format supported by each soft decoder supported by the chip type.
If the client-side chip capability table does not have a decoder supporting the video format of the video to be played, the method further comprises:
the user equipment sends a soft decoder downloading request to a server, wherein the request carries the chip model of the user equipment and the video format of the video to be played;
the server searches a server-side chip capability table corresponding to the chip type according to the chip type in the request, searches a soft decoder supporting the video format in the request in the server-side chip capability table corresponding to the chip type according to the video format in the request, and sends the searched soft decoder, the name of the searched soft decoder and the video format supported by the searched soft decoder to the user equipment;
the user equipment receives and stores a soft decoder from the server, calls the soft decoder to decode the video to be played, and adds the name of the soft decoder and the supported video format to a chip capability table at the user equipment end.
When the soft decoder found in the server-side chip capability table by the server includes the advanced soft decoder, the soft decoder sent to the user equipment by the server is the advanced soft decoder, the name of the soft decoder sent to the user equipment by the server is the name of the advanced soft decoder, and the video format supported by the soft decoder sent to the user equipment by the server is the video format supported by the advanced soft decoder.
The method further comprises the following steps: storing the new soft decoder in the server, and deleting the soft decoder which supports the same video format as the new soft decoder in the server; and storing the name of the new soft decoder and the video format supported by the new soft decoder in the server-side chip capability table, and deleting the name of the soft decoder supporting the same video format and the supported video format from the server-side chip capability table.
The method further comprises the following steps:
the server sends a notification message to the user, wherein the notification message carries the name of the new soft decoder and the video format supported by the new soft decoder;
the user equipment returns a confirmation message to the server, and the server sends the new soft decoder to the user equipment;
the user equipment stores the new soft decoder and deletes the soft decoder which supports the same video format in the user equipment and the new soft decoder, the user equipment stores the name of the new soft decoder and the video format supported by the new soft decoder in the user side chip capability table, and deletes the name of the soft decoder which supports the same video format and the supported video format from the user side chip capability table.
A video decoding apparatus, the apparatus comprising a user equipment, the user equipment comprising: the system comprises a user capability table establishing module, a user searching module, a user calling module and a user storage module; wherein,
the user storage module is used for storing each decoder in the user equipment;
the user capability table establishing module is used for presetting a user side chip capability table which is used for expressing video formats supported by each decoder in the user equipment;
the user searching module is used for identifying the video format of the video to be played, searching a decoder supporting the video format of the video to be played in a user side chip capability table, and sending the searched decoder to the user calling module;
and the user calling module is used for calling the searched decoder in the user storage module to decode the video to be played.
Before the user calling module calls the searched decoder to decode the video to be played, further judging whether the searched decoder comprises a hard decoder, if so, calling the hard decoder to decode the video to be played; otherwise, calling a soft decoder supporting the video format of the video to be played to decode the video to be played.
The apparatus further comprises a server, the server comprising: the server capacity table establishing module and the server storage module are used for establishing the server capacity table; wherein,
the server storage module is used for storing each soft decoder in the server in advance;
the server capability table establishing module is used for setting a plurality of server-side chip capability tables on a server, wherein each server-side chip capability table corresponds to one chip type, and each server-side chip capability table is used for representing the video formats supported by each soft decoder supported by the chip type.
The server further comprises a server searching module, if the user searching module does not search the decoder supporting the video format of the video to be played in a user side chip capability table, the user searching module further sends a soft decoder downloading request to the server searching module, and the request carries the chip model of the user equipment and the video format of the video to be played;
the server searching module is used for searching a server-side chip capability table corresponding to the chip type according to the chip type in the request, searching a soft decoder supporting the video format in the request in the server-side chip capability table corresponding to the chip type according to the video format in the request, informing the server storage module to send the searched soft decoder to the user storage module, and informing the user searching module to send the name of the searched soft decoder and the video format supported by the searched soft decoder to the user capability table establishing module;
the user storage module receives and stores a soft decoder from a server, the user calling module calls the soft decoder to decode the video to be played, and the user capability table establishing module adds the name of the soft decoder and the supported video format to a chip capability table at a user equipment end.
If the soft decoder searched in the server-side chip capability table by the server search module comprises an advanced soft decoder, the soft decoder sent to the user storage module by the server storage module is the advanced soft decoder, the name of the soft decoder sent to the user capability table establishment module by the user search module is the name of the advanced soft decoder, and the video format supported by the soft decoder sent to the user capability table establishment module by the user search module is the video format supported by the advanced soft decoder.
The server storage module is further used for storing a new soft decoder and deleting the soft decoders in the server and the new soft decoder which support the same video format;
the server capacity table establishing module is further used for storing the name of the new soft decoder and the video format supported by the new soft decoder in the server-side chip capacity table, and deleting the name of the soft decoder supporting the same video format and the supported video format from the server-side chip capacity table.
The server searching module is further configured to send a notification message to the user searching module, where the notification message carries a name of the new soft decoder in the server capability table establishing module and a video format supported by the new soft decoder;
the user searching module returns a confirmation message to the server searching module, and the server searching module sends a new soft decoder in the server storage module to the user searching module;
the user storage module stores the new soft decoder sent to the user searching module, deletes the soft decoder supporting the same video format in the user equipment and the new soft decoder, and the user capability table establishing module stores the name of the new soft decoder sent to the user searching module and the video format supported by the new soft decoder in the user side chip capability table, and deletes the name of the soft decoder supporting the same video format and the supported video format from the user side chip capability table.
Based on the scheme provided by the invention, a user end chip capability table is preset in user equipment, the user end chip capability table represents the video formats supported by each decoder in the user equipment respectively, then the video formats of the videos to be played are identified, decoders supporting the video formats of the videos to be played are searched in the user end chip capability table, and the searched decoders are called to decode the videos to be played Formula), user experience is improved.
Further, in the invention, if the searched decoder comprises a hard decoder, the hard decoder is preferentially called to decode, so that a better decoder can be selected for the video to be played, the decoding speed is increased, and the user experience is further improved.
Further, in the present invention, a plurality of server-side chip capability tables are set in the server, wherein each server-side chip capability table corresponds to one chip type, each server-side chip capability table is used for representing a video format supported by each soft decoder supported by the chip type, and if a decoder supporting the video format of the video to be played does not exist in the client-side chip capability table, the user equipment can download the corresponding decoder from the server, so that the decoder that the user can use is not limited to the user equipment, and a more flexible selection is provided for the decoder that the user can use.
Meanwhile, the invention also provides an updating scheme of the soft decoder in the user equipment, and can provide a more efficient decoder for the user in real time.
Drawings
Fig. 1 is a flowchart illustrating a video decoding method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a second embodiment of a video decoding method according to the present invention.
Fig. 3 is a block diagram of an embodiment of a video decoding apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
Fig. 1 is a flowchart illustrating a video decoding method according to a first embodiment of the present invention. As shown in fig. 1, this embodiment includes the steps of:
step 101, a client chip capability table is preset in a user equipment, and the client chip capability table is used for indicating video formats supported by each decoder in the user equipment.
Step 102, identifying a video format of a video to be played, searching a decoder supporting the video format of the video to be played in a user side chip capability table, and calling the searched decoder to decode the video to be played.
This flow ends by this point.
Example two
Fig. 2 is a flowchart of a second embodiment of a video decoding method provided by the present invention, in the present embodiment, a user equipment is a smart phone, and for convenience of description, unless otherwise specified, all the mobile phones in the present application refer to smart phones.
As shown in fig. 2, this embodiment includes the steps of:
step 201, storing each soft decoder in a server in advance, and setting a plurality of server-side chip capability tables in the server, where each server-side chip capability table corresponds to one chip type, and each server-side chip capability table is used to indicate a video format supported by each soft decoder supported by the chip type.
In the prior art, all the soft decoders are stored in the server, and are used for providing the download service of the soft decoders to the mobile phone. In the present invention, the server in step 201 stores all the soft decoders, and also has a plurality of server-side chip capability tables, and each server-side chip capability table corresponds to one chip type. Assume that there are three chip models in the market today: a. b, c, storing three server chip capability tables in the server, wherein each server chip capability table corresponds to each chip model. Assume that all soft decoders supported by chip model a are: the method includes the steps of a normal soft decoder 1, a normal soft decoder 2, an advanced soft decoder 1, and an advanced soft decoder 2, where table 1 is a schematic diagram of an embodiment of a server-side chip capability table corresponding to a chip model a, as shown in table 1, the left column is an identifier of the soft decoder (for example, a name of the soft decoder), the right column is a video format supported by the decoder, and table 1 lists video formats supported by each soft decoder.
Soft decoder Video format
Advanced soft decoder 1 mp4
Advanced soft decoder 2 3gp
Generic soft decoder 1 rmvb
Generic soft decoder 2 mov
TABLE 1
It should be noted that the advanced soft decoder refers to a soft decoder supporting advanced instructions, and the advanced soft decoder can be installed in a mobile phone of a chip model supporting advanced instructions. The normal soft decoder refers to a soft decoder that does not support advanced instructions. Since higher-level instructions have higher efficiency of execution, such as the Armv7 instruction, the advanced soft decoder has a faster decoding speed than the normal soft decoder.
Step 202, a mobile phone end chip capability table is preset in the mobile phone, and the mobile phone end chip capability table is used for representing video formats supported by each decoder in the mobile phone.
The decoder in the handset includes: a hard decoder, and one or more soft decoders.
Table 2 is a schematic diagram of an embodiment of a capability table at a chip end of a mobile phone, and as shown in table 2, the left column is an identifier of a decoder (for example, a name of the decoder), and the right column is a video format supported by the decoder. It is assumed that the hard decoder in the handset supports two video formats: mp4 and 3gp, a normal soft decoder 1 and a normal soft decoder 2 are also installed inside the mobile phone, the video format supported by the normal soft decoder 1 is rmvb, and the video format supported by the normal soft decoder 2 is mov.
Decoder Video format
Hard decoder mp4
Hard decoder 3gp
Generic soft decoder 1 rmvb
Generic soft decoder 2 mov
TABLE 2
As shown in table 2, table 2 shows the video formats supported by the hard decoder, the normal soft decoder 1, and the normal soft decoder 2 in the mobile phone, respectively.
The list shown in table 2 is only an example, and the format of the capability table of the mobile phone end chip is not specifically limited in the present invention, as long as the format can represent the video format supported by each soft decoder and each hard decoder in the mobile phone, for example, table 3 is a schematic diagram of another embodiment of the capability table of the mobile phone end chip, and the form of table 3 may also be adopted.
Decoder Video format
Hard decoder mp4、3gp
Generic soft decoder 1 rmvb
Generic soft decoder 2 mov
TABLE 3
It should be noted that, since a mobile phone may include a plurality of soft decoders, each soft decoder can only support one video format, there is a one-to-one correspondence between each soft decoder and each video format, but a mobile phone includes only one hard decoder, and the hard decoder may support a plurality of video formats, and thus there may not be a one-to-one correspondence between the hard decoder and the video formats.
In practical applications, it is also possible that one video format can be decoded by using either a hard decoder or a soft decoder, for example, table 4 is a schematic diagram of another embodiment of the capability table of the mobile phone side chip, and the embodiment shown in table 4 shows that the video in rmvb format can be decoded by using either a hard decoder or a normal soft decoder 1.
Decoder Video format
Hard decoder mp4、3gp、rmvb
Generic soft decoder 1 rmvb
Generic soft decoder 2 mov
TABLE 4
In addition, the execution order of the steps 201 and 202 is not limited to a sequential order, and the step 101 and the step 202 may be executed first, or the step 202 and the step 201 may be executed first, but the step 203 must be executed after the step 202.
Step 203, identifying the video format of the video to be played in the mobile phone, and searching whether a decoder supporting the video format of the video to be played exists in a mobile phone end chip capability table, if so, executing step 204, otherwise; step 207 is performed.
Wherein, the mobile phone in the prior art has the function of identifying the video format, and the method for identifying the video format can adopt the method in the prior art,
step 204, in the mobile phone, judging whether a hard decoder supporting the video format of the video to be played exists in a mobile phone end chip capability table, if so, executing step 205; otherwise, step 206 is performed.
Step 205, in the mobile phone, invoking the hard decoder to decode the video to be played.
Step 206, in the mobile phone, a soft decoder supporting the video format of the video to be played is called to decode the video to be played.
In the above steps 205-206, if there is a hard decoder supporting the video format of the video to be played, the hard decoder is preferentially used to obtain higher decoding efficiency; if not, only a soft decoder can be used.
Among them, the method of calling the soft decoder or the hard decoder is a related art method and will not be described in detail here.
Step 207, the mobile phone sends a soft decoder downloading request to the server, wherein the request carries the chip model of the mobile phone and the video format of the video to be played.
And step 208, in the server, finding out a server-side chip capability table corresponding to the chip type according to the chip type in the request, and finding out a soft decoder supporting the video format in the request from the server-side chip capability table corresponding to the chip type according to the video format in the request.
For example, if the chip type of the mobile phone requested to be carried is a, the server finds out a server-side chip capability table corresponding to the chip type a according to the chip type a: table 1, then, the soft decoder supporting the video format in the request is searched again in table 1, and if the video format in the request is mov, the searched soft decoder is the normal soft decoder 2 in table 1.
Step 209, the server sends the found soft decoder, the name of the soft decoder and the video format supported by the soft decoder to the mobile phone.
Step 210, the mobile phone receives and stores the soft decoder from the server, calls the soft decoder to decode the video to be played, and adds the name of the soft decoder and the video format supported by the soft decoder to the mobile phone end chip capability table.
After the mobile phone stores the new soft decoder, the capability table of the mobile phone chip is updated, and the name of the newly stored soft decoder and the video format supported by the new soft decoder are added.
This flow ends by this point.
In addition, since the advanced soft decoder has a faster decoding speed than the general soft decoder, the advanced soft decoder is preferentially used if both the advanced soft decoder and the general soft decoder support the same video format. In this regard, if the soft decoder that supports the video format in the request is found in the server-side chip capability table in step 208 (e.g., a normal soft decoder and an advanced soft decoder are found), the server sends the found advanced soft decoder to the handset in step 209.
It should be noted that, when a more efficient new soft decoder is present, the step 201 further includes: and updating the soft decoder and the server-side chip capability table stored in the server. The method for updating the soft decoder stored in the server comprises the following steps: the new soft decoder is stored in the server and the soft decoders in the server and the new soft decoder supporting the same video format are deleted. The method for updating the server-side chip capability table in the server comprises the following steps: and storing the name of the new soft decoder and the video format supported by the new soft decoder in the server-side chip capability table, and deleting the name of the soft decoder supporting the same video format and the video format supported by the soft decoder from the server-side chip capability table.
Meanwhile, when a more efficient new soft decoder appears, the server can also actively recommend the mobile phone, and the specific method comprises the following steps: the server sends a notification message to the mobile phone, wherein the notification message carries the name of the new soft decoder and the video format supported by the new soft decoder, if the mobile phone returns a confirmation message to the server, the server sends the new soft decoder to the mobile phone, and the mobile phone updates the soft decoder and the mobile phone end chip capability table stored in the mobile phone. The method for updating the soft decoder stored in the mobile phone comprises the following steps: the new soft decoder is stored in the handset and the soft decoders in the handset and the new soft decoder supporting the same video format are deleted. The method for updating the mobile phone terminal chip capability table comprises the following steps: and storing the name of the new soft decoder and the video format supported by the new soft decoder in the mobile phone end chip capability table, and deleting the name of the soft decoder supporting the same video format and the video format supported by the soft decoder from the mobile phone end chip capability table. Of course, if the mobile phone does not return an acknowledgement message or a rejection message to the server, the soft decoder and the mobile phone end chip capability table in the mobile phone are not updated.
Fig. 3 is a block diagram of an embodiment of a video decoding apparatus provided in the present invention, as shown in fig. 3, the apparatus includes a user equipment 301, where the user equipment 301 includes: a user capability table establishing module 302, a user searching module 303, a user calling module 304 and a user storing module 305.
Wherein, the user storage module 305 is configured to store each decoder in the user equipment 301;
the user capability table establishing module 302 is configured to preset a user side chip capability table, where the user side chip capability table is used to indicate video formats supported by each decoder in the user equipment;
the user searching module 303 is configured to identify a video format of a video to be played, search a decoder supporting the video format of the video to be played in a user side chip capability table, and send the searched decoder to the user calling module 304;
the user invoking module 304 is configured to invoke the searched decoder in the user storage module 305 to decode the video to be played.
Before the user invoking module 304 invokes the searched decoder to decode the video to be played, further determining whether the searched decoder includes a hard decoder, if so, invoking the hard decoder to decode the video to be played; otherwise, calling a soft decoder supporting the video format of the video to be played to decode the video to be played.
The apparatus further comprises a server 306, said server 306 comprising: a server capability table building module 307 and a server storage module 309.
The server storage module 309 is configured to store each soft decoder in a server in advance;
the server capability table establishing module 307 is configured to set a plurality of server-side chip capability tables in a server, where each server-side chip capability table corresponds to one chip model, and each server-side chip capability table is used to indicate a video format supported by each soft decoder supported by the chip model.
The server 306 further includes a server search module 308, and if the user search module 303 does not find a decoder supporting the video format of the video to be played in the user-side chip capability table, the user search module 303 further sends a soft decoder download request to the server search module 308, where the request carries the chip type of the user equipment and the video format of the video to be played;
the server searching module 308 is configured to search, according to the chip model in the request, a server-side chip capability table corresponding to the chip model, search, according to the video format in the request, a soft decoder supporting the video format in the request in the server-side chip capability table corresponding to the chip model, notify the server storage module 309 to send the searched soft decoder to the user storage module 305, and notify the user searching module 303 to send the name of the searched soft decoder and the video format supported by the searched soft decoder to the user capability table establishing module 302;
the user storage module 305 receives and stores a soft decoder from a server, the user calling module 304 calls the soft decoder to decode the video to be played, and the user capability table establishing module 302 adds the name of the soft decoder and the supported video format to a user equipment side chip capability table.
If the soft decoder found in the server-side chip capability table by the server search module 308 includes an advanced soft decoder, the soft decoder sent to the user storage module 305 by the server storage module 309 is the advanced soft decoder, the name of the soft decoder sent to the user capability table creation module 302 by the user search module 303 is the name of the advanced soft decoder, and the video format supported by the soft decoder sent to the user capability table creation module 302 by the user search module 303 is the video format supported by the advanced soft decoder.
The server storage module 309 is further configured to store the new soft decoder, and delete the soft decoders in the server and the new soft decoder that support the same video format;
the server capability table creating module 307 is further configured to store the name of the new soft decoder and the video format supported by the new soft decoder in the server-side chip capability table, and delete the name of the soft decoder and the supported video format that support the same video format from the server-side chip capability table.
The server searching module 308 is further configured to send a notification message to the user searching module 303, where the notification message carries the name of the new soft decoder and the video format supported by the new soft decoder in the server capability table establishing module 307;
the user searching module 303 returns a confirmation message to the server searching module 308, and the server searching module 308 sends the new soft decoder in the server storage module 309 to the user searching module 303;
the user storage module 305 stores the new soft decoder sent to the user search module 303 and deletes the soft decoder supporting the same video format in the user equipment and the new soft decoder, and the user capability table creation module 302 stores the name of the new soft decoder sent to the user search module 303 and the video format supported by the new soft decoder in the user side chip capability table and deletes the name of the soft decoder supporting the same video format and the supported video format from the user side chip capability table.
For a detailed description of the apparatus part, reference is made to the description of the method part, which is not repeated here.
In summary, based on the technical solution provided by the present invention, a client chip capability table is preset in a user equipment, the client chip capability table represents video formats supported by each decoder in the user equipment, then identifies a video format of a video to be played, searches a decoder supporting the video format of the video to be played in the client chip capability table, and calls the searched decoder to decode the video to be played, and thus, since the client chip capability table in the present invention represents a corresponding relationship between the decoder and the video formats supported by the decoder, a decoder corresponding to the video format of the video to be played can be found in the client chip capability table, thereby realizing correct selection of the decoder (the selected decoder supports the video format of the video to be played), and avoiding that a user in the prior art manually selects an incorrect decoder (the selected decoder does not support the video format to be played) Video format of the video), user experience is improved.
Further, in the invention, if the searched decoder comprises a hard decoder, the hard decoder is preferentially called to decode, so that a better decoder can be selected for the video to be played, the decoding speed is increased, and the user experience is further improved.
Further, in the present invention, a plurality of server-side chip capability tables are set in the server, wherein each server-side chip capability table corresponds to one chip type, each server-side chip capability table is used for representing a video format supported by each soft decoder supported by the chip type, and if a decoder supporting the video format of the video to be played does not exist in the client-side chip capability table, the user equipment can download the corresponding decoder from the server, so that the decoder that the user can use is not limited to the user equipment, and a more flexible selection is provided for the decoder that the user can use.
Meanwhile, the invention also provides an updating scheme of the soft decoder in the user equipment, and can provide a more efficient decoder for the user in real time.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method for video decoding, the method comprising:
presetting a user side chip capability table in user equipment, wherein the user side chip capability table is used for representing video formats supported by each decoder in the user equipment;
identifying the video format of the video to be played, searching a decoder supporting the video format of the video to be played in a user side chip capability table, and calling the searched decoder to decode the video to be played.
2. The method of claim 1, wherein before invoking the seeking decoder to decode the video to be played, the method further comprises: judging whether the searched decoder comprises a hard decoder, if so, calling the hard decoder to decode the video to be played; otherwise, calling a soft decoder supporting the video format of the video to be played to decode the video to be played.
3. The method of claim 1 or 2, wherein before looking up the decoder supporting the video format of the video to be played in the client chip capability table, the method further comprises: the method comprises the steps of storing each soft decoder in a server in advance, and setting a plurality of server-side chip capability tables in the server, wherein each server-side chip capability table corresponds to one chip type, and each server-side chip capability table is used for representing the video format supported by each soft decoder supported by the chip type.
4. The method of claim 3, wherein if the client-side chip capability table does not have a decoder supporting the video format of the video to be played, the method further comprises:
the user equipment sends a soft decoder downloading request to a server, wherein the request carries the chip model of the user equipment and the video format of the video to be played;
the server searches a server-side chip capability table corresponding to the chip type according to the chip type in the request, searches a soft decoder supporting the video format in the request in the server-side chip capability table corresponding to the chip type according to the video format in the request, and sends the searched soft decoder, the name of the searched soft decoder and the video format supported by the searched soft decoder to the user equipment;
the user equipment receives and stores a soft decoder from the server, calls the soft decoder to decode the video to be played, and adds the name of the soft decoder and the supported video format to a chip capability table at the user equipment end.
5. The method according to claim 4, wherein when the soft decoder found in the server-side chip capability table by the server includes an advanced soft decoder, the soft decoder sent by the server to the user equipment is the advanced soft decoder, the name of the soft decoder sent by the server to the user equipment is the name of the advanced soft decoder, and the video format supported by the soft decoder sent by the server to the user equipment is the video format supported by the advanced soft decoder.
6. The method of claim 3, further comprising: storing the new soft decoder in the server, and deleting the soft decoder which supports the same video format as the new soft decoder in the server; and storing the name of the new soft decoder and the video format supported by the new soft decoder in the server-side chip capability table, and deleting the name of the soft decoder supporting the same video format and the supported video format from the server-side chip capability table.
7. The method of claim 6, further comprising:
the server sends a notification message to the user, wherein the notification message carries the name of the new soft decoder and the video format supported by the new soft decoder;
the user equipment returns a confirmation message to the server, and the server sends the new soft decoder to the user equipment;
the user equipment stores the new soft decoder and deletes the soft decoder which supports the same video format in the user equipment and the new soft decoder, the user equipment stores the name of the new soft decoder and the video format supported by the new soft decoder in the user side chip capability table, and deletes the name of the soft decoder which supports the same video format and the supported video format from the user side chip capability table.
8. A video decoding apparatus, characterized in that the apparatus comprises a user equipment, said user equipment comprising: the system comprises a user capability table establishing module, a user searching module, a user calling module and a user storage module; wherein,
the user storage module is used for storing each decoder in the user equipment;
the user capability table establishing module is used for presetting a user side chip capability table which is used for expressing video formats supported by each decoder in the user equipment;
the user searching module is used for identifying the video format of the video to be played, searching a decoder supporting the video format of the video to be played in a user side chip capability table, and sending the searched decoder to the user calling module;
and the user calling module is used for calling the searched decoder in the user storage module to decode the video to be played.
9. The apparatus of claim 8, wherein before the user invoking module invokes the searched decoder to decode the video to be played, it further determines whether the searched decoder includes a hard decoder, and if so, invokes the hard decoder to decode the video to be played; otherwise, calling a soft decoder supporting the video format of the video to be played to decode the video to be played.
10. The apparatus of claim 8 or 9, further comprising a server, the server comprising: the server capacity table establishing module and the server storage module are used for establishing the server capacity table; wherein,
the server storage module is used for storing each soft decoder in the server in advance;
the server capability table establishing module is used for setting a plurality of server-side chip capability tables on a server, wherein each server-side chip capability table corresponds to one chip type, and each server-side chip capability table is used for representing the video formats supported by each soft decoder supported by the chip type.
11. The apparatus according to claim 10, wherein the server further comprises a server search module, and if the user search module does not search for a decoder supporting the video format of the video to be played in a user-side chip capability table, the user search module further sends a soft decoder download request to the server search module, where the request carries a chip type of the user equipment and a video format of the video to be played;
the server searching module is used for searching a server-side chip capability table corresponding to the chip type according to the chip type in the request, searching a soft decoder supporting the video format in the request in the server-side chip capability table corresponding to the chip type according to the video format in the request, informing the server storage module to send the searched soft decoder to the user storage module, and informing the user searching module to send the name of the searched soft decoder and the video format supported by the searched soft decoder to the user capability table establishing module;
the user storage module receives and stores a soft decoder from a server, the user calling module calls the soft decoder to decode the video to be played, and the user capability table establishing module adds the name of the soft decoder and the supported video format to a chip capability table at a user equipment end.
12. The apparatus according to claim 11, wherein if the soft decoder found by the server lookup module in the server-side chip capability table includes an advanced soft decoder, the soft decoder sent by the server storage module to the user storage module is the advanced soft decoder, the name of the soft decoder sent by the user lookup module to the user capability table creation module is the name of the advanced soft decoder, and the video format supported by the soft decoder sent by the user lookup module to the user capability table creation module is a video format supported by the advanced soft decoder.
13. The apparatus of claim 10, wherein the server storage module is further configured to store the new soft decoder and delete the soft decoders in the server that support the same video format as the new soft decoder;
the server capacity table establishing module is further used for storing the name of the new soft decoder and the video format supported by the new soft decoder in the server-side chip capacity table, and deleting the name of the soft decoder supporting the same video format and the supported video format from the server-side chip capacity table.
14. The apparatus of claim 13,
the server searching module is further configured to send a notification message to the user searching module, where the notification message carries a name of the new soft decoder in the server capability table establishing module and a video format supported by the new soft decoder;
the user searching module returns a confirmation message to the server searching module, and the server searching module sends a new soft decoder in the server storage module to the user searching module;
the user storage module stores the new soft decoder sent to the user searching module, deletes the soft decoder supporting the same video format in the user equipment and the new soft decoder, and the user capability table establishing module stores the name of the new soft decoder sent to the user searching module and the video format supported by the new soft decoder in the user side chip capability table, and deletes the name of the soft decoder supporting the same video format and the supported video format from the user side chip capability table.
CN2011101104841A 2011-04-29 2011-04-29 Video decoding method and device Pending CN102761736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101104841A CN102761736A (en) 2011-04-29 2011-04-29 Video decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101104841A CN102761736A (en) 2011-04-29 2011-04-29 Video decoding method and device

Publications (1)

Publication Number Publication Date
CN102761736A true CN102761736A (en) 2012-10-31

Family

ID=47056041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101104841A Pending CN102761736A (en) 2011-04-29 2011-04-29 Video decoding method and device

Country Status (1)

Country Link
CN (1) CN102761736A (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015055081A1 (en) * 2013-10-15 2015-04-23 Tencent Technology (Shenzhen) Company Limited Method, apparatus and mobile terminal for browser based video playback
CN104699517A (en) * 2014-12-26 2015-06-10 深圳市微纳集成电路与系统应用研究院 Processor, processor control module and control method of processor
CN104737550A (en) * 2013-02-05 2015-06-24 华为技术有限公司 Multimedia redirection method, server and client
CN104780378A (en) * 2015-04-16 2015-07-15 腾讯科技(北京)有限公司 Method, device and player for decoding video
CN104837057A (en) * 2014-08-07 2015-08-12 腾讯科技(北京)有限公司 Video file playing method, device and system
CN104837020A (en) * 2014-07-25 2015-08-12 腾讯科技(北京)有限公司 Video playing method and device
CN104954863A (en) * 2015-06-05 2015-09-30 深圳市九洲电器有限公司 Audio and video decoding component selection method and system
CN104980788A (en) * 2015-02-11 2015-10-14 腾讯科技(深圳)有限公司 Video decoding method and device
CN104980797A (en) * 2015-05-27 2015-10-14 腾讯科技(深圳)有限公司 Video decoding method and client
CN105657524A (en) * 2016-01-13 2016-06-08 上海视云网络科技有限公司 Seamless video switching method
CN105791890A (en) * 2014-12-23 2016-07-20 Tcl集团股份有限公司 Soft decoding method and device for player
CN105992056A (en) * 2015-01-30 2016-10-05 腾讯科技(深圳)有限公司 Video decoding method and device
CN105992028A (en) * 2015-02-13 2016-10-05 腾讯科技(深圳)有限公司 Decoding strategy determination method and server
CN105992055A (en) * 2015-01-29 2016-10-05 腾讯科技(深圳)有限公司 Video decoding method and device
CN106131319A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 A kind of information processing method and device, terminal
CN106162316A (en) * 2015-04-15 2016-11-23 腾讯科技(深圳)有限公司 The data processing method of a kind of video flowing, device and system
CN106331765A (en) * 2015-06-30 2017-01-11 腾讯科技(深圳)有限公司 Hardware decoding test method, terminal and server
WO2017024895A1 (en) * 2015-08-12 2017-02-16 乐视控股(北京)有限公司 Channel operation, playing method and corresponding apparatus for smart television
CN106559679A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 Method, server and mobile terminal that video is decoded
CN106658092A (en) * 2016-12-12 2017-05-10 暴风集团股份有限公司 Video aggregation playing method and system
CN107124575A (en) * 2017-04-14 2017-09-01 苏州科达科技股份有限公司 A kind of media processing method, device and media server
CN107454445A (en) * 2016-05-31 2017-12-08 北京风行在线技术有限公司 A kind of method and apparatus for carrying out video playback scheduling
CN107666620A (en) * 2017-09-26 2018-02-06 上海爱优威软件开发有限公司 A kind of terminal system layer decoder method and system
CN107801095A (en) * 2017-09-25 2018-03-13 平安普惠企业管理有限公司 A kind of video/audio decoding method and terminal device
CN108076364A (en) * 2016-11-07 2018-05-25 韩华泰科株式会社 Adaptive media spreads transfer device and media serving device
CN108449564A (en) * 2017-02-16 2018-08-24 北京视联动力国际信息技术有限公司 A kind of method and system for supporting video decoding chip adaptive video source resolution ratio
CN109088887A (en) * 2018-09-29 2018-12-25 北京金山云网络技术有限公司 A kind of decoded method and device of Streaming Media
WO2020078130A1 (en) * 2018-10-15 2020-04-23 Oppo广东移动通信有限公司 Video processing method and apparatus, electronic device, and storage medium
WO2020248909A1 (en) * 2019-06-12 2020-12-17 腾讯科技(深圳)有限公司 Video decoding method and apparatus, computer device, and storage medium
CN113542795A (en) * 2020-04-21 2021-10-22 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN115334352A (en) * 2022-08-11 2022-11-11 北京蔚领时代科技有限公司 Automatic matching video decoding method, device, decoder and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064824A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Method, system and apparatus for playing audio-video data
CN201594885U (en) * 2009-12-29 2010-09-29 上海威乾视频技术有限公司 Application system of multimedia middleware in embedded DVR
CN101986708A (en) * 2010-10-29 2011-03-16 北京中星微电子有限公司 Video decoding method and decoder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064824A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Method, system and apparatus for playing audio-video data
CN201594885U (en) * 2009-12-29 2010-09-29 上海威乾视频技术有限公司 Application system of multimedia middleware in embedded DVR
CN101986708A (en) * 2010-10-29 2011-03-16 北京中星微电子有限公司 Video decoding method and decoder

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737550A (en) * 2013-02-05 2015-06-24 华为技术有限公司 Multimedia redirection method, server and client
CN104581171A (en) * 2013-10-15 2015-04-29 腾讯科技(深圳)有限公司 Method and device for playing videos on browser as well as mobile terminal
WO2015055081A1 (en) * 2013-10-15 2015-04-23 Tencent Technology (Shenzhen) Company Limited Method, apparatus and mobile terminal for browser based video playback
CN104581171B (en) * 2013-10-15 2019-08-27 腾讯科技(深圳)有限公司 The method, device and mobile terminal of video are played on a kind of browser
CN104837020B (en) * 2014-07-25 2018-09-18 腾讯科技(北京)有限公司 The method and apparatus for playing video
CN104837020A (en) * 2014-07-25 2015-08-12 腾讯科技(北京)有限公司 Video playing method and device
CN104837057A (en) * 2014-08-07 2015-08-12 腾讯科技(北京)有限公司 Video file playing method, device and system
CN104837057B (en) * 2014-08-07 2019-05-24 腾讯科技(北京)有限公司 Video file broadcasting method, device and system
CN105791890A (en) * 2014-12-23 2016-07-20 Tcl集团股份有限公司 Soft decoding method and device for player
CN104699517A (en) * 2014-12-26 2015-06-10 深圳市微纳集成电路与系统应用研究院 Processor, processor control module and control method of processor
CN105992055B (en) * 2015-01-29 2019-12-10 腾讯科技(深圳)有限公司 video decoding method and device
CN105992055A (en) * 2015-01-29 2016-10-05 腾讯科技(深圳)有限公司 Video decoding method and device
CN105992056A (en) * 2015-01-30 2016-10-05 腾讯科技(深圳)有限公司 Video decoding method and device
CN105992056B (en) * 2015-01-30 2019-10-22 腾讯科技(深圳)有限公司 A kind of decoded method and apparatus of video
CN104980788A (en) * 2015-02-11 2015-10-14 腾讯科技(深圳)有限公司 Video decoding method and device
CN104980788B (en) * 2015-02-11 2018-08-07 腾讯科技(深圳)有限公司 Video encoding/decoding method and device
CN105992028A (en) * 2015-02-13 2016-10-05 腾讯科技(深圳)有限公司 Decoding strategy determination method and server
CN105992028B (en) * 2015-02-13 2020-03-17 腾讯科技(深圳)有限公司 Method and server for determining decoding strategy
CN106162316A (en) * 2015-04-15 2016-11-23 腾讯科技(深圳)有限公司 The data processing method of a kind of video flowing, device and system
CN104780378A (en) * 2015-04-16 2015-07-15 腾讯科技(北京)有限公司 Method, device and player for decoding video
CN104780378B (en) * 2015-04-16 2018-10-19 腾讯科技(北京)有限公司 A kind of method for decoding video, device and player
CN104980797A (en) * 2015-05-27 2015-10-14 腾讯科技(深圳)有限公司 Video decoding method and client
CN104954863B (en) * 2015-06-05 2020-02-28 深圳市九洲电器有限公司 Audio and video decoding component selection method and system
CN104954863A (en) * 2015-06-05 2015-09-30 深圳市九洲电器有限公司 Audio and video decoding component selection method and system
CN106331765B (en) * 2015-06-30 2020-06-05 腾讯科技(深圳)有限公司 Hard solution testing method, terminal, server and computer readable storage medium
CN106331765A (en) * 2015-06-30 2017-01-11 腾讯科技(深圳)有限公司 Hardware decoding test method, terminal and server
WO2017024895A1 (en) * 2015-08-12 2017-02-16 乐视控股(北京)有限公司 Channel operation, playing method and corresponding apparatus for smart television
CN106559679B (en) * 2015-09-28 2019-10-08 腾讯科技(深圳)有限公司 The decoded method of video, server and mobile terminal
CN106559679A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 Method, server and mobile terminal that video is decoded
CN105657524A (en) * 2016-01-13 2016-06-08 上海视云网络科技有限公司 Seamless video switching method
CN107454445A (en) * 2016-05-31 2017-12-08 北京风行在线技术有限公司 A kind of method and apparatus for carrying out video playback scheduling
CN106131319A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 A kind of information processing method and device, terminal
CN108076364A (en) * 2016-11-07 2018-05-25 韩华泰科株式会社 Adaptive media spreads transfer device and media serving device
CN108076364B (en) * 2016-11-07 2021-03-30 韩华泰科株式会社 Adaptive media streaming apparatus and media service apparatus
CN106658092A (en) * 2016-12-12 2017-05-10 暴风集团股份有限公司 Video aggregation playing method and system
CN108449564A (en) * 2017-02-16 2018-08-24 北京视联动力国际信息技术有限公司 A kind of method and system for supporting video decoding chip adaptive video source resolution ratio
CN108449564B (en) * 2017-02-16 2020-03-06 视联动力信息技术股份有限公司 Method and system for supporting video decoding chip to adapt to video source resolution
CN107124575A (en) * 2017-04-14 2017-09-01 苏州科达科技股份有限公司 A kind of media processing method, device and media server
CN107801095A (en) * 2017-09-25 2018-03-13 平安普惠企业管理有限公司 A kind of video/audio decoding method and terminal device
CN107801095B (en) * 2017-09-25 2019-12-13 平安普惠企业管理有限公司 audio and video decoding method and terminal equipment
CN107666620A (en) * 2017-09-26 2018-02-06 上海爱优威软件开发有限公司 A kind of terminal system layer decoder method and system
CN109088887A (en) * 2018-09-29 2018-12-25 北京金山云网络技术有限公司 A kind of decoded method and device of Streaming Media
WO2020078130A1 (en) * 2018-10-15 2020-04-23 Oppo广东移动通信有限公司 Video processing method and apparatus, electronic device, and storage medium
US11562772B2 (en) 2018-10-15 2023-01-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Video processing method, electronic device, and storage medium
WO2020248909A1 (en) * 2019-06-12 2020-12-17 腾讯科技(深圳)有限公司 Video decoding method and apparatus, computer device, and storage medium
US11930197B2 (en) 2019-06-12 2024-03-12 Tencent Technology (Shenzhen) Company Limited Video decoding method and apparatus, computer device, and storage medium
CN113542795A (en) * 2020-04-21 2021-10-22 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN115334352A (en) * 2022-08-11 2022-11-11 北京蔚领时代科技有限公司 Automatic matching video decoding method, device, decoder and storage medium

Similar Documents

Publication Publication Date Title
CN102761736A (en) Video decoding method and device
US11202066B2 (en) Video data encoding and decoding method, device, and system, and storage medium
EP2511838A2 (en) Synchronization method and apparatus of portable terminal
US8903391B2 (en) Adaptive data communication control method and portable device for supporting the same
CN104471917A (en) Application information sharing method and device
CN102006368B (en) Streaming media audio file play method based on mobile terminal memory card cache technology
US9356985B2 (en) Streaming video to cellular phones
WO2011070552A1 (en) Apparatus and methods for describing and timing representations in streaming media files
CN104581171A (en) Method and device for playing videos on browser as well as mobile terminal
CN103607634A (en) Method for reducing network video ordering terminal user waiting time
CN104183250A (en) Method and system for synchronizing function of music player of intelligent device and Bluetooth headset
EP2636202A1 (en) Method and apparatus for updating http content descriptions
US20150172883A1 (en) Short message service (sms) message segmentation
KR20100037613A (en) Method, apparatus, system and computer program product for selectively and interactively downloading a media item
CN105975470A (en) Method and device for processing historical records
CN104717527A (en) Video transmission method and video transmission device
CN106331788A (en) Video download method and device
CN103281294A (en) Data sharing method and electronic equipment
CN105654973B (en) A kind of audio file processing method and system
US20160203144A1 (en) Method and System for Processing Associated Content
CN103338263A (en) Method and system for sharing audio and video files based on players
CN112118487B (en) Video playing control method, device, equipment and medium
CN104243469A (en) Playing control method, device and system
CN110049360B (en) Cross-platform content control method, device, terminal, server and storage medium
CN106792955B (en) Method and device for switching analog network and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20121031

RJ01 Rejection of invention patent application after publication