CN114286177A - Video splicing method and device and electronic equipment - Google Patents

Video splicing method and device and electronic equipment Download PDF

Info

Publication number
CN114286177A
CN114286177A CN202111622443.0A CN202111622443A CN114286177A CN 114286177 A CN114286177 A CN 114286177A CN 202111622443 A CN202111622443 A CN 202111622443A CN 114286177 A CN114286177 A CN 114286177A
Authority
CN
China
Prior art keywords
video
background
splicing
editing
continuous frame
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
CN202111622443.0A
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 Kuailai Culture Communication Group Co ltd
Original Assignee
Beijing Kuailai Culture Communication Group 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 Kuailai Culture Communication Group Co ltd filed Critical Beijing Kuailai Culture Communication Group Co ltd
Priority to CN202111622443.0A priority Critical patent/CN114286177A/en
Publication of CN114286177A publication Critical patent/CN114286177A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video splicing method, a video splicing device and electronic equipment, wherein the video splicing method comprises the following steps: acquiring a background video and at least one insert video; triggering a splicing event, splicing the insert video to any position of a background video in the mobile equipment, wherein an editing page of the mobile equipment comprises a video display area and an editing area which are arranged along the column direction, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area are extended; a time scroll bar is further arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the inserted video, and comprises a film head identifier, a film tail identifier and a plurality of time point identifiers, wherein the time point identifiers correspond to each continuous frame picture of the background video and each continuous frame picture of the inserted video one by one, and the film head identifier and the film tail identifier are fixed in the editing area; and exporting the combined video to a server. The invention improves the user experience.

Description

