Video transcoding method and system for playing lagging, and network attached storage device

By introducing a collaborative working mechanism between the first processing end and the second processing end in the video transcoding system, the problems of low efficiency of video playback lag and large loss in the video quality in the prior art are solved, and efficient and accurate video conversion is achieved code improves user experience.

CN119402685APending Publication Date: 2025-02-07SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411380696.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

In the prior art, when processing video playback stuttering, the transcoding efficiency is low, the video quality loss is large, and it is difficult to accurately match different user equipment and network conditions.

Method used

By introducing a collaborative working mechanism between the first processing end and the second processing end in the video transcoding system, the first processing end sends the transcoding assistance request information to the second processing end, the second processing end determines the target assisted transcoding device, and controls the The device performs video transcoding operations to achieve efficient video transcoding.

Benefits of technology

It improves the efficiency and accuracy of video transcoding, reduces the occurrence of video playback lag, and improves the user's video usage experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402685A_ABST
    Figure CN119402685A_ABST
Patent Text Reader

Abstract

The invention discloses a video transcoding method and system for playing lagging and a network attached storage device, the method is applied to a video transcoding system, the video transcoding system comprises a first processing end and a second processing end, and the method comprises the following steps: the second processing end sends transcoding assistance request information to the first processing end according to the transcoding assistance request information sent by the first processing end; determining a target assisted transcoding device; the first processing end executes corresponding original picture video splitting operation on the to-be-transcoded video according to transcoding assistance response information sent by the second processing end to obtain video splitting fragments; and the second processing end controls each piece of target assistance transcoding equipment to execute corresponding video transcoding operation according to each piece of video transcoding task information sent by the first processing end to obtain a video transcoding result. Visibly, the transcoding efficiency and the transcoding accuracy of the to-be-transcoded video can be improved, the playing efficiency, the playing smoothness and the playing accuracy of the to-be-played video are further improved, and the problem that playing of the to-be-played video is lagged is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a video transcoding method and system for playback freeze and a network attached storage device. Background Art

[0002] With the rapid development of the Internet, video content has become an indispensable part of people's daily life. However, the wide dissemination of video content and high-quality experience often face many technical challenges. Among them, the problem of video playback freezes is particularly prominent, which seriously affects users' video experience.

[0003] Currently, the main way to deal with video playback jams is for staff to manually check and change the encoding format and reduce the video bit rate to adapt to different network environments. However, subjective handling of video playback jams will be affected by many factors; or, staff can clean up the memory of terminal devices by manipulating related memory cleaning software to achieve a short-term and unstable jam relief effect. Therefore, the existing video playback jam handling method has the defects of low transcoding efficiency, large video quality loss after transcoding, and difficulty in accurately matching different user devices and network conditions.

[0004] It can be seen that it is particularly important to provide a new method for processing video playback freezes to address the problem of video playback freezes. Summary of the invention

[0005] The present invention provides a video transcoding method, system and network attached storage device for playback jams, which can improve the transcoding efficiency and transcoding accuracy of the video, and further improve the processing accuracy and processing efficiency of the video playback jams, thereby coping with the problem of video playback jams.

[0006] In order to solve the above technical problems, the first aspect of the present invention discloses a video transcoding method for playback freeze, the method is applied to a video transcoding system, wherein the video transcoding system includes a first processing end and a second processing end, and the method includes:

[0007] The first processing end sends transcoding assistance request information to the second processing end, where the transcoding assistance request information includes original video parameter information and target video parameter information of the video to be transcoded;

[0008] The second processing end determines a target assisting transcoding device according to the transcoding assistance request information, and sends transcoding assistance response information to the first processing end, where the transcoding assistance response information at least includes transcoding device computing power information of the target assisting transcoding device;

[0009] The first processing end performs a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments, and sends video transcoding task information to the second processing end, where the video transcoding task information includes the video split segments;

[0010] The second processing end controls each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded.

[0011] As an optional implementation manner, in the first aspect of the present invention, the second processing end determines the target assisting transcoding device according to the transcoding assistance request information, including:

[0012] The second processing end determines one or more pre-configured assisting transcoding devices, and determines the current device state and idle computing power information of each of the assisting transcoding devices;

[0013] According to the current device status and idle computing power information of each of the assisting transcoding devices and the transcoding assistance request information, an assisting transcoding device that meets a preset video transcoding condition is determined from all the assisting transcoding devices as a target assisting transcoding device.

[0014] As an optional implementation manner, in the first aspect of the present invention, the second processing end determines, according to the current device state and idle computing power information of each of the assisting transcoding devices and the transcoding assistance request information, an assisting transcoding device that meets the preset video transcoding condition from all the assisting transcoding devices as the target assisting transcoding device, including:

[0015] The second processing end determines, according to the current device state of each of the assisting transcoding devices, a first assisting transcoding device that meets a preset idle / low power consumption state condition from all the assisting transcoding devices;

[0016] Determining, according to the idle computing power information of each of the first transcoding assisting devices and the transcoding assistance request information, a second transcoding assisting device that meets a preset transcoding capability condition from all the first transcoding assisting devices;

[0017] A target assisting transcoding device is determined according to all of the second assisting transcoding devices.

[0018] As an optional implementation, in the first aspect of the present invention, the first processing end performs a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments, including:

[0019] The first processing end determines the transcoding device computing power information and the network response speed information of each target assisting transcoding device according to the transcoding assistance response information;

[0020] Determine the task assignment priority results corresponding to all the target assisting transcoding devices according to the transcoding device computing power information and network response speed information of each target assisting transcoding device;

[0021] According to the task assignment priority result, performing a corresponding original video splitting operation on the video to be transcoded to obtain one or more video split segments;

[0022] Each of the target-assisted transcoding devices is used to transcode the corresponding video segment.

[0023] As an optional implementation, in the first aspect of the present invention, the second processing end controls each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded, including:

[0024] The second processing end controls each of the target assisting transcoding devices to perform corresponding video transcoding operations on the corresponding video split segments according to each of the video transcoding task information, so as to obtain the segment transcoding results of each of the video split segments;

[0025] For each of the segment transcoding results, according to the determined first transcoding time information of the segment transcoding result, a corresponding transcoding segment splitting operation is performed on the segment transcoding result to obtain one or more transcoding split contents corresponding to the segment transcoding result, and second transcoding time information of each of the transcoding split contents is determined;

[0026] The second transcoding time information of each of the transcoded split contents is sent to the first processing end.

[0027] As an optional implementation manner, in the first aspect of the present invention, after the second processing end sends the second transcoding time information of each of the transcoded split contents to the first processing end, the method further includes:

[0028] The first processing end determines the video playback file corresponding to the video to be transcoded, and determines the device address information of the target assisting transcoding device corresponding to each of the segment transcoding results;

[0029] According to the device address information of each of the segment transcoding results, each of the transcoded split contents and its corresponding second transcoding time information, a corresponding request address marking operation is performed on the video playback file to obtain a request address marking result;

[0030] The request address marking result is used to determine the target assisting transcoding device of the video to be transcoded and obtain the video transcoding content of the video to be transcoded through the target assisting transcoding device to complete the transcoding and playback of the video to be transcoded.

