Video processing method and device, electronic equipment, storage medium and product

By analyzing the decoding dependency of video frames, only data packets that depend directly or indirectly on the target video frame are decoded, which solves the problem of slow speed caused by the large number of data packets in the video positioning process, and improves video positioning efficiency and user experience.

CN119233014APending Publication Date: 2024-12-31BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310806331.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

During the video positioning process, a large number of video coded data packets need to be decoded, resulting in large consumption of processing resources, poor user experience, and slow positioning speed.

Method used

By obtaining the display time of the target positioning video frame, determining the target keyframe associated with it, and reading the video frame compressed packets in the video image group, analyzing the decoding dependencies, decoding only the decoding packets directly or indirectly, to Reduce the number of packets that need to be decoded.

Benefits of technology

It shortens the time required for video positioning, improves video positioning efficiency and speed, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233014A_ABST
    Figure CN119233014A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a video processing method and device, electronic equipment, a storage medium and a product, and the method comprises the steps: obtaining the display time of a target positioning video frame, and determining a target key frame associated with the target positioning video frame based on the display time; reading each video frame compressed data packet in a video image group where the target key frame and the target positioning video frame are located, and determining a decoding dependency relationship among the video frame compressed data packets; and determining a target to-be-decoded data packet in each video frame compressed data packet according to the decoding dependency relationship, and decoding the target to-be-decoded data packet to obtain a target positioning video frame. According to the technical scheme provided by the embodiment of the invention, the problem that the video positioning speed is low due to the fact that a plurality of data packets need to be decoded when the target positioning video frame is positioned is solved, the number of the video coding data packets to be decoded in the positioning process of the target positioning video frame can be reduced, the time required for video positioning is shortened, and the video positioning efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of video processing technology, and in particular to a video processing method, device, electronic device, storage medium and product. Background Art

[0002] Applications with video playback or video editing functions usually provide a video seek function, which allows users to seek to play or edit video images at any playback time point, that is, jump from a video frame at one time point to a video frame at another time point. This function is achieved by decoding the video data packet from the video key frame before the seek time point until the video seek time point.

[0003] However, the process of decoding the video data packet consumes a lot of processing resources and time, resulting in poor user experience. The speed of obtaining the target positioning video frame of the user by decoding the video encoding data packet needs to be improved. Summary of the invention

[0004] The present disclosure provides a video processing method, device, electronic device, storage medium and product, which can reduce the number of video encoding data packets to be decoded during target positioning video frame positioning, shorten the time required for video positioning, and improve video positioning efficiency.

[0005] In a first aspect, an embodiment of the present disclosure provides a video processing method, the method comprising:

[0006] Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time;

[0007] Reading each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determining a decoding dependency relationship between the video frame compressed data packets;

[0008] According to the decoding dependency relationship, a target data packet to be decoded is determined in each of the video frame compressed data packets, and the target data packet to be decoded is decoded to obtain the target positioning video frame.

[0009] In a second aspect, an embodiment of the present disclosure further provides a video processing device, the device comprising:

[0010] A video processing start module, used for obtaining the display time of the target positioning video frame, and determining the target key frame associated with the target positioning video frame based on the display time;

[0011] A video data decoding relationship analysis module is used to read each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determine the decoding dependency relationship between the video frame compressed data packets;

[0012] The target positioning video frame decoding determination module is used to determine the target to-be-decoded data packet in the compressed data packets of each video frame according to the decoding dependency relationship, and decode the target to-be-decoded data packet to obtain the target positioning video frame.

[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0014] one or more processors;

[0015] a storage device for storing one or more programs,

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the video processing method as described in any one of the embodiments of the present disclosure.

[0017] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the video processing method as described in any one of the embodiments of the present disclosure.

[0018] In a fifth aspect, the embodiments of the present disclosure further provide a computer program product, including a computer program, which, when executed by a processor, implements the video processing method as described in any one of the embodiments of the present invention.

[0019] In the disclosed embodiment, after obtaining the display time of the target positioning video frame, the target key frame associated with the target positioning video frame is determined based on the display time; then, the compressed data packets of each video frame in the video image group where the target key frame and the target positioning video frame are located are read, and the decoding dependency relationship between the compressed data packets of each video frame is determined; thereby, the target data packet to be decoded is determined in the compressed data packets of each video frame according to the decoding dependency relationship, and the target data packet to be decoded is decoded to obtain the target positioning video frame, that is, the compressed data packets that were originally decoded are further filtered, and only the compressed data packets of the video frames that have a direct or indirect decoding dependency relationship with the target positioning video frame are decoded, thereby improving the speed of positioning jumping to the target positioning video frame. The technical solution of the disclosed embodiment solves the problem that many data packets need to be decoded when positioning the target positioning video frame, thereby slowing the video positioning speed, and can reduce the number of video encoding data packets to be decoded in the process of positioning the target positioning video frame, shorten the time required for video positioning, and improve the efficiency of video positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0021] Figure 1 It is a schematic diagram of a video processing method provided by an embodiment of the present disclosure;

[0022] Figure 2 It is a schematic diagram of a video processing method provided by an embodiment of the present disclosure;

[0023] Figure 3 is a schematic diagram of a video decoding dependency relationship provided by an embodiment of the present disclosure;

[0024] Figure 4 It is a functional framework diagram of a method for implementing video processing provided by an embodiment of the present disclosure;

[0025] Figure 5 is a structural schematic diagram of a video processing device provided by an embodiment of the present disclosure;

[0026] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0032] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0034] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0036] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0037] Figure 1A flow chart of a video processing method provided in an embodiment of the present disclosure is provided. The embodiment of the present disclosure is applicable to scenarios of video playback or video editing, especially for videos in HEVC (High Efficiency Video Coding) encoding format, to achieve fast video playback content positioning (seek). The method can be executed by a video processing device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0038] like Figure 1 As shown, the video processing method includes:

[0039] S110: Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time.

[0040] The target video frame can be any video frame in any video clip currently played or edited by the user. When watching or editing a video clip, the user can select and jump to any target video frame from the currently displayed video frame according to his / her viewing interest or editing concept, i.e., seek the target video frame. The implementation of the target video frame seek function can, to a certain extent, improve the viewing or editing freedom of the user when watching or editing a video.

[0041] The display time of the target positioning video frame, that is, the display timestamp (PresentationTimestamp, PTS) of the target positioning video frame. The target key frame associated with the target positioning video frame can be a key frame that is displayed before the target positioning video frame and is closest to the target positioning video frame. In dynamic image coding, the image screen (i.e., frame) is divided into three types: I, P, and B. I is an internal coding frame, P is a forward prediction frame, and B is a bidirectional interpolation frame. Among them, the I frame is a key frame, which can be understood as a complete picture. The target key frame is the I frame that is in front of the target positioning video frame and has the closest display time.

[0042] Specifically, when the application providing the video frame seek function obtains the user's video display content jump operation in the preset video display interactive interface, the display time of the target positioning video frame can be obtained. Usually, the user can drag the video display time progress bar in the preset video display interactive interface to a certain time point, or click a certain time point on the video display time axis to switch the currently displayed video frame to the target positioning video frame at the target display time point, so as to determine the display time of the target positioning video frame.

[0043] Further, after the display time of the target positioning video frame is determined, the target key frame associated with the target positioning video frame can be determined based on the display time. Exemplarily, the index table of the video key frames of the video to which the target positioning video frame belongs can be queried according to the display time to determine the target key frame associated with the target positioning video frame.

[0044] S120, reading each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determining a decoding dependency relationship between the video frame compressed data packets.

[0045] A video group of pictures (Group of Pictures, GOP) represents a group of continuous pictures in a video. The target key frame and the target positioning video frame are video frames in the same video group of pictures.

[0046] The first image of a GOP must be an I frame, that is, the target key frame is the first image frame of the video image group it is in. It can be understood that in this embodiment, the case where the target positioning video frame is the target key frame is not excluded.

[0047] In the video image group, in addition to the target key frame, there are also P frames and B frames. Among them, P is a forward prediction frame and B is a bidirectional interpolation frame. P frames and B frames record the changes relative to I frames. The decoding dependency between each video frame compression data packet can be understood as the reference relationship between each video frame and the video frame it refers to forward or backward during encoding. This reference relationship will be recorded in the corresponding video frame compression data packet in the form of data packet information header data.

[0048] Accordingly, when determining the decoding dependency between the compressed data packets of each video frame, it is necessary to parse the compressed data packets of each video frame, quickly obtain the information header of the data packet, and thus obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively. Further, the decoding dependency between the compressed data packets of each video frame is determined based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0049] Among them, the image sequence number (PictureOrderCount) is mainly used to identify the playback order of the image, and can also be used as the identification information of each video frame in the video image group, such as numbering 0, 1, 2, 3... in the playback order starting from the key frame. The decoding dependency represents the video frames that a video frame directly or indirectly references when encoding. For example, the POC of a video frame is 5, and its decoding reference video frames are video frames with POCs of 3 and 6, and the decoding reference video frame of the video frame with POC 3 is 2. Then, the decoding dependency that can be determined is that the decoding direct reference video frames of the video frame with POC 5 are 3 and 6, and the decoding indirect reference video frame is 3.

[0050] S130, determining a target data packet to be decoded in each of the video frame compressed data packets according to the decoding dependency relationship, and decoding the target data packet to be decoded to obtain the target positioning video frame.

[0051] Specifically, after determining the decoding dependency of each video frame sequence in the video image group, the target image sequence numbers of the video frames that the target positioning video frame directly and indirectly depends on can be determined according to the decoding dependency; then, the video frame compressed data packet corresponding to the target image sequence number is used as the target data packet to be decoded.

[0052] That is, in the present embodiment, only the compressed data packets of video frames related to the target positioning video frames and those having a decoding dependency thereon are decoded, and the compressed data packets of video frames having no decoding dependency thereon are not decoded, thereby reducing the number of compressed data packets of video frames to be decoded and improving the speed of decoding and displaying the target positioning video frames.

[0053] The technical solution of the disclosed embodiment is to determine the target key frame associated with the target positioning video frame based on the display time after obtaining the display time of the target positioning video frame; then, read the compressed data packets of each video frame in the video image group where the target key frame and the target positioning video frame are located, and determine the decoding dependency between the compressed data packets of each video frame; thereby determining the target data packet to be decoded in the compressed data packets of each video frame according to the decoding dependency, and decoding the target data packet to be decoded to obtain the target positioning video frame, that is, further filtering the compressed data packets that were originally decoded, and only decoding the compressed data packets of the video frames that have a direct or indirect decoding dependency relationship with the target positioning video frame, thereby improving the speed of positioning to jump to the target positioning video frame. The technical solution of the disclosed embodiment solves the problem that many data packets need to be decoded when positioning the target positioning video frame, thereby slowing the video positioning speed, and can reduce the number of video encoding data packets to be decoded in the process of positioning the target positioning video frame, shorten the time required for video positioning, and improve the efficiency of video positioning.

[0054] Figure 2 This is a flow chart of another video processing method provided by an embodiment of the present disclosure, which further describes the process of decoding dependency analysis of video frame compression data packets based on the above embodiment. The method can be executed by a video processing device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0055] like Figure 2 As shown, the video processing method includes:

[0056] S210: Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time.

[0057] S220, reading compressed data packets of each video frame in the video image group where the target key frame and the target positioning video frame are located, and parsing the compressed data packets of each video frame to obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively.

[0058] Specifically, when parsing each video frame compressed data packet, each video frame compressed data packet can be read and parsed to obtain the image sequence number of the corresponding video frame and the image sequence number of the decoding reference video frame of the video frame. Alternatively, all the video frame compressed data packets to be read can be read and then the video compressed data packets can be parsed uniformly.

[0059] Furthermore, when reading a video frame compressed data packet, it is necessary to determine once each time a video frame compressed data packet is read whether the reading of all the video frame compressed data packets that need to be read is completed. If so, the next step can be performed; otherwise, it is necessary to continue to read the next video frame compressed data packet. Among them, the condition for determining whether the reading process of all the video frame compressed data packets that need to be read is completed can be to determine whether the display timestamp of the read video frame compressed data packet is after the display time of the target positioning video frame, and whether the read video frame compressed data packet is the last video frame compressed data packet of the image sequence in the video image group where the target key frame is located. Alternatively, it can also be determined whether the read video frame compressed data packet is the last video frame compressed data packet in the entire video clip.

[0060] When determining the decoding dependency between the compressed data packets of each video frame, the information header of the data packet is quickly obtained by parsing the compressed data packets of each video frame, thereby obtaining the image sequence number corresponding to the video frame recorded in the information header of each compressed data packet of each video frame and the image sequence number of the decoding reference video frame. Further, the decoding dependency between the compressed data packets of each video frame is determined based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0061] S230: Construct a decoding dependency graph based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0062] In this step, by constructing a decoding dependency graph, the decoding dependency between video frames is more intuitively represented in a graphical manner, thereby improving the efficiency of data relationship storage and management to a certain extent.

[0063] In a feasible implementation, the decoding dependency graph can be presented in the form of a directed acyclic graph, which can be referred to as Figure 3 The example directed acyclic graph.

[0064] S240. Determine the direct or indirect decoding dependency relationship between the video frame compression data packets according to the decoding dependency graph.

[0065] Specifically, based on the connection relationship between the decoding dependent video frames of each video frame in the decoding dependency graph, the direct or indirect decoding dependency relationship between the compressed data packets of each video frame can be determined.

[0066] Still Figure 3 For example, in Figure 3 A group of GOPs containing 9 image frames is shown in FIG. Among them, I0 is the first key frame; P1 frame decoding directly depends on I0 frame, B2 frame decoding directly depends on I0 frame and P1 frame; B3 frame decoding directly depends on I0 frame; B4 frame decoding directly depends on B2, P1 and B3 frames, and indirectly depends on I0 frame; P5 frame decoding directly depends on P1 frame, and indirectly depends on I0 frame; B6 frame decoding directly depends on B2, P1 and P5 frames, and indirectly depends on I0 frame; B7 frame decoding directly depends on B6 and P1 frames, and indirectly depends on I0 and P5 frames; B8 frame decoding directly depends on B6 and P5 frames, and indirectly depends on I0, B2, P1 and P5 frames.

[0067] S250, determining a target data packet to be decoded in each of the video frame compressed data packets according to the decoding dependency relationship, and decoding the target data packet to be decoded to obtain the target positioning video frame.

[0068] From the decoding dependency of the video frames sorted out in the previous step, the image sequence numbers of the directly and indirectly dependent video frames can be extracted from the image sequence number of the target positioning video frame, thereby determining the target data packet to be decoded. The target data packet to be decoded is further decoded, and the target positioning video frame is rendered and displayed based on the decoding result.

[0069] The technical solution of the disclosed embodiment is to determine the target key frame associated with the target positioning video frame based on the display time after obtaining the display time of the target positioning video frame; then, read the compressed data packets of each video frame in the video image group where the target key frame and the target positioning video frame are located, parse the compressed data packets of each video frame and construct a decoding dependency graph based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame; thereby determining the target data packet to be decoded according to the decoding dependency graph, and decoding the target data packet to be decoded to obtain the target positioning video frame, that is, further filtering the compressed data packets that were originally decoded, and only decoding the compressed data packets of the video frames that have a direct or indirect decoding dependency relationship with the target positioning video frame, thereby improving the speed of positioning jumping to the target positioning video frame. The technical solution of the disclosed embodiment solves the problem that many data packets need to be decoded when positioning the target positioning video frame, thereby slowing the video positioning speed, and can reduce the number of video encoding data packets to be decoded during the positioning process of the target positioning video frame, shorten the time required for video positioning, and improve the efficiency of video positioning.

[0070] Figure 4 This is a flow chart of another video processing method provided by an embodiment of the present disclosure. On the basis of the above embodiment, it further describes the process of managing the compressed data packets of each video frame in the video image group through a data queue during the video processing. The method can be executed by a video processing device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0071] like Figure 4 As shown, the video processing method includes:

[0072] S310: Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time.

[0073] S320, starting from the video frame compression data packet of the target key frame, sequentially read the video frame compression data packets in the video image group and store them into a preset first-in-first-out data queue, until all the video frame compression data packets belonging to the video image group are stored in the preset first-in-first-out data queue.

[0074] In this embodiment, the video frame compression data packets are managed by the data queue, so that the order of data packet management can be achieved, and the disorder and omission of data sequence will not occur during the processing of the video frame compression data packets.

[0075] Specifically, after each video frame compressed data packet is read and written into the preset first-in-first-out data queue, step S330 may be executed to parse the video frame compressed data packet written into the queue, and determine whether the reading of all video frame compressed data packets has been completed. If not, S320 and S330 are repeatedly executed until all video frame compressed data packets to be read are written into the preset first-in-first-out data queue, and the parsing of the video frame compressed data packets is completed.

[0076] S330, parsing the compressed data packets of each video frame to obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively.

[0077] S340: Determine a decoding dependency relationship between the compressed data packets of the video frames based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0078] In this step, a decoding dependency graph can be constructed to more intuitively represent the decoding dependency between video frames in a graphical manner. Figure 3 The example directed acyclic graph.

[0079] S350, sequentially reading each stored video frame compression data packet from the preset first-in-first-out data queue, and determining whether the read video frame compression data packet is a video frame compression data packet that the target positioning video frame directly or indirectly depends on based on the decoding dependency relationship.

[0080] According to the order of writing into the preset first-in-first-out data queue, the stored compressed data packets of each video frame are read in sequence, and the compressed video data packets that need to be decoded are filtered.

[0081] For each video frame compressed data packet taken out from the preset FIFO data queue, it is determined whether it is a video frame compressed data packet directly or indirectly dependent on the target positioning video frame in the decoding dependency relationship according to the POC of the data packet. If so, step S360 can be executed.

[0082] S360. When the read video frame compression data packet is a video frame compression data packet that the target positioning video frame directly or indirectly depends on, the video frame compression data packet is decoded until all the video frame compression data packets in the preset first-in-first-out data queue are read and processed to obtain the target positioning video frame.

[0083] In addition, when the read video frame compressed data packet is not the video frame compressed data packet that the target positioning video frame directly or indirectly depends on, it is filtered out, and S350 is repeated to read the next video compressed data packet. The filtered video frame compressed data packet will not be decoded, thereby reducing the time required for positioning the target positioning video frame.

[0084] It should be noted here that in the video playback scenario, the video object for locating the target video frame based on the video processing method provided by this embodiment is mostly a single video clip. In the video editing scenario, especially the video editing scenario for video synthesis through multiple video clips, during the video editing preview process, when locating (seeking) the target video frame, the video processing method provided by this embodiment will be used synchronously in multiple video clips (i.e., including multiple processed video objects at the same time), and the target video frame will be located respectively, and the preview target video frame will be synthesized based on multiple target video frames of the same display time.

[0085] The technical solution of the disclosed embodiment is as follows: after obtaining the display time of the target positioning video frame, a target key frame associated with the target positioning video frame is determined based on the display time; then, the video frame compression data packets are managed in a data queue manner, starting from the video frame compression data packet of the target key frame, the video frame compression data packets in the video image group are read in sequence and stored in a preset first-in-first-out data queue, until all the video frame compression data packets belonging to the video image group are stored in the preset first-in-first-out data queue, and the decoding dependency relationship between the video frame compression data packets is determined; thereby, the stored video frame compression data packets are read in sequence from the preset first-in-first-out data queue, and it is determined whether the read video frame compression data packet is a video frame compression data packet directly or indirectly dependent on the target positioning video frame according to the decoding dependency relationship, so as to determine the target data packet to be decoded, and the target data packet to be decoded is decoded to obtain the target positioning video frame, that is, the compressed data packets that were originally decoded are further filtered, and only the video frame compression data packets that have a direct or indirect decoding dependency relationship with the target positioning video frame are decoded, thereby improving the speed of positioning jumping to the target positioning video frame. The technical solution of the disclosed embodiment solves the problem that many data packets need to be decoded during target positioning video frame positioning, resulting in slow video positioning speed. It can reduce the number of video encoding data packets to be decoded during target positioning video frame positioning, shorten the time required for video positioning, and improve video positioning efficiency.

[0086] Figure 5A video processing device is provided in an embodiment of the present disclosure. The device is suitable for scenarios of video playback or video editing, especially for achieving fast video playback content positioning (seek). The video processing device can be implemented in the form of software and / or hardware and can be configured in an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0087] like Figure 5 As shown, the video processing device includes: a video processing start module 410, a video data decoding relationship analysis module 420 and a target positioning video frame decoding determination module 430.

[0088] Among them, the video processing start module 410 is used to obtain the display time of the target positioning video frame, and determine the target key frame associated with the target positioning video frame based on the display time; the video data decoding relationship analysis module 420 is used to read the compressed data packets of each video frame in the video image group where the target key frame and the target positioning video frame are located, and determine the decoding dependency relationship between the compressed data packets of each video frame; the target positioning video frame decoding determination module 430 is used to determine the target data packet to be decoded in the compressed data packets of each video frame according to the decoding dependency relationship, and decode the target data packet to be decoded to obtain the target positioning video frame.