Video splicing method and device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a video splicing method and device and electronic equipment.
Background
With the continuous development of internet technology, various video software appears on terminal equipment, and a video splicing technology becomes an important link of a video processing technology as a common video data processing means.
In the video splicing software in the prior art, a video can be subjected to more functional processing, for example, another video segment is inserted at a suitable position and floats in a background video to become a picture-in-picture video, and CN111294611A discloses a video insertion method, a device, an electronic device and a computer-readable storage medium, and specifically discloses receiving a video insertion request, wherein the video insertion request includes a video to be inserted; acquiring an original video sequence, wherein the original video sequence comprises a first type of video and a second type of video; determining the video type to be brought into the video: if the video type is the second type, inserting the in-out video into the original video sequence, and inserting each video of the second type into the new video sequence, wherein the videos of the second type are not adjacent, but in the inserting process, the length of the device in the width direction is limited, all frame pictures cannot be represented, the video needs to be dragged to a specified position during inserting, and if the video returns to the head of the video, the frame picture needs to be dragged back again, especially if the video is long, the time consumption is long, and the user experience is poor.
Disclosure of Invention
In view of this, the invention provides a video stitching method, a video stitching device and an electronic device.
In one aspect, the present invention provides a video stitching method applied to a mobile device and a server, including:
acquiring a background video and at least one insert video, wherein the duration of the background video is more than 15 minutes;
triggering a splicing event, and splicing the insert video to any position of the background video in the mobile equipment, wherein an editing page of the mobile equipment comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area; a time scroll bar is further arranged on one side, away from the inserted video, of each continuous frame picture of the background video, and comprises a title mark, a title mark and a plurality of time point marks positioned between the title mark and the title mark, the time point marks correspond to the continuous frame pictures of the background video and the inserted video one by one, and the title mark are fixed in the editing area;
the step of combining video exports to the server includes triggering an export format selection event, the export format including a first video mode and a second video mode, the second video mode having a storage space less than a storage space of the first video mode.
Optionally, the time interval between adjacent time point identifiers is 1s, 2s or 3 s.
Optionally, the editing region further includes an editing tool option, where the editing tool option includes adding background music, and after an event of adding background music is triggered, target music is selected in the server, and music tracks of the target music are arranged in the editing region in a time axis manner, where the music tracks have at least one color.
Optionally, the color comprises at least one of red, orange, yellow, green, cyan, blue, violet.
Optionally, when the derivation format is the second video mode, each frame of picture in the combined video is determined, and when the percentage of the same pixels in the consecutive 1 st to nth frame of pictures is greater than a preset threshold, the 1 st frame of picture is retained in the combined video, and the 2 nd to nth frame of pictures are deleted.
On the other hand, the invention also provides a video splicing device which is arranged on the mobile equipment and the server and comprises a video acquisition unit, a video splicing unit and a video export unit, wherein,
the video acquiring unit is coupled with the video splicing unit and is used for acquiring a background video and at least one insert video, and the duration of the background video is more than 15 minutes;
the video splicing unit is respectively coupled with the video acquisition unit and the video export unit and splices the insert video to any position of the background video, wherein an editing page of the mobile device comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area; a time scroll bar is further arranged on one side, away from the inserted video, of each continuous frame picture of the background video, and comprises a title mark, a title mark and a plurality of time point marks positioned between the title mark and the title mark, the time point marks correspond to the continuous frame pictures of the background video and the inserted video one by one, and the title mark are fixed in the editing area;
the video export unit, coupled to the video stitching unit, is configured to export the combined video to the server, including triggering an export format selection event, where the export format includes a first video mode and a second video mode, and a storage space of the second video mode is smaller than a storage space of the first video mode.
Optionally, the time interval between adjacent time point identifiers is 1s, 2s or 3 s.
Optionally, the editing region further includes an editing tool option, where the editing tool option includes adding background music, and after an event of adding background music is triggered, target music is selected in the server, and music tracks of the target music are arranged in the editing region in a time axis manner, where the music tracks have at least one color.
Optionally, when the derivation format in the video derivation unit is the second video mode, each frame of picture in the combined video is determined, and when the percentage of the same pixels in consecutive 1 st to nth frame of pictures is greater than a preset threshold, the 1 st frame of picture is retained in the combined video, and the 2 nd to nth frame of pictures are deleted.
The invention also provides an electronic device comprising a memory storing computer executable instructions and a processor configured to execute the instructions to implement the video splicing method of any one of the above.
Compared with the prior art, the video splicing method, the video splicing device and the electronic equipment provided by the invention at least realize the following beneficial effects:
when splicing the insert video to any position of the background video in the mobile equipment, the video splicing method comprises the steps that an editing page of the mobile equipment comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area are extended; a time scroll bar is arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the inserted video, and comprises a film head mark, a film tail mark and a plurality of time point marks positioned between the film head mark and the film tail mark, the time point marks correspond to each continuous frame picture of the background video and each continuous frame picture of the inserted video one by one, the film head mark and the film tail mark are fixed in an editing area, even if the inserted video is dragged to a specified position behind the background video when spliced, only the film head mark needs to be hit if the film head needs to be returned, or only the film tail mark needs to be hit if the film tail needs to be inserted, the dragging of one frame picture is not needed, the user experience is improved, in addition, the time scroll bar is provided with the plurality of time point marks positioned between the film head mark and the film tail mark, which is more beneficial to determining the position where the inserted video needs to be inserted, the accuracy is improved; in addition, the second video mode can be selected when the combined video is exported, the storage space of the second video mode is smaller than that of the first video mode, so that the storage space can be saved, the combined video is exported to a server, the space of the mobile device is not occupied, and the user experience is further improved.
Of course, it is not necessary for any product in which the present invention is practiced to specifically achieve all of the above technical effects simultaneously.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart of a video stitching method provided by the present invention;
FIG. 2 is a schematic diagram of an edit page in a mobile device;
FIG. 3 is a schematic structural diagram of a video stitching apparatus according to the present invention;
fig. 4 is a block diagram of an electronic device according to the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Referring to fig. 1 and fig. 2, fig. 1 is a flowchart of a video stitching method provided by the present invention, and fig. 2 is a schematic diagram of an editing page in a mobile device. The video splicing method in fig. 1 is applied to a mobile device and a server, and includes the following steps:
s1: acquiring a background video and at least one insert video, wherein the duration of the background video is more than 15 minutes;
it should be noted that the background video in the present invention is a background video with a duration greater than 15 minutes, only a video with a duration within 3 minutes can be edited in the prior art, and a video with a longer duration can be edited in the present invention, for example, a movie segment and the like, and the content of the background video is not specifically limited here.
S2: triggering a splicing event, and splicing the insert video to any position of a background video in the mobile equipment, wherein an editing page of the mobile equipment comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area; a time scroll bar is further arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the inserted video, and comprises a film head mark, a film tail mark and a plurality of time point marks positioned between the film head mark and the film tail mark, wherein the time point marks correspond to each continuous frame picture of the background video and each continuous frame picture of the inserted video one by one, and the film head mark and the film tail mark are fixed in the editing area;
referring to fig. 2, fig. 2 only schematically illustrates an editing page of the mobile device, and the control keys in the editing page are not specifically limited herein. The column-wise editing page includes a video display area 21 and an editing area 22, and optionally, an editing tool option 26 is further provided in the editing area 22, such as volume, audio separation, filter, beauty, chroma, opacity, noise reduction, reverse playing, sound change, editing, music addition, and the like, which is not specifically limited herein.
The background video can be quickly dragged to the corresponding moment when the time scroll bar is dragged, and the splicing efficiency is improved. For example, the time rollers respectively show 1s, 2s, 3s and 4s … … 90s, which is not limited herein.
In this embodiment, a leader identifier and a trailer identifier are set, and when the leader identifier is clicked, a video frame picture corresponding to a time scroll bar can be dragged to the leader, and when the trailer identifier is clicked, a video frame picture corresponding to the time scroll bar can be dragged to the trailer. When the inserted video is spliced, the inserted video is dragged to a specified position behind a background video, and only the key point film head hitting mark is needed if the film head needs to be returned, or only the key point film tail hitting mark is needed if the film tail needs to be inserted, so that the dragging of one frame of picture is not needed, and the user experience is improved. In addition, a plurality of time point marks positioned between the film head mark and the film tail mark are arranged on the time scroll bar, so that the position of inserting the video to be inserted can be determined, and the accuracy is improved.
S3: the step of exporting the combined video to the server comprises triggering an export format selection event, wherein the export format comprises a first video mode and a second video mode, and the storage space of the second video mode is smaller than that of the first video mode.
The second video mode can be selected when the combined video is exported, and the storage space of the second video mode is smaller than that of the first video mode, so that the storage space can be saved, the combined video is exported to a server, the space of the mobile device is not occupied, and the user experience is further improved.
Compared with the prior art, the video splicing method of the embodiment at least has the following beneficial effects:
according to the video splicing method, when the insert video is spliced to any position of the background video in the mobile equipment, the editing page of the mobile equipment comprises a video display area and an editing area which are arranged in the column direction, the video display area displays the combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged in the editing area in the column direction along the row direction; a time scroll bar is arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the insert video, and comprises a film head mark, a film tail mark and a plurality of time point marks positioned between the film head mark and the film tail mark, the time point marks correspond to each continuous frame picture of the background video and each continuous frame picture of the insert video one by one, the film head mark and the film tail mark are fixed in an editing area, even if the insert video is dragged to a specified position behind the background video when being spliced, only the film head mark needs to be hit if the film head needs to be returned, or only the film tail mark needs to be hit if the film tail needs to be inserted, the dragging of one frame picture is not needed, the user experience is improved, in addition, the time scroll bar is provided with the plurality of time point marks positioned between the film head mark and the film tail mark, which is more beneficial to determining the position where the insert video needs to be inserted, the accuracy is improved; in addition, the second video mode can be selected when the combined video is exported, the storage space of the second video mode is smaller than that of the first video mode, so that the storage space can be saved, the combined video is exported to a server, the space of the mobile device is not occupied, and the user experience is further improved.
In some alternative embodiments, the time interval between adjacent time point identifications is 1s, 2s or 3 s.
Fig. 2 only schematically shows that the time interval between the time point markers is 2s, and the time interval between adjacent time point markers is not specifically limited herein.
The time scroll bar is provided with a plurality of time point marks between the film head mark and the film tail mark, which is more beneficial to determining the position of inserting the video and improving the accuracy.
In some optional embodiments, with continued reference to fig. 2, the editing region 22 further includes an editing tool option 26, the editing tool option 26 includes adding background music, after the adding background music event is triggered, target music is selected in the server, tracks of the target music are arranged in the editing region in the form of a time axis, and the tracks have at least one color.
Of course, the track may have one color or different colors, and is not limited herein.
It can be understood that background music can be added during the process of splicing videos, where the background music can be set in the server, so that the background music does not occupy the storage space of the mobile device, after the event of adding the background music is triggered, the target music is sent to the mobile device from the server, of course, the music tracks of the target music are arranged in the editing area in the form of a time axis, and the music tracks have at least one color, which is more beneficial to matching the rhythm of the target music with the background videos, i.e., more beneficial to a click.
In some alternative embodiments, the color comprises at least one of red, orange, yellow, green, cyan, blue, violet.
It will be appreciated that the soundtrack has at least one color, including at least one of red, orange, yellow, green, cyan, blue, violet, which may be more advantageous for matching the tempo of the target music with the background video, i.e. for a stuck point.
In some optional embodiments, when the derived format is the second video mode, each frame of picture in the combined video is determined, and when the percentage of the same pixels in the consecutive 1 st to nth frame of picture is greater than a preset threshold, the 1 st frame of picture is retained in the combined video, and the 2 nd to nth frame of picture is deleted.
It is understood that, the preset threshold value herein may be any value between 95% and 100%, that is, the elements in the adjacent 1 st to nth frame pictures are substantially the same, and it is understood that the actions or backgrounds in the adjacent 1 st to nth frame pictures are the same, so that the 2 nd to nth frame pictures may be deleted when the combined video is derived, thereby reducing the storage space of the combined video.
On the other hand, the present invention further provides a video stitching apparatus, disposed on the mobile device 30 and the server 34, including a video obtaining unit 31, a video stitching unit 32, and a video deriving unit 33, wherein,
the video acquiring unit 31 is coupled with the video splicing unit 32 and is used for acquiring a background video and at least one insert video, wherein the duration of the background video is longer than 15 minutes;
a video splicing unit 32, coupled to the video acquiring unit 31 and the video deriving unit 33, respectively, for splicing the insert video to any position of the background video, where an editing page of the mobile device 30 includes a video display area 21 and an editing area 22 arranged in the column direction, the video display area 21 displays a combined video of the background video and the insert video during the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video are sequentially arranged in the editing area 22 in the column direction extending along the row direction; a time scroll bar is further arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the inserted video, and comprises a film head identifier, a film tail identifier and a plurality of time point identifiers positioned between the film head identifier and the film tail identifier, wherein the time point identifiers correspond to each continuous frame picture of the background video and each continuous frame picture of the inserted video one by one, and the film head identifier and the film tail identifier are fixed in the editing area 22;
a video export unit 33, coupled to the video stitching unit 32, for exporting the combined video to the server 34, including triggering an export format selection event, the export format including a first video mode and a second video mode, the second video mode having a smaller storage space than the first video mode.
The mobile device in the present invention may be any one of a mobile phone, an IPAD, and a computer, and is not limited herein.
Compared with the prior art, the video splicing device of the embodiment at least has the following beneficial effects:
the video splicing device of the embodiment is provided with a video splicing unit 32, when the video splicing unit 32 splices an insertion video to any position of a background video in a mobile device 30, an editing page of the mobile device 30 comprises a video display area and an editing area which are arranged along a column direction, the video display area displays a combined video of the background video and the insertion video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insertion video which are sequentially arranged along a row direction and a column direction in the editing area; a time scroll bar is arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the insert video, and comprises a film head mark, a film tail mark and a plurality of time point marks positioned between the film head mark and the film tail mark, the time point marks correspond to each continuous frame picture of the background video and each continuous frame picture of the insert video one by one, the film head mark and the film tail mark are fixed in an editing area, even if the insert video is dragged to a specified position behind the background video when being spliced, only the film head mark needs to be hit if the film head needs to be returned, or only the film tail mark needs to be hit if the film tail needs to be inserted, the dragging of one frame picture is not needed, the user experience is improved, in addition, the time scroll bar is provided with the plurality of time point marks positioned between the film head mark and the film tail mark, which is more beneficial to determining the position where the insert video needs to be inserted, the accuracy is improved; in addition, in the invention, when the combined video is exported, a second video mode can be selected, and the storage space of the second video mode is smaller than that of the first video mode, so that the storage space can be saved, and the combined video is exported to the server 34 without occupying the space of the mobile device 30, thereby further improving the user experience.
In some alternative embodiments, the time interval between adjacent time point identifications is 1s, 2s or 3 s.
The time scroll bar is provided with a plurality of time point marks between the film head mark and the film tail mark, which is more beneficial to determining the position of inserting the video and improving the accuracy.
In some optional embodiments, the editing region further includes an editing tool option, the editing tool option includes adding background music, after the adding background music event is triggered, target music is selected in the server 34, tracks of the target music are arranged in the editing region in the form of a time axis, and the tracks have at least one color.
It can be understood that background music can be added during the process of splicing videos, where the background music can be set in the server, so that the background music does not occupy the storage space of the mobile device, after the event of adding the background music is triggered, the target music is sent to the mobile device from the server, of course, the music tracks of the target music are arranged in the editing area in the form of a time axis, and the music tracks have at least one color, which is more beneficial to matching the rhythm of the target music with the background videos, i.e., more beneficial to a click.
In some optional embodiments, when the derivation format in the video derivation unit 33 is the second video mode, each frame of picture in the combined video is determined, and when the percentage of the same pixels in the consecutive 1 st to nth frame of pictures is greater than the preset threshold, the 1 st frame of picture is retained in the combined video, and the 2 nd to nth frame of picture is deleted.
It is understood that, the preset threshold value herein may be any value between 95% and 100%, that is, the elements in the adjacent 1 st to nth frame pictures are substantially the same, and it is understood that the actions or backgrounds in the adjacent 1 st to nth frame pictures are the same, so that the 2 nd to nth frame pictures may be deleted when the combined video is derived, thereby reducing the storage space of the combined video.
Based on the same inventive concept, the present invention also provides an electronic device, which includes a memory storing computer-executable instructions and a processor configured to execute the instructions to implement the video stitching method of any one of the above embodiments.
Referring to fig. 4, fig. 4 is a block diagram of an electronic device according to the present invention. The electronic device 400 provided by the present embodiment includes a memory 440 and a processor 410 storing computer executable instructions, the memory 440 storing one or more programs; when executed by the one or more processors 410, cause the one or more processors 410 to implement the video stitching method of any of the above embodiments.
Continuing with FIG. 4, electronic device 400 may include a processor 410 (e.g., central processing unit, graphics processor, etc.) which may perform various appropriate actions and processes in accordance with programs stored in a institutional memory (ROM)420 or loaded from a memory 440 into a Random Access Memory (RAM) 430. In the RAM 430, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. Processor 410, ROM 420, and RAM 430 are coupled to each other via bus 460. An input/output (I/O) interface 450 is also connected to bus 460.
The following components are connected to the I/O interface 450: an input portion 480 including a keyboard, a mouse, and the like; an output portion 490 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker and the like; a storage section including a hard disk and the like; and a communication section 470 including a network interface card such as a LAN card, a modem, or the like. The communication section 470 performs communication processing via a network such as the internet. The drives are also connected to the I/O interface 450 as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 470, and/or installed from a removable medium. The computer program performs the above-described functions defined in the system of the present invention when executed by a Central Processing Unit (CPU).
The electronic device 400 provided in the above embodiment may execute the video splicing method provided in any embodiment disclosed in the present invention, and has corresponding functional units and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a video splicing method provided by any embodiment of the present disclosure.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer.
The units described in the present embodiment may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the video stitching method in any of the above embodiments.
By the embodiment, the video splicing method, the video splicing device and the electronic equipment provided by the invention at least realize the following beneficial effects:
when splicing the insert video to any position of the background video in the mobile equipment, the video splicing method comprises the steps that an editing page of the mobile equipment comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area are extended; a time scroll bar is arranged on one side of each continuous frame picture of the background video, which is far away from each continuous frame picture of the inserted video, and comprises a film head mark, a film tail mark and a plurality of time point marks positioned between the film head mark and the film tail mark, the time point marks correspond to each continuous frame picture of the background video and each continuous frame picture of the inserted video one by one, the film head mark and the film tail mark are fixed in an editing area, even if the inserted video is dragged to a specified position behind the background video when spliced, only the film head mark needs to be hit if the film head needs to be returned, or only the film tail mark needs to be hit if the film tail needs to be inserted, the dragging of one frame picture is not needed, the user experience is improved, in addition, the time scroll bar is provided with the plurality of time point marks positioned between the film head mark and the film tail mark, which is more beneficial to determining the position where the inserted video needs to be inserted, the accuracy is improved; in addition, the second video mode can be selected when the combined video is exported, the storage space of the second video mode is smaller than that of the first video mode, so that the storage space can be saved, the combined video is exported to a server, the space of the mobile device is not occupied, and the user experience is further improved.
Although some specific embodiments of the present invention have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustrative purposes only and are not intended to limit the scope of the present invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (10)