[0031] As an optional implementation, in the first aspect of the present invention, the original video parameter information includes at least original video format information, original resolution information and original frame rate information; the target video parameter information includes at least target transcoding resolution information and target transcoding frame rate information;

[0032] Furthermore, before the first processing end sends the transcoding assistance request information to the second processing end, the method further includes:

[0033] The first processing end determines a video to be transcoded that needs video-assisted transcoding;

[0034] Performing corresponding video format transcoding and reading operations on the video to be transcoded to obtain original video format information of the video to be transcoded, and performing corresponding picture quality and resolution frame rate analysis operations on the video to be transcoded to obtain original resolution information and original frame rate information of the video to be transcoded;

[0035] According to the transcoding request information received from the user for the video to be transcoded, the target transcoding resolution information of the video to be transcoded is determined, and according to the target transcoding resolution information and the determined network speed information of the assisting device, the target transcoding frame rate information of the video to be transcoded is determined.

[0036] A second aspect of the present invention discloses a video transcoding system for playback freeze, the video transcoding system comprising a first processing end and a second processing end, wherein the first processing end comprises a first information sending module and a video splitting module, and the second processing end comprises an assisting device determining module, a second information sending module and a video transcoding module, wherein:

[0037] The first information sending module is used to send transcoding assistance request information to the second processing end, wherein the transcoding assistance request information includes original video parameter information and target video parameter information of the video to be transcoded;

[0038] The assisting device determining module is used to determine a target assisting transcoding device according to the transcoding assistance request information;

[0039] The second information sending module is used to send transcoding assistance response information to the first processing end, wherein the transcoding assistance response information at least includes the transcoding device computing power information of the target assisting transcoding device;

[0040] The video splitting module is used to perform a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments;

[0041] The first information sending module is used to send video transcoding task information to the second processing end, wherein the video transcoding task information includes the video split segments;

[0042] The video transcoding module is used to control each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, so as to obtain a video transcoding result corresponding to the video to be transcoded.

[0043] As an optional implementation manner, in the second aspect of the present invention, the assisting device determining module determines the target assisting transcoding device according to the transcoding assistance request information, specifically including:

[0044] Determine one or more pre-configured assisting transcoding devices, and determine the current device state and idle computing power information of each of the assisting transcoding devices;

[0045] According to the current device status and idle computing power information of each of the assisting transcoding devices and the transcoding assistance request information, an assisting transcoding device that meets a preset video transcoding condition is determined from all the assisting transcoding devices as a target assisting transcoding device.

[0046] As an optional implementation, in the second aspect of the present invention, the assisting device determination module determines an assisting transcoding device that meets a preset video transcoding condition from all the assisting transcoding devices according to the current device state and idle computing power information of each of the assisting transcoding devices and the transcoding assistance request information, and the method of using the assisting transcoding device as the target assisting transcoding device specifically includes:

[0047] According to the current device state of each of the assisting transcoding devices, determining a first assisting transcoding device that meets a preset idle / low power consumption state condition from all the assisting transcoding devices;

[0048] Determining, according to the idle computing power information of each of the first transcoding assisting devices and the transcoding assistance request information, a second transcoding assisting device that meets a preset transcoding capability condition from all the first transcoding assisting devices;

[0049] A target assisting transcoding device is determined according to all of the second assisting transcoding devices.

[0050] As an optional implementation, in the second aspect of the present invention, the video splitting module performs a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments, specifically including:

[0051] Determining the transcoding device computing power information and the network response speed information of each target assisting transcoding device according to the transcoding assistance response information;

[0052] Determine the task assignment priority results corresponding to all the target assisting transcoding devices according to the transcoding device computing power information and network response speed information of each target assisting transcoding device;

[0053] According to the task assignment priority result, performing a corresponding original video splitting operation on the video to be transcoded to obtain one or more video split segments;

[0054] Each of the target-assisted transcoding devices is used to transcode the corresponding video segment.

[0055] As an optional implementation, in the second aspect of the present invention, the video transcoding module controls each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded, specifically including:

[0056] According to each of the video transcoding task information, control each of the target assisting transcoding devices to perform a corresponding video transcoding operation on the corresponding video segment, and obtain a segment transcoding result of each of the video segment;

[0057] For each of the segment transcoding results, according to the determined first transcoding time information of the segment transcoding result, a corresponding transcoding segment splitting operation is performed on the segment transcoding result to obtain one or more transcoding split contents corresponding to the segment transcoding result, and second transcoding time information of each of the transcoding split contents is determined;

[0058] The second transcoding time information of each of the transcoded split contents is sent to the first processing end.

[0059] As an optional implementation, in the second aspect of the present invention, the first processing end further includes an address marking module, wherein:

[0060] The address marking module is used to determine the video playback file corresponding to the to-be-transcoded video and the device address information of the target assisting transcoding device corresponding to each of the segment transcoding results after the video transcoding module sends the second transcoding time information of each of the transcoded split contents to the first processing end; perform a corresponding request address marking operation on the video playback file according to the device address information of each of the segment transcoding results, each of the transcoded split contents and its corresponding second transcoding time information, and obtain a request address marking result;

[0061] The request address marking result is used to determine the target assisting transcoding device of the video to be transcoded and obtain the video transcoding content of the video to be transcoded through the target assisting transcoding device to complete the transcoding and playback of the video to be transcoded.

[0062] As an optional implementation, in the second aspect of the present invention, the original video parameter information includes at least original video format information, original resolution information and original frame rate information; the target video parameter information includes at least target transcoding resolution information and target transcoding frame rate information;

[0063] And, the first processing end also includes a parameter determination module, wherein:

[0064] The parameter determination module is used to determine, by the first processing end, a video to be transcoded that requires video assisted transcoding before the first information sending module sends transcoding assistance request information to the second processing end; perform corresponding video format transcoding and reading operations on the video to be transcoded to obtain original video format information of the video to be transcoded, and perform corresponding picture quality and resolution frame rate analysis operations on the video to be transcoded to obtain original resolution information and original frame rate information of the video to be transcoded; determine target transcoding resolution information of the video to be transcoded based on the received transcoding request information output by the user for the video to be transcoded, and determine target transcoding frame rate information of the video to be transcoded based on the target transcoding resolution information and the determined network speed information of the assisting device.

[0065] A third aspect of the present invention discloses another video transcoding system for playback freezes, the system comprising:

[0066] A memory storing executable program code;

[0067] a processor coupled to the memory;

[0068] The processor calls the executable program code stored in the memory to execute the video transcoding method for playback jamming disclosed in the first aspect of the present invention.

[0069] The fourth aspect of the present invention discloses a network attached storage device, characterized in that the network attached storage device is configured with a display screen, and the network attached storage device is used to interactively communicate with a second processing end, wherein the network attached storage device is used to perform data analysis and video transcoding operations on the determined video to be transcoded with the second processing end through the video transcoding method for playback jamming disclosed in the first aspect of the present invention.

[0070] A fifth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the video transcoding method for playback jamming disclosed in the first aspect of the present invention.

[0071] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0072] In an embodiment of the present invention, the video transcoding system is applied, and the video transcoding system includes a first processing end and a second processing end; in addition, the first processing end sends transcoding assistance request information to the second processing end, and the transcoding assistance request information includes original video parameter information and target video parameter information of the video to be transcoded; the second processing end determines the target assisting transcoding device according to the transcoding assistance request information, and sends transcoding assistance response information to the first processing end, and the transcoding assistance response information at least includes the transcoding device computing power information of the target assisting transcoding device; the first processing end performs the corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information, obtains one or more video split segments, and sends video transcoding task information to the second processing end, and the video transcoding task information includes the video split segments; the second processing end controls each target assisting transcoding device to perform the corresponding video transcoding operation according to each video transcoding task information, and obtains the video transcoding result corresponding to the video to be transcoded. It can be seen that the present invention can realize the video transcoding function of the video to be transcoded through the first processing end and the second processing end performing corresponding transcoding assistance request information sending, assisting transcoding device determination, transcoding assistance response information sending, original video splitting and video transcoding and other multiple links, which is beneficial to improving the comprehensiveness and integrity of the video transcoding method for playback jams, and is also beneficial to improving the rationality and feasibility of the video transcoding method for playback jams, and further beneficial to improving the transcoding efficiency and transcoding accuracy of the video to be transcoded, so as to improve the playback efficiency, playback smoothness and playback accuracy of the video to be played, reduce and deal with the problem of playback jams in the video to be played, and further help to improve the user experience of video transcoding and video playback, as well as improve the playback stability of the video and reduce the transcoding speed fluctuation caused by the decoding capability of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0074] Figure 1 It is a flowchart of a video transcoding method for playing stuck video disclosed in an embodiment of the present invention;

[0075] Figure 2 It is a flowchart of another video transcoding method for playback freeze disclosed in an embodiment of the present invention;

[0076] Figure 3 It is a structural schematic diagram of a video transcoding system for playback freezes disclosed in an embodiment of the present invention;

[0077] Figure 4 It is a structural schematic diagram of another video transcoding system for playing stuck video disclosed in an embodiment of the present invention;

[0078] Figure 5 is a structural schematic diagram of a first processing end disclosed in an embodiment of the present invention;

[0079] Figure 6 It is a schematic diagram of the structure of two first processing ends disclosed in an embodiment of the present invention;

[0080] Figure 7 It is a structural schematic diagram of another video transcoding system for playback freezes disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0081] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0082] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0083] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0084] The present invention discloses a video transcoding method, system and network attached storage device for playback jamming, which can realize the video transcoding function of the video to be transcoded through a first processing end and a second processing end by sending corresponding transcoding assistance request information, determining the assisting transcoding device, sending transcoding assistance response information, splitting the original video and transcoding, etc., which is conducive to improving the comprehensiveness and integrity of the video transcoding method for playback jamming, and is also conducive to improving the rationality and feasibility of the video transcoding method for playback jamming, and is further conducive to improving the transcoding efficiency and transcoding accuracy of the video to be transcoded, so as to improve the playback efficiency, playback smoothness and playback accuracy of the video to be played, reduce and deal with the problem of playback jamming of the video to be played, and further help to improve the user's experience of video transcoding and video playback, and improve the playback stability of the video and reduce the fluctuation of the transcoding speed caused by the decoding capability of the device. The following are described in detail.

[0085] Embodiment 1

[0086] See also Figure 1 , Figure 1 1 is a flow chart of a video transcoding method for video playback freezes disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to a video transcoding method system for playing stuck video, wherein the video transcoding system includes a first processing end and a second processing end, which is not limited in the embodiment of the present invention. Figure 1 As shown, the video transcoding method for playback jamming includes the following operations:

[0087] 101. A first processing end sends transcoding assistance request information to a second processing end, where the transcoding assistance request information includes original video parameter information and target video parameter information of a video to be transcoded.

[0088] Optionally, the target video parameter information may be understood as video parameter information that the to-be-transcoded video is expected to be transcoded into, which is not limited in the embodiment of the present invention.

[0089] Further optionally, before the first processing end sends the transcoding assistance request information to the second processing end, the method may further include the following operations:

[0090] The first processing end creates transcoding assistance request information corresponding to the video to be transcoded according to the determined original video parameter information and target video parameter information.

[0091] Optionally, the transcoding assistance request information may be understood as an assistance request data packet, which is not limited in the embodiment of the present invention.

[0092] Optionally, the first processing end may correspond to a NAS machine, and the second processing end may correspond to a local area network or hardware within the local area network; further, the first processing end and the second processing end may interact with each other in accordance with the same protocol, which is not limited in the embodiment of the present invention.

[0093] Optionally, the first processing end sends transcoding assistance request information to the second processing end. For example, the NAS sends the transcoding assistance request information to the local area network in a broadcast form, which is not limited in the embodiment of the present invention.

[0094] 102. The second processing end determines a target assisting transcoding device according to the transcoding assistance request information, and sends transcoding assistance response information to the first processing end, where the transcoding assistance response information at least includes transcoding device computing power information of the target assisting transcoding device.

[0095] Optionally, the target assisting transcoding device may be a NAS device (network attached storage device), or other device capable of implementing video decoding and transcoding functions, which is not limited in the embodiment of the present invention.

[0096] Further optionally, the second processing end determines the target assisting transcoding device according to the transcoding assistance request information, and sends transcoding assistance response information to the first processing end. For example, the NAS sends an assistance request data packet to the local area network in a broadcast form, waiting for the device CPU or GPU to be idle or in a low-consumption state, and can perform a series of time-consuming tasks. Other hardware devices that meet the decoding requirements respond, which is not limited in the embodiments of the present invention.

[0097] Further optionally, the above-mentioned determination of the target assisting transcoding device and sending the transcoding assistance response information to the first processing end is illustrated by way of example: after receiving the assistance request, the device in the local area network (i.e., the second processing end) evaluates its own computing power F performance and whether it is in an idle state; if the assisting transcoding device is in an idle state, the address of the NAS machine (i.e., the first processing end) that sends the broadcast is found according to the received broadcast address, and a message is replied through the address (i.e., the transcoding assistance response information is sent), which is not limited in the embodiment of the present invention.

[0098] Further optionally, before the second processing end sends the transcoding assistance response information to the first processing end, the method may further include the following operations:

[0099] The second processing end determines the transcoding device computing power information of the target assisting transcoding device.

[0100] Further optionally, the second processing end determining the transcoding device computing power information of the target assisting transcoding device may include:

[0101] The second processing end determines the configuration hardware information of the target assisting transcoding device according to one or more of the CPU model and efficiency information, memory size information, network bandwidth information, and storage read / write speed information of the determined target assisting transcoding device;

[0102] Determine the decoding task requirement information corresponding to the video to be decoded according to one or more of the determined CPU resource information required for the decoding task, the memory information required for the decoding task, the network bandwidth information required for the decoding task, and the storage read / write speed information required for the decoding task;

[0103] Determine current load information of the target assisting transcoding device according to one or more of current CPU usage information, current memory usage information, current network bandwidth usage information, and current storage read / write speed usage information of the determined target assisting transcoding device;

[0104] Determine the remaining resource information of the target assisting transcoding device according to one or more of the remaining CPU resource information, remaining memory information, remaining network bandwidth information, and remaining storage read / write speed information of the determined target assisting transcoding device;

[0105] The computing power information of the target assisting transcoding device is determined according to the configuration hardware information, decoding task requirement information, current load information and remaining resource information.

[0106] Further optionally, the computing power information of the target assisting transcoding device may be used to evaluate the decoding capability of the target assisting transcoding device, or may be used to indicate the percentage of the decoding task that the target assisting transcoding device can share, which is not limited in the embodiment of the present invention.

[0107] 103. The first processing end performs a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments, and sends video transcoding task information to the second processing end, where the video transcoding task information includes the video split segments.

[0108] Optionally, the above-mentioned corresponding original video splitting operation is performed on the video to be transcoded to obtain one or more video split segments, and the video transcoding task information is sent to the second processing end. For example: the original video is split, and the transcoding task is assigned to multiple target assisting transcoding devices for transcoding. The embodiment of the present invention is not limited to this.

[0109] 104. The second processing end controls each target assisting transcoding device to perform a corresponding video transcoding operation according to each video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded.

[0110] Optionally, a method for determining the video transcoding result corresponding to the video to be transcoded is illustrated by an example: after the NAS local machine confirms the list of assisting devices based on the device that has replied to the assistance request in the local area network, the original video is split and the transcoding task is assigned to multiple assisting devices for transcoding. After the assisting device successfully transcodes, it does not need to upload the result to the NAS local machine, but only needs to report the split result, and the NAS host marks it. This embodiment of the present invention is not limited to this.

[0111] Optionally, the video transcoding result corresponding to the video to be transcoded may include the transcoding result of each video segment, or may include the comprehensive transcoding result of the video to be transcoded, or may be the storage location of the transcoded content of the video to be transcoded; further, the transcoding result may be a specific transcoding content and / or transcoding effect, which is not limited in the embodiments of the present invention.

[0112] Further optionally, after transcoding is completed, each target assisting transcoding device reports the completion status and whether it has computing power to perform the next round of assistance, which is not limited in this embodiment of the present invention.

[0113] Optionally, this solution is specifically used in a cloud client that accesses a network attached storage device, which is not limited in the embodiment of the present invention.

[0114] It can be seen that the video transcoding method for playback jams described in the embodiment of the present invention can realize the video transcoding function of the video to be transcoded through the first processing end and the second processing end performing corresponding transcoding assistance request information sending, assisting transcoding device determination, transcoding assistance response information sending, original video splitting and video transcoding and other multiple links, which is beneficial to improving the comprehensiveness and integrity of the video transcoding method for playback jams, and is also beneficial to improving the rationality and feasibility of the video transcoding method for playback jams, and further beneficial to improving the transcoding efficiency and transcoding accuracy of the video to be transcoded, thereby helping to improve the playback efficiency, playback smoothness and playback accuracy of the video to be played, reducing and dealing with the problem of playback jams in the video to be played, and further helping to improve the user experience of video transcoding and video playback, as well as improving the playback stability of the video and reducing the transcoding speed fluctuation caused by the decoding capability of the device.

[0115] In an optional embodiment, the second processing end determines the target assisting transcoding device according to the transcoding assistance request information, which may include:

[0116] The second processing end determines one or more pre-configured assisting transcoding devices, and determines the current device state and idle computing power information of each assisting transcoding device;

[0117] According to the current device status and idle computing power information of each assisting transcoding device and the transcoding assistance request information, an assisting transcoding device that meets the preset video transcoding condition is determined from all the assisting transcoding devices as the target assisting transcoding device.

[0118] Optionally, the pre-configured one or more assisting transcoding devices may be understood as devices within a local area network, and the devices may be capable of implementing a video transcoding function, which is not limited in the embodiments of the present invention.

[0119] Optionally, the current device state of the assisting transcoding device may include, but is not limited to, one or more of an idle state, a low-consumption state, a non-idle state, a non-low-consumption state, and other states, and is not limited in the embodiment of the present invention.

[0120] Optionally, the method for determining the idle computing power information of the assisting transcoding device may refer to but is not limited to the method for determining the computing power information of the transcoding device of the target assisting transcoding device mentioned above, and is not limited in the embodiment of the present invention.

[0121] Further optionally, the determined assisting transcoding device that meets the preset video transcoding condition is determined as the target assisting transcoding device, which is not limited in the embodiment of the present invention.

[0122] It can be seen that this optional embodiment can determine the target assisting transcoding device based on the current device status and idle computing power information of the pre-configured assisting transcoding device, and the transcoding assistance request information, which is conducive to improving the comprehensiveness, integrity and rationality of the target assisting transcoding device determination method, and further conducive to improving the accuracy and reliability of the determined target assisting transcoding device, thereby facilitating improving the subsequent video transcoding accuracy and efficiency based on the target assisting transcoding device, and reducing the occurrence of poor video transcoding effects due to inappropriate configuration of the assisting transcoding device.

[0123] In another optional embodiment, the second processing end determines an assisting transcoding device that meets a preset video transcoding condition from all assisting transcoding devices according to the current device state and idle computing power information of each assisting transcoding device and the transcoding assistance request information, as the target assisting transcoding device, which may include:

[0124] The second processing end determines, according to the current device state of each assisting transcoding device, a first assisting transcoding device that meets a preset idle / low power consumption state condition from all the assisting transcoding devices;

[0125] Determining, according to the idle computing power information and the transcoding assistance request information of each first transcoding assisting device, a second transcoding assisting device that meets a preset transcoding capability condition from all the first transcoding assisting devices;

[0126] A target assisting transcoding device is determined according to all the second assisting transcoding devices.

[0127] Further optionally, the above-mentioned assisting transcoding devices that meet the preset idle / low power consumption state conditions and meet the preset transcoding capability conditions are determined from all assisting transcoding devices. For example: the assisting transcoding devices that are idle and have idle computing power to support video transcoding of this type of format (i.e., can complete the transcoding requirements of the video to be transcoded) are determined from all assisting transcoding devices. The embodiments of the present invention are not limited to this.

[0128] Furthermore, it is necessary to determine the assisting transcoding device that meets the preset transcoding capability conditions. For example: the higher the resolution of the transcoded video, the higher the required device performance, the higher the frame rate requirement, the higher the hardware and network speed requirements; for example, when the frame rate of 4k or 8k original video is converted to 1080p, the CPU and network speed requirements are higher than those of 1080p original video to 720p video, which is not limited in the embodiments of the present invention.

[0129] Further optionally, the determining of the target assisting transcoding device according to all the second assisting transcoding devices may include:

[0130] All second assisting transcoding devices are determined as target assisting transcoding devices.

[0131] It can be seen that this optional embodiment can determine the target assisting transcoding device through two levels of device status conditions and transcoding capability conditions, which is conducive to improving the progressiveness and comprehensiveness of the target assisting transcoding device determination method, and further conducive to improving the diversity and pertinence of the screening conditions for the target assisting transcoding device, thereby helping to improve the accuracy and reliability of the determined target assisting transcoding device.

[0132] In another optional embodiment, the second processing end controls each target assisting transcoding device to perform a corresponding video transcoding operation according to each video transcoding task information to obtain a video transcoding result corresponding to the video to be transcoded, which may include:

[0133] The second processing end controls each target assisting transcoding device to perform corresponding video transcoding operations on the corresponding video split segments according to each video transcoding task information, and obtains the segment transcoding results of each video split segment;

[0134] For each segment transcoding result, according to the determined first transcoding time information of the segment transcoding result, a corresponding transcoding segment splitting operation is performed on the segment transcoding result to obtain one or more transcoding split contents corresponding to the segment transcoding result, and second transcoding time information of each transcoding split content is determined;

