Nothing Special   »   [go: up one dir, main page]

CN112887794A - Video editing method and device - Google Patents

Video editing method and device Download PDF

Info

Publication number
CN112887794A
CN112887794A CN202110106778.0A CN202110106778A CN112887794A CN 112887794 A CN112887794 A CN 112887794A CN 202110106778 A CN202110106778 A CN 202110106778A CN 112887794 A CN112887794 A CN 112887794A
Authority
CN
China
Prior art keywords
video
target
mark
frame image
input
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.)
Granted
Application number
CN202110106778.0A
Other languages
Chinese (zh)
Other versions
CN112887794B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110106778.0A priority Critical patent/CN112887794B/en
Publication of CN112887794A publication Critical patent/CN112887794A/en
Application granted granted Critical
Publication of CN112887794B publication Critical patent/CN112887794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing 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/44016Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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/47217End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring 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 the first video or a video segment of the first video, the first video is a video obtained after the original video is subjected to first clipping, first input of the user to a target video frame image of the target video 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 the first video is subjected to second clipping according to the mark to obtain the second video. Therefore, the user can always watch the playing of the target video in the video clipping process, and the second clipping is carried out on the first video according to the mark to obtain the second video, so that the video clipping efficiency is improved.

Description

Video editing method and device
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, a user can edit videos of interest by a video editing application, for example, clip shot videos by a video clipping application to obtain clipped videos. The clipping interface of current video clip applications is generally divided into two-part interfaces: the system comprises a clipping operation interface and a clipping display interface, wherein the clipping operation interface is usually positioned at the lower half part of a 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 screen, so that the user can preview the clipped video. If the edited video needs to be modified again when previewing the edited video, the previewing needs to be paused, a video frame image corresponding to the position needing to be modified is found in the editing display interface, the video frame image corresponding to the position needing to be modified is edited, and if the previewing does not pause in time, the edited video needs to be replayed to find the video frame image needing to be modified again, so that the video editing is time-consuming and low in efficiency.
Disclosure of Invention
The embodiment of the application aims to provide a video clipping method and a video clipping device, which can solve the problems that video clipping is time-consuming and low in efficiency in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video clipping method, where the method includes:
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 segment of the first video, and the first video is a video obtained after the original video is subjected to first clipping;
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 target video frame image 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, an embodiment of the present application provides a video editing apparatus, including;
the device comprises a first playing module, a second playing module and a third playing module, wherein the first playing module is used for 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, the target video comprises a first video or a video segment of the first video, and the first video is a video obtained after the original video is subjected to first clipping;
the first receiving module is used for receiving a first input of a target video frame image of the target video from the user;
the display module is used for responding to the first input and displaying a mark corresponding to the target video frame image on the 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, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a target video is played 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 the first video or a video segment of the first video, the first video is a video obtained after the original video is subjected to first clipping, a first input of the user on a target video frame image of the target video 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 the first video is subjected to second clipping according to the mark to obtain the second video. Therefore, a user can always watch the playing of the target video in the video clipping process, and mark the video frame image needing to be clipped in the target video in the watching process of the target video, so that the first video is clipped secondly according to the mark to obtain the second video, and the video clipping efficiency is improved.
Drawings
FIG. 1 is a flow chart of the steps of a video clipping method provided in an embodiment of the present application;
FIG. 2 is a schematic view of a foldable screen provided by 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 disclosure;
FIG. 4 is a schematic structural diagram of a video editing apparatus provided in an embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video clipping method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a video clipping method provided in an embodiment of the present application, where the method may include the following four steps 101, 102, 103, and 104:
step 101, 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 the first video or a video segment of the first video, and the first video is a video obtained after the original video is subjected to first clipping.
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, one part of the screen is a first screen 201, and an interface identical to an original clipping interface is displayed on the first screen 201, as shown in fig. 2, a clipping operation window area 202, an area 203 for displaying other clipping tools or special effect bars, and an area 204 for displaying a current clipping image are displayed on the first screen 201, the clipping operation window area 202 provides operations such as video clipping and splicing for a user, and the area 204 for displaying the current clipping image is used to display which image in a clipping state; the other part of the screen is a second screen 205, and the second screen 205 is used for separately displaying a target video, where the target video includes a first video or a video segment of the first video, and the first video is obtained by performing a first cut on an original video. If the first video is the target video, the length of the first video displayed on the second screen 205 is long, and if the user wants to display the video clip of the first video on the second screen 205, the user may select a closed-loop area on the progress bar of the first video displayed on the second screen 205, and the video clip corresponding to the closed-loop area selected on the progress bar may be used as the target video. The target video can be played on the second screen 204 in a circulating manner, so that the user can watch the playing of the target video all the time in the clipping process, and the user can watch the playing of the target video while clipping the video through the step 101.
Step 102, a first input of a target video frame image of a target video is received.
The target video is played on the second screen of the folding screen, so that a user can visually see whether the played target video meets the user requirements, and if the played target video does not meet the user requirements, the user can execute a first input on the target video frame image of the target video, wherein the first input is, for example, an operation of double-clicking the target video frame image of the target video by the user. For example, if the user observes that the target video played on the second screen is defective, the user can double click the defective video frame image when the target video plays the defective video frame image, and the target video frame image is the defective video frame image.
And 103, responding to the first input, and displaying a mark corresponding to the target video frame image on the progress bar of the target video.
In response to the first input, displaying a mark corresponding to the target video frame image on the progress bar of the target video may be implemented as follows:
recording a time point of a 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 a schematic interface diagram for displaying a corresponding mark of a target video frame image according to an embodiment of the present application. The target video frame image may be a plurality of frames, and one target video frame image corresponds to one mark, such as the mark 301, the mark 302, and the mark 303 shown in fig. 3, and the image to be clipped is marked by the mark 301, the mark 302, and the mark 303.
And 104, performing second clipping on the first video according to the mark to obtain a second video.
Wherein, according to the mark, performing a second clipping on the first video to obtain a second video can be realized by the following steps:
under the condition that a second input of a user for 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 of the user on at least one target thumbnail in the first thumbnail and the second thumbnail;
and responding to a third input, and performing second clipping on the first video according to the video frame image corresponding to the target thumbnail to obtain a second video.
In this embodiment, if a subsequent user needs to clip the first video again, the subsequent user may directly click a target mark in the displayed marks, and the second input is, for example, an operation of clicking the target mark by the user, 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 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. Wherein 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 showing the current montage point picture as shown in fig. 2. If the target mark is the mark 301 as shown in fig. 3, a first thumbnail of the target video frame image corresponding to the mark 301 and a second thumbnail of the video frame image adjacent to the target video frame image corresponding to the mark 301 are displayed in a first preset area, and the target video frame image corresponding to the mark 301 is displayed in a second preset area, wherein 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 target video frame image corresponding to the mark 301 is displayed in the second preset area, the user may drag the vertical line 206 in the clipping operation window area 202 to select a 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 the thumbnail 302 shown 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, and the area 204 for displaying the current clipping point picture displays the video frame image corresponding to the target thumbnail, so that the user can clip the video frame image corresponding to the target thumbnail according to the requirement of the user, that is, perform the second clipping on the first video to obtain the second video.
It should be noted that after the target video frame image corresponding to the mark 301 is displayed in the second preset area, 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 the user's needs, that is, perform the second clipping on the first video to obtain the second video.
Since it is considered that the user performs the first input, the video frame image to be clipped may be missed due to too slow or too fast operation, but the images adjacent to the video frame image to be clipped are marked, and therefore, by displaying 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 in the first preset area of the first screen, therefore, the user can 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 needing to be clipped from the first thumbnail and the second thumbnail, and then carrying out second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain a second video.
After the target thumbnail is determined, the second clipping can be performed on the first video according to the video frame image corresponding to the target thumbnail by the existing video clipping method, so as to obtain a second video.
In the prior art, the clipped video cannot be watched while the video is clipped, but after the video is clipped, a user previews the clipped video to find whether the clipped video needs to be re-clipped, and if the video needs to be re-clipped, the user needs to pause the preview or re-play the clipped video to find the video frame image which needs to be re-modified, so that the video clipping is time-consuming and the video clipping efficiency is low.
In the video clipping method provided by this embodiment, when 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, where the target video is determined according to the first video obtained after the original video is subjected to first clipping, a first input of the user to a target video frame image of the target video 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 the first video is subjected to second clipping according to the mark to obtain the second video. Therefore, a user can always watch the playing of the target video in the video clipping process, and mark the video frame image needing to be clipped in the target video in the watching process of the target video, so that the first video is clipped secondly according to the mark to obtain the second video, and the video clipping efficiency is improved.
Optionally, before the target video is played 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 partial progress bar of the first video, and responding to the fourth input to take the video corresponding to the partial progress bar as the target video.
The fourth input may be an operation of circling a part of progress bars in the progress bar of the first video for the user, and the electronic device responds to the fourth input and takes the video corresponding to the part of progress bars as the target video. For example, the first video is a video between 0 second and 3 th minutes, the partial progress bar selected by the user corresponds to the 1.5 th to 2 nd minutes, and the video within the time from the 1.5 th to 2 nd minutes is taken as the target video.
Optionally, after performing the second clipping on the first video according to the mark to obtain a second video, the method may further include 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;
rendering the second video without the mark according to the video attribute information of the second video, and outputting the rendered second video.
When the user plays the second video after checking the clipping, if the second video is confirmed to be the final video to be finally output, the user clicks the completion button. The target control can be a completion button displayed on the folding screen, the fifth input can be an operation of clicking the completion button by a user, and the electronic device responds to the fifth input to clear the mark on the second video. After the user clicks the operation of 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 self requirement, the marked second video 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 device provided in an embodiment of the present application, where the video clipping device 400 includes:
the first playing module 410 is configured to, when a user clips an original video on a first screen of a folding screen, play a target video on a second 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 original video is first clipped;
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, in response to the first input, display a mark corresponding to the target video frame image on a progress bar of the target video;
an obtaining module 440, configured to perform a second clipping on the first video according to the mark to obtain a second video.
Optionally, the obtaining module 440 is specifically configured to, when a second input of a target mark in the marks by the user is received, 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 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 carrying out 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 comprise:
the second playing module is used for playing the first video on the second screen;
a determining module, configured to take the first video as the target video; or receiving a fourth input of the user to a partial progress bar of the first video, and responding to the fourth input to take the video corresponding to the partial progress bar as the target video.
The apparatus 400 may further comprise:
the second receiving module is used for receiving a fifth input of the user to the target control displayed on the folding screen;
a clearing module for clearing 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 removed 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 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.
The video clipping device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video clipping device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video editing apparatus provided in the embodiment of the present application can implement each process implemented by the video editing apparatus in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, as shown in fig. 5, fig. 5 is a schematic diagram of a hardware structure of the electronic device provided in the embodiment 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, and when the program or the instruction is executed by the processor 501, the program or the instruction realizes the processes of the above-mentioned information processing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through 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 those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
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 a video obtained after the original video is first clipped;
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 target video frame image 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, in a case that a second input of a target mark in the marks is received by 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 the 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 carrying out 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 partial progress bar of the first video, and responding to the fourth input to take the video corresponding to the partial progress bar as the target video.
The processor 610 is further configured to receive a fifth input of the target control displayed on the folding screen by the user through the user input unit 607;
clearing the mark on the second video in response to the fifth input;
rendering the second video without the mark according to the video attribute information of the second video, and outputting the rendered second video.
A processor 610, further configured to record a time point 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 embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video clipping method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video 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. A touch panel 6071, also referred to as 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, and a joystick, 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, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which 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 present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above video editing method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of video clipping, the method comprising:
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 segment of the first video, and the first video is a video obtained after the original video is subjected to first clipping;
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 target video frame image 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.
2. The method of claim 1, wherein said second clipping the first video to obtain a second video according to the mark comprises:
under the condition that a second input of a target mark in the marks by the user 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 the 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 carrying out second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain the second video.
3. The method of claim 1, wherein prior to playing the target video on the second screen of the collapsed 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 partial progress bar of the first video, and responding to the fourth input to take the video corresponding to the partial progress bar as the target video.
4. The method of claim 1, further comprising, after said second clipping of said first video to obtain a second video according to said marking:
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;
rendering the second video without the mark according to the video attribute information of the second video, and outputting the rendered second video.
5. The method of claim 1, wherein the displaying a corresponding mark of the target video frame image on the progress bar of the target video in response to the first input comprises:
recording a time point 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.
6. A video clipping apparatus, characterized in that the apparatus comprises:
the device comprises a first playing module, a second playing module and a third playing module, wherein the first playing module is used for 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, the target video comprises a first video or a video segment of the first video, and the first video is a video obtained after the original video is subjected to first clipping;
the first receiving module is used for receiving a first input of a target video frame image of the target video from the user;
the display module is used for responding to the first input and displaying a mark corresponding to the target video frame image on the 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.
7. The apparatus of claim 6,
the obtaining module is specifically configured to, when a second input of a target mark in the marks by the user is received, 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 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 carrying out second clipping on the first video according to the video frame image corresponding to the target thumbnail so as to obtain the second video.
8. The apparatus of claim 6, further comprising:
the second playing module is used for playing the first video on the second screen;
a determining module, configured to take the first video as the target video; or receiving a fourth input of the user to a partial progress bar of the first video, and responding to the fourth input to take the video corresponding to the partial progress bar as the target video.
9. The apparatus of claim 6, 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 clearing module for clearing 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 removed according to the video attribute information of the second video and outputting the rendered second video.
10. The apparatus of claim 6,
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.
CN202110106778.0A 2021-01-26 2021-01-26 Video editing method and device Active CN112887794B (en)

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 true CN112887794A (en) 2021-06-01
CN112887794B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN116016813A (en) * 2022-12-27 2023-04-25 杭州海康威视系统技术有限公司 Bullet time generation method, device and storage medium
WO2024109261A1 (en) * 2022-11-24 2024-05-30 Oppo广东移动通信有限公司 Image processing method and apparatus, and electronic device and computer-readable medium