[0089] The technical solution of the disclosed embodiment is to determine the target key frame associated with the target positioning video frame based on the display time after obtaining the display time of the target positioning video frame; then, read the compressed data packets of each video frame in the video image group where the target key frame and the target positioning video frame are located, and determine the decoding dependency between the compressed data packets of each video frame; thereby determining the target data packet to be decoded in the compressed data packets of each video frame according to the decoding dependency, and decoding the target data packet to be decoded to obtain the target positioning video frame, that is, further filtering the compressed data packets that were originally decoded, and only decoding the compressed data packets of the video frames that have a direct or indirect decoding dependency relationship with the target positioning video frame, thereby improving the speed of positioning to jump to the target positioning video frame. The technical solution of the disclosed embodiment solves the problem that many data packets need to be decoded when positioning the target positioning video frame, thereby slowing the video positioning speed, and can reduce the number of video encoding data packets to be decoded in the process of positioning the target positioning video frame, shorten the time required for video positioning, and improve the efficiency of video positioning.

[0090] In an optional implementation manner, the video data decoding relationship analysis module 420 is specifically used to:

[0091] Parsing the compressed data packets of each video frame to obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively;

[0092] The decoding dependency relationship between the compressed data packets of the video frames is determined based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0093] In an optional implementation, the video data decoding relationship analysis module 420 is further used to:

[0094] Constructing a decoding dependency graph based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame;

[0095] The direct or indirect decoding dependency relationship between the video frame compression data packets is determined according to the decoding dependency graph.

[0096] In an optional implementation manner, the target positioning video frame decoding determination module 430 is specifically used to:

[0097] Determine, according to the decoding dependency relationship, target image sequence numbers of video frames that the target positioning video frame directly depends on and indirectly depends on;

[0098] The video frame compressed data packet corresponding to the target image sequence number is used as the target data packet to be decoded.

[0099] In an optional implementation, the video processing start module 410 and the target positioning video frame decoding determination module 430 manage each video frame compression data packet in the video image group through a data queue.

[0100] In an optional implementation manner, the video processing starting module 410 is specifically used to:

[0101] After determining the target key frame, starting from the video frame compression data packet of the target key frame, the video frame compression data packets in the video image group are read in sequence and stored in a preset first-in-first-out data queue until all the video frame compression data packets belonging to the video image group are stored in the preset first-in-first-out data queue.

[0102] The target positioning video frame decoding determination module 430 is specifically used for:

[0103] The video data decoding relationship analysis module can also be used to read the stored video frame compressed data packets from the preset first-in-first-out data queue in turn after determining the decoding dependency between the video frame compressed data packets in the video image group to screen the target data packets to be decoded.

[0104] In an optional implementation manner, the video processing starting module 410 is specifically used to:

[0105] When a video display content jump operation of a user in a preset video display interactive interface is obtained, the display time of the target positioning video frame is obtained.

[0106] The video processing device provided in the embodiments of the present disclosure can execute the video processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0107] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0108] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 6 , which shows an electronic device (eg, Figure 6 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0109] like Figure 6 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0110] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0111] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0112] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0113] The electronic device provided by the embodiment of the present disclosure and the video processing method provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0114] The embodiment of the present disclosure further provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the video processing method provided by the above embodiment is implemented.

[0115] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0116] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperTextTransferProtocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an adhoc peer-to-peer network), as well as any currently known or future developed network.

[0117] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0118] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0119] Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time;

[0120] Reading each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determining a decoding dependency relationship between the video frame compressed data packets;

[0121] According to the decoding dependency relationship, a target data packet to be decoded is determined in each of the video frame compressed data packets, and the target data packet to be decoded is decoded to obtain the target positioning video frame.

[0122] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0123] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0124] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0125] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0126] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0127] The embodiments of the present disclosure also provide a computer program product, including a computer program, which, when executed by a processor, implements the video processing method provided in any one of the embodiments of the present disclosure.

[0128] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code for the disclosed operation, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0129] According to one or more embodiments of the present disclosure, [Example 1] provides a video processing method, the method comprising:

[0130] Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time;

[0131] Reading each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determining a decoding dependency relationship between the video frame compressed data packets;

[0132] According to the decoding dependency relationship, a target data packet to be decoded is determined in each of the video frame compressed data packets, and the target data packet to be decoded is decoded to obtain the target positioning video frame.

[0133] According to one or more embodiments of the present disclosure, [Example 2] provides a video processing method, further comprising:

[0134] In some optional implementations, determining the decoding dependency relationship between the video frame compression data packets includes:

[0135] Parsing the compressed data packets of each video frame to obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively;

[0136] The decoding dependency relationship between the compressed data packets of the video frames is determined based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0137] According to one or more embodiments of the present disclosure, [Example 3] provides a video processing method, including:

[0138] In some optional implementations, the determining the decoding dependency relationship between the compressed data packets of the video frames based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame further includes:

[0139] Constructing a decoding dependency graph based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame;

[0140] The direct or indirect decoding dependency relationship between the video frame compression data packets is determined according to the decoding dependency graph.

[0141] According to one or more embodiments of the present disclosure, [Example 4] provides a video processing method, further comprising:

[0142] In some optional implementations, determining a target to-be-decoded data packet in each of the video frame compressed data packets according to the decoding dependency relationship includes:

[0143] Determine, according to the decoding dependency relationship, target image sequence numbers of video frames that the target positioning video frame directly depends on and indirectly depends on;

[0144] The video frame compressed data packet corresponding to the target image sequence number is used as the target data packet to be decoded.

[0145] According to one or more embodiments of the present disclosure, [Example 5] provides a video processing method, further comprising:

[0146] In some optional implementations, the method further includes:

[0147] During the video processing, each video frame compression data packet in the video image group is managed by a data queue.

[0148] According to one or more embodiments of the present disclosure, [Example 6] provides a video processing method, further comprising:

[0149] In some optional implementations, managing the compressed data packets of each video frame in the video image group through a data queue includes:

[0150] After determining the target key frame, starting from the video frame compressed data packet of the target key frame, the video frame compressed data packets in the video image group are read in sequence and stored in a preset first-in-first-out data queue until all the video frame compressed data packets belonging to the video image group are stored in the preset first-in-first-out data queue;

[0151] After determining the decoding dependency between the compressed data packets of each video frame in the video image group, the stored compressed data packets of each video frame are read from the preset first-in-first-out data queue in sequence to screen the target data packets to be decoded.

[0152] According to one or more embodiments of the present disclosure, [Example 7] provides a video processing method, further comprising:

[0153] In some optional implementations, obtaining the display time of the target positioning video frame includes:

[0154] When a video display content jump operation of a user in a preset video display interactive interface is obtained, the display time of the target positioning video frame is obtained.

[0155] According to one or more embodiments of the present disclosure, [Example 8] provides a video processing device, including:

[0156] A video processing start module, used for obtaining the display time of the target positioning video frame, and determining the target key frame associated with the target positioning video frame based on the display time;

[0157] A video data decoding relationship analysis module is used to read each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determine the decoding dependency relationship between the video frame compressed data packets;

[0158] The target positioning video frame decoding determination module is used to determine the target to-be-decoded data packet in the compressed data packets of each video frame according to the decoding dependency relationship, and decode the target to-be-decoded data packet to obtain the target positioning video frame.

[0159] According to one or more embodiments of the present disclosure, [Example 9] provides a video processing device, further comprising:

[0160] In an optional implementation manner, the video data decoding relationship analysis module is specifically used to:

[0161] Parsing the compressed data packets of each video frame to obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively;

[0162] The decoding dependency relationship between the compressed data packets of the video frames is determined based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

[0163] According to one or more embodiments of the present disclosure, [Example 10] provides a video processing device, further comprising:

[0164] In an optional implementation, the video data decoding relationship analysis module is further used to:

[0165] Constructing a decoding dependency graph based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame;

[0166] The direct or indirect decoding dependency relationship between the video frame compression data packets is determined according to the decoding dependency graph.

[0167] According to one or more embodiments of the present disclosure, [Example 11] provides a video processing device, further comprising:

[0168] In an optional implementation manner, the target positioning video frame decoding determination module is specifically used to:

[0169] Determine, according to the decoding dependency relationship, target image sequence numbers of video frames that the target positioning video frame directly depends on and indirectly depends on;

[0170] The video frame compressed data packet corresponding to the target image sequence number is used as the target data packet to be decoded.