[0135] The second transcoding time information of each transcoded split content is sent to the first processing end.

[0136] Optional, for example: split the original video, assign transcoding tasks to multiple assisting devices for transcoding, and split the transcoding results after successful transcoding of the assisting device. There is no need to send the successfully transcoded video stream to the NAS. After receiving the split result, the NAS will mark the corresponding fragment source address in the m3u8 file as the assisting device address according to the fragment content. When the player plays the video later, it can directly request the video stream from the assisting device; further example: transfer one minute or tens of seconds of content to the assisting device for transcoding, then the time point of transcoding is clear. After successful transcoding, it will indicate that the current video specifies the time content fragment to request the assisting device, which is not limited in the embodiment of the present invention.

[0137] Optionally, the first transcoding time information may be the overall time information corresponding to the fragment transcoding result, and the second transcoding time information may be the specific transcoding time information of each transcoded split content, which is not limited in the embodiment of the present invention.

[0138] Optionally, the above-mentioned first transcoding time information of the determined fragment transcoding result is used to perform a corresponding transcoding fragment splitting operation on the fragment transcoding result to obtain one or more transcoding split contents corresponding to the fragment transcoding result. For example: according to the transcoding time of the fragment transcoding result, the fragment transcoding result is further split into fragments to obtain one or more transcoding split contents corresponding to the fragment transcoding result, which is not limited in the embodiment of the present invention.

[0139] It can be seen that this optional embodiment is able to perform video transcoding operations, transcoding result splitting operations and transcoding time determination operations on the video split segments, which is conducive to improving the comprehensiveness and integrity of the method for determining the video transcoding results of the video to be transcoded, and further conducive to improving the transcoding accuracy, pertinence and efficiency of the video split segments, thereby helping to improve the accuracy and reliability of the segment transcoding results of the video split segments, and further conducive to improving the accuracy and comprehensiveness of the video transcoding results of the video to be transcoded.

[0140] In yet another optional embodiment, after the second processing end sends the second transcoding time information of each transcoded split content to the first processing end, the method may further include the following operations:

[0141] The first processing end determines the video playback file corresponding to the video to be transcoded, and determines the device address information of the target assisting transcoding device corresponding to each segment transcoding result;

[0142] According to the device address information of each segment transcoding result, each transcoding split content and its corresponding second transcoding time information, a corresponding request address marking operation is performed on the video playback file to obtain a request address marking result;

[0143] The request address marking result is used to determine the target assisting transcoding device of the video to be transcoded and obtain the video transcoding content of the video to be transcoded through the target assisting transcoding device to complete the transcoding and playback of the video to be transcoded.

[0144] Optionally, the video playback file corresponding to the video to be transcoded may be an m3u8 file, or other files capable of implementing a video playlist, which is not limited in the embodiment of the present invention.

[0145] Optionally, the fragment transcoding result of each video split segment (that is, the content obtained by fragment transcoding) is stored in the target assisting transcoding device that transcodes the video split segment, and the corresponding fragment content request address (that is, the address of the target assisting transcoding device) is marked in the finally generated m3u8 file. The corresponding fragment source address is marked in the m3u8 file as the device address of the corresponding target assisting device according to the fragment content. When the subsequent player plays the video, it can directly request the video stream from the assisting device, which is not limited to the embodiment of the present invention.

[0146] Further, for example: after the target assisting device A successfully transcodes the 10s-15s video, it will be marked in the m3u8 file that the 10s-15s video content is requested from the address of the target assisting device A. When the player plays the video subsequently, it reads directly from the address of the target assisting device A without reading from the NAS itself. This is not done in the embodiment of the present invention.

[0147] It can be seen that this optional embodiment can provide a request address marking function for the video playback file of the video to be transcoded to achieve subsequent video playback, which is beneficial to improving the comprehensiveness and integrity of the transcoding and playback method of the video to be transcoded, and further beneficial to improving the efficiency, convenience and accuracy of obtaining the transcoding results of the video to be transcoded, thereby helping to improve the playback efficiency and playback convenience of the video to be transcoded, and can also reduce the data space storage occupancy of the first processing end (i.e., the NAS machine).

[0148] In yet another optional embodiment, the original video parameter information includes at least original video format information, original resolution information, and original frame rate information; the target video parameter information includes at least target transcoding resolution information and target transcoding frame rate information;

[0149] Further optionally, before the first processing end sends the transcoding assistance request information to the second processing end, the method may further include the following operations:

[0150] The first processing end determines a video to be transcoded that needs video assisted transcoding;

[0151] Perform corresponding video format transcoding and reading operations on the video to be transcoded to obtain original video format information of the video to be transcoded, and perform corresponding picture quality and resolution frame rate analysis operations on the video to be transcoded to obtain original resolution information and original frame rate information of the video to be transcoded;

[0152] According to the transcoding request information received from the user for the video to be transcoded, the target transcoding resolution information of the video to be transcoded is determined, and according to the target transcoding resolution information and the determined network speed information of the assisting device, the target transcoding frame rate information of the video to be transcoded is determined.

[0153] Optionally, the video to be transcoded may include, but is not limited to, one or more of original video files, video streams, other forms of videos, etc., which is not limited in the embodiment of the present invention.

[0154] Optionally, the above-mentioned corresponding video format transcoding and reading operations, picture quality and resolution frame rate analysis operations are performed on the transcoded video. For example, the video to be transcoded is decoded into uncompressed original video frames and audio data to obtain original video format information, original resolution information and original frame rate information, which is not limited to the embodiments of the present invention.

[0155] Optionally, the transcoding request information output by the user for the video to be transcoded may be transcoding request parameter information sent by the user operating the client, which is not limited in the embodiment of the present invention.

[0156] Optionally, the determined network speed information of the assisting device may be understood as the current network speed information of the assisting transcoding device, which is not limited in the embodiment of the present invention.

[0157] It can be seen that this optional embodiment can provide a method for determining original video parameter information and a method for determining target video parameter information, which is conducive to improving the comprehensiveness and rationality of the method for determining original video parameter information, and further conducive to improving the accuracy and reliability of the determined original video parameter information. In addition, it is also conducive to improving the comprehensiveness and rationality of the method for determining target video parameter information, and further conducive to improving the accuracy and reliability of the determined target video parameter information, thereby facilitating improving the accuracy and reliability of the transcoding effect for the video to be transcoded.

[0158] Embodiment 2

[0159] See also Figure 2 , Figure 2 1 is a flow chart of another method for transcoding a video with playback freezes disclosed in an embodiment of the present invention. Figure 2 The method described can be applied to a video transcoding system for playback freezes, wherein the video transcoding system includes a first processing end and a second processing end, which is not limited in the embodiment of the present invention. Figure 2 As shown, the video transcoding method for playback jamming includes the following operations:

[0160] 201. A first processing end sends transcoding assistance request information to a second processing end, where the transcoding assistance request information includes original video parameter information and target video parameter information of a video to be transcoded.

[0161] 202. The second processing end determines a target assisting transcoding device according to the transcoding assistance request information, and sends transcoding assistance response information to the first processing end, where the transcoding assistance response information at least includes transcoding device computing power information of the target assisting transcoding device.