1. A video splicing method is applied to a mobile device and a server, and comprises the following steps:
acquiring a background video and at least one insert video, wherein the duration of the background video is more than 15 minutes;
triggering a splicing event, and splicing the insert video to any position of the background video in the mobile equipment, wherein an editing page of the mobile equipment comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area; a time scroll bar is further arranged on one side, away from the inserted video, of each continuous frame picture of the background video, and comprises a title mark, a title mark and a plurality of time point marks positioned between the title mark and the title mark, the time point marks correspond to the continuous frame pictures of the background video and the inserted video one by one, and the title mark are fixed in the editing area;
the step of combining video exports to the server includes triggering an export format selection event, the export format including a first video mode and a second video mode, the second video mode having a storage space less than a storage space of the first video mode.
2. The video stitching method according to claim 1, wherein the time interval between adjacent time point identifiers is 1s, 2s or 3 s.
3. The video splicing method according to claim 1, wherein the editing area further comprises an editing tool option, the editing tool option comprises adding background music, target music is selected in the server after an adding background music event is triggered, tracks of the target music are arranged in the editing area in a time axis manner, and the tracks have at least one color.
4. The video stitching method of claim 3, wherein the color comprises at least one of red, orange, yellow, green, cyan, blue, and violet.
5. The method according to claim 1, wherein when the derived format is the second video mode, each frame in the combined video is determined, and when the percentage of the same pixels in the consecutive 1 st to nth frame is greater than a preset threshold, the 1 st frame is retained in the combined video, and the 2 nd to nth frame is deleted.
6. A video splicing device is characterized by being arranged on a mobile device and a server and comprising a video acquisition unit, a video splicing unit and a video export unit, wherein,
the video acquiring unit is coupled with the video splicing unit and is used for acquiring a background video and at least one insert video, and the duration of the background video is more than 15 minutes;
the video splicing unit is respectively coupled with the video acquisition unit and the video export unit and splices the insert video to any position of the background video, wherein an editing page of the mobile device comprises a video display area and an editing area which are arranged along the column direction, the video display area displays a combined video of the background video and the insert video in the splicing process, and each continuous frame picture of the background video and each continuous frame picture of the insert video which are sequentially arranged along the row direction and the column direction in the editing area; a time scroll bar is further arranged on one side, away from the inserted video, of each continuous frame picture of the background video, and comprises a title mark, a title mark and a plurality of time point marks positioned between the title mark and the title mark, the time point marks correspond to the continuous frame pictures of the background video and the inserted video one by one, and the title mark are fixed in the editing area;
the video export unit, coupled to the video stitching unit, is configured to export the combined video to the server, including triggering an export format selection event, where the export format includes a first video mode and a second video mode, and a storage space of the second video mode is smaller than a storage space of the first video mode.
7. The video stitching device according to claim 6, wherein the time interval between adjacent time point identifiers is 1s, 2s or 3 s.
8. The video splicing apparatus according to claim 6, wherein the editing area further comprises an editing tool option, the editing tool option comprises adding background music, and after the adding background music event is triggered, target music is selected in the server, and tracks of the target music are arranged in the editing area in a time axis manner, and the tracks have at least one color.
9. The video splicing apparatus according to claim 6, wherein when the derived format in the video deriving unit is the second video mode, each frame of picture in the combined video is determined, and when the percentage of the same pixels in the consecutive 1 st to nth frame of pictures is greater than a preset threshold, the 1 st frame of picture is retained in the combined video, and the 2 nd to nth frame of picture is deleted.
10. An electronic device, comprising a memory storing computer-executable instructions and a processor configured to execute the instructions to implement the video stitching method of any one of claims 1-5.
CN202111622443.0A 2021-12-28 2021-12-28 Video splicing method and device and electronic equipment Pending CN114286177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111622443.0A CN114286177A (en) 2021-12-28 2021-12-28 Video splicing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111622443.0A CN114286177A (en) 2021-12-28 2021-12-28 Video splicing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114286177A true CN114286177A (en) 2022-04-05

Family

ID=80876877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111622443.0A Pending CN114286177A (en) 2021-12-28 2021-12-28 Video splicing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114286177A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010151A (en) * 2014-06-13 2014-08-27 深圳市景阳科技股份有限公司 Method for compressing monitoring video file
CN109525880A (en) * 2018-11-08 2019-03-26 北京微播视界科技有限公司 Synthetic method, device, equipment and the storage medium of video data
CN111356000A (en) * 2018-08-17 2020-06-30 北京达佳互联信息技术有限公司 Video synthesis method, device, equipment and storage medium
CN112291627A (en) * 2020-10-12 2021-01-29 广州市百果园网络科技有限公司 Video editing method and device, mobile terminal and storage medium
CN113473204A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113596319A (en) * 2021-06-16 2021-11-02 荣耀终端有限公司 Picture-in-picture based image processing method, apparatus, storage medium, and program product
WO2021249428A1 (en) * 2020-06-12 2021-12-16 北京字节跳动网络技术有限公司 Method and apparatus for composite video filming, electronic device, and computer readable medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010151A (en) * 2014-06-13 2014-08-27 深圳市景阳科技股份有限公司 Method for compressing monitoring video file
CN111356000A (en) * 2018-08-17 2020-06-30 北京达佳互联信息技术有限公司 Video synthesis method, device, equipment and storage medium
CN109525880A (en) * 2018-11-08 2019-03-26 北京微播视界科技有限公司 Synthetic method, device, equipment and the storage medium of video data
WO2021249428A1 (en) * 2020-06-12 2021-12-16 北京字节跳动网络技术有限公司 Method and apparatus for composite video filming, electronic device, and computer readable medium
CN112291627A (en) * 2020-10-12 2021-01-29 广州市百果园网络科技有限公司 Video editing method and device, mobile terminal and storage medium
CN113473204A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113596319A (en) * 2021-06-16 2021-11-02 荣耀终端有限公司 Picture-in-picture based image processing method, apparatus, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN109803180B (en) Video preview generation method and device, computer equipment and storage medium
US9384178B2 (en) Review of signature based content
US8319086B1 (en) Video editing matched to musical beats
US6928613B1 (en) Organization, selection, and application of video effects according to zones
CN111739128B (en) Target video generation method and system
US20060161838A1 (en) Review of signature based content
US20030018609A1 (en) Editing time-based media with enhanced content
US8006201B2 (en) Method and system for generating thumbnails for video files
US20130077876A1 (en) Apparatus and method for identifying a still image contained in moving image contents
JP2003052011A (en) Video editing method and system for editing video project
CA2507248A1 (en) System and method for annotating multi-modal characteristics in multimedia documents
US20240114198A1 (en) Video processing method, apparatus, device and storage medium
US9396575B2 (en) Animation via pin that defines multiple key frames
US5604857A (en) Render system for the rendering of storyboard structures on a real time animated system
WO2022001579A1 (en) Audio processing method and apparatus, device, and storage medium
CN112887794A (en) Video editing method and device
US20230129509A1 (en) Previewing method and apparatus for effect application, and device, and storage medium
US20240098328A1 (en) Video processing method and apparatus, and device and storage medium
US20070182740A1 (en) Information processing method, information processor, recording medium, and program
CN114363688A (en) Video processing method and device and non-volatile computer readable storage medium
US7500190B1 (en) Visual feedback to illustrate effects of editing operations
CN114286177A (en) Video splicing method and device and electronic equipment
CN114286176A (en) Video editing method and device and electronic equipment
CN111526420A (en) Video rendering method, electronic device and storage medium
CN114286159A (en) Video editing method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220405

RJ01 Rejection of invention patent application after publication