[go: up one dir, main page]

WO2018171548A1 - Procédé de de décodage, terminal et support d'informations lisible par ordinateur - Google Patents

Procédé de de décodage, terminal et support d'informations lisible par ordinateur Download PDF

Info

Publication number
WO2018171548A1
WO2018171548A1 PCT/CN2018/079455 CN2018079455W WO2018171548A1 WO 2018171548 A1 WO2018171548 A1 WO 2018171548A1 CN 2018079455 W CN2018079455 W CN 2018079455W WO 2018171548 A1 WO2018171548 A1 WO 2018171548A1
Authority
WO
WIPO (PCT)
Prior art keywords
decoding
decoding mode
terminal
target
content parameter
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.)
Ceased
Application number
PCT/CN2018/079455
Other languages
English (en)
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
Publication of WO2018171548A1 publication Critical patent/WO2018171548A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a decoding method, a terminal, and a computer readable storage medium.
  • the smart terminal can perform smooth playback after decoding the video file by using a preset decoding mode.
  • the terminal can preset various decoding modes including a hardware decoding mode and a software decoding mode. Therefore, when the mobile terminal decodes the video file by using the target decoding mode in multiple decoding modes, the mobile terminal decodes the video file by using the target decoding mode in a preset order. For example, when the terminal preset decoding mode includes hardware decoding mode and software decoding mode, the terminal first attempts to decode the video file by hardware decoding in the preset order. When the hardware decoding mode cannot successfully decode the video file, The terminal then switches to other decoding modes such as software decoding mode for decoding in the preset order; when the hardware decoding mode successfully decodes the video file, the terminal will not switch to other decoding modes for decoding.
  • the terminal preset decoding mode includes hardware decoding mode and software decoding mode
  • the terminal cannot decode the video file by using the best decoding method, so that the terminal plays the decoded video, regardless of which video file is decoded in the preset order.
  • the file is prone to jamming, the playback is not smooth, and even the decoding failure occurs, resulting in low decoding success rate.
  • a technical problem to be solved by embodiments of the present invention is to provide a decoding method, a terminal, and a computer readable storage medium.
  • the multimedia file to be decoded can be decoded according to the target content parameter information of the multimedia file to be decoded, and the decoding success rate is improved.
  • an embodiment of the present invention provides a method for decoding a multimedia file, including:
  • target content parameter information of the multimedia file to be decoded where the target content parameter information is video format information of the video file to be decoded;
  • a second aspect of the embodiments of the present invention provides a terminal, which may include:
  • a first acquiring unit configured to acquire target content parameter information of the multimedia file to be decoded, where the target content parameter information is video format information of the video file to be decoded;
  • a query unit configured to query, in the preset at least one decoding manner, a target decoding mode corresponding to the target content parameter information
  • a decoding unit configured to perform decoding processing on the to-be-decoded multimedia file by using the target decoding manner
  • a second acquiring unit configured to acquire the decoded multimedia file after the decoding process.
  • a third aspect of the embodiments of the present invention provides a terminal, including:
  • processors One or more processors, a memory, a communication bus, and one or more programs, the processor and the memory being coupled by the communication bus;
  • the one or more programs are stored in the memory, the one or more programs comprising instructions that, when executed by the terminal, cause the terminal to perform the first aspect of the embodiments of the present invention The method provided.
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium storing program instructions, wherein the processor provides the method provided by the first aspect of the embodiments of the present invention when executing the stored program instructions.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and adopts the target decoding mode.
  • the multimedia file to be decoded is subjected to a decoding process to obtain a decoded multimedia file, which enables the terminal to obtain a corresponding target decoding mode to decode the multimedia file to be decoded according to the target content parameter information of the multimedia file to be decoded, and improve the decoding success rate.
  • FIG. 1 is a schematic diagram of a network architecture provided by the present application.
  • FIG. 2 is a schematic flowchart of a method for decoding a multimedia file provided by the present application
  • FIG. 3 is a schematic diagram of a user operation performed by the user interface for playing a video list
  • FIG. 4 is a schematic flowchart of another method for decoding a multimedia file provided by the present application.
  • FIG. 5 is a schematic flowchart of still another method for decoding a multimedia file provided by the present application.
  • FIG. 6 is a schematic flowchart of still another decoding method of a multimedia file provided by the present application.
  • FIG. 7 is a structural diagram of a terminal provided by the present application.
  • FIG. 8 is a schematic diagram of another terminal structure provided by the present application.
  • the method for decoding a multimedia file provided by the embodiment of the present invention can be applied to a scenario in which a terminal plays a video file.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
  • a server 1 for providing a multimedia file to be decoded and a terminal 2 for playing a multimedia file to be decoded may be included, wherein the server 1 and the terminal 2 may be connected through a network.
  • the terminal 2 when the terminal 2 needs to play the multimedia file to be decoded, the terminal 2 may send a request to the server 1 to acquire the multimedia file to be decoded, and the server 1 may acquire the multimedia file to be decoded in response to the request of the terminal 2, and the multimedia file to be decoded is to be decoded.
  • the terminal 2 sends the multimedia file to be decoded sent by the server 1 through the network for downloading, decoding, and playing.
  • the execution body of the embodiment is a terminal
  • the terminal may include: a mobile phone, a computer, a tablet computer, a notebook, etc.
  • the above terminal is only an example, not an exhaustive one, including but not limited to the above terminal.
  • FIG. 2 is a schematic flowchart diagram of an embodiment of a method for decoding a multimedia file according to an embodiment of the present invention.
  • a method for decoding a multimedia file according to an embodiment of the present invention includes the following steps:
  • the terminal when the terminal receives the play instruction for the multimedia file to be decoded, the terminal may determine to decode the multimedia file to be decoded, and acquire target content parameter information of the multimedia file to be decoded.
  • the terminal when a user inputs a play instruction for a target video file in a video playlist in a third-party application of the terminal, the terminal passes the third party.
  • the application obtains the target content parameter information of the target video file.
  • the terminal may acquire and store the multimedia file to be decoded by acquiring the target content parameter information of the target video file and downloading the target video file, or receiving the target video file and the target content parameter information sent by other terminals. As shown in FIG.
  • the user inputs a play instruction for the dddd video file in the video list on the QQ browser of the terminal, and the terminal can send the target content parameter information of the dddd video file and obtain the dddd video file to the QQ browser server through the QQ browser.
  • the request so that the terminal can receive the target content parameter information of the dddd video file returned by the QQ browser server and the dddd video file for downloading.
  • the multimedia file to be decoded may include a multimedia file to be decoded, a video file to be decoded, and the like.
  • the target content parameter information may include file format information of the multimedia file to be decoded, such as file play type of the file and content parameter information such as file content resolution information.
  • the target content parameter information may be video format information of the video file to be decoded, such as a video format type, a video stream information, a video resolution information, and a video playback type ( Video format information such as live type and recording type.
  • the video format types may include: AVI (Audio Video Interleaved), RM (Real Media, Network Streaming), MP3 (Moving Picture Experts Group Audio Layer III), motion picture expert compression standard audio layer 3) and video format types such as MPEG (Moving Picture Expert Group),
  • the video stream information includes a code stream of the video
  • the video resolution information includes the resolution of the video picture.
  • the video playback type includes the live broadcast type and the recording type.
  • the terminal may preset multiple decoding modes, such as a hardware decoding mode, a software decoding mode, and a system decoding mode.
  • the hardware decoding method may be a hardware decoder in the terminal, and the hardware decoder mainly uses the GPU (Graphics Processing Unit) of the terminal to decode the file to be decoded. Therefore, the hardware decoder does not occupy the CPU of the terminal ( Central Processing Unit, the central processing unit, so that the terminal can decode the file through the hardware decoder to reduce the operating pressure of the CPU.
  • the software decoding method may be a software decoder in the terminal, and the software decoder uses the software to decode the decoded file, and the software decoder may be built in a third-party application of the terminal to operate, for example, the QQ browser may have a built-in software decoder.
  • the system decoding mode may be a system decoder in the terminal, and the system decoder also uses the software to decode the decoded file, but the system decoder is built in the system of the terminal to operate.
  • the terminal may first query whether there is a target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and the terminal queries the target and the target in the preset at least one decoding mode.
  • the terminal may acquire the target decoding mode corresponding to the target content parameter information.
  • the target decoding manner corresponding to the target content parameter information may be the decoding mode that is optimal for decoding the multimedia file to be decoded in the terminal.
  • the terminal may preset the correspondence between the content parameter information and the decoding mode, so that the terminal obtains the target decoding mode corresponding to the target content parameter information, which may be: the terminal according to the preset content parameter information and the decoding mode.
  • the corresponding relationship acquires the decoding mode corresponding to the target content parameter information, and the terminal can set the decoding mode corresponding to the target content parameter information to the target decoding mode corresponding to the target content parameter information.
  • the terminal may obtain the target decoding mode corresponding to the target content parameter information, and the terminal may further calculate the correspondence between the target content parameter information and each decoding mode according to the target content parameter information, and The decoding mode with the highest degree of correspondence is obtained as the target decoding mode corresponding to the target content parameter information in the correspondence degree of each decoding mode.
  • the terminal may preset the weight corresponding to each information in the content parameter information in different decoding modes. Therefore, the terminal may calculate the target content parameter information in each of the decoding according to each information in the target content parameter information. The sum of the weights in the mode obtains the correspondence degree, that is, the correspondence between the target content parameter information and each decoding mode is calculated.
  • S102 Perform decoding processing on the to-be-decoded multimedia file by using the target decoding mode.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in at least one preset decoding manner.
  • the terminal may decode the encoded multimedia file to be decoded by using the target decoding mode, obtain the decoded multimedia file, and play and decode the decoded file. Multimedia files.
  • the target decoding method is used to decode the multimedia file to be decoded, and the decoded multimedia file is obtained, so that the terminal can obtain the corresponding target decoding manner according to the target content parameter information of the multimedia file to be decoded.
  • the multimedia file is decoded for decoding to improve the decoding success rate.
  • FIG. 4 is a schematic flowchart diagram of another embodiment of a method for decoding a multimedia file according to an embodiment of the present invention. Another method for decoding a multimedia file according to an embodiment of the present invention includes the following steps:
  • step S201 Detect whether the terminal supports the hardware decoding mode. If not, execute step S202. If yes, execute step 203.
  • the terminal can read the identifier of the terminal, such as the model number of the terminal or the model number of the terminal, and the like, for identifying the unique identifier of the terminal.
  • the terminal may detect whether the identifier of the terminal is in the preset list, where the preset list is used to record a list of identifiers of the terminal that does not support the hardware decoding mode, and does not support hardware decoding.
  • a terminal of a mode can be understood as a terminal that does not have a hardware decoder, that is, a terminal that does not have a built-in GPU.
  • the terminal may determine that the terminal does not support the hardware decoding mode; when the terminal determines that the identifier of the terminal is not in the preset list, the terminal may determine that the terminal supports the hardware decoding mode. Further, the terminal may detect whether the identifier is in the preset list by using the locally stored preset list. For example, when the terminal presets the list, the terminal may traverse the identifier recorded in the preset list to detect whether the identifier of the terminal is included.
  • the terminal may further detect, by using a server connected to the terminal, whether the identifier of the terminal is in a preset list, wherein the server may store the preset list, and when a new terminal is available, the user may update the preset list. Thereby improving the flexibility of terminal detection.
  • the terminal uses a software decoding method to perform a forced soft solution on the decoded multimedia file.
  • the terminal when the terminal determines that the terminal does not support the hardware decoding mode, the terminal may perform a forced soft solution to the decoded multimedia file by using a software decoding manner.
  • S204 Perform decoding processing on the to-be-decoded multimedia file by using the target decoding manner.
  • step S203 to the step S205 refer to the specific implementation manner of the step S101 to the step S103 in the foregoing embodiment, and details are not described herein.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and adopts the target decoding mode.
  • the multimedia file to be decoded is subjected to a decoding process to obtain a decoded multimedia file, which enables the terminal to obtain a corresponding target decoding mode to decode the multimedia file to be decoded according to the target content parameter information of the multimedia file to be decoded, and improve the decoding success rate.
  • FIG. 5 is a schematic flowchart diagram of still another embodiment of a method for decoding a multimedia file according to an embodiment of the present invention.
  • Still another method for decoding a multimedia file according to an embodiment of the present invention includes the following steps:
  • the terminal may obtain any one of the decoding modes in the at least one decoding mode.
  • the terminal may obtain the target decoding mode in at least one decoding mode in the order of the preset acquisition decoding mode. For example, when at least one of the preset decoding modes of the terminal includes a hardware decoding mode, a software decoding mode, and a system decoding mode, if the terminal does not obtain the decoding mode corresponding to the target content parameter information in the multiple decoding modes.
  • the terminal may preferentially acquire the hardware decoding mode as the target decoding mode in the order of obtaining the decoding mode.
  • the obtaining the decoding mode sequence includes the order of obtaining the decoding manners of all the decoding modes of the terminal.
  • the terminal when the terminal obtains any decoding mode in at least one decoding mode and performs step S303, the decoding of the multimedia file to be decoded is unsuccessful, the terminal may return to this step to obtain in at least one decoding mode.
  • a decoding mode other than the decoding mode is used as the target decoding mode.
  • the terminal may repeat the operation step until the terminal acquires the multimedia file to be decoded.
  • the decoding method of successful decoding is used as the target decoding method, or until the terminal determines that all decoding methods cannot be successfully decoded.
  • the terminal may determine whether it is successful to decode the multimedia file to be decoded by using any one of the decoding modes. Specifically, the terminal may determine whether an abnormal situation occurs in the multimedia file after the decoding is played, such as when the terminal suddenly plays the multimedia file for a long time and then suddenly exits playing. When the terminal determines that the multimedia file is abnormal after playing and decoding, the terminal may determine that the decoding of the multimedia file to be decoded is unsuccessful. When the terminal determines that the decoding of the multimedia file to be decoded is unsuccessful by using any one of the decoding modes, the terminal may perform another step S302 to re-acquire another decoding mode to decode the multimedia file to be decoded.
  • the terminal when the terminal acquires the decoded multimedia file, the terminal may play the decoded multimedia file.
  • the terminal when the terminal obtains any decoding mode to decode the multimedia file to be decoded in at least one decoding mode, and obtains the decoded multimedia file at the same time or after, the terminal may obtain the decoding method by using the decoding mode.
  • the decoded information is decoded by decoding the multimedia file.
  • the playing information may be the playing information that the terminal plays the decoded multimedia file to be decoded, where the playing information may include whether the multimedia file is played after the decoding is abnormal, the normal playing rate of the multimedia file after decoding, and decoding.
  • the playback fluency of the post-multimedia file is used to describe the playback information of the playback quality indicator.
  • the playback information may include whether the decoded video file is abnormally played, the normal playback rate of the decoded video file, and the playback fluency of the decoded video file.
  • the play exception may refer to whether the multimedia file has exited during long-time playback after decoding, and if it is exited, it is determined that the play is abnormal.
  • the normal playback rate of the multimedia file after decoding may be: the ratio of the number of frame frames in the multimedia file that is less than the preset first duration in the total number of frame frames currently played after decoding, wherein the first duration may be It is the upper limit of the duration of the normal playback of one frame of the frame.
  • the playback fluency of the multimedia file after decoding may be: the proportion of the frame number of the decoding in the multimedia file that is less than the preset second duration in the total number of frame frames currently played, wherein the preset duration is It may be the upper limit of the length of time it takes to normally decode the picture frame.
  • the terminal when the terminal does not query the target decoding mode corresponding to the target content parameter information in the at least one decoding mode, when the terminal obtains the decoding mode to decode the multimedia file to be decoded by using other methods, The terminal can simultaneously acquire the playback information after decoding the multimedia file to be decoded by using the decoding mode.
  • the terminal may use the target content parameter information of the multimedia file to be decoded, the decoding mode used to decode the multimedia file, and the multimedia to be decoded by using the decoding mode.
  • the playback information of the file is recorded as a set of record information into a preset record list, and the record list is used to record when the terminal does not query the target decoding mode corresponding to the target content parameter information in at least one decoding mode.
  • the terminal acquires the record information of the decoding method to decode the multimedia file in another manner, wherein the record list may include at least one set of record information.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and adopts the target decoding mode.
  • the multimedia file to be decoded is subjected to a decoding process to obtain a decoded multimedia file, which enables the terminal to obtain a corresponding target decoding mode to decode the multimedia file to be decoded according to the target content parameter information of the multimedia file to be decoded, and improve the decoding success rate.
  • FIG. 6 is a schematic flowchart diagram of still another embodiment of a method for decoding a multimedia file according to an embodiment of the present invention.
  • a method for decoding a multimedia file according to an embodiment of the present invention includes the following steps:
  • the terminal may obtain a decoding mode recommended by each content parameter information, and set a decoding mode recommended by each content parameter information to a decoding mode corresponding to each content parameter information.
  • the decoding manner recommended by the terminal to obtain each content parameter information may be: first, the terminal reads the data recorded by the preset record list, and selects the record list according to the type of the content parameter information included in the record list. Each set of record information included is classified to obtain one or more sets of record information corresponding to each content parameter information, wherein the terminal may divide the content parameter information of the content in the record list into one category, or may conform to the preset.
  • the content parameter information of the condition is divided into a class, for example, the terminal may divide the video parameter type including the preset type, the video code stream information in the preset range, and the content parameter information of the video resolution information in the preset range. For a class.
  • the terminal may classify one or more sets of record information corresponding to the same content parameter information according to the type of the decoding mode, and obtain at least one set of record information corresponding to each decoding mode.
  • the terminal can divide the decoding modes with the same decoding mode into one type, such as a software decoding mode type, a hardware decoding mode type, and a system decoding mode type.
  • the terminal can calculate the playing weight of each decoding mode according to the playing information included in the at least one set of record information corresponding to each decoding mode. Specifically, the terminal may first calculate a play weight of each group of record information corresponding to each decoding mode, for example, the terminal may set a fluency weight and a decoded multimedia file for the play fluency of the decoded multimedia file included in the play information.
  • the playing correct rate sets the correct rate weight
  • the playback rate of the multimedia file is + fluency weight Q1* the playback fluency of the multimedia file after decoding. Therefore, the terminal can calculate the playing weight of each group of record information corresponding to each decoding mode according to the foregoing calculation manner. Next, the terminal sums and averages the playing weights of each group of record information corresponding to each decoding mode, and obtains the playing weight value of each decoding mode.
  • the terminal can obtain the decoding mode with the highest playback weight as the decoding mode recommended for the corresponding content parameter information in the playback weight corresponding to each decoding mode, and set the decoding mode with the highest playback weight as the kind.
  • the decoding method corresponding to the content parameter information may also set the decoding mode corresponding to other content parameter information in the above manner, and details are not described herein. Therefore, the terminal can establish a correspondence between the content parameter information and the decoding mode.
  • the terminal may further set an update period, and update the correspondence between the content parameter information and the decoding mode according to the update period in combination with the current record list, thereby improving the terminal to accurately acquire the target decoding mode corresponding to the content parameter information, and improve the target decoding manner.
  • the success rate of terminal decoding is a condition in which the terminal has been modified.
  • step S400 For the specific implementation manners of the step S400, the step S404, and the step S405, refer to the specific implementation manners of the step S100, the step S102, and the step S103 in the foregoing embodiment, and details are not described herein.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and adopts the target decoding mode.
  • the multimedia file to be decoded is subjected to a decoding process to obtain a decoded multimedia file, which enables the terminal to obtain a corresponding target decoding mode to decode the multimedia file to be decoded according to the target content parameter information of the multimedia file to be decoded, and improve the decoding success rate.
  • the terminal provided by the embodiment of the present invention will be described in detail below with reference to FIG. 7-8. It should be noted that the terminal shown in FIG. 7-8 is used to perform the method of the embodiment shown in FIG. 1 to FIG. 6 of the present invention. For the convenience of description, only the part related to the embodiment of the present invention is specifically illustrated. The technical details are not disclosed, please refer to the embodiment shown in Figs. 1 to 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 7, the terminal in the embodiment of the present invention may include:
  • the first obtaining unit 100 is configured to acquire target content parameter information of the multimedia file to be decoded, where the target content parameter information is video format information of the video file to be decoded.
  • the query unit 200 is configured to query, in the preset at least one decoding manner, a target decoding manner corresponding to the target content parameter information.
  • the query unit 200 further includes:
  • a third obtaining sub-unit 201 configured to acquire any one of the at least one decoding mode when the target decoding mode corresponding to the target content parameter information is not acquired in the at least one decoding mode
  • a decoding method is used as the target decoding method.
  • the decoding mode is a hardware decoding mode, or a software decoding mode, or a system decoding mode.
  • the terminal further includes:
  • the detecting unit 300 is configured to detect whether the terminal supports the target decoding mode.
  • the detecting unit 300 includes:
  • a first obtaining subunit 301 an identifier for the terminal
  • a second obtaining subunit 302 configured to detect whether the identifier is in a preset list
  • the first determining sub-unit 303 is configured to: when determining that the identifier is in the preset list, determine that the terminal does not support the hardware decoding mode;
  • the second determining sub-unit 304 is configured to determine, when the identifier is not in the list, that the terminal supports the hardware decoding mode.
  • the triggering unit 400 is configured to: when detecting that the terminal supports the target decoding mode, trigger the decoding unit to perform a step of performing decoding processing on the to-be-decoded multimedia file by using the target decoding mode.
  • the decoding unit 500 is configured to perform decoding processing on the to-be-decoded multimedia file by using the target decoding mode.
  • the terminal includes:
  • the obtaining information unit 600 is configured to acquire playing information of the decoded multimedia file.
  • the recording unit 700 is configured to record the target content parameter information, the any one of the decoding modes, and the play information as a set of record information into a preset record list, where the record list includes a content parameter and a decoding mode. Correspondence.
  • the record list includes at least one set of record information, and the terminal further includes:
  • the first classification unit 800 is configured to classify the record list according to the type of the at least one content parameter information included in the record list, so that each content parameter information corresponds to at least one group of record information;
  • a second classification unit 900 configured to perform classification according to a type of decoding mode in at least one group of record information corresponding to the same content parameter information, to obtain at least one group of record information corresponding to each decoding mode;
  • the calculating unit 1000 is configured to calculate a play weight value of each decoding mode according to the play information included in the at least one set of record information corresponding to each decoding mode;
  • the third obtaining unit 1010 is configured to obtain, in the playing weight corresponding to each decoding mode, a decoding mode with the highest playing weight;
  • the setting unit 1020 is configured to set the decoding mode with the highest playback weight to the decoding mode corresponding to the same content parameter information.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and adopts the target decoding mode.
  • the multimedia file to be decoded is subjected to a decoding process to obtain a decoded multimedia file, which enables the terminal to obtain a corresponding target decoding mode to decode the multimedia file to be decoded according to the target content parameter information of the multimedia file to be decoded, and improve the decoding success rate.
  • FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal 1000 may include at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display and a keyboard.
  • the optional user interface 1003 can also include a standard wired interface and a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1005 can also optionally be at least one storage device located remotely from the aforementioned processor 1001. As shown in FIG. 8, an operating system, a network communication module, a user interface module, and a communication connection application may be included in the memory 1005 as a computer storage medium.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, and when the processor executes the stored program instructions, the method shown in the foregoing embodiment is executed.
  • the user interface 1003 is mainly used to provide an input interface for the user to acquire data input by the user;
  • the network interface 1004 is configured to connect with the news server to acquire data sent by the news server;
  • the processor 1001 can be used to call the communication connection application stored in the memory 1005, and specifically performs the following operations:
  • target content parameter information of the multimedia file to be decoded where the target content parameter information is video format information of the video file to be decoded;
  • the decoding mode is a hardware decoding mode, or a software decoding mode, or a system decoding mode.
  • the processor 1001 is further configured to execute:
  • the processor 1001 is further configured to execute:
  • the processor 1001 is further configured to execute:
  • any one of the decoding modes is obtained as the target decoding mode in the at least one decoding mode.
  • the processor 1001 is further configured to execute:
  • the target content parameter information, the any one of the decoding modes, and the play information are recorded as a set of record information into a preset record list, where the record list includes a correspondence between the content parameter and the decoding mode.
  • the processor 1001 is further configured to execute:
  • the decoding method with the highest playback weight value is set as the decoding method corresponding to the same content parameter information.
  • the terminal acquires the target content parameter information of the multimedia file to be decoded, and queries the target decoding mode corresponding to the target content parameter information in the preset at least one decoding mode, and adopts the target decoding mode.
  • the multimedia file to be decoded is subjected to a decoding process to obtain a decoded multimedia file, which enables the terminal to obtain a corresponding target decoding mode to decode the multimedia file to be decoded according to the target content parameter information of the multimedia file to be decoded, and improve the decoding success rate.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

L'invention concerne un procédé de décodage, un terminal et un support d'informations lisible par ordinateur, le procédé comprenant : l'acquisition d'informations de paramètre de contenu cible concernant un fichier multimédia à décoder, les informations de paramètre de contenu cible étant des informations de format vidéo concernant le fichier vidéo à décoder ; l'interrogation, dans au moins un mode de décodage prédéfini, d'un mode de décodage cible correspondant aux informations de paramètre de contenu cible ; la réalisation d'un traitement de décodage sur le fichier multimédia à décoder au moyen du mode de décodage cible ; et l'acquisition du fichier multimédia décodé après la réalisation du traitement de décodage. Au moyen de la présente invention, un mode de décodage cible correspondant peut être acquis en fonction des informations de paramètre de contenu cible concernant un fichier multimédia à décoder de façon à décoder le fichier multimédia à décoder, ce qui permet d'augmenter le taux de réussite du décodage.
PCT/CN2018/079455 2017-03-21 2018-03-19 Procédé de de décodage, terminal et support d'informations lisible par ordinateur Ceased WO2018171548A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710170672.0 2017-03-21
CN201710170672.0A CN108632667B (zh) 2017-03-21 2017-03-21 一种多媒体文件的解码方法及终端

Publications (1)

Publication Number Publication Date
WO2018171548A1 true WO2018171548A1 (fr) 2018-09-27

Family

ID=63584147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079455 Ceased WO2018171548A1 (fr) 2017-03-21 2018-03-19 Procédé de de décodage, terminal et support d'informations lisible par ordinateur

Country Status (2)

Country Link
CN (1) CN108632667B (fr)
WO (1) WO2018171548A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151574A (zh) * 2018-10-15 2019-01-04 Oppo广东移动通信有限公司 视频处理方法、装置、电子设备以及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379630B (zh) * 2018-11-27 2021-03-12 Oppo广东移动通信有限公司 视频处理方法、装置、电子设备及存储介质
CN109640094B (zh) * 2018-11-27 2021-06-15 Oppo广东移动通信有限公司 视频解码方法、装置以及电子设备
CN116137661A (zh) * 2021-11-18 2023-05-19 腾讯科技(深圳)有限公司 多媒体文件解码方法、装置、电子设备和存储介质
CN115334352A (zh) * 2022-08-11 2022-11-11 北京蔚领时代科技有限公司 一种自动匹配视频解码方法、装置、解码器及存储介质
CN116095355B (zh) * 2023-01-18 2024-06-21 百果园技术(新加坡)有限公司 视频显示控制方法及其装置、设备、介质、产品

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110248986A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Intelligent media decoding
CN104954863A (zh) * 2015-06-05 2015-09-30 深圳市九洲电器有限公司 音视频解码组件选择方法及系统
CN105992056A (zh) * 2015-01-30 2016-10-05 腾讯科技(深圳)有限公司 一种视频解码的方法和装置
CN106157988A (zh) * 2016-07-25 2016-11-23 合网络技术(北京)有限公司 播放多媒体文件的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110248986A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Intelligent media decoding
CN105992056A (zh) * 2015-01-30 2016-10-05 腾讯科技(深圳)有限公司 一种视频解码的方法和装置
CN104954863A (zh) * 2015-06-05 2015-09-30 深圳市九洲电器有限公司 音视频解码组件选择方法及系统
CN106157988A (zh) * 2016-07-25 2016-11-23 合网络技术(北京)有限公司 播放多媒体文件的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151574A (zh) * 2018-10-15 2019-01-04 Oppo广东移动通信有限公司 视频处理方法、装置、电子设备以及存储介质
US11562772B2 (en) 2018-10-15 2023-01-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Video processing method, electronic device, and storage medium

Also Published As

Publication number Publication date
CN108632667A (zh) 2018-10-09
CN108632667B (zh) 2019-10-22

Similar Documents

Publication Publication Date Title
WO2018171548A1 (fr) Procédé de de décodage, terminal et support d'informations lisible par ordinateur
US11336953B2 (en) Video processing method, electronic device, and computer-readable medium
US11930197B2 (en) Video decoding method and apparatus, computer device, and storage medium
US11202066B2 (en) Video data encoding and decoding method, device, and system, and storage medium
CN108174280B (zh) 一种音视频在线播放方法及系统
US11871075B2 (en) Audio playing and transmitting methods and apparatuses
US10476928B2 (en) Network video playback method and apparatus
CN112771881B (zh) 弹幕处理方法、装置、电子设备及计算机可读取存储介质
CN101567206B (zh) 支持音视频解码自适应的系统及其方法
US20100070574A1 (en) Method, apparatus for processing a control message and system thereof
EP3800894A1 (fr) Procédé et appareil pour détecter une qualité de lecture de vidéo
CN105916030A (zh) 一种记录点播视频断点信息的方法、装置及系统
CN105337822A (zh) 一种主播放设备的选择方法及相关设备
CN109495776B (zh) 一种音频发送、播放的方法及智能终端
WO2015089790A1 (fr) Procédé, appareil, et système de traitement de service
WO2023083213A1 (fr) Procédé et appareil de décodage de données, dispositif électronique et support de stockage lisible
CN112243135B (zh) 一种多媒体播放的方法和装置
CN113014981A (zh) 视频播放方法、装置、电子设备及可读存储介质
CN113261300B (zh) 音频发送、播放的方法及智能电视
CN105427873A (zh) 一种主播放设备的切换方法及相关设备
CN104244070B (zh) 一种多媒体文件播放方法和装置
WO2024036979A9 (fr) Procédé de lecture de ressources multimédia et appareil associé
HK1254510B (zh) 一种多媒体文件的解码方法及终端
CN114996143A (zh) 压力测试方法、装置、设备及存储介质
HK1254510A1 (en) Multimedia file decoding method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18770919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18770919

Country of ref document: EP

Kind code of ref document: A1