[0162] 203. The first processing end determines the transcoding device computing power information and the network response speed information of each target assisting transcoding device according to the transcoding assistance response information.

[0163] 204. The first processing end determines the task allocation priority results corresponding to all target assisting transcoding devices according to the transcoding device computing power information and the network response speed information of each target assisting transcoding device.

[0164] Optionally, an example is given: confirm the list of assisting devices based on the devices that respond to the assistance request replied by the local area network; a further example is given: determine the computing power F of the responding device (i.e. the corresponding transcoding device computing power information) and the network response speed (i.e. the corresponding network response speed information) based on the received response, and further sort according to the computing power F of the responding device and the network response speed to obtain the task assignment priority result, and further specifically, the assisting tasks with greater computing power and faster response can be assigned first, or the assisting tasks with greater computing power can be assigned first to more important assisting tasks, or the assisting tasks with larger task volume can be assigned first, or the assisting tasks with faster response can be assigned first, and the embodiments of the present invention are not limited to this.

[0165] 205. The first processing end performs corresponding original video splitting operations on the video to be transcoded according to the task allocation priority result to obtain one or more video split segments; wherein each target assisting transcoding device is used to transcode the video split segment corresponding to it.

[0166] Optional, for example: when dividing the frames, use the interval multiples of the I frame for packet division, the B frame requires the reference of the two frames before and after, the P frame requires the reference of the previous frame, and the I frame is a complete frame; the device with stronger computing power allocates a larger GOP, and the device with smaller computing power allocates a smaller number of GOPs; the original video is split using the frame division scheme, and all assisting devices allocate I frame to I frame, but the number of I frame to I frame is different, that is, the number of GOPs is different, and the embodiment of the present invention does not limit this.

[0167] 206. The first processing end sends video transcoding task information to the second processing end, where the video transcoding task information includes video segmentation fragments.

[0168] 207. The second processing end controls each target assisting transcoding device to perform a corresponding video transcoding operation according to each video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded.

[0169] In the embodiment of the present invention, for other descriptions of step 201 to step 207, please refer to the detailed description of step 101 to step 104 in the first embodiment, and the embodiment of the present invention will not be repeated.

[0170] It can be seen that the embodiment of the present invention can realize the video transcoding function of the video to be transcoded through the first processing end and the second processing end performing multiple links such as corresponding transcoding assistance request information sending, assisting transcoding device determination, transcoding assistance response information sending, original video splitting and video transcoding, which is beneficial to improving the comprehensiveness and integrity of the video transcoding method for playback jams, and is also beneficial to improving the rationality and feasibility of the video transcoding method for playback jams, and further beneficial to improving the transcoding efficiency and transcoding accuracy of the video to be transcoded, thereby helping to improve the playback efficiency, playback smoothness and playback accuracy of the video to be played, reducing and coping with the problem of playback jams in the video to be played, and further helping to improve the user's video transcoding and video The playback experience can be improved, as well as the playback stability of the video and the transcoding speed fluctuation caused by the decoding ability of the device can be improved; and the task dispatching priority result can be determined according to the transcoding device computing power information and network response speed information of the target assisted transcoding device, and the video split segments that each target assisted transcoding device is responsible for transcoding can be determined according to the task dispatching priority result, which is conducive to improving the comprehensiveness and rationality of the video split segment determination method, and then it is conducive to improving the fit and pertinence of the target assisted transcoding device and the corresponding video split segment, so as to improve the target assisted transcoding device for the transcoding accuracy and reliability of the responsible video split segment, and to a certain extent, optimize the transcoding effect of the video split segment.

[0171] Embodiment 3

[0172] See also Figure 3 , Figure 3 1 is a schematic diagram of a video transcoding system for preventing playback freezes, disclosed in an embodiment of the present invention. Figure 3 The described video transcoding system includes a first processing end and a second processing end, wherein the first processing end includes a first information sending module 301 and a video splitting module 302, and the second processing end includes an assisting device determining module 303, a second information sending module 304 and a video transcoding module 305, wherein:

[0173] The first information sending module 301 is used to send transcoding assistance request information to the second processing end, where the transcoding assistance request information includes original video parameter information and target video parameter information of the video to be transcoded.

[0174] The assisting device determining module 303 is used to determine a target assisting transcoding device according to the transcoding assisting request information.

[0175] The second information sending module 304 is used to send transcoding assistance response information to the first processing end, where the transcoding assistance response information at least includes the transcoding device computing power information of the target assisting transcoding device.

[0176] The video splitting module 302 is used to perform corresponding original video splitting operations on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments.

[0177] The first information sending module 301 is used to send video transcoding task information to the second processing end, where the video transcoding task information includes video segmentation segments.

[0178] The video transcoding module 305 is used to control each target assisting transcoding device to perform a corresponding video transcoding operation according to each video transcoding task information, and obtain a video transcoding result corresponding to the video to be transcoded.

[0179] It can be seen that the implementation Figure 3 The described video transcoding system for playback jams can realize the video transcoding function of the video to be transcoded through the first processing end and the second processing end through multiple links such as sending corresponding transcoding assistance request information, determining the assisting transcoding device, sending transcoding assistance response information, splitting the original video and transcoding, etc., which is beneficial to improving the comprehensiveness and integrity of the video transcoding method for playback jams, and is also beneficial to improving the rationality and feasibility of the video transcoding method for playback jams, and further beneficial to improving the transcoding efficiency and transcoding accuracy of the video to be transcoded, thereby helping to improve the playback efficiency, playback smoothness and playback accuracy of the video to be played, reducing and dealing with the problem of playback jams in the video to be played, and further helping to improve the user experience of video transcoding and video playback, as well as improving the playback stability of the video and reducing the transcoding speed fluctuation caused by the decoding capability of the device.

[0180] In an optional embodiment, the assisting device determining module 303 determines the target assisting transcoding device according to the transcoding assistance request information in a manner that specifically includes:

[0181] Determine one or more pre-configured assisting transcoding devices, and determine current device status and idle computing power information of each assisting transcoding device;

[0182] According to the current device status and idle computing power information of each assisting transcoding device and the transcoding assistance request information, an assisting transcoding device that meets the preset video transcoding condition is determined from all the assisting transcoding devices as the target assisting transcoding device.

[0183] It can be seen that the implementation Figure 4The described video transcoding system can determine the target assisting transcoding device based on the current device status and idle computing power information of the pre-configured assisting transcoding device and the transcoding assistance request information, which is conducive to improving the comprehensiveness, integrity and rationality of the target assisting transcoding device determination method, and further conducive to improving the accuracy and reliability of the determined target assisting transcoding device, thereby facilitating improving the subsequent accuracy and efficiency of video transcoding based on the target assisting transcoding device, and reducing the occurrence of poor video transcoding effects due to inappropriate configuration of the assisting transcoding device.

[0184] In another optional embodiment, the assisting device determining module 303 determines an assisting transcoding device that meets the preset video transcoding condition from all assisting transcoding devices according to the current device status and idle computing power information of each assisting transcoding device and the transcoding assistance request information, and the method of selecting the assisting transcoding device as the target assisting transcoding device specifically includes:

[0185] According to the current device state of each assisting transcoding device, determining a first assisting transcoding device that meets a preset idle / low power consumption state condition from all the assisting transcoding devices;