[0171] According to one or more embodiments of the present disclosure, [Example 12] provides a video processing device, further comprising:

[0172] In an optional implementation, the video processing startup module and the target positioning video frame decoding determination module manage each video frame compression data packet in the video image group through a data queue.

[0173] According to one or more embodiments of the present disclosure, [Example 13] provides a video processing device, further comprising:

[0174] In an optional implementation, the video processing startup module is specifically used to:

[0175] After determining the target key frame, starting from the video frame compression data packet of the target key frame, the video frame compression data packets in the video image group are read in sequence and stored in a preset first-in-first-out data queue until all the video frame compression data packets belonging to the video image group are stored in the preset first-in-first-out data queue.

[0176] The target positioning video frame decoding determination module is specifically used for:

[0177] The video data decoding relationship analysis module can also be used to read the stored video frame compressed data packets from the preset first-in-first-out data queue in turn after determining the decoding dependency between the video frame compressed data packets in the video image group to screen the target data packets to be decoded.

[0178] According to one or more embodiments of the present disclosure, [Example 14] provides a video processing device, further comprising:

[0179] In an optional implementation, the video processing startup module is specifically used to:

[0180] When a video display content jump operation of a user in a preset video display interactive interface is obtained, the display time of the target positioning video frame is obtained.

[0181] The video processing device provided in the embodiments of the present disclosure can execute the video processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0182] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0183] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0184] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A video processing method, characterized in that: include: Acquire a display time of a target positioning video frame, and determine a target key frame associated with the target positioning video frame based on the display time; Reading each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determining a decoding dependency relationship between the video frame compressed data packets; According to the decoding dependency relationship, a target data packet to be decoded is determined in each of the video frame compressed data packets, and the target data packet to be decoded is decoded to obtain the target positioning video frame.

2. The method according to claim 1, characterized in that The determining the decoding dependency relationship between the video frame compression data packets includes: Parsing the compressed data packets of each video frame to obtain the image sequence number corresponding to each video frame in the video image group and the image sequence number of the decoding reference video frame respectively; The decoding dependency relationship between the compressed data packets of the video frames is determined based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame.

3. The method according to claim 2, characterized in that The step of determining the decoding dependency relationship between the compressed data packets of the video frames based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame also includes: Constructing a decoding dependency graph based on the image sequence number of each video frame in the video image group and the image sequence number of the decoding reference video frame; The direct or indirect decoding dependency relationship between the video frame compression data packets is determined according to the decoding dependency graph.

4. The method according to claim 1, characterized in that: The step of determining a target data packet to be decoded in each of the video frame compressed data packets according to the decoding dependency relationship comprises: Determine, according to the decoding dependency relationship, target image sequence numbers of video frames that the target positioning video frame directly depends on and indirectly depends on; The video frame compressed data packet corresponding to the target image sequence number is used as the target data packet to be decoded.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: During the video processing, each video frame compression data packet in the video image group is managed by a data queue.

6. The method according to claim 5, characterized in that The method of managing the compressed data packets of each video frame in the video image group through a data queue includes: After determining the target key frame, starting from the video frame compressed data packet of the target key frame, the video frame compressed data packets in the video image group are read in sequence and stored in a preset first-in-first-out data queue until all the video frame compressed data packets belonging to the video image group are stored in the preset first-in-first-out data queue; After determining the decoding dependency between the compressed data packets of each video frame in the video image group, the stored compressed data packets of each video frame are read from the preset first-in-first-out data queue in sequence to screen the target data packets to be decoded.

7. The method according to claim 1, characterized in that The obtaining of the display time of the target positioning video frame includes: When a video display content jump operation of a user in a preset video display interactive interface is obtained, the display time of the target positioning video frame is obtained.

8. A video processing device, characterized in that: include: A video processing start module, used for obtaining the display time of the target positioning video frame, and determining the target key frame associated with the target positioning video frame based on the display time; A video data decoding relationship analysis module is used to read each video frame compressed data packet in the video image group where the target key frame and the target positioning video frame are located, and determine the decoding dependency relationship between the video frame compressed data packets; The target positioning video frame decoding determination module is used to determine the target to-be-decoded data packet in the compressed data packets of each video frame according to the decoding dependency relationship, and decode the target to-be-decoded data packet to obtain the target positioning video frame.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the video processing method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the video processing method as described in any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the video processing method according to any one of claims 1 to 7.