CN115695910A - Video arrangement method and device, electronic equipment and storage medium - Google Patents

Video arrangement method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115695910A
CN115695910A CN202211185334.1A CN202211185334A CN115695910A CN 115695910 A CN115695910 A CN 115695910A CN 202211185334 A CN202211185334 A CN 202211185334A CN 115695910 A CN115695910 A CN 115695910A
Authority
CN
China
Prior art keywords
time
playing
user
identifier
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211185334.1A
Other languages
Chinese (zh)
Inventor
张振华
杨耀华
陈彰
马铭远
张德阳
李阳幸子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202211185334.1A priority Critical patent/CN115695910A/en
Publication of CN115695910A publication Critical patent/CN115695910A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention relates to a video arrangement method, a video arrangement device, electronic equipment and a storage medium, wherein the method comprises the following steps: cutting a time axis of a target video into a plurality of time segments according to a first operation of a user; rearranging the time clips according to a second operation of the user to obtain a rearranged time shaft; and under the condition of receiving a video playing instruction, playing the target video according to the rearranged time axis. The video playing time-based clipping is realized, a user can clip the video through simple operation, the video has various different playing effects, and the user experience is improved.

Description

Video arrangement method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a video arrangement method and device, electronic equipment and a storage medium.
Background
At present, the progress of video playing is basically played according to a time axis, and a work is developed into a content story line according to the time axis and is shown to audiences to develop a fixed plot. However, since each person understands the content of the scenario differently, different users may want to watch different developments of the scenario, and thus the users may want to rearrange the original video according to their own ideas.
In the prior art, if a user wants to rearrange video content according to his or her own mind, the method includes, but is not limited to: the method comprises the steps of segment deletion, adjustment of playing sequence among different segments and the like, and can clip the original video through a professional clipping tool so as to rearrange the video content.
However, in practical applications, it is difficult for general users to use professional editing tools, which makes it difficult for users to rearrange video contents according to their own ideas.
Disclosure of Invention
In view of this, in order to solve the technical problem that it is difficult for a general user to use a professional editing tool in practical applications, which makes it difficult for the user to rearrange video content according to his or her own idea, embodiments of the present invention provide a video arranging method, apparatus, electronic device, and storage medium.
In a first aspect, an embodiment of the present invention provides a video editing method, where the method includes:
cutting a time axis of a target video into a plurality of time segments according to a first operation of a user;
rearranging the time clips according to a second operation of the user to obtain a rearranged time shaft;
and under the condition of receiving a video playing instruction, playing the target video according to the rearranged time axis.
In a possible embodiment, the rearranging the plurality of time slices according to the second operation of the user to obtain a rearranged time axis includes:
according to the second operation of the user, determining the time segments selected by the user and determining the arrangement rule of the user aiming at least one selected time segment;
and rearranging the time clips selected by the user based on the arranging rule to obtain the rearranged time shaft.
In a possible embodiment, after obtaining the rearranged time axis, the method further includes:
determining a playing action identifier corresponding to each time slice, wherein the playing action identifier comprises a first identifier and a second identifier, the first identifier is used for indicating playing, and the second identifier is used for indicating skipping;
the playing the target video according to the rearranged time axis comprises:
and playing the target video according to the rearranged time axis and the playing action identifier of each time clip.
In a possible embodiment, the determining the play action identifier corresponding to each time slice includes:
and determining the playing action identifier corresponding to each time segment according to the third operation of the user.
In a possible embodiment, the determining the play action identifier corresponding to each time slice includes:
acquiring user watching behavior data of the target video in a preset historical time period;
and determining a playing action identifier corresponding to each time segment according to the user watching behavior data.
In one possible embodiment, said playing said target video according to said rearranged time axis and said playing action identifier of each said time slice comprises:
sequentially reading the playing action identifier of each time clip in the time shaft based on the rearranged time shaft;
under the condition that the read playing action identifier is the first identifier, reading the starting time and the ending time of the time slice;
reading a target video clip corresponding to the time clip from the target video according to the starting time and the ending time, and playing the target video clip;
and skipping the time segment under the condition that the read playing action identifier is the second identifier.
In a second aspect, an embodiment of the present invention provides a video editing apparatus, where the apparatus includes:
the cutting module is used for cutting the time axis of the target video into a plurality of time segments according to the first operation of the user;
the arranging module is used for rearranging the time slices according to a second operation of the user to obtain a rearranged time shaft;
and the playing module is used for playing the target video according to the rearranged time axis under the condition of receiving a video playing instruction.
In a possible implementation, the orchestration module is specifically configured to:
according to the second operation of the user, determining the time segments selected by the user and determining the arrangement rule of the user aiming at least one selected time segment;
and rearranging the time clips selected by the user based on the arranging rule to obtain the rearranged time shaft.
In one possible embodiment, the apparatus further comprises:
a determining module, configured to determine, after the rearranged time axis is obtained, a play action identifier corresponding to each time slice, where the play action identifier includes a first identifier and a second identifier, the first identifier is used to indicate play, and the second identifier is used to indicate skipping;
the playing module comprises:
and the playing submodule is used for playing the target video according to the rearranged time axis and the playing action identifier of each time clip.
In a possible implementation manner, the determining module is specifically configured to:
and determining the playing action identifier corresponding to each time segment according to the third operation of the user.
In a possible implementation manner, the determining module is specifically configured to:
acquiring user watching behavior data of the target video in a preset historical time period;
and determining a playing action identifier corresponding to each time slice according to the user watching behavior data.
In a possible implementation manner, the play sub-module is specifically configured to:
sequentially reading the playing action identifier of each time clip in the timeline based on the rearranged timeline;
under the condition that the read playing action identifier is the first identifier, reading the starting time and the ending time of the time segment;
reading a target video clip corresponding to the time clip from the target video according to the starting time and the ending time, and playing the target video clip;
and skipping the time segment under the condition that the read playing action identifier is the second identifier.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory, the processor being configured to execute a video programming program stored in the memory to implement the video programming method of any one of the first aspect.
In a fourth aspect, embodiments of the present invention provide a storage medium storing one or more programs, which are executable by one or more processors to implement the video editing method of any one of the first aspects.
According to the technical scheme provided by the embodiment of the invention, the time axis of the target video is cut into the plurality of time segments according to the first operation of the user, the plurality of time segments are rearranged according to the second operation of the user to obtain the rearranged time axis, and the target video is played according to the rearranged time axis under the condition of receiving the video playing instruction. According to the technical scheme, the video content is rearranged through rearranging the time axis of the target video, so that the video content can be rearranged through simple operation of a user, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating a video editing method according to an embodiment of the present invention;
FIG. 2 is an example of a target video timeline provided by an embodiment of the present invention;
FIG. 3 is an example of a rearranged timeline provided by embodiments of the present invention;
FIG. 4 is a flowchart illustrating another video editing method according to an embodiment of the present invention;
fig. 5 is an example of playing a target video after a timeline is rearranged according to an embodiment of the present invention;
FIG. 6 is a block diagram of an embodiment of a video editing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The video editing method provided by the present invention is further explained with reference to the following specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Referring to fig. 1, a flowchart of an embodiment of a video editing method according to an embodiment of the present invention is provided. As shown in fig. 1, the process may include the following steps:
step 101, according to a first operation of a user, cutting a time axis of a target video into a plurality of time segments.
The target video refers to a video to be rearranged (hereinafter, referred to as a target video for convenience of description), and the video may be a television show, a movie, or a short video, and the like.
In practical applications, each target video may have its corresponding time axis when playing, see fig. 2, which is an example of a time axis of a target video provided by the embodiment of the present invention.
In one embodiment, different users may want to view different storyline developments due to each individual's different understanding of the storyline content of the target video. Then, in order to allow the user to rearrange the video content of the target video according to his/her own idea, it is proposed that the time axis of the target video may be cut into a plurality of time segments according to the user's operation (for convenience of description, it may be referred to as a first operation).
As one possible implementation, the time axis of the target video may be cut into a plurality of time segments according to a drag operation of the user on the time scale slider on the time axis. For example, a user completes one drag operation for each pair of time scale sliders on the time axis, the corresponding time length for which the time scale sliders are dragged can be determined as a time segment, and after the user completes multiple drag operations for the time scale sliders on the time axis, the time axis of the target video can be cut into multiple time segments.
As another possible implementation, the player interface of the player may have an input box and a confirmation button, and the user may sequentially input the start time and the end time of each time segment through the input box and click the confirmation button. When the execution main body receives the click operation of the confirmation button, the execution main body can cut the time axis of the target video into two or more time segments according to the starting time and the ending time of the at least one time segment input by the user.
And 102, rearranging the plurality of time slices according to a second operation of the user to obtain a rearranged time axis.
The plurality of time slices may include two or more time slices included in the time axis of the same target video, which is not limited in the embodiment of the present invention.
Such re-scheduling may include, but is not limited to, performing one or both of the following operations on the plurality of time segments: pruning and reordering.
In an embodiment, the execution subject of the embodiment of the present invention may delete and/or reorder the plurality of time slices included in the target video timeline according to the operation of the user (which may be referred to as a second operation herein for convenience of description).
As an optional implementation manner, a user may select time clips first, where the user may select all time clips included in the time axis of the target video, or may select a part of time clips included in the time axis of the target video. It can be understood that, if the user selects a partial time segment included in the time axis of the target video, it means that the user deletes the time axis of the target video, and only selects a partial time segment that is interested by the user.
Then, the user can perform a drag operation on the selected time segment to form a corresponding arrangement rule, so as to change the arrangement sequence of the selected time segment. That is, according to the second operation of the user, in the case that the time segments selected by the user and the arrangement rule of the user for at least one selected time segment are determined, the time segments selected by the user may be rearranged based on the arrangement rule, resulting in the arranged time axis.
For example, assume that the user divides the time axis of a target video of 30 seconds in duration into 7 time slices: fragment 1:0 to 3s, fragment 2: 4-6 s, fragment 3: 7-9 s, fragment 4: 10-14 s, fragment 5: 15-22 s, fragment 6: 23-27 s, and fragment 7: 28-30 s.
Continuing with the assumption that the actor a in the target video is an artist disliked by the user, and the played content of the segments 3 and 5 contains the actor a, or the video content of the segments 3 and 5 is not suitable for children to watch, the user may select the segment 1, the segment 2, the segment 4, the segment 6, and the segment 7 in order to make other time segments of the target video play normally, and then rearrange the 5 time segments through a drag operation, resulting in a rearranged timeline. Referring to fig. 3, an example of a reproduced time line according to an embodiment of the present invention is provided.
As another alternative implementation manner, the user may perform a drag operation on all time segments included in the time axis of the target video to form a corresponding arrangement rule, so as to change an arrangement order of all time segments.
Then, the user can delete the time axis of the target video by setting the play action identifier for each time slice.
The play action identifier may be used to indicate a play status of the video content within the time slice. In one embodiment, the play action identifier may include a first identifier and a second identifier, the first identifier may be used to indicate play, and the second identifier may be used to indicate skip. It can be understood that the first identifier may also be used to indicate skipping, and the second identifier is used to indicate playing, which is not limited in this embodiment of the present invention.
For example, assume that the timeline of a target video of duration 20s is cut into two temporal segments: fragment 1:0 to 9s, fragment 2:10 to 20s. Then after the cut is complete, the data structure of the target video timeline may be [ startPoint': "0", "endPoint": "9", "action": "play" }, { "startPoint": "10", "endPoint": "20", "action": "skip" }. The "action" indicates a play action flag, "play" indicates a first flag indicating play, and "skip" indicates skip.
And 103, playing the target video according to the rearranged time axis under the condition of receiving the video playing instruction.
The video playing instruction may be generated according to user operations, which may include but are not limited to: clicking a play button on a play interface, inputting a voice play instruction by a user and the like.
In an embodiment, when the execution main body receives the video playing instruction, the execution main body according to the embodiment of the present invention may sequentially play the video content corresponding to each time slice according to the rearranged time axis, so as to play the target video.
Optionally, the start time and the end time of each time slice in the rearranged time axis may be read, the target video slice corresponding to the time slice may be read from the target video according to the start time and the end time, and the target video slice may be played. Therefore, the corresponding target video clips can be directly read from the video source information of the target video according to the starting time and the ending time of each time clip in the time axis, the video source information is prevented from being modified, and the video source information is prevented from being stored again.
According to the technical scheme provided by the embodiment of the invention, the time axis of the target video is cut into the plurality of time segments according to the first operation of the user, the plurality of time segments are rearranged according to the second operation of the user to obtain the rearranged time axis, and the target video is played according to the rearranged time axis under the condition that a video playing instruction is received. According to the technical scheme, the video content is rearranged by rearranging the time axis of the target video, so that a user can rearrange the video content through simple operation, and the user experience is improved.
In addition, the technical scheme provided by the embodiment of the invention realizes the rearrangement of the video content by rearranging the time axis of the target video without modifying the original video, avoids modifying the video source information and further avoids the re-storage of the video source information.
Referring to fig. 4, a flowchart of an embodiment of another video editing method according to an embodiment of the present invention is provided. The flow shown in fig. 4 is based on the flow shown in fig. 1, and describes how to implement the deletion of the time axis of the target video by setting the play action flag for each time slice. As shown in fig. 4, the process may include the following steps:
step 401, according to a first operation of a user, cutting a time axis of a target video into a plurality of time segments.
Step 402, rearranging the plurality of time slices according to a second operation of the user to obtain the rearranged time axis.
The detailed description of step 401 and step 402 can refer to the description in step 101 and step 102, and is not described herein again.
And step 403, determining a playing action identifier corresponding to each time slice.
In an embodiment, the execution subject according to the embodiment of the present invention may determine the play action identifier corresponding to each time slice according to the operation of the user (which may be referred to as a third operation for convenience of description). For details, reference may be made to the related description in step 102, and details are not described here.
In another embodiment, the execution subject according to the embodiment of the present invention may determine the play action identifier corresponding to each time segment according to the user viewing behavior data in the preset history period.
Specifically, the user watching behavior data of the target video in the preset historical time period may be acquired, and the playing action identifier of each video frame included in each time segment is determined according to the user watching behavior data, so as to determine the playing action identifier corresponding to each time segment. For example, if a certain time slice includes 20 video frames, and the playing motion identifier of 15 video frames is the first identifier, it is determined that the playing motion identifier corresponding to the time slice is the first identifier. The user viewing behavior data may include a drag behavior or a play behavior of the user for each time segment.
Optionally, for each time segment included in the target video time axis, if the user viewing behavior data represents that the user performs a drag operation on the time segment, which indicates that the user directly skips the time segment, the play action identifier of the time segment is a second identifier; if the user watching behavior data represents that the user plays the time segment (which may include normal play and double-speed play), which indicates that the user watches the video content corresponding to the time segment, the play action identifier corresponding to the time segment is the first identifier.
Further, if the user viewing behavior data represents that the user plays the time segment, the user performs sound enhancement, brightness enhancement, or circular playing on the video content of the time segment, which indicates that the user is very interested in the video content of the time segment, at this time, the playing identifier of the time segment may be determined as the first identifier, and at the same time, the playing state of the time segment may be marked, so that the execution main body in the embodiment of the present invention plays the video content of the time segment according to the playing state.
And step 404, when the target video is played, playing the target video according to the rearranged time axis and the playing action identifier of each time slice.
In one embodiment, after obtaining the rearranged time axis, the target video can be played according to the rearranged time axis and the playing motion identifier of each time slice.
Specifically, based on the rearranged time axis, the playing action identifier of each time slice in the time axis can be sequentially read, and the target video slice corresponding to the video slice is played under the condition that the read playing action identifier is the first identifier; and skipping the time slice when the read playing action identifier is the second identifier.
Further, under the condition that the read playing action identifier is the first identifier, the starting time and the ending time of the time segment can be read, the target video segment corresponding to the time segment is read from the target video according to the starting time and the ending time, and the target video segment is played.
For example, assume that the user slices the time axis of the target video of 30 seconds in duration into 7 time slices: fragment 1:0 to 3s; fragment 2: 4-6 s; fragment 3: 7-9 s; fragment 4: 10-14 s; fragment 5: 15-22 s; fragment 6: 23-27 s; fragment 7.
Then, the user rearranges the 7 time slices through a drag operation, and the sequence after rearrangement is as follows: segment 1, segment 7, segment 5, segment 2, segment 3, segment 6, and segment 4. Continuing with the assumption that only the play action identifier of clip 5 is the second identifier, the data structure after the time axis of the target video is cut may be [ startPoint': "0", "endPoint": "3", "action": "play" }, { "startPoint": "28", "endPoint": "30", "action": "play" }, { "startPoint": "15", "endPoint": "22", "action": "skip" }, { "startPoint": "4", "endPoint": "6", "action": "play" }, { "startPoint": "7", "endPoint": "9", "action": "play" }, { "startPoint": "23", "endPoint": "27", "action": "play" }, { "startPoint": "10", "endPoint": "14", "action": "play" }, where "startPoint" may correspond to the start time of a time segment, "endPoint" may correspond to the end time of the time segment, "action" is a play action identifier corresponding to the time segment, "play" is a first identifier, and "skip" is a second identifier.
Then, when each time slice included in the timeline after the target video is rearranged is played in sequence, the slice 1 may be read first, and the playing action identifier of the slice 1 is determined to be the first identifier, so that the start time and the end time of the slice 1 may be read at this time, which are respectively 0s and 3s, and the video content of the time slice of 0 to 3s may be read from the target video according to the 0s and 3s, and played. And so on, reading the segment 7, the segment 5, the segment 2, the segment 3, the segment 6, and the segment 4 in sequence, wherein when the segment 5 is read, since the playing motion identifier of the read segment 5 is the second identifier, the time segment can be directly skipped over. The above process can be specifically seen in fig. 5, as shown in fig. 5, which is an example of playing the target video with the timeline rearranged, according to an embodiment of the present invention, in fig. 5, when the target video with the timeline rearranged is played, when the clip 5 is played, the clip is directly skipped to be played.
According to the technical scheme provided by the embodiment of the invention, the plurality of time segments are rearranged according to the second operation of the user to obtain the arranged time axis, the playing action identifier corresponding to each time segment is determined, and the target video is played according to the rearranged time axis and the playing action identifier of each time segment. According to the technical scheme, when the target video with the rearranged time axis is played, whether the time segment is skipped or not can be further determined according to the playing action identifier of each time segment determined by the user operation, so that the video content containing the specific content is skipped according to the operation behavior of the user, the deletion of the specific content of the target video is realized, and the user experience is improved.
Referring to fig. 6, a block diagram of an embodiment of a video editing apparatus according to an embodiment of the present invention is provided. As shown in fig. 6, the apparatus includes:
a cutting module 61, configured to cut a time axis of a target video into a plurality of time segments according to a first operation of a user;
the arranging module 62 is configured to rearrange the plurality of time segments according to a second operation of the user to obtain a rearranged time axis;
and the playing module 63 is configured to play the target video according to the rearranged time axis under the condition that a video playing instruction is received.
In a possible implementation, the programming module 62 is specifically configured to:
according to the second operation of the user, determining the time segments selected by the user and determining the arrangement rule of the user aiming at least one selected time segment;
and rearranging the time clips selected by the user based on the arranging rule to obtain the rearranged time shaft.
In a possible embodiment, the device further comprises (not shown in the figures):
a determining module, configured to determine, after a rearranged time axis is obtained, a play action identifier corresponding to each time slice, where the play action identifier includes a first identifier and a second identifier, the first identifier is used to indicate play, and the second identifier is used to indicate skipping;
the playing module 63 includes (not shown in the figure):
and the playing sub-module is used for playing the target video according to the rearranged time axis and the playing action identifier of each time slice.
In a possible implementation manner, the determining module is specifically configured to:
and determining the playing action identifier corresponding to each time segment according to the third operation of the user.
In a possible implementation manner, the determining module is specifically configured to:
acquiring user watching behavior data of the target video in a preset historical time period;
and determining a playing action identifier corresponding to each time segment according to the user watching behavior data.
In a possible implementation manner, the play sub-module is specifically configured to:
sequentially reading the playing action identifier of each time clip in the time shaft based on the rearranged time shaft;
under the condition that the read playing action identifier is the first identifier, reading the starting time and the ending time of the time segment;
reading a target video clip corresponding to the time clip from the target video according to the starting time and the ending time, and playing the target video clip;
and skipping the time segment under the condition that the read playing action identifier is the second identifier.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 700 shown in fig. 7 includes: at least one processor 701, memory 702, at least one network interface 704, and a user interface 703. The various components in the electronic device 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable connected communication between these components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball (trackball), touch pad or touch screen, etc.).
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), enhanced Synchronous SDRAM (ESDRAM), synchronous link Dynamic DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 702 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the processor 701 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 702, specifically, a program or an instruction stored in the application 7022, for example, and includes:
cutting a time axis of a target video into a plurality of time segments according to a first operation of a user;
according to a second operation of the user, rearranging the time clips to obtain a rearranged time axis;
and under the condition of receiving a video playing instruction, playing the target video according to the rearranged time axis.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the message in the memory 702, and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The electronic device provided in this embodiment may be the electronic device shown in fig. 7, and may execute all the steps of the video arrangement method shown in fig. 1 and fig. 4, so as to achieve the technical effect of the video arrangement method shown in fig. 1 and fig. 4, please refer to the description related to fig. 1 and fig. 4 for brevity, which is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, storage media may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the video editing method executed on the electronic device side as described above.
The processor is configured to execute the video programming program stored in the memory to implement the following steps of the video programming method executed on the electronic device side:
cutting a time axis of a target video into a plurality of time segments according to a first operation of a user;
rearranging the time clips according to a second operation of the user to obtain a rearranged time shaft;
and under the condition of receiving a video playing instruction, playing the target video according to the rearranged time axis.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only examples of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of video editing, the method comprising:
cutting a time axis of a target video into a plurality of time segments according to a first operation of a user;
rearranging the time clips according to a second operation of the user to obtain a rearranged time shaft;
and under the condition of receiving a video playing instruction, playing the target video according to the rearranged time axis.
2. The method according to claim 1, wherein said rearranging the plurality of time slices according to the second operation of the user to obtain a rearranged time axis comprises:
according to the second operation of the user, determining the time segments selected by the user and determining the arrangement rule of the user aiming at least one selected time segment;
and rearranging the time clips selected by the user based on the arranging rule to obtain the rearranged time shaft.
3. The method of claim 1, further comprising, after said deriving a rearranged timeline:
determining a playing action identifier corresponding to each time slice, wherein the playing action identifier comprises a first identifier and a second identifier, the first identifier is used for indicating playing, and the second identifier is used for indicating skipping;
the playing the target video according to the rearranged time axis comprises:
and playing the target video according to the rearranged time shaft and the playing action identifier of each time slice.
4. The method according to claim 3, wherein the determining the play action id corresponding to each time slice comprises:
and determining the playing action identifier corresponding to each time segment according to the third operation of the user.
5. The method according to claim 3, wherein the determining the play action identifier corresponding to each time slice includes:
acquiring user watching behavior data of the target video in a preset historical time period;
and determining a playing action identifier corresponding to each time slice according to the user watching behavior data.
6. The method according to claim 3, wherein said playing the target video according to the rearranged time axis and the playing action id of each time slice comprises:
sequentially reading the playing action identifier of each time clip in the time shaft based on the rearranged time shaft;
under the condition that the read playing action identifier is the first identifier, reading the starting time and the ending time of the time segment;
reading a target video clip corresponding to the time clip from the target video according to the starting time and the ending time, and playing the target video clip;
and skipping the time segment under the condition that the read playing action identifier is the second identifier.
7. A video editing apparatus, characterized in that the apparatus comprises:
the cutting module is used for cutting the time axis of the target video into a plurality of time segments according to a first operation of a user;
the arranging module is used for rearranging the time slices according to a second operation of the user to obtain a rearranged time shaft;
and the playing module is used for playing the target video according to the rearranged time axis under the condition of receiving a video playing instruction.
8. The apparatus of claim 7, further comprising:
the determining module is used for determining a playing action identifier corresponding to each time slice after a rearranged time axis is obtained, wherein the playing action identifiers comprise a first identifier and a second identifier, the first identifier is used for indicating playing, and the second identifier is used for indicating skipping;
the playing module comprises:
and the playing sub-module is used for playing the target video according to the rearranged time axis and the playing action identifier of each time slice.
9. An electronic device, comprising: a processor and a memory, said processor being configured to execute a video programming program stored in said memory to implement the video programming method of any of claims 1 to 6.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the video programming method of any one of claims 1 to 6.
CN202211185334.1A 2022-09-27 2022-09-27 Video arrangement method and device, electronic equipment and storage medium Pending CN115695910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211185334.1A CN115695910A (en) 2022-09-27 2022-09-27 Video arrangement method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211185334.1A CN115695910A (en) 2022-09-27 2022-09-27 Video arrangement method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115695910A true CN115695910A (en) 2023-02-03

