Multimedia resource positioning method, electronic device and readable storage medium

By automatically positioning the target position closest to the position to be edited in the displayed image of the multimedia resource, the problem of inaccurate positioning in video editing is solved, and the accuracy of the editing position and user experience are improved.

CN112561988BActive Publication Date: 2024-11-12MIGU CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011527105.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2024-11-12
Estimated Expiration
2040-12-22

AI Technical Summary

Technical Problem

During the video editing process, it is difficult for the user to accurately locate to the appropriate editing point, resulting in inaccurate selection of editing locations.

Method used

By determining the position to be edited in the display image of the multimedia resource and automatically positioning it to the nearest target position when it does not match the target position, the target time point, keyframe and control point form a moving track to achieve the target identification Automatic adsorption effect.

Benefits of technology

Improves user positioning accuracy when editing multimedia resources, ensuring editing position accuracy, such as automatically positioning to highlight positions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112561988B_ABST
    Figure CN112561988B_ABST
Patent Text Reader

Abstract

The present invention provides a method for positioning multimedia resources, an electronic device, and a readable storage medium, which solve the problem that it is difficult for users to accurately position the editing position to a suitable editing point in existing video editing methods. The method of the present invention comprises: determining a position to be edited in a display image corresponding to the multimedia resource, the position to be edited being the position where a first input is received; and positioning the position to be edited to a first target position when the position to be edited does not match at least one target position in the display image, the first target position being the target position closest to the position to be edited. The present invention enables users to accurately position to a suitable editing position, such as a highlight position, when editing multimedia resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of multimedia technology, and in particular to a method for locating multimedia resources, an electronic device, and a readable storage medium. Background Art

[0002] With the development of mobile Internet, shooting devices have changed a lot, from single digital cameras to current mobile devices, and more and more people are used to shooting and editing videos on mobile devices. When editing videos, users usually manually select appropriate editing points. However, in the process of manually selecting editing points, there is a problem that it is still difficult for users to accurately locate the appropriate editing point after selecting the editing position multiple times. Summary of the invention

[0003] The embodiments of the present invention provide a multimedia resource positioning method, an electronic device and a readable storage medium to solve the problem that it is difficult for a user to accurately position an editing position to a suitable editing point in the existing video editing method.

[0004] In a first aspect, an embodiment of the present invention provides a method for locating a multimedia resource, which is performed by an electronic device and includes:

[0005] In a display image corresponding to the multimedia resource, determining a position to be edited, the position to be edited being a position where the first input is received;

[0006] In the case that the position to be edited does not match at least one target position in the displayed image, the position to be edited is positioned to a first target position, where the first target position is the target position closest to the position to be edited.

[0007] Optionally, the target position is a position corresponding to a target time point of the multimedia resource in the display image.

[0008] Optionally, before determining the position to be edited in the display image corresponding to the multimedia resource, the method further includes:

[0009] Acquire at least one target time point of the multimedia resource;

[0010] In the display image corresponding to the multimedia resource, the target position corresponding to each target time point is identified.

[0011] Optionally, the target time point includes at least one of the following:

[0012] The time point corresponding to the sound noise point of the multimedia resource;

[0013] The time point corresponding to the action image frame of the multimedia resource.

[0014] Optionally, when the display image corresponding to the multimedia resource is a video frame thumbnail:

[0015] Before identifying the target position corresponding to each target time point in the display image corresponding to the multimedia resource, the method further includes:

[0016] In the multimedia resource, M key frames are selected, where M is an integer greater than 1;

[0017] The thumbnails of the M key frames are displayed on the target display interface.

[0018] Optionally, in the display image corresponding to the multimedia resource, identifying the target position corresponding to each target time point includes:

[0019] according to Identify the target position corresponding to each target time point;

[0020] Among them, S N represents the Nth target position, T N represents the duration corresponding to the Nth target time point in the multimedia resource, T represents the total duration of the multimedia resource, and W represents the width of the target display interface.

[0021] Optionally, positioning the position to be edited to a first target position includes:

[0022] Acquire the first coordinate of the position to be edited and the second coordinate of the first target position;

[0023] determining a target area according to the first coordinates and the second coordinates;

[0024] In the target area, L control points are selected; L is an integer greater than 1;

[0025] Using the L control points to form a moving track of a target marker, the target marker is used to identify a position to be edited;

[0026] The target mark is controlled to move from the to-be-edited position to the first target position according to the moving trajectory.

[0027] Optionally, the control points include at least two control points, P1 and P2, and the coordinates of P1 are (x p1 ,y p1 ), the coordinates of P2 are (x p2 ,y p2 );

[0028] Determining the moving trajectory of the target position according to the coordinates of the L control points includes:

[0029] The moving trajectory of the target position is determined by the following formula;

[0030] [x(t), y(t)] = PS(t);

[0031] x(t)=(1-t) 3 x+3(1-t) 2 tx p1 +3(1-t)t 2 x p2 +t 3 x s ;

[0032] y(t)=(1-t) 3 y+3(1-t) 2 ty p1 +3(1-t)t 2 y p2 +t 3 x s ;

[0033] Among them, the coordinates of the first highlight position are (x s ,y s ), the coordinates of the target position are (x, y), and PS(t) represents the position of the target marker at time t.

[0034] According to another aspect of the present invention, an electronic device is provided, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the multimedia resource positioning method as described above when executed by the processor.

[0035] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for locating multimedia resources as described above is implemented.

[0036] In an embodiment of the present invention, a position to be edited is first determined in a display image corresponding to a multimedia resource; when the position to be edited does not match at least one target position of the display image, the position to be edited is automatically positioned to a first target position, that is, automatically positioned to the first target position closest to the position to be edited. In an embodiment of the present application, the target position can be set as required, so that the user can accurately position the appropriate editing position, such as a highlight position, when editing a multimedia resource. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 A schematic diagram showing a flow chart of a method for locating multimedia resources provided by an embodiment of the present invention;

[0039] Figure 2 A schematic diagram showing a target area in an embodiment of the present invention;

[0040] Figure 3 A schematic diagram showing that a target mark is moved from a to-be-edited position to a first target position in an embodiment of the present invention;

[0041] Figure 4 A schematic diagram showing the structure of a multimedia resource positioning device provided by an embodiment of the present invention;

[0042] Figure 5 A schematic diagram showing the implementation structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the present invention. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. In addition, for clarity and brevity, the description of known functions and structures is omitted.

[0044] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0045] In various embodiments of the present invention, it should be understood that the order of execution of the following processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. In addition, the terms "system" and "network" are often used interchangeably in this article.

[0046] like Figure 1 As shown, an embodiment of the present invention provides a method for locating multimedia resources, which is performed by an electronic device, and the electronic device may be specifically a terminal. The method includes the following steps:

[0047] Step 101: Determine a position to be edited in a display image corresponding to a multimedia resource, where the position to be edited is a position where a first input is received.

[0048] The first input may be a segmented input. The displayed image may be a video frame thumbnail corresponding to the multimedia resource. The first input may be a click input. For example, if a user clicks a certain position in the video frame thumbnail, the position clicked by the user may be determined as the position to be edited, and a target mark may be displayed at the position to be edited.

[0049] Step 102: When the position to be edited does not match at least one target position in the displayed image, the position to be edited is positioned at a first target position, where the first target position is the target position closest to the position to be edited.

[0050] In an embodiment of the present application, when the position to be edited does not overlap with at least one of the target positions, the position to be edited is relocated, that is, the target position closest to the position to be edited is positioned as the position to be edited, so that the user can perform corresponding editing on the multimedia resource based on the relocated position to be edited.

[0051] The method for processing multimedia resources in the embodiment of the present application first determines the position to be edited in the display image corresponding to the multimedia resource; when the position to be edited does not match at least one target position of the display image, the position to be edited is automatically positioned to the first target position, that is, automatically positioned to the first target position closest to the position to be edited. In the embodiment of the present application, the above target position can be set according to demand, so that the user can accurately position to the appropriate editing position, such as the highlight position, when editing the multimedia resource.

[0052] Optionally, the target position is a position corresponding to a target time point of the multimedia resource in the display image.

[0053] Here, the target time point may be a highlight time point of the multimedia resource, and the highlight time point includes at least one of the following:

[0054] The time point corresponding to the sound noise point of the multimedia resource;

[0055] The time point corresponding to the action image frame of the multimedia resource.

[0056] Here, the action image frame may be an image frame corresponding to a preset action. In the embodiment of the present application, the above-mentioned highlight time point can be obtained by artificial intelligence (AI) calculation.

[0057] Optionally, before determining the position to be edited in the display image corresponding to the multimedia resource, the method further includes:

[0058] Acquire at least one target time point of the multimedia resource;

[0059] In the display image corresponding to the multimedia resource, the target position corresponding to each target time point is identified.

[0060] Optionally, before obtaining at least one target time point of the multimedia resource, the method further includes: obtaining the multimedia resource. For example, the user can select the multimedia resource already in the current device or call the video shot by the camera device of the device as the multimedia resource, or obtain the multimedia resource through a multimedia network address.

[0061] Optionally, when the display image corresponding to the multimedia resource is a video frame thumbnail:

[0062] The step of identifying the target position corresponding to each target time point in the display image corresponding to the multimedia resource further includes:

[0063] In the multimedia resource, M key frames are selected, where M is an integer greater than 1;

[0064] The thumbnails of the M key frames are displayed on the target display interface.

[0065] In the embodiment of the present application, the number of the key frames can be determined according to the total duration of the multimedia resource and the predetermined time interval. Assuming that the total duration of the multimedia resource is T and the predetermined time interval is T1, M key frames are selected from the multimedia resource according to the predetermined time interval, and the thumbnail of each selected key frame is displayed in the target display interface (width is W), and the width of each key frame in the target display interface is W÷M. Optionally, the multimedia resource can be divided into K time periods, and the duration of each time period is W÷T.

[0066] Optionally, in the display image corresponding to the multimedia resource, identifying the target position corresponding to each target time point includes:

[0067] according to Identify the target position corresponding to each target time point;

[0068] Among them, S N represents the Nth target position, TN represents the duration corresponding to the Nth target time point in the multimedia resource, T represents the total duration of the multimedia resource, and W represents the width of the target display interface.

[0069] Here, the time represented by the target time point in the multimedia resource is converted into a position in the target display interface by the above formula. Optionally, the target position is marked by a preset mark, such as a frame line or a cartoon icon.

[0070] Optionally, positioning the position to be edited to a first target position includes:

[0071] Acquire the first coordinate of the position to be edited and the second coordinate of the first target position;

[0072] determining a target area according to the first coordinates and the second coordinates;

[0073] In the target area, L control points are selected; L is an integer greater than 1;

[0074] Determine a moving track of a target identifier according to the L control points, wherein the target identifier is used to identify a position to be edited;

[0075] The target mark is controlled to move from the to-be-edited position to the first target position according to the moving trajectory.

[0076] In the embodiment of the present application, the position to be edited may not be the target position, such as the position corresponding to the highlight point, in which case correction is required. Assume that the starting point of the video frame thumbnail is the origin, the coordinates of the position to be edited P are (x, y), and the target positions are (x0, y0), (x1, y1), (x2, y2)…(x n ,y n ). The coordinates of the first target position S are (x s ,y s ). Where x=p, y=0, x s =s,y s =0.

[0077] Alternatively, if Figure 2 As shown, the target area is a target area determined by (p, sp), (s, sp), (p, ps), (s, sp). The L control points are control points located in the target area, and a moving track of the target identifier is formed by the L control points, and the target identifier is controlled to move from the to-be-edited position to the first target position according to the moving track.

[0078] Optionally, the control points include at least two control points, P1 and P2, and the coordinates of P1 are (xp1 ,y p1 ), the coordinates of P2 are (x p2 ,y p2 );

[0079] Determining the moving trajectory of the target marker according to the L control points includes:

[0080] The moving trajectory of the target marker is determined by the following formula:

[0081] [x(t), y(t)] = PS(t) = (1-t) 3 (x, y)+3(1-t) 2 t(x p1 ,y p1 )+3(1-t)t 2 (x p2 ,y p2 )+t 3 (x s ,y s );

[0082] x(t)=(1-t) 3 x+3(1-t) 2 tx p1 +3(1-t)t 2 x p2 +t 3 x s ;

[0083] y(t)=(1-t) 3 y+3(1-t) 2 ty p1 +3(1-t)t 2 y p2 +t 3 x s ;

[0084] Among them, the coordinates of the first highlight position are (x s ,y s ), the coordinates of the target position are (x, y), and PS(t) represents the position of the target marker at time t.

[0085] In the embodiment of the present application, the above P1 and P2 may be two control points randomly selected in the above target area. The curve equation of the above moving trajectory is PS(t), and the moving trajectory of the target position can be obtained. Figure 3As shown, in the target display interface, the user's segmented input is received, the position to be edited is determined according to the segmented input, then the first target position closest to the position to be edited is obtained, and then the target mark is controlled to move from the position to be edited to the first target position according to the moving trajectory, that is, the automatic adsorption effect of the target mark is achieved. The shape of the target mark can be set according to user needs, such as a line segment.

[0086] The method for processing multimedia resources in the embodiment of the present application first determines the position to be edited in the display image corresponding to the multimedia resource; when the position to be edited does not match at least one target position of the display image, the position to be edited is automatically positioned to the first target position, that is, automatically positioned to the first target position closest to the position to be edited. In the embodiment of the present application, the above target position can be set according to demand, so that the user can accurately position to the appropriate editing position, such as the highlight position, when editing the multimedia resource.

[0087] like Figure 4 As shown, an embodiment of the present invention further provides a multimedia resource positioning device, which is applied to an electronic device, and the processing device includes:

[0088] A first determining module 401 is used to determine a position to be edited in a display image corresponding to a multimedia resource, where the position to be edited is a position where a first input is received;

[0089] The first positioning module 402 is used to position the position to be edited to a first target position when the position to be edited does not match at least one target position in the displayed image, wherein the first target position is the target position closest to the position to be edited.

[0090] In the multimedia resource positioning device of the embodiment of the present invention, the target position is a position corresponding to a target time point of the multimedia resource in the display image.

[0091] The multimedia resource positioning device of the embodiment of the present invention further includes:

[0092] A first acquisition module, configured to acquire at least one target time point of the multimedia resource before the first determination module determines the position to be edited in the display image corresponding to the multimedia resource;

[0093] The first identification module is used to identify the target position corresponding to each target time point in the display image corresponding to the multimedia resource.

[0094] In the multimedia resource positioning device of the embodiment of the present invention, the target time point includes at least one of the following:

[0095] The time point corresponding to the sound noise point of the multimedia resource;

[0096] The time point corresponding to the action image frame of the multimedia resource.

[0097] The multimedia resource positioning device of the embodiment of the present invention, when the display image corresponding to the multimedia resource is a video frame thumbnail, further includes:

[0098] A first selection module is configured to select M key frames from the multimedia resource before the first identification module identifies the target position corresponding to each target time point in the display image corresponding to the multimedia resource, where M is an integer greater than 1;

[0099] The first display module is used to display thumbnails of the M key frames on a target display interface.

[0100] In the multimedia resource positioning device of the embodiment of the present invention, the first identification module is used to locate the multimedia resource according to the following example: Identify the target position corresponding to each target time point;

[0101] Among them, S N represents the Nth target position, T N represents the duration corresponding to the Nth target time point in the multimedia resource, T represents the total duration of the multimedia resource, and W represents the width of the target display interface.

[0102] In the multimedia resource positioning device of the embodiment of the present invention, the first positioning module includes:

[0103] A first acquisition submodule, used to acquire the first coordinates of the position to be edited and the second coordinates of the first target position;

[0104] A first determination submodule, configured to determine a target area according to the first coordinate and the second coordinate;

[0105] The first selection submodule is used to select L control points in the target area, where L is an integer greater than 1;

[0106] A second acquisition submodule is used to determine a moving track of a target identifier according to the L control points, where the target identifier is used to identify a position to be edited;

[0107] The processing submodule is used to control the target mark to move from the to-be-edited position to the first target position according to the moving trajectory.

[0108] In the multimedia resource positioning device of the embodiment of the present invention, the control points include at least two control points P1 and P2, and the coordinates of P1 are (x p1 ,y p1 ), the coordinates of P2 are (x p2,y p2 );

[0109] The second acquisition submodule is used to determine the moving trajectory of the target identifier through the following formula;

[0110] [x(t), y(t)] = PS(t);

[0111] x(t)=(1-t) 3 x+3(1-t) 2 tx p1 +3(1-t)t 2 x p2 +t 3 x s ;

[0112] y(t)=(1-t) 3 y+3(1-t) 2 ty p1 +3(1-t)t 2 y p2 +t 3 x s ;

[0113] Among them, the coordinates of the first highlight position are (x s ,y s ), the coordinates of the target position are (x, y), and PS(t) represents the position of the target marker at time t.

[0114] It should be noted that the device is a device corresponding to the above-mentioned multimedia resource positioning method, and all implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the device and can achieve the same technical effect.

[0115] like Figure 5 As shown, an embodiment of the present invention further provides an electronic device, including: a transceiver 504, a processor 501, a memory 503, and a computer program stored in the memory 502 and executable on the processor 501, wherein the processor 501 implements the steps of the above-mentioned method for locating multimedia resources when executing the computer program. Specifically, the processor 501 is used to determine a position to be edited in a display image corresponding to the multimedia resource, wherein the position to be edited is a position where a first input is received; when the position to be edited does not match at least one target position in the display image, the position to be edited is located at a first target position, wherein the first target position is a target position closest to the position to be edited.

[0116] Optionally, the target position is a position corresponding to a target time point of the multimedia resource in the display image.

[0117] Optionally, before determining the position to be edited in the display image corresponding to the multimedia resource, the method further includes:

[0118] Acquire at least one target time point of the multimedia resource;

[0119] In the display image corresponding to the multimedia resource, a target position corresponding to each target time point is identified. Optionally, the target time point includes at least one of the following:

[0120] The time point corresponding to the sound noise point of the multimedia resource;

[0121] The time point corresponding to the action image frame of the multimedia resource.

[0122] Optionally, when the display image corresponding to the multimedia resource is a video frame thumbnail:

[0123] Before identifying the target position corresponding to each target time point in the display image corresponding to the multimedia resource, the method further includes:

[0124] In the multimedia resource, M key frames are selected, where M is an integer greater than 1;

[0125] The thumbnails of the M key frames are displayed on the target display interface.

[0126] Optionally, the processor 501 is further configured to: Identify the target position corresponding to each target time point;

[0127] Among them, S N represents the Nth target position, T N represents the duration corresponding to the Nth target time point in the multimedia resource, T represents the total duration of the multimedia resource, and W represents the width of the target display interface.

[0128] Optionally, the processor 501 is further configured to:

[0129] Acquire the first coordinate of the position to be edited and the second coordinate of the first target position;

[0130] determining a target area according to the first coordinates and the second coordinates;

[0131] In the target area, L control points are selected; L is an integer greater than 1;

[0132] Determine a moving track of a target identifier according to the L control points, wherein the target identifier is used to identify a position to be edited;

[0133] The target mark is controlled to move from the to-be-edited position to the first target position according to the moving trajectory.

[0134] Optionally, the control points include at least two control points, P1 and P2, and the coordinates of P1 are (x p1 ,y p1 ), the coordinates of P2 are (x p2 ,y p2 );

[0135] The processor 501 is further configured to: determine the moving trajectory of the target identifier by using the following formula;

[0136] [x(t), y(t)] = PS(t);

[0137] x(t)=(1-t) 3 x+3(1-t) 2 tx p1 +3(1-t)t 2 x p2 +t 3 x s ;

[0138] y(t)=(1-t) 3 y+3(1-t) 2 ty p1 +3(1-t)t 2 y p2 +t 3 x s ;

[0139] Among them, the coordinates of the first highlight position are (x s ,y s ), the coordinates of the target position are (x, y), and PS(t) represents the position of the target marker at time t.

[0140] It should be noted that in Figure 5 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 501 and various circuits of memory represented by memory 503 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface 502 provides an interface. The transceiver 504 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different terminals, the user interface 505 may also be an interface capable of externally connecting or internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like. The processor 501 is responsible for managing the bus architecture and general processing, and the memory 503 may store data used by the processor 501 when performing operations.

[0141] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing relevant hardware through a computer program, wherein the computer program includes instructions for executing part or all of the steps of the above method; and the computer program may be stored in a readable storage medium, and the storage medium may be any form of storage medium.

[0142] In addition, a specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the above-mentioned video processing method are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0143] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0144] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0145] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0146] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present invention. These improvements and modifications are also within the scope of protection of the present invention.

Claims

1. A method for locating multimedia resources, executed by an electronic device, characterized in that: include: In a display image corresponding to the multimedia resource, determining a position to be edited, the position to be edited being a position in a video frame thumbnail corresponding to the display image corresponding to the video frame thumbnail receiving the first input; In the case where the position to be edited does not match at least one target position in the displayed image, positioning the position to be edited to a first target position, where the first target position is the target position closest to the position to be edited, and the target position is the position corresponding to the target time point of the multimedia resource in the displayed image; Positioning the position to be edited to the first target position comprises: Controlling a target identifier to move from the position to be edited to the first target position according to a moving trajectory, wherein the target identifier is used to identify the position to be edited; The target time point includes at least one of the following: The time point corresponding to the sound noise point of the multimedia resource; The time point corresponding to the action image frame of the multimedia resource.

2. The method for locating multimedia resources according to claim 1, characterized in that: Before determining the position to be edited in the display image corresponding to the multimedia resource, the method further includes: Acquire at least one target time point of the multimedia resource; In the display image corresponding to the multimedia resource, the target position corresponding to each target time point is identified.

3. The method for locating multimedia resources according to claim 2, characterized in that: Before identifying the target position corresponding to each target time point in the display image corresponding to the multimedia resource, the method further includes: In the multimedia resource, M key frames are selected, where M is an integer greater than 1; The thumbnails of the M key frames are displayed on the target display interface.

4. The method for locating multimedia resources according to claim 3, characterized in that: The step of identifying, in the display image corresponding to the multimedia resource, a target position corresponding to each target time point, comprises: according to Identify the target position corresponding to each target time point; Among them, S N represents the Nth target position, T N represents the duration corresponding to the Nth target time point in the multimedia resource, T represents the total duration of the multimedia resource, and W represents the width of the target display interface.

5. The method for locating multimedia resources according to claim 1, characterized in that: Also includes: Acquire the first coordinate of the position to be edited and the second coordinate of the first target position; determining a target area according to the first coordinates and the second coordinates; In the target area, L control points are selected; L is an integer greater than 1; The moving trajectory of the target identifier is determined according to the L control points.

6. The method for locating multimedia resources according to claim 5, characterized in that: The control points include at least two control points, P1 and P2. The coordinates of P1 are (x p1 ,y p1 ), the coordinates of P2 are (x p2 ,y p2 ); Determining the moving trajectory of the target marker according to the L control points includes: The moving trajectory of the target marker is determined by the following formula: [x(t), y(t)] = PS(t); x(t)=(1-t) 3 x+3(1-t) 2 tx p1 +3(1-t)t 2 x p2 +t 3 x s ; y(t)=(1-t) 3 y+3(1-t) 2 ty p1 +3(1-t)t 2 y p2 +t 3 x s ; Among them, the coordinates of the first highlight position are (x s ,y s ), the coordinates of the target position are (x, y), and PS(t) represents the position of the target marker at time t.

7. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for locating multimedia resources as claimed in any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for locating multimedia resources according to any one of claims 1 to 6 is implemented.