[0186] Determining, according to the idle computing power information and the transcoding assistance request information of each first transcoding assisting device, a second transcoding assisting device that meets a preset transcoding capability condition from all the first transcoding assisting devices;

[0187] A target assisting transcoding device is determined according to all the second assisting transcoding devices.

[0188] It can be seen that the implementation Figure 4 The described video transcoding system can also determine the target assisting transcoding device through two levels: device status conditions and transcoding capability conditions, which is conducive to improving the progressiveness and comprehensiveness of the target assisting transcoding device determination method, and further conducive to improving the diversity and pertinence of the screening conditions for the target assisting transcoding device, thereby facilitating improving the accuracy and reliability of the determined target assisting transcoding device.

[0189] In another optional embodiment, the video splitting module 302 performs the corresponding original video splitting operation on the transcoded video according to the transcoding assistance response information to obtain one or more video split segments, specifically including:

[0190] Determine the transcoding device computing power information and network response speed information of each target assisting transcoding device according to the transcoding assistance response information;

[0191] Determine the task allocation priority results corresponding to all target assisting transcoding devices according to the transcoding device computing power information and network response speed information of each target assisting transcoding device;

[0192] According to the task assignment priority result, the corresponding original video splitting operation is performed on the transcoded video to obtain one or more video split segments;

[0193] Each target assisting transcoding device is used to transcode the video segment corresponding to it.

[0194] It can be seen that the implementation Figure 4 The described video transcoding system can also determine the task assignment priority result based on the transcoding device computing power information and network response speed information of the target assisting transcoding device, and determine the video split segments that each target assisting transcoding device is responsible for transcoding based on the task assignment priority result, which is conducive to improving the comprehensiveness and rationality of the video split segment determination method, and further conducive to improving the fit and pertinence of the target assisting transcoding device and the corresponding video split segment, thereby helping to improve the target assisting transcoding device for the transcoding accuracy and reliability of the responsible video split segment, and to a certain extent optimize the transcoding effect of the video split segment.

[0195] In another optional embodiment, the video transcoding module 305 controls each target assisting transcoding device to perform a corresponding video transcoding operation according to each video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded, specifically including:

[0196] According to each video transcoding task information, control each target assisting transcoding device to perform a corresponding video transcoding operation on the corresponding video split segment, and obtain a segment transcoding result of each video split segment;

[0197] For each segment transcoding result, according to the determined first transcoding time information of the segment transcoding result, a corresponding transcoding segment splitting operation is performed on the segment transcoding result to obtain one or more transcoding split contents corresponding to the segment transcoding result, and second transcoding time information of each transcoding split content is determined;

[0198] The second transcoding time information of each transcoded split content is sent to the first processing end.

[0199] It can be seen that the implementation Figure 4 The described video transcoding system can also perform video transcoding operations, transcoding result splitting operations and transcoding time determination operations on the video split segments, which is conducive to improving the comprehensiveness and integrity of the method for determining the video transcoding results of the video to be transcoded, and further conducive to improving the transcoding accuracy, pertinence and efficiency of the video split segments, thereby helping to improve the accuracy and reliability of the segment transcoding results of the video split segments, and further conducive to improving the accuracy and comprehensiveness of the video transcoding results of the video to be transcoded.

[0200] In yet another optional embodiment, the first processing end further includes an address marking module 306, wherein:

[0201] The address marking module 306 is used to determine the video playback file corresponding to the to-be-transcoded video and the device address information of the target assisting transcoding device corresponding to each segment transcoding result after the video transcoding module 305 sends the second transcoding time information of each transcoded split content to the first processing end; perform a corresponding request address marking operation on the video playback file according to the device address information of each segment transcoding result, each transcoded split content and its corresponding second transcoding time information, and obtain a request address marking result;

[0202] The request address marking result is used to determine the target assisting transcoding device of the video to be transcoded and obtain the video transcoding content of the video to be transcoded through the target assisting transcoding device to complete the transcoding and playback of the video to be transcoded.

[0203] It can be seen that implementation Figure 4 The described video transcoding system can also provide a request address marking function for the video playback file of the video to be transcoded to achieve subsequent video playback, which is beneficial to improving the comprehensiveness and integrity of the transcoding and playback method of the video to be transcoded, and further beneficial to improving the efficiency, convenience and accuracy of obtaining the transcoding results of the video to be transcoded, thereby facilitating improving the playback efficiency and playback convenience of the video to be transcoded, and can also reduce the data space storage occupancy of the first processing end (i.e., the NAS machine).

[0204] In yet another optional embodiment, the original video parameter information includes at least original video format information, original resolution information, and original frame rate information; the target video parameter information includes at least target transcoding resolution information and target transcoding frame rate information;

[0205] Further optionally, the first processing end further includes a parameter determination module 307, wherein:

[0206] The parameter determination module 307 is used to determine, by the first processing end, the video to be transcoded that needs video assistance transcoding before the first information sending module 301 sends the transcoding assistance request information to the second processing end; perform corresponding video format transcoding and reading operations on the video to be transcoded to obtain the original video format information of the video to be transcoded, and perform corresponding picture quality and resolution frame rate analysis operations on the video to be transcoded to obtain the original resolution information and original frame rate information of the video to be transcoded; determine the target transcoding resolution information of the video to be transcoded based on the transcoding request information received from the user for the video to be transcoded, and determine the target transcoding frame rate information of the video to be transcoded based on the target transcoding resolution information and the determined network speed information of the assisting device.

[0207] It can be seen that implementation Figure 4The described video transcoding system can also provide a method for determining original video parameter information and a method for determining target video parameter information, which is conducive to improving the comprehensiveness and rationality of the method for determining original video parameter information, and thus is conducive to improving the accuracy and reliability of the determined original video parameter information. In addition, it is also conducive to improving the comprehensiveness and rationality of the method for determining target video parameter information, and thus is conducive to improving the accuracy and reliability of the determined target video parameter information, thereby helping to improve the accuracy and reliability of the transcoding effect for the video to be transcoded.

[0208] Embodiment 4

[0209] See also Figure 5 , Figure 5 Schematic diagram of the structure of a first processing end disclosed in an embodiment of the present invention. Figure 5 As shown, the first processing end may include:

[0210] A memory 401 storing executable program codes;

[0211] a processor 402 coupled to the memory 401;

[0212] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the video transcoding method for playback jamming described in the first or second embodiment.

[0213] Embodiment 5

[0214] See also Figure 6 , Figure 6 Schematic diagram of the structure of a second processing end disclosed in an embodiment of the present invention. Figure 6 As shown, the second processing end may include:

[0215] A memory 501 storing executable program codes;

[0216] a processor 502 coupled to the memory 501;

[0217] The processor 502 calls the executable program code stored in the memory 501 to execute the steps in the video transcoding method for playback freeze described in the first or second embodiment.

[0218] Embodiment 6

[0219] See also Figure 7 , Figure 7 is a structural diagram of another video transcoding system for playing stuck video disclosed in an embodiment of the present invention. Figure 7 The described system may include a server, wherein the server includes a local server or a cloud server, which is not limited in the embodiment of the present invention. Figure 7As shown, the system may include:

[0220] A memory 601 storing executable program codes;

[0221] a processor 602 coupled to the memory 601;

[0222] Furthermore, it may also include an input interface 603 and an output interface 604 coupled to the processor 602; wherein the processor 602 calls the executable program code stored in the memory 601 to execute the steps in the video transcoding method for playback jamming described in Example 1 or Example 2.

[0223] Embodiment 7

[0224] A network attached storage device is configured with a display screen, and the network attached storage device is used to interactively communicate with a second processing end, wherein the network attached storage device is used to perform data analysis and video transcoding operations on a determined video to be transcoded with the second processing end through the video transcoding method for playback jamming as described in Example 1 or Example 2.

[0225] Embodiment 8

[0226] An embodiment of the present invention discloses a computer storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the video transcoding method for playback jamming described in the first or second embodiment.

[0227] Embodiment 9

[0228] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the video transcoding method for playback jamming described in Embodiment 1 or Embodiment 2.

[0229] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0230] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, a magnetic disk storage, a magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0231] Finally, it should be noted that the video transcoding method, system and network attached storage device for playback jamming disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A video transcoding method for playback freezes, characterized in that: The method is applied in a video transcoding system, wherein the video transcoding system includes a first processing end and a second processing end, and the method includes: The first processing end sends transcoding assistance request information to the second processing end, where the transcoding assistance request information includes original video parameter information and target video parameter information of the video to be transcoded; The second processing end determines a target assisting transcoding device according to the transcoding assistance request information, and sends transcoding assistance response information to the first processing end, where the transcoding assistance response information at least includes transcoding device computing power information of the target assisting transcoding device; The first processing end performs a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments, and sends video transcoding task information to the second processing end, where the video transcoding task information includes the video split segments; The second processing end controls each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded.

2. The video transcoding method for playback jamming according to claim 1, characterized in that: The second processing end determines a target assisting transcoding device according to the transcoding assistance request information, including: The second processing end determines one or more pre-configured assisting transcoding devices, and determines the current device state and idle computing power information of each of the assisting transcoding devices; According to the current device status and idle computing power information of each of the assisting transcoding devices and the transcoding assistance request information, an assisting transcoding device that meets a preset video transcoding condition is determined from all the assisting transcoding devices as a target assisting transcoding device.

3. The video transcoding method for playback freeze according to claim 2, characterized in that: The second processing end determines, according to the current device status and idle computing power information of each of the assisting transcoding devices and the transcoding assistance request information, an assisting transcoding device that meets the preset video transcoding condition from all the assisting transcoding devices as a target assisting transcoding device, including: The second processing end determines, according to the current device state of each of the assisting transcoding devices, a first assisting transcoding device that meets a preset idle / low power consumption state condition from all the assisting transcoding devices; Determining, according to the idle computing power information of each of the first transcoding assisting devices and the transcoding assistance request information, a second transcoding assisting device that meets a preset transcoding capability condition from all the first transcoding assisting devices; A target assisting transcoding device is determined according to all of the second assisting transcoding devices.

4. The video transcoding method for playback freeze according to claim 1, characterized in that: The first processing end performs a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments, including: The first processing end determines the transcoding device computing power information and the network response speed information of each target assisting transcoding device according to the transcoding assistance response information; Determine the task assignment priority results corresponding to all the target assisting transcoding devices according to the transcoding device computing power information and network response speed information of each target assisting transcoding device; According to the task assignment priority result, performing a corresponding original video splitting operation on the video to be transcoded to obtain one or more video split segments; Each of the target-assisted transcoding devices is used to transcode the corresponding video segment.

5. The video transcoding method for playback freeze according to any one of claims 1 to 4, characterized in that: The second processing end controls each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, and obtains a video transcoding result corresponding to the video to be transcoded, including: The second processing end controls each of the target assisting transcoding devices to perform corresponding video transcoding operations on the corresponding video split segments according to each of the video transcoding task information, so as to obtain the segment transcoding results of each of the video split segments; For each of the segment transcoding results, according to the determined first transcoding time information of the segment transcoding result, a corresponding transcoding segment splitting operation is performed on the segment transcoding result to obtain one or more transcoding split contents corresponding to the segment transcoding result, and second transcoding time information of each of the transcoding split contents is determined; The second transcoding time information of each of the transcoded split contents is sent to the first processing end.

6. The video transcoding method for playback freeze according to claim 5, characterized in that: After the second processing end sends the second transcoding time information of each of the transcoded split contents to the first processing end, the method further includes: The first processing end determines the video playback file corresponding to the video to be transcoded, and determines the device address information of the target assisting transcoding device corresponding to each of the segment transcoding results; According to the device address information of each of the segment transcoding results, each of the transcoded split contents and its corresponding second transcoding time information, a corresponding request address marking operation is performed on the video playback file to obtain a request address marking result; The request address marking result is used to determine the target assisting transcoding device of the video to be transcoded and obtain the video transcoding content of the video to be transcoded through the target assisting transcoding device to complete the transcoding and playback of the video to be transcoded.

7. The video transcoding method for playback freeze according to any one of claims 1 to 4, characterized in that: The original video parameter information includes at least original video format information, original resolution information and original frame rate information; the target video parameter information includes at least target transcoding resolution information and target transcoding frame rate information; Furthermore, before the first processing end sends the transcoding assistance request information to the second processing end, the method further includes: The first processing end determines a video to be transcoded that needs video-assisted transcoding; Performing corresponding video format transcoding and reading operations on the video to be transcoded to obtain original video format information of the video to be transcoded, and performing corresponding picture quality and resolution frame rate analysis operations on the video to be transcoded to obtain original resolution information and original frame rate information of the video to be transcoded; According to the transcoding request information received from the user for the video to be transcoded, the target transcoding resolution information of the video to be transcoded is determined, and according to the target transcoding resolution information and the determined network speed information of the assisting device, the target transcoding frame rate information of the video to be transcoded is determined.

8. A video transcoding system for playback freezes, characterized in that: The video transcoding system includes a first processing end and a second processing end, wherein the first processing end includes a first information sending module and a video splitting module, and the second processing end includes an assisting device determining module, a second information sending module and a video transcoding module, wherein: The first information sending module is used to send transcoding assistance request information to the second processing end, wherein the transcoding assistance request information includes original video parameter information and target video parameter information of the video to be transcoded; The assisting device determining module is used to determine a target assisting transcoding device according to the transcoding assistance request information; The second information sending module is used to send transcoding assistance response information to the first processing end, wherein the transcoding assistance response information at least includes the transcoding device computing power information of the target assisting transcoding device; The video splitting module is used to perform a corresponding original video splitting operation on the video to be transcoded according to the transcoding assistance response information to obtain one or more video split segments; The first information sending module is used to send video transcoding task information to the second processing end, wherein the video transcoding task information includes the video split segments; The video transcoding module is used to control each of the target assisting transcoding devices to perform a corresponding video transcoding operation according to each of the video transcoding task information, so as to obtain a video transcoding result corresponding to the video to be transcoded.

9. A network attached storage device, characterized in that: The network attached storage device is configured with a display screen, and the network attached storage device is used for interactive communication with a second processing end, wherein the network attached storage device is used to perform data analysis and video transcoding operations on the determined video to be transcoded with the second processing end through the video transcoding method for playback jamming as described in any one of claims 1-7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the video transcoding method for playback jamming as described in any one of claims 1-7.