Citations (11)

* Cited by examiner, † Cited by third party
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
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
CN110381371A (en) * 2019-07-30 2019-10-25 维沃移动通信有限公司 A kind of video clipping method and electronic equipment
CN110868633A (en) * 2019-11-27 2020-03-06 维沃移动通信有限公司 Video processing method and electronic equipment
CN111209437A (en) * 2020-01-13 2020-05-29 腾讯科技(深圳)有限公司 Label processing method and device, storage medium and electronic equipment
CN111757177A (en) * 2020-06-17 2020-10-09 维沃移动通信有限公司 Video clipping method and device
CN111935504A (en) * 2020-07-29 2020-11-13 广州华多网络科技有限公司 Video production method, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
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
US20060098941A1 (en) * 2003-04-04 2006-05-11 Sony Corporation 7-35 Kitashinagawa Video editor and editing method, recording medium, and program
GB0507481D0 (en) * 2005-04-13 2005-05-18 Inventec Multimedia & Telecom System and method of video editing
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
CN110381371A (en) * 2019-07-30 2019-10-25 维沃移动通信有限公司 A kind of video clipping method and electronic equipment
CN110868633A (en) * 2019-11-27 2020-03-06 维沃移动通信有限公司 Video processing method and electronic equipment
CN111209437A (en) * 2020-01-13 2020-05-29 腾讯科技(深圳)有限公司 Label processing method and device, storage medium and electronic equipment
CN111757177A (en) * 2020-06-17 2020-10-09 维沃移动通信有限公司 Video clipping method and device
CN111935504A (en) * 2020-07-29 2020-11-13 广州华多网络科技有限公司 Video production method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈冬梅;: "提效后期剪辑的错误标记法", 安徽水利水电职业技术学院学报, no. 01 *

Cited By (6)

* Cited by examiner, † Cited by third party
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
WO2023103949A1 (en) * 2021-12-06 2023-06-15 维沃移动通信有限公司 Video processing method and apparatus, electronic device and medium
WO2024109261A1 (en) * 2022-11-24 2024-05-30 Oppo广东移动通信有限公司 Image processing method and apparatus, and electronic device and computer-readable medium
CN116016813A (en) * 2022-12-27 2023-04-25 杭州海康威视系统技术有限公司 Bullet time generation method, device and storage medium

Also Published As

Publication number Publication date
CN112887794B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
CN112887794B (en) Video editing method and device
CN112860163B (en) Image editing method and device
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN111757177B (en) Video clipping method and device
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN113852757B (en) Video processing method, device, equipment and storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN113296661B (en) Image processing method, device, electronic equipment and readable storage medium
CN112836086A (en) Video processing method and device and electronic equipment
CN113918522A (en) File generation method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112181252B (en) Screen capturing method and device and electronic equipment
CN112822394B (en) Display control method, display control device, electronic equipment and readable storage medium
WO2023179539A1 (en) Video editing method and apparatus, and electronic device
CN113709565B (en) Method and device for recording facial expression of watching video
CN113726953B (en) Display content acquisition method and device
CN113852756B (en) Image acquisition method, device, equipment and storage medium
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN115550741A (en) Video management method and device, electronic equipment and readable storage medium
CN113873319A (en) Video processing method and device, electronic equipment and storage medium
CN114860135A (en) Screenshot method and device
CN113721816A (en) Video processing method and device
CN112261483A (en) Video output method and device
CN111638845B (en) Animation element obtaining method and device and electronic equipment
CN114063863B (en) Video processing 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
GR01 Patent grant
GR01 Patent grant