Family

ID=85065446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211185334.1A Pending CN115695910A (en) 2022-09-27 2022-09-27 Video arrangement method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115695910A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150293928A1 (en) * 2014-04-14 2015-10-15 David Mo Chen Systems and Methods for Generating Personalized Video Playlists
US20160004395A1 (en) * 2013-03-08 2016-01-07 Thomson Licensing Method and apparatus for using a list driven selection process to improve video and media time based editing
EP3073743A1 (en) * 2015-03-24 2016-09-28 Facebook, Inc. Systems and methods for providing playback of selected video segments
US20160283796A1 (en) * 2015-03-24 2016-09-29 Facebook, Inc. Systems and methods for providing playback of selected video segments
KR20180035134A (en) * 2016-09-28 2018-04-05 (주) 프람트 A providing system for timeline-based social network service
CN112911402A (en) * 2021-01-19 2021-06-04 惠州Tcl移动通信有限公司 Video playing method, device, terminal and computer readable storage medium
CN114339390A (en) * 2021-04-22 2022-04-12 南京亿铭科技有限公司 Video editing method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160004395A1 (en) * 2013-03-08 2016-01-07 Thomson Licensing Method and apparatus for using a list driven selection process to improve video and media time based editing
US20150293928A1 (en) * 2014-04-14 2015-10-15 David Mo Chen Systems and Methods for Generating Personalized Video Playlists
EP3073743A1 (en) * 2015-03-24 2016-09-28 Facebook, Inc. Systems and methods for providing playback of selected video segments
US20160283796A1 (en) * 2015-03-24 2016-09-29 Facebook, Inc. Systems and methods for providing playback of selected video segments
KR20180035134A (en) * 2016-09-28 2018-04-05 (주) 프람트 A providing system for timeline-based social network service
CN112911402A (en) * 2021-01-19 2021-06-04 惠州Tcl移动通信有限公司 Video playing method, device, terminal and computer readable storage medium
CN114339390A (en) * 2021-04-22 2022-04-12 南京亿铭科技有限公司 Video editing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10972810B2 (en) Method for generating a composition of audible and visual media
US8701008B2 (en) Systems and methods for sharing multimedia editing projects
US8438602B2 (en) Systems and methods for linking media content
US8799781B2 (en) Information processing apparatus reproducing moving image and displaying thumbnails, and information processing method thereof
CN109275028B (en) Video acquisition method, device, terminal and medium
US20110276881A1 (en) Systems and Methods for Sharing Multimedia Editing Projects
EP1638102A1 (en) Image processing apparatus, method, program and program storage medium
CN113079405B (en) Multimedia resource editing method, device, equipment and storage medium
US20080301169A1 (en) Electronic apparatus of playing and editing multimedia data
CN112333536A (en) Audio and video editing method, equipment and computer readable storage medium
US10720185B2 (en) Video clip, mashup and annotation platform
US20150012823A1 (en) Editing apparatus and an editing method
US20080189318A1 (en) Playlist override queue
US10891428B2 (en) Adapting video annotations to playback speed
CN115695910A (en) Video arrangement method and device, electronic equipment and storage medium
JP6305558B2 (en) Method and system for reverse recording
US11664053B2 (en) Video clip, mashup and annotation platform
JP2007295316A (en) Record reproducer
US11495265B1 (en) Change-dependent pre-export for video editing projects
JP4437121B2 (en) Video editing device
CN115243108B (en) Decoding playing method
CN114584806A (en) Video source file processing method, video playing method, device and equipment
US20140123201A1 (en) Apparatus for receiving broadcast and method of managing file used for time shift
JP2009239581A (en) Content download receiver
CN116528018A (en) Audio track switching method, device, computing equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination