CN112887794B - Video editing method and device - Google Patents
Video editing method and device Download PDFInfo
- Publication number
- CN112887794B CN112887794B CN202110106778.0A CN202110106778A CN112887794B CN 112887794 B CN112887794 B CN 112887794B CN 202110106778 A CN202110106778 A CN 202110106778A CN 112887794 B CN112887794 B CN 112887794B
- Authority
- CN
- China
- Prior art keywords
- video
- target
- mark
- input
- frame image
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000004044 response Effects 0.000 claims abstract description 13
- 239000012634 fragment Substances 0.000 claims abstract description 8
- 238000009877 rendering Methods 0.000 claims description 5
- 238000010926 purge Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000002950 deficient Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 239000003550 marker Substances 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44016—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The application discloses a video editing method and device, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps that under the condition that a user clips an original video on a first screen of a folding screen, a target video is played on a second screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, the first video is obtained after the original video is subjected to first clipping, first input of a target video frame image of the target video by the user is received, a mark corresponding to the target video frame image is displayed on a progress bar of the target video in response to the first input, and second clipping is conducted on the first video according to the mark, so that a second video is obtained. Therefore, a user can always watch the playing of the target video in the video editing process, and the second editing of the first video according to the mark is realized, so that the second video is obtained, and the video editing efficiency is improved.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video editing method and device.
Background
With the development of communication technology, users can edit their own interesting videos through a video editing application program, for example, clip the photographed videos through a video clipping application program, and obtain clipped videos. The clip interface of current video clip applications is largely divided into two part interfaces: a clipping operation interface and a clipping display interface, wherein the clipping operation interface is usually positioned at the lower half part of the screen of the electronic equipment and is used for providing clipping operation for a user; the clip display interface is typically located in the lower half of the screen of the electronic device.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: after the user clips the video, the user can click a start key to display the clipped video on the upper half of the screen, so that the user previews the clipped video. If the video after editing is needed to be revised when the video after editing is previewed, the previewing is needed to be paused, the video frame image corresponding to the position needing to be revised is found in the editing display interface, the video frame image corresponding to the position needing to be revised is edited, if the video is not paused in time, the video after editing is needed to be replayed, and the video frame image needing to be revised is searched, so that the video editing is time-consuming and has lower efficiency.
Disclosure of Invention
The embodiment of the application aims to provide a video editing method and device, which can solve the problems of time consumption and low efficiency of video editing in the prior art.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a video editing method, including:
playing a target video on a second screen of a folding screen under the condition that a user clips an original video on a first screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, and the first video is a video obtained after the original video is clipped first;
receiving a first input of a target video frame image of the target video by the user;
responding to the first input, and displaying a mark corresponding to the frame image of the target video on a progress bar of the target video;
and according to the mark, performing second clipping on the first video to obtain a second video.
In a second aspect, embodiments of the present application provide a video editing apparatus, including;
the first playing module is used for playing a target video on a second screen of the folding screen under the condition that a user clips an original video on a first screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, and the first video is a video obtained after the original video is clipped first;
the first receiving module is used for receiving a first input of a target video frame image of the target video by the user;
the display module is used for responding to the first input and displaying marks corresponding to the target video frame images on a progress bar of the target video;
and the obtaining module is used for carrying out second clipping on the first video according to the mark so as to obtain a second video.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, under the condition that a user clips an original video on a first screen of a folding screen, playing a target video on a second screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, the first video is a video obtained after the first clipping of the original video, receiving a first input of a target video frame image of the target video by the user, responding to the first input, displaying a mark corresponding to the target video frame image on a progress bar of the target video, and performing second clipping on the first video according to the mark so as to obtain a second video. Therefore, a user can always watch the playing of the target video in the video editing process, and mark video frame images needing to be edited in the target video in the video editing process, so that the second editing of the first video according to the marks is realized, the second video is obtained, and the video editing efficiency is improved.
Drawings
FIG. 1 is a flow chart of steps of a video editing method provided in an embodiment of the present application;
FIG. 2 is a schematic view of a folding screen provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface for displaying corresponding marks of a target video frame image according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a video editing apparatus provided in an embodiment of the present application;
fig. 5 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of another electronic device implementing an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The video editing method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a step flowchart of a video editing method provided in an embodiment of the present application, where the method may include four steps, including the following step 101, step 102, step 103, and step 104:
step 101, playing a target video on a second screen of the folding screen under the condition that a user clips an original video on the first screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, and the first video is a video obtained after the original video is clipped first.
Fig. 2, fig. 2 is a schematic diagram of a folding screen provided in an embodiment of the present application, where the folding screen includes two parts, and a part of the screen is a first screen 201, where an interface identical to an original clipping interface is displayed on the first screen 201, and as shown in fig. 2, a clipping operation window area 202, an area 203 for displaying other clipping tools or special effects bars, and an area 204 for displaying a current clipping point picture are displayed on the first screen 201, where the clipping operation window area 202 provides operations such as video clipping, stitching, and the like for a user, and the area 204 for displaying the current clipping point picture is used to clip which frame of image is displayed in a clipping state; the other part of the screen is a second screen 205, and the second screen 205 is used for independently displaying target video, wherein the target video comprises a first video or a video fragment of the first video, and the first video is obtained by first editing an original video. If the first video is the target video, the length of the first video displayed on the second screen 205 is longer, and if the user wants to display the video clip of the first video on the second screen 205, the user can select a closed-loop area on the progress bar of the first video displayed on the second screen 205, and then the video clip corresponding to the closed-loop area selected on the progress bar can be used as the target video. The target video can be circularly played on the second screen 204, so that the user can watch the target video in the video editing process all the time, and the step 101 can enable the user to watch the target video in the video editing process, compared with the defect that the video editing operation and the video playing operation cannot be performed simultaneously in the prior art, the defect that the user can watch the played target video in the video editing process is overcome.
Step 102, a first input of a target video frame image of a target video is received.
Because the target video is played on the second screen of the folding screen, the user can intuitively watch whether the played target video meets the user requirement, and if the played target video does not meet the user requirement, the user can execute a first input on the target video frame image of the target video, for example, the operation of double-clicking the target video frame image of the target video by the user. For example, when the user observes that the target video played on the second screen is defective, the defective video frame image may be double-clicked when the target video is played to the defective video frame image, and the target video frame image is the defective video frame image.
And step 103, responding to the first input, and displaying a mark corresponding to the frame image of the target video on a progress bar of the target video.
Wherein, in response to the first input, displaying the mark corresponding to the frame image of the target video on the progress bar of the target video can be achieved by:
recording a point in time of the target video frame image in the target video in response to the first input;
determining a target position corresponding to a time point on a progress bar of a target video;
and displaying a mark corresponding to the target video frame image on the target position.
It should be noted that, the mark corresponding to the target video frame image may be a mark in the form of a small circle, and the form of the mark is not limited in the present application. As shown in fig. 3, fig. 3 is an interface schematic diagram of displaying a corresponding mark of a target video frame image according to an embodiment of the present application. The target video frame images may be multi-frames, one corresponding to each marker, as shown in fig. 3 as a marker 301, a marker 302 and a marker 303, and the images to be clipped are marked by the markers 301, the markers 302 and the markers 303.
And 104, performing second clipping on the first video according to the mark to obtain a second video.
Wherein, according to the mark, the second clipping is carried out on the first video to obtain the second video, which can be realized by the following steps:
under the condition that a second input of a user to a target mark in the marks is received, displaying a first thumbnail of a target video frame image corresponding to the target mark and a second thumbnail of a video frame image adjacent to the target video frame image corresponding to the target mark in a first preset area of a first screen, and displaying the target video frame image corresponding to the target mark in a second preset area of the first screen;
receiving a third input by the user of at least one target thumbnail of the first thumbnail and the second thumbnail;
and responding to the third input, and performing second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain a second video.
In this embodiment, if the subsequent user needs to clip the first video again, the target mark in the displayed marks may be clicked directly, and if the second input is, for example, an operation of clicking the target mark by the user, a first thumbnail of the target video frame image corresponding to the target mark and a second thumbnail of the video frame image adjacent to the target video frame image corresponding to the target mark are displayed in the first preset area, and the target video frame image corresponding to the target mark is displayed in the second preset area. The first preset area is, for example, a clipping operation window area 202 as shown in fig. 2, and the second preset area is, for example, an area 204 for displaying a current clipping point screen as shown in fig. 2. If the target mark is a mark 301 as shown in fig. 3, a first thumbnail of a target video frame image corresponding to the mark 301 and a second thumbnail of a video frame image adjacent to the target video frame image corresponding to the mark 301 are displayed in a first preset area, and a target video frame image corresponding to the mark 301 is displayed in a second preset area, where the first thumbnail 302 is, for example, a first rectangular frame in the clipping operation window area 202, and the video frame image adjacent to the target video frame image corresponding to the mark 301 may be a multi-frame image.
After the second preset area displays the target video frame image corresponding to the mark 301, the user may drag the vertical line 206 in the clipping operation window area 202 to select one target thumbnail from the clipping operation window area 202, where the thumbnail at the position where the vertical line stays is the target thumbnail. As shown in fig. 3, if the first thumbnail of the target video frame image corresponding to the mark 301 is shown as the thumbnail 302 in fig. 3, and then the user drags the vertical line 206 and stays on the thumbnail adjacent to the thumbnail 302, the thumbnail adjacent to the thumbnail 302 is the target thumbnail, the region 204 for displaying the current clipping point picture displays the video frame image corresponding to the target thumbnail, and the user can clip the video frame image corresponding to the target thumbnail, that is, clip the first video according to the user's own needs, so as to obtain the second video.
It should be noted that, after the second preset area displays the target video frame image corresponding to the mark 301, the user may also not drag the vertical line 206 in the clipping operation window area 202, in this case, the vertical line 206 stays on the first thumbnail, the second preset area displays the target video frame image corresponding to the mark 301, and the user may clip the target video frame image corresponding to the mark 301 according to his own requirement, that is, clip the first video for obtaining the second video.
Because the situation that the video frame images to be clipped are missed due to too slow or too fast operation when the user executes the first input is considered, the images adjacent to the video frame images to be clipped are marked, in the embodiment, the first thumbnail of the target video frame image corresponding to the target mark and the second thumbnail of the video frame image adjacent to the target video frame image corresponding to the target mark are displayed in the first preset area of the first screen, so that the user is supported to select the target thumbnail from the first thumbnail and the second thumbnail, the video frame image displayed in the second preset area can be changed, the user can conveniently select the target thumbnail to be clipped from the first thumbnail and the second thumbnail, and then the second clipping is performed on the first video according to the video frame image corresponding to the target thumbnail, so that the second video is obtained.
After the target thumbnail is determined, a second editing is carried out on the first video according to the video frame image corresponding to the target thumbnail according to the existing video editing method, so that a second video is obtained.
In the prior art, when video editing is finished, a user cannot watch the edited video, but the user previews the edited video to find out whether the edited video needs to be edited again, if so, the user pauses the previewing or replays the edited video to search for the video frame image needing to be modified again, so that the video editing is time-consuming and has lower video editing efficiency.
In the video editing method provided by the embodiment, under the condition that the user clips the original video on the first screen of the folding screen, playing the target video on the second screen of the folding screen, wherein the target video is determined according to the first video obtained after the first clipping of the original video, receiving the first input of the target video frame image of the target video by the user, responding to the first input, displaying the mark corresponding to the target video frame image on the progress bar of the target video, and performing the second clipping on the first video according to the mark so as to obtain the second video. Therefore, a user can always watch the playing of the target video in the video editing process, and mark video frame images needing to be edited in the target video in the video editing process, so that the second editing of the first video according to the marks is realized, the second video is obtained, and the video editing efficiency is improved.
Optionally, before playing the target video on the second screen of the folding screen, the method may further include the following steps:
playing the first video on the second screen;
taking the first video as the target video; or, receiving a fourth input of the user to a part of the progress bar of the first video, and responding to the fourth input, and taking the video corresponding to the part of the progress bar as the target video.
The fourth input may be an operation of the user to select a part of the progress bars in the progress bars of the first video, and the electronic device responds to the fourth input and uses the video corresponding to the part of the progress bars as the target video. For example, the first video is a video with a time between 0 second and 3 minutes, and the partial progress bar selected by the user corresponds to 1.5 minutes to 2 minutes, and then the video in the time between 1.5 minutes and 2 minutes is taken as the target video.
Optionally, after the second editing is performed on the first video according to the mark to obtain a second video, the method further includes the following steps:
receiving a fifth input of the user to a target control displayed on the folding screen;
clearing the mark on the second video in response to the fifth input;
and rendering the second video after the mark is cleared according to the video attribute information of the second video, and outputting the rendered second video.
After the user plays the second video after checking the clip, if the second video is confirmed to be the final video to be output finally, the user clicks the finish button. The target control may be a completion button displayed on the folding screen, the fifth input may be an operation of clicking the completion button by the user, and the electronic device clears the mark on the second video in response to the fifth input. After the user clicks the completion button, video attribute information such as video format, definition and the like can be displayed on the folding screen for the user to select, the user can select corresponding video attribute information according to the user's own needs, the second video after the mark is cleared is rendered according to the video attribute information of the second video selected by the user, and the rendered second video is output.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a video clipping apparatus provided in an embodiment of the present application, the video clipping apparatus 400 includes:
a first playing module 410, configured to play a target video on a second screen of a folding screen when a user clips an original video on a first screen of the folding screen, where the target video includes a first video or a video segment of the first video, and the first video is a video obtained after the first clipping of the original video;
a first receiving module 420, configured to receive a first input of a target video frame image of the target video by the user;
a display module 430, configured to display, in response to the first input, a mark corresponding to the target video frame image on a progress bar of the target video;
and the obtaining module 440 is configured to perform a second clipping on the first video according to the mark, so as to obtain a second video.
Optionally, the obtaining module 440 is specifically configured to display, in a first preset area of the first screen, a first thumbnail of a target video frame image corresponding to the target mark and a second thumbnail of a video frame image adjacent to the target video frame image corresponding to the target mark, and display, in a second preset area of the first screen, the target video frame image corresponding to the target mark when receiving a second input of the user to the target mark in the marks;
receiving a third input by the user of at least one target thumbnail of the first thumbnail and the second thumbnail;
and responding to the third input, and performing second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain the second video.
The apparatus 400 may further include:
the second playing module is used for playing the first video on the second screen;
the determining module is used for taking the first video as the target video; or, receiving a fourth input of the user to a part of the progress bar of the first video, and responding to the fourth input, and taking the video corresponding to the part of the progress bar as the target video.
The apparatus 400 may further include:
the second receiving module is used for receiving a fifth input of the user to the target control displayed on the folding screen;
a purge module for purging the mark on the second video in response to the fifth input;
and the output module is used for rendering the second video after the mark is cleared according to the video attribute information of the second video and outputting the rendered second video.
Optionally, the display module 430 is specifically configured to record, in response to the first input, a time point of the target video frame image in the target video; determining a target position corresponding to the time point on a progress bar of the target video; and displaying a mark corresponding to the target video frame image on the target position.
The video clipping device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The video clipping apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The video clipping apparatus provided in this embodiment of the present application can implement each process implemented by the video clipping apparatus in the method embodiment of fig. 1, and in order to avoid repetition, details are not repeated here.
Optionally, an electronic device is further provided in the embodiments of the present application, as shown in fig. 5, and fig. 5 is a schematic hardware structure of the electronic device provided in the embodiments of the present application. The electronic device 500 includes a processor 501, and a memory 502 stores a program or an instruction that is stored in the memory 502 and can be executed on the processor 501, where the program or the instruction implements each process of the above information processing method embodiment when executed by the processor 501, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic hardware structure of another electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 610 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 610 is configured to play a target video on a second screen of a folding screen when a user clips an original video on a first screen of the folding screen, where the target video includes a first video or a video segment of the first video, and the first video is obtained after the first clipping of the original video;
receiving a first input of a target video frame image of the target video by the user through a user input unit 607;
responding to the first input, and displaying a mark corresponding to the frame image of the target video on a progress bar of the target video;
and according to the mark, performing second clipping on the first video to obtain a second video.
The processor 610 is further configured to, when receiving a second input of a target mark from the user, display a first thumbnail of a target video frame image corresponding to the target mark and a second thumbnail of a video frame image adjacent to the target video frame image corresponding to the target mark in a first preset area of the first screen, and display a target video frame image corresponding to the target mark in a second preset area of the first screen;
receiving a third input of at least one target thumbnail of the first thumbnail and the second thumbnail by the user through a user input unit 607;
and responding to the third input, and performing second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain the second video.
A processor 610 further configured to play the first video on the second screen;
taking the first video as the target video; or, receiving a fourth input of the user to a part of the progress bar of the first video, and responding to the fourth input, and taking the video corresponding to the part of the progress bar as the target video.
The processor 610 is further configured to receive, through the user input unit 607, a fifth input of the user to a target control displayed on the folding screen;
clearing the mark on the second video in response to the fifth input;
and rendering the second video after the mark is cleared according to the video attribute information of the second video, and outputting the rendered second video.
A processor 610 further configured to record a point in time of the target video frame image in the target video in response to the first input;
determining a target position corresponding to the time point on a progress bar of the target video;
and displaying a mark corresponding to the target video frame image on the target position.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction realizes each process of the embodiment of the video editing method when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no redundant description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, each process of the embodiment of the video editing method is implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (8)
1. A method of video editing, the method comprising:
playing a target video on a second screen of a folding screen under the condition that a user clips an original video on a first screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, and the first video is a video obtained after the original video is clipped first; the first screen comprises a first preset area, and the first preset area comprises a clipping operation window area;
receiving a first input of a target video frame image of the target video by the user;
responding to the first input, and displaying a mark corresponding to the frame image of the target video on a progress bar of the target video;
performing second clipping on the first video according to the mark to obtain a second video;
said second editing said first video according to said mark to obtain a second video, comprising:
displaying a first thumbnail of a target video frame image corresponding to a target mark and a second thumbnail of a video frame image adjacent to the target video frame image corresponding to the target mark in the first preset area of the first screen, and displaying the target video frame image corresponding to the target mark in the second preset area of the first screen when receiving a second input of the target mark from the user;
receiving a third input by the user of at least one target thumbnail of the first thumbnail and the second thumbnail;
and responding to the third input, and performing second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain the second video.
2. The method of claim 1, wherein prior to playing the target video on the second screen of the folding screen, further comprising:
playing the first video on the second screen;
taking the first video as the target video; or, receiving a fourth input of the user to a part of the progress bar of the first video, and responding to the fourth input, and taking the video corresponding to the part of the progress bar as the target video.
3. The method of claim 1, further comprising, after said second editing said first video according to said mark to obtain a second video:
receiving a fifth input of the user to a target control displayed on the folding screen;
clearing the mark on the second video in response to the fifth input;
and rendering the second video after the mark is cleared according to the video attribute information of the second video, and outputting the rendered second video.
4. The method of claim 1, wherein displaying a mark corresponding to the target video frame image on a progress bar of the target video in response to the first input comprises:
responsive to the first input, recording a point in time of the target video frame image in the target video;
determining a target position corresponding to the time point on a progress bar of the target video;
and displaying a mark corresponding to the target video frame image on the target position.
5. A video editing apparatus, the apparatus comprising:
the first playing module is used for playing a target video on a second screen of the folding screen under the condition that a user clips an original video on a first screen of the folding screen, wherein the target video comprises a first video or a video fragment of the first video, and the first video is a video obtained after the original video is clipped first; the first screen comprises a first preset area, and the first preset area comprises a clipping operation window area;
the first receiving module is used for receiving a first input of a target video frame image of the target video by the user;
the display module is used for responding to the first input and displaying marks corresponding to the target video frame images on a progress bar of the target video;
the obtaining module is used for carrying out second clipping on the first video according to the mark so as to obtain a second video;
the obtaining module is specifically configured to, when receiving a second input of the user to a target mark in the marks, display, in the first preset area of the first screen, a first thumbnail of a target video frame image corresponding to the target mark and a second thumbnail of a video frame image adjacent to the target video frame image corresponding to the target mark, and display, in the second preset area of the first screen, the target video frame image corresponding to the target mark; receiving a third input by the user of at least one target thumbnail of the first thumbnail and the second thumbnail;
and responding to the third input, and performing second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain the second video.
6. The apparatus as recited in claim 5, further comprising:
the second playing module is used for playing the first video on the second screen;
the determining module is used for taking the first video as the target video; or, receiving a fourth input of the user to a part of the progress bar of the first video, and responding to the fourth input, and taking the video corresponding to the part of the progress bar as the target video.
7. The apparatus as recited in claim 5, further comprising:
the second receiving module is used for receiving a fifth input of the user to the target control displayed on the folding screen;
a purge module for purging the mark on the second video in response to the fifth input;
and the output module is used for rendering the second video after the mark is cleared according to the video attribute information of the second video and outputting the rendered second video.
8. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the display module is specifically configured to respond to the first input, and record a time point of the target video frame image in the target video; determining a target position corresponding to the time point on a progress bar of the target video; and displaying a mark corresponding to the target video frame image on the target position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110106778.0A CN112887794B (en) | 2021-01-26 | 2021-01-26 | Video editing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110106778.0A CN112887794B (en) | 2021-01-26 | 2021-01-26 | Video editing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112887794A CN112887794A (en) | 2021-06-01 |
CN112887794B true CN112887794B (en) | 2023-07-18 |
Family
ID=76053378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110106778.0A Active CN112887794B (en) | 2021-01-26 | 2021-01-26 | Video editing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112887794B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113891127A (en) * | 2021-08-31 | 2022-01-04 | 维沃移动通信有限公司 | Video editing method and device and electronic equipment |
CN113918522A (en) * | 2021-10-15 | 2022-01-11 | 维沃移动通信有限公司 | File generation method and device and electronic equipment |
CN114302009A (en) * | 2021-12-06 | 2022-04-08 | 维沃移动通信有限公司 | Video processing method, video processing device, electronic equipment and medium |
CN118075558A (en) * | 2022-11-24 | 2024-05-24 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and computer readable medium |
CN116016813A (en) * | 2022-12-27 | 2023-04-25 | 杭州海康威视系统技术有限公司 | Bullet time generation method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1185256A (en) * | 1995-02-23 | 1998-06-17 | 阿卫德技术公司 | Combined editing system and digital moving picture recording system |
GB0507481D0 (en) * | 2005-04-13 | 2005-05-18 | Inventec Multimedia & Telecom | System and method of video editing |
CN111209437A (en) * | 2020-01-13 | 2020-05-29 | 腾讯科技(深圳)有限公司 | Label processing method and device, storage medium and electronic equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060098941A1 (en) * | 2003-04-04 | 2006-05-11 | Sony Corporation 7-35 Kitashinagawa | Video editor and editing method, recording medium, and program |
US20060233514A1 (en) * | 2005-04-14 | 2006-10-19 | Shih-Hsiung Weng | System and method of video editing |
US20140376887A1 (en) * | 2013-06-24 | 2014-12-25 | Adobe Systems Incorporated | Mobile device video selection and edit |
CN104270680A (en) * | 2014-09-30 | 2015-01-07 | 百度在线网络技术(北京)有限公司 | Resource playing control method and device |
CN110381371B (en) * | 2019-07-30 | 2021-08-31 | 维沃移动通信有限公司 | Video editing method and electronic equipment |
CN110868633A (en) * | 2019-11-27 | 2020-03-06 | 维沃移动通信有限公司 | Video processing method and electronic equipment |
CN111757177B (en) * | 2020-06-17 | 2022-12-20 | 维沃移动通信有限公司 | Video clipping method and device |
CN111935504B (en) * | 2020-07-29 | 2023-04-14 | 广州华多网络科技有限公司 | Video production method, device, equipment and storage medium |
-
2021
- 2021-01-26 CN CN202110106778.0A patent/CN112887794B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1185256A (en) * | 1995-02-23 | 1998-06-17 | 阿卫德技术公司 | Combined editing system and digital moving picture recording system |
GB0507481D0 (en) * | 2005-04-13 | 2005-05-18 | Inventec Multimedia & Telecom | System and method of video editing |
CN111209437A (en) * | 2020-01-13 | 2020-05-29 | 腾讯科技(深圳)有限公司 | Label processing method and device, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
提效后期剪辑的错误标记法;陈冬梅;;安徽水利水电职业技术学院学报(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112887794A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112887794B (en) | Video editing method and device | |
CN112153288B (en) | Method, apparatus, device and medium for distributing video or image | |
CN112860163B (en) | Image editing method and device | |
CN112672061B (en) | Video shooting method and device, electronic equipment and medium | |
CN111757177B (en) | Video clipping method and device | |
CN113918522A (en) | File generation method and device and electronic equipment | |
CN112911401A (en) | Video playing method and device | |
US9076489B1 (en) | Circular timeline for video trimming | |
CN114302009A (en) | Video processing method, video processing device, electronic equipment and medium | |
CN113553466A (en) | Page display method, device, medium and computing equipment | |
CN112822394B (en) | Display control method, display control device, electronic equipment and readable storage medium | |
CN113747230B (en) | Audio and video processing method and device, electronic equipment and readable storage medium | |
WO2023179539A1 (en) | Video editing method and apparatus, and electronic device | |
CN112181252A (en) | Screen capturing method and device and electronic equipment | |
CN114025237B (en) | Video generation method and device and electronic equipment | |
CN113709565B (en) | Method and device for recording facial expression of watching video | |
CN113096686B (en) | Audio processing method and device, electronic equipment and storage medium | |
CN115550741A (en) | Video management method and device, electronic equipment and readable storage medium | |
CN115344159A (en) | File processing method and device, electronic equipment and readable storage medium | |
CN112698771B (en) | Display control method, device, electronic equipment and storage medium | |
CN114327173A (en) | Information processing method and device and electronic equipment | |
CN113873319A (en) | Video processing method and device, electronic equipment and storage medium | |
CN112261483A (en) | Video output method and device | |
CN114679546B (en) | Display method and device, electronic equipment and readable storage medium | |
CN115278378B (en) | Information display method, information display device, electronic apparatus, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |