[go: up one dir, main page]

CN114125325A - Video shooting method and device and electronic equipment - Google Patents

Video shooting method and device and electronic equipment Download PDF

Info

Publication number
CN114125325A
CN114125325A CN202111445300.7A CN202111445300A CN114125325A CN 114125325 A CN114125325 A CN 114125325A CN 202111445300 A CN202111445300 A CN 202111445300A CN 114125325 A CN114125325 A CN 114125325A
Authority
CN
China
Prior art keywords
video
shooting
input
continuous shooting
target
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
CN202111445300.7A
Other languages
Chinese (zh)
Other versions
CN114125325B (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 CN202111445300.7A priority Critical patent/CN114125325B/en
Publication of CN114125325A publication Critical patent/CN114125325A/en
Application granted granted Critical
Publication of CN114125325B publication Critical patent/CN114125325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application discloses a video shooting method and device and electronic equipment, and belongs to the technical field of video shooting. The method comprises the following steps: selecting a first video, and receiving a first input of a video operation interface of the first video; and responding to the first input, performing real-time shooting, and generating a second video, wherein the second video comprises at least part of the first video.

Description

Video shooting method and device and electronic equipment
Technical Field
The application belongs to the field of video processing, and particularly relates to a video shooting method and device and electronic equipment.
Background
At present, in the prior art, video software is required to be used for carrying out clipping and splicing processing on a newly shot video and an existing video, and the problems of complexity and time consumption in the operation process and inconvenience for users exist.
Disclosure of Invention
The embodiment of the application aims to provide a video shooting method, a video shooting device and electronic equipment, and can solve the problems that an existing video shooting mode is complicated in operation process, consumes time and is inconvenient for a user to use.
In a first aspect, an embodiment of the present application provides a video shooting method, where the method includes:
selecting a first video; receiving a first input of a video operation interface of the first video;
and responding to the first input, performing real-time shooting, and generating a second video, wherein the second video comprises at least part of the first video.
In a second aspect, an embodiment of the present application provides a video shooting apparatus, including:
a selection module for selecting a first video;
the first receiving module is used for receiving first input of a video operation interface of the first video;
and the first response module is used for responding to the first input, carrying out real-time shooting and generating a second video, wherein the second video comprises at least part of the first 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 first video is selected, and a first input of a video operation interface of the first video is received; enabling real-time capture in response to the first input, generating a second video comprising at least a portion of the first video. Therefore, continuous shooting can be directly carried out on the basis of the first video, the second video is directly generated on the basis of the existing video, a user does not need to clip by using other video software, and the video editing device is convenient to operate and convenient for the user to use.
Drawings
FIG. 1 is a flow chart of a video capture method of an embodiment of the present application;
FIG. 2 is a schematic view of a video capture interface according to an embodiment of the present application;
FIG. 3 is a schematic view of a video operation interface according to an embodiment of the present application;
FIG. 4 is a second schematic view of a video operation interface according to an embodiment of the present application;
FIG. 5 is a third schematic view of a video operation interface according to an embodiment of the present application;
FIG. 6 is a fourth schematic view of a video operation interface according to an embodiment of the present application;
FIG. 7 is a block diagram of a video capture device of an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 shooting method, the video shooting device and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, the present application provides a video capture method comprising:
step 101, a first video is selected.
In this step, selecting the first video includes selecting or opening the first video.
Wherein opening the first video comprises: starting a camera, and opening the first video through a video shooting control interface; or opening the first video from an album.
In a specific example, after the camera is opened and a video is selected, the video recording interface a shown in fig. 2 is entered, the call entry b of the album at the lower left corner in the video recording interface a enters the album folder, and the stored or finished captured first video is found from the album folder, or the stored or finished captured first video can be directly found from the storage location (e.g., the album folder) of the video.
Step 102, receiving a first input of a video operation interface of a first video.
In this step, the first input is used to perform a continuous shooting selection on the first video, and the video operation interface includes: the user can share, compress, beautify, clip, delete and the like the video. The video operation interface can also be a universal interface, different videos are opened, and each video corresponds to at least one video operation interface.
Illustratively, a user opens a first video, enters a video editing interface, and receives a first input from the user for a continuous shooting selection in the video editing interface.
Illustratively, after entering the album and opening and playing the first video, a first input of the user to the video playing interface is received during the video playing process.
The first input is a preset input, and the first input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the first input may be one of the above-mentioned inputs, or may also be a combination input of two or more of the above-mentioned inputs.
And 103, responding to the first input, carrying out real-time shooting, and generating a second video, wherein the second video comprises at least part of the first video.
In the step, a camera of a native camera of the electronic device is started in response to the first input, and real-time continuous shooting and recording are performed on the basis of the first video. Wherein, based on the first video means based on the entire first video or a partial video clip of the first video.
Note that the first video includes all videos that have finished shooting. In other words, the first video is a video that has exited the video capture interface. The first video is an inventory video stored in the electronic device or in the cloud. The first video comprises a video shot by the user and a video downloaded by the user. The videos downloaded by the user include videos shot by others.
In the above embodiment, after the first video is shot, if the user wants to additionally insert a segment of video to be shot into the first video at a position before, after or in the middle of the first video, the first input to the video operation interface of the first video may be received; the camera is started in response to the first input, real-time shooting is carried out, and a second video containing at least part of the first video is generated. Therefore, the user can conveniently and directly continue to add the shooting to the video which is shot in the past or the locally stored video, the operation is simple, the skipping or the downloading of other software are not needed, the continuous shooting of the first video and the generation of the second video can be realized only by the original function of the camera, the operation is convenient, and the user can use the video conveniently.
In an embodiment, the step 102 includes:
and responding to the first input, acquiring a continuous shooting starting position in the first video, shooting from the continuous shooting starting position in real time, and generating a second video, wherein the second video comprises at least part of the first video.
Wherein, the continuous shooting starting position comprises one of the following positions: the starting position of the first video, the ending position of the first video, the position corresponding to the target playing time of the first video and the position corresponding to the target image frame of the first video.
Illustratively, as one implementation, the first input may be associated with a continuous shooting start position; if the first input is click input, the corresponding continuous shooting starting position is the starting position of the first video; when the first input is press input, the corresponding continuous shooting starting position is the end position of the first video; when the first input is long press input and slide input, the long press input is used for triggering user-defined selection of the continuous shooting starting position, and the slide input is used for selecting and confirming the continuous shooting starting position.
Illustratively, as another implementation manner, the first input is an input operation of a user on a video playing interface of the first video, as shown in fig. 3, for example, when the user plays the first video, the playing is paused at a target playing video frame or a target playing time. If the first input is received, the image frame or the playing time position (e.g., the pause playing interface g in fig. 3) corresponding to the pause playing interface is determined as the continuous shooting start position.
Illustratively, as a further implementation manner, the first input is an input operation on a target control in the video operation interface, wherein the target control is used for triggering the continuous shooting and the selection of the starting position of the continuous shooting.
Specifically, in an embodiment, the step 101 includes:
a first input to a continuous shooting selection control in a video operational interface of a first video is received.
As shown in fig. 4, the continuous shooting selection control includes at least one of:
a first sub-control d1, where the first sub-control is used to receive user selection input that the continuous shooting start position is the start position of the first video.
A second sub-control d2, where the second sub-control is used to receive a user selection input that the continuous shooting start position is the end position of the first video.
A third sub-control d3 for receiving user selection input of a target playback time of the first video. And the position corresponding to the target playing time is the continuous shooting starting position.
A fourth sub-control d4 for triggering display of a selection interface including a plurality of image frames of the first video. Wherein the target image frame selected by the first input is the continuous shooting starting position.
In an example, as shown in fig. 4, as an implementation manner, a continuous shooting button d is displayed in the video operation interface c, and after the user clicks the continuous shooting button d, the first control e1, the second control e2, the third control e3, and the fourth control e4 are displayed. Or, as another implementation manner, an input operation (such as a sliding input, a long-press input, or a pressing input of a preset track, etc.) of the video operation interface c by the user is received, and the first control e1, the second control e2, the third control e3, and the fourth control e4 are displayed.
In an example, after selecting the third sub-control d3, a target playing time is input in the third sub-control d3, such as inputting "10 th second", which indicates that the continuous shooting content is inserted or spliced at the 10 th second. It is to be understood that, in this manner, the first input includes a selection input to the third sub-control d3 and an input operation of the target play time.
In one example, upon selection of the fourth sub-control d4, a selection interface of multiple image frames as shown in fig. 5 is displayed, and by sliding the progress bar of the video playback, the target image frame f is selected and positioned. It will be appreciated that in this manner, the first input comprises a selection input to the fourth sub-control d4 and a selection input to the target image frame f.
In the above embodiment, the continuous shooting start position of the first video is acquired, and the second video including at least part of the first video is generated by shooting in real time from the continuous shooting start position, so that the user can conveniently select the insertion position of the continuous shooting video, and various video continuous shooting requirements of the user are met.
In one embodiment, taking a live shot in response to the first input, generating a second video that includes at least a portion of the first video, comprises:
and responding to the first input, acquiring a continuous shooting starting position in the first video, starting a camera and displaying a video shooting control interface.
And continuously shooting and recording the first video from the continuously shooting starting position based on the video shooting control interface to generate the second video.
In this embodiment, the video shooting control interface may be used for shooting parameter adjustment and shooting control, so that through the video shooting control interface, a user may select when to start continuous shooting recording based on the video shooting control interface, and may also adjust the shooting effect (such as filter style, beauty effect, daytime mode, nighttime mode, etc.) of a continuous shooting video based on the video shooting control interface before starting continuous shooting, or preview and adjust the video shooting angle based on the video shooting control interface, etc.
It should be noted that, when the continuous shooting of the video is started, the continuous shooting of the video and the first video may be performed by default using the same shooting parameters, which is convenient for unifying the shooting style of the second video and simplifies the user processing steps. Wherein, shoot the parameter and include: start or off of a flash, a shooting mode, a filter style, a beauty effect, and the like. The user can adjust the shooting parameters of the continuous shooting video based on the shooting control interface, and the personalized requirements of the user are met.
Specifically, based on the video shooting control interface, the continuous shooting and recording of the first video is started from the continuous shooting start position, and the second video is generated, including:
and receiving a second input of the video shooting control interface from the user.
Responding to the second input, starting to continuously shoot and record the first video from the continuous shooting starting position, and generating the second video.
The second input is a preset input, and the second input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the first input may be one of the above-mentioned inputs, or may also be a combination input of two or more of the above-mentioned inputs.
Illustratively, as shown in fig. 6, a shooting control h1 and a shooting start time h2 (e.g. 00:29 seconds in fig. 6) are displayed in the video shooting control interface h, and when a second input of the shooting control h1 by the user is received, the first video is continuously shot and recorded from 00:29 seconds of the first video, and the second video is generated.
For example, the second input may also be a double-click input to the video shooting control interface h, and in response to the double-click input, the second video is generated by performing continuous shooting and recording on the first video from the continuous shooting starting position of the first video.
In one embodiment, in response to the first input, taking a live shot to generate a second video, the second video including at least a portion of the first video, includes the following three cases:
situation one
And under the condition that the continuous shooting starting position is the starting position of the first video, responding to the first input, acquiring a starting frame or starting time of the first video, starting the camera to shoot in real time, and after the shooting is finished, placing the shot video before the starting frame or before the starting time to generate the second video, wherein the second video comprises the first video.
In an exemplary scene, a landscape video is shot during the travel, after the travel is finished, if some starting introduction videos of the travel are wanted at the video starting supplement point, at this time, the first sub-control d1 selects the starting position for continuous shooting, additional shooting can be carried out at the starting part of the first video, and a complete video containing the introduction videos and the landscape video is automatically obtained after the continuous shooting is finished. In this process, the user does not have to switch to a video clip interface or clip application.
Case two: when the continuous shooting starting position is the target position of the first video, the method comprises the following two modes:
mode 1: responding to the first input, acquiring an image frame or playing time corresponding to the target position, starting the camera to shoot in real time, after the shooting is finished, placing the shot video behind the image frame or playing time corresponding to the target position, sequentially synthesizing a part in front of the target position of the first video, the shot video and a part behind the target position of the first video, and generating a second video, wherein the second video comprises the first video; the target position is a position corresponding to a target playing time between the starting position and the ending position of the first video or a position corresponding to a target image frame.
In the method 1, it is possible to insert a video clip to be continuously shot into the first video at the start position of the continuous shooting. Therefore, when a user needs to additionally shoot some content at a certain position in the first video, the video clip which is continuously shot at the certain position in the first video can be added without clipping the first video through clipping software.
Mode 2: responding to the first input, acquiring an image frame or playing time corresponding to the target position, starting the camera to shoot in real time, placing the shot video at the target position after the shooting is finished, sequentially synthesizing a part in front of the target position of the first video and continuously shooting the video, and generating a second video, wherein the second video comprises the first video; the target position is a position corresponding to a target playing time between a starting position and an ending position of the first video and/or a position corresponding to a target image frame.
In the method 2, the video clip after the continuous shooting start position can be automatically deleted, and the video clip before the continuous shooting start position and the continuously shot video clip can be synthesized into the second video. Therefore, the user can directly realize the splicing and synthesis of partial segments of the first video and the continuously shot video without cutting the first video in advance, and the operation process of the user is convenient.
Situation three
And when the continuous shooting starting position is the end position of the first video, responding to the first input, acquiring the last frame or the end time in the first video, starting the camera to shoot in real time, and after the end, placing the shot video behind the last frame or behind the end time, and generating the second video, wherein the second video comprises the first video.
In an exemplary scenario, when a celebration student gives a friend a celebration, after a section of first video is shot, some current unwanted records need to be skipped, the shooting can be directly finished, and the first video is stored. When the shooting is required to be continued subsequently, the video operation interface of the first video is entered, and the ending position is selected through the second sub-control d2 for continuous shooting, so that the continuous shooting of the first video can be realized.
In the embodiment, the user can conveniently and directly continue to add the shot content video or the locally stored video after the shooting is finished, the operation is simple, other software does not need to be jumped or downloaded, the original functions of the camera can be supported, various requirements of multiple users are met, the operation steps of the user are facilitated, and the user experience is improved.
It should be noted that, in the video shooting method provided in the embodiment of the present application, the execution subject may be a video shooting device, or a control module in the video shooting device for executing the video shooting method. In the embodiment of the present application, a video shooting method executed by a video shooting device is taken as an example, and the video shooting device provided in the embodiment of the present application is described.
As shown in fig. 7, the present application provides a video camera 700 comprising:
a selection module 701, configured to select a first video;
a first receiving module 702, configured to receive a first input to a video operation interface of a first video;
a first response module 703, configured to perform real-time shooting in response to the first input, and generate a second video, where the second video includes at least a portion of the first video.
Optionally, the first response module 702 includes:
and the first response submodule is used for responding to the first input, acquiring a continuous shooting starting position in the first video, starting a camera, carrying out real-time shooting and continuous shooting recording from the continuous shooting starting position, and generating a second video, wherein the second video comprises at least part of the first video.
Optionally, the continuous shooting start position includes one of the following: the starting position of the first video, the ending position of the first video, the position corresponding to the target playing time of the first video and the position corresponding to the target image frame of the first video.
Optionally, the first receiving module 701 includes:
and the first receiving submodule is used for receiving first input of a continuous shooting selection control in the video operation interface of the first video.
Wherein the continuous shooting selection control comprises at least one of the following:
and the first sub-control is used for receiving selection input of a user, wherein the continuous shooting starting position is the starting position of the first video.
And the second sub-control is used for receiving selection input of the user, wherein the continuous shooting starting position is the ending position of the first video.
A third sub-control for receiving a user selection input of a target playing time of the first video; and the position corresponding to the target playing time is the continuous shooting starting position.
A fourth sub-control to trigger display of a selection interface including a plurality of image frames of the first video; wherein the target image frame selected by the first input is the continuous shooting starting position.
Optionally, the first response module includes:
and the first response unit is used for responding to the first input under the condition that the continuous shooting starting position is the starting position of the first video, acquiring a starting frame or starting time of the first video, starting the camera to shoot in real time, and after the shooting is finished, placing the shot video before the starting frame or before the starting time to generate the second video, wherein the second video comprises the first video.
A second response unit, configured to, in a case where the continuous shooting start position is a target position of the first video, respond to the first input, obtain an image frame or play time corresponding to the target position, start the camera to perform real-time shooting, place a shot video after the image frame or play time corresponding to the target position, sequentially combine a portion before the target position of the first video, the shot video, and a portion after the target position of the first video to generate a second video, where the second video includes the first video; the target position is a position corresponding to a target playing time between the starting position and the ending position of the first video or a position corresponding to a target image frame.
And a third response unit, configured to, when the continuous shooting start position is an end position of the first video, respond to the first input, acquire a last frame or an end time in the first video, start the camera to perform real-time shooting, after the end, place the shot video behind the last frame or behind the end time, and generate the second video, where the second video includes the first video.
The video shooting device 700 combines and receives a first input of a video operation interface of a first video by selecting the first video; real-time shooting is realized, and a second video containing at least part of the first video is generated. Therefore, the user can conveniently and directly continue to add the shooting to the video which is shot in the past or the locally stored video, the operation is simple, the skipping or the downloading of other software are not needed, the continuous shooting of the first video and the generation of the second video can be realized only by the original function of the camera, the operation is convenient, and the user can use the video conveniently.
The video shooting 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 capture device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 7, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above-mentioned video shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 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 not repeated here.
Wherein the user input unit 907 is used for selecting the first video.
The user input unit 907 is further configured to receive a first input to the video operation interface of the first video.
The processor 910 is specifically configured to perform real-time shooting in response to the first input, and generate a second video, where the second video includes at least a portion of the first video.
The electronic device 900 selects the first video and receives a first input of a video operation interface of the first video; the camera is started in response to the first input, real-time shooting is carried out, and a second video containing at least part of the first video is generated. Therefore, the user can conveniently and directly continue to add the shooting to the video which is shot in the past or the locally stored video, the operation is simple, the skipping or the downloading of other software are not needed, the continuous shooting of the first video and the generation of the second video can be realized only by the original function of the camera, the operation is convenient, and the user can use the video conveniently.
Optionally, the processor 910 is specifically configured to, in response to the first input, determine a continuous shooting start position in the first video, start a camera, perform real-time shooting from the continuous shooting start position to perform continuous shooting recording, and generate a second video, where the second video includes at least a portion of the first video.
Optionally, the continuous shooting start position includes one of the following: the starting position of the first video, the ending position of the first video, the position corresponding to the target playing time of the first video and the position corresponding to the target image frame of the first video.
Optionally, the user input unit 907 is specifically configured to: receiving a first input of a continuous shooting selection control in a video operation interface of the first video; wherein the continuous shooting selection control comprises at least one of the following:
and the first sub-control is used for receiving selection input of a user, wherein the continuous shooting starting position is the starting position of the first video.
And the second sub-control is used for receiving selection input of the user, wherein the continuous shooting starting position is the ending position of the first video.
A third sub-control for receiving a user selection input of a target playing time of the first video; and the position corresponding to the target playing time is the continuous shooting starting position.
A fourth sub-control to trigger display of a selection interface including a plurality of image frames of the first video; wherein the target image frame selected by the first input is the continuous shooting starting position.
Optionally, the processor 910 is further specifically configured to: and under the condition that the continuous shooting starting position is the starting position of the first video, responding to the first input, acquiring a starting frame or starting time of the first video, starting the camera to shoot in real time, and after the shooting is finished, placing the shot video before the starting frame or before the starting time to generate a second video, wherein the second video comprises the first video.
Optionally, the processor 910 is further specifically configured to: under the condition that the continuous shooting starting position is the target position of the first video, responding to the first input, acquiring an image frame or playing time corresponding to the target position, starting the camera to shoot in real time, after the shooting is finished, placing the shot video behind the image frame or playing time corresponding to the target position, sequentially synthesizing a part before the target position of the first video, the shot video and a part behind the target position of the first video, and generating a second video, wherein the second video comprises the first video; the target position is a position corresponding to a target playing time between the starting position and the ending position of the first video or a position corresponding to a target image frame.
Optionally, the processor 910 is further specifically configured to: and when the continuous shooting starting position is the end position of the first video, responding to the first input, acquiring the last frame or the end time in the first video, starting the camera to shoot in real time, and after the end, placing the shot video behind the last frame or behind the end time, and generating a second video, wherein the second video comprises the first video.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 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. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides 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 shooting 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 described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
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 computer 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, 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 (12)

1.一种视频拍摄方法,其特征在于,包括:1. a video shooting method, is characterized in that, comprises: 选择第一视频;select the first video; 接收对所述第一视频的视频操作界面的第一输入;receiving a first input on the video operation interface of the first video; 响应于所述第一输入,进行实时拍摄,生成第二视频,所述第二视频包含所述第一视频的至少部分。In response to the first input, real-time capture is performed to generate a second video, the second video including at least a portion of the first video. 2.根据权利要求1所述的视频拍摄方法,其特征在于,所述响应于所述第一输入,进行实时拍摄,生成第二视频,所述第二视频包含所述第一视频的至少部分,包括:2 . The video shooting method according to claim 1 , wherein in response to the first input, real-time shooting is performed to generate a second video, and the second video includes at least a part of the first video. 3 . ,include: 响应于所述第一输入,获取所述第一视频中的续拍起始位置,从所述续拍起始位置进行实时拍摄,生成第二视频,所述第二视频包含所述第一视频的至少部分。In response to the first input, obtain the starting position of the continuous shooting in the first video, perform real-time shooting from the starting position of the continuous shooting, and generate a second video, and the second video includes the first video at least part of it. 3.根据权利要求2所述的视频拍摄方法,其特征在于,所述续拍起始位置包括以下其中之一:所述第一视频的起始位置、所述第一视频的结束位置、所述第一视频的目标播放时间对应的位置和所述第一视频的目标图像帧对应的位置。3 . The video shooting method according to claim 2 , wherein the continuous shooting start position comprises one of the following: the start position of the first video, the end position of the first video, the The position corresponding to the target playback time of the first video and the position corresponding to the target image frame of the first video. 4.根据权利要求3所述的视频拍摄方法,其特征在于,所述接收对所述第一视频的视频操作界面的第一输入,包括:4. The video shooting method according to claim 3, wherein the receiving the first input of the video operation interface of the first video comprises: 接收对所述第一视频的视频操作界面中的续拍选择控件的第一输入;receiving the first input of the continuous shooting selection control in the video operation interface of the first video; 其中,所述续拍选择控件包括以下至少之一:Wherein, the continuous shot selection control includes at least one of the following: 第一子控件,所述第一子控件用于接收用户对所述续拍起始位置为所述第一视频的起始位置的选择输入;a first sub-control, the first sub-control is used to receive a user's selection input that the start position of the continuous shooting is the start position of the first video; 第二子控件,所述第二子控件用于接收用户对所述续拍起始位置为所述第一视频的结束位置的选择输入;a second sub-control, the second sub-control is configured to receive a user's selection input that the start position of the continuous shooting is the end position of the first video; 第三子控件,所述第三子控件用于接收用户对所述第一视频的目标播放时间的选择输入;其中,所述目标播放时间对应的位置为所述续拍起始位置;The third sub-control, the third sub-control is used to receive the user's selection input of the target playback time of the first video; wherein, the position corresponding to the target playback time is the start position of the continuous shooting; 第四子控件,所述第四子控件用于触发显示包括所述第一视频的多个图像帧的选择界面;其中,所述第一输入所选择的目标图像帧为所述续拍起始位置。a fourth sub-control, the fourth sub-control is used to trigger the display of a selection interface including a plurality of image frames of the first video; wherein, the target image frame selected by the first input is the start of the continuous shooting Location. 5.根据权利要求3所述的视频拍摄方法,其特征在于,所述响应于所述第一输入,获取所述第一视频中的续拍起始位置,从所述续拍起始位置进行实时拍摄,生成第二视频,所述第二视频包含所述第一视频的至少部分,包括:5 . The video shooting method according to claim 3 , wherein, in response to the first input, obtaining a start position of a continuous shooting in the first video, and performing the shooting from the starting position of the continuous shooting. 6 . Real-time shooting to generate a second video, the second video includes at least part of the first video, including: 在所述续拍起始位置为所述第一视频的起始位置的情况下,响应于所述第一输入,获取所述第一视频的起始帧或起始时刻,启动摄像头进行实时拍摄,结束后将拍摄的视频置于所述起始帧之前或起始时刻之前,生成所述第二视频,所述第二视频包含所述第一视频;In the case where the starting position of the continuous shooting is the starting position of the first video, in response to the first input, the starting frame or the starting moment of the first video is acquired, and the camera is started to perform real-time shooting , after the end, the captured video is placed before the start frame or before the start moment, and the second video is generated, and the second video includes the first video; 在所述续拍起始位置为所述第一视频的目标位置的情况下,响应于所述第一输入,获取所述目标位置对应的图像帧或播放时间,启动摄像头进行实时拍摄,结束后将拍摄的视频置于所述目标位置对应的图像帧或播放时间之后,依序合成所述第一视频的目标位置之前的部分、所述拍摄的视频以及所述第一视频的目标位置之后的部分,生成所述第二视频,所述第二视频包含所述第一视频;其中,所述目标位置为所述第一视频的起始位置与结束位置之间的目标播放时间对应的位置或目标图像帧对应的位置;In the case where the starting position of the continuous shooting is the target position of the first video, in response to the first input, obtain the image frame or playback time corresponding to the target position, start the camera to shoot in real time, and after the end Place the captured video after the image frame or playback time corresponding to the target position, and sequentially synthesize the part before the target position of the first video, the captured video, and the video after the target position of the first video. part, generate the second video, and the second video includes the first video; wherein, the target position is the position corresponding to the target playback time between the start position and the end position of the first video or The position corresponding to the target image frame; 在所述续拍起始位置为所述第一视频的结束位置时,响应于所述第一输入,获取所述第一视频中的最末帧或结束时刻,启动摄像头进行实时拍摄,结束后将拍摄的视频置于所述最末帧之后或结束时刻之后,生成所述第二视频,所述第二视频包含所述第一视频。When the start position of the continuous shooting is the end position of the first video, in response to the first input, the last frame or the end moment in the first video is obtained, and the camera is started to shoot in real time. The captured video is placed after the last frame or after the end time, and the second video is generated, and the second video includes the first video. 6.一种视频拍摄装置,其特征在于,包括:6. A video shooting device, characterized in that, comprising: 选择模块,用于选择第一视频;a selection module for selecting the first video; 第一接收模块,用于接收对所述第一视频的视频操作界面的第一输入;a first receiving module, configured to receive a first input to the video operation interface of the first video; 第一响应模块,用于响应于所述第一输入,进行实时拍摄,生成第二视频,所述第二视频包含所述第一视频的至少部分。A first response module, configured to perform real-time shooting in response to the first input to generate a second video, where the second video includes at least a part of the first video. 7.根据权利要求6所述的视频拍摄装置,其特征在于,所述第一响应模块,包括:7. The video shooting device according to claim 6, wherein the first response module comprises: 第一响应子模块,用于响应于所述第一输入,获取所述第一视频中的续拍起始位置,从所述续拍起始位置进行实时拍摄,生成第二视频,所述第二视频包含所述第一视频的至少部分。The first response sub-module is configured to, in response to the first input, obtain the start position of the continuous shooting in the first video, perform real-time shooting from the starting position of the continuous shooting, and generate a second video, the first video is The second video includes at least a portion of the first video. 8.根据权利要求7所述的视频拍摄装置,其特征在于,所述续拍起始位置包括以下其中之一:所述第一视频的起始位置、所述第一视频的结束位置、所述第一视频的目标播放时间对应的位置和所述第一视频的目标图像帧对应的位置。8 . The video shooting device according to claim 7 , wherein the starting position of the continuous shooting comprises one of the following: the starting position of the first video, the ending position of the first video, the The position corresponding to the target playback time of the first video and the position corresponding to the target image frame of the first video. 9.根据权利要求8所述的视频拍摄装置,其特征在于,所述第一接收模块,包括:9. The video shooting device according to claim 8, wherein the first receiving module comprises: 第一接收子模块,用于接收对所述第一视频的视频操作界面中的续拍选择控件的第一输入;a first receiving sub-module, configured to receive a first input to the continuous shooting selection control in the video operation interface of the first video; 其中,所述续拍选择控件包括以下至少之一:Wherein, the continuous shot selection control includes at least one of the following: 第一子控件,所述第一子控件用于接收用户对所述续拍起始位置为所述第一视频的起始位置的选择输入;a first sub-control, the first sub-control is used to receive a user's selection input that the start position of the continuous shooting is the start position of the first video; 第二子控件,所述第二子控件用于接收用户对所述续拍起始位置为所述第一视频的结束位置的选择输入;a second sub-control, the second sub-control is configured to receive a user's selection input that the start position of the continuous shooting is the end position of the first video; 第三子控件,所述第三子控件用于接收用户对所述第一视频的目标播放时间的选择输入;其中,所述目标播放时间对应的位置为所述续拍起始位置;The third sub-control, the third sub-control is used to receive the user's selection input of the target playback time of the first video; wherein, the position corresponding to the target playback time is the start position of the continuous shooting; 第四子控件,所述第四子控件用于触发显示包括所述第一视频的多个图像帧的选择界面;其中,所述第一输入所选择的目标图像帧为所述续拍起始位置。a fourth sub-control, the fourth sub-control is used to trigger the display of a selection interface including a plurality of image frames of the first video; wherein, the target image frame selected by the first input is the start of the continuous shooting Location. 10.根据权利要求8所述的视频拍摄装置,其特征在于,所述第一响应子模块包括:10. The video shooting device according to claim 8, wherein the first response submodule comprises: 第一响应单元,用于在所述续拍起始位置为所述第一视频的起始位置的情况下,响应于所述第一输入,获取所述第一视频的起始帧或起始时刻,启动摄像头进行实时拍摄,结束后将拍摄的视频置于所述起始帧之前或起始时刻之前,生成所述第二视频,所述第二视频包含所述第一视频;a first response unit, configured to obtain the start frame or start of the first video in response to the first input when the start position of the continuous shooting is the start position of the first video time, start the camera to perform real-time shooting, and place the shot video before the start frame or before the start time after the end to generate the second video, where the second video includes the first video; 第二响应单元,用于在所述续拍起始位置为所述第一视频的目标位置的情况下,响应于所述第一输入,获取所述目标位置对应的图像帧或播放时间,启动摄像头进行实时拍摄,结束后将拍摄的视频置于所述目标位置对应的图像帧或播放时间之后,依序合成所述第一视频的目标位置之前的部分、所述拍摄的视频以及所述第一视频的目标位置之后的部分,生成所述第二视频,所述第二视频包含所述第一视频;其中,所述目标位置为所述第一视频的起始位置与结束位置之间的目标播放时间对应的位置或目标图像帧对应的位置;The second response unit is configured to, in the case that the starting position of the continuous shooting is the target position of the first video, in response to the first input, obtain the image frame or playback time corresponding to the target position, and start The camera performs real-time shooting, and after the end, the captured video is placed after the image frame or playback time corresponding to the target position, and the part before the target position of the first video, the captured video, and the first video are sequentially synthesized. The part after the target position of a video, the second video is generated, and the second video includes the first video; wherein, the target position is between the start position and the end position of the first video. The position corresponding to the target playback time or the position corresponding to the target image frame; 第三响应单元,用于在所述续拍起始位置为所述第一视频的结束位置时,响应于所述第一输入,获取所述第一视频中的最末帧或结束时刻,启动摄像头进行实时拍摄,结束后将拍摄的视频置于所述最末帧之后或结束时刻之后,生成所述第二视频,所述第二视频包含所述第一视频。A third response unit, configured to acquire the last frame or end moment in the first video in response to the first input when the start position of the continuous shooting is the end position of the first video, and start The camera performs real-time shooting, and after the end, the shot video is placed after the last frame or after the end time, and the second video is generated, and the second video includes the first video. 11.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的视频拍摄方法的步骤。11. An electronic device, characterized in that it comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the video shooting method according to any one of claims 1-5. 12.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的视频拍摄方法的步骤。12. A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the video shooting according to any one of claims 1-5 is realized steps of the method.
CN202111445300.7A 2021-11-30 2021-11-30 Video shooting method, device and electronic equipment Active CN114125325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445300.7A CN114125325B (en) 2021-11-30 2021-11-30 Video shooting method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445300.7A CN114125325B (en) 2021-11-30 2021-11-30 Video shooting method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114125325A true CN114125325A (en) 2022-03-01
CN114125325B CN114125325B (en) 2024-08-27

Family

ID=80368940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445300.7A Active CN114125325B (en) 2021-11-30 2021-11-30 Video shooting method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114125325B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967900A (en) * 2015-05-04 2015-10-07 腾讯科技(深圳)有限公司 Video generating method and video generating device
KR20160025279A (en) * 2014-08-27 2016-03-08 엘지전자 주식회사 Mobile terminal
CN107438200A (en) * 2017-09-08 2017-12-05 广州酷狗计算机科技有限公司 The method and apparatus of direct broadcasting room present displaying
CN109922265A (en) * 2019-03-28 2019-06-21 维沃移动通信有限公司 Video capture method and terminal device
CN110312077A (en) * 2019-07-25 2019-10-08 北京达佳互联信息技术有限公司 A kind of video capture method, apparatus, electronic equipment and storage medium
CN110557566A (en) * 2019-08-30 2019-12-10 维沃移动通信有限公司 Video shooting method and electronic device
CN111787223A (en) * 2020-06-30 2020-10-16 维沃移动通信有限公司 Video shooting method, device and electronic device
US20210218893A1 (en) * 2018-07-19 2021-07-15 Beijing Microlive Vision Technology Co., Ltd Method and apparatus for video shooting, terminal device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160025279A (en) * 2014-08-27 2016-03-08 엘지전자 주식회사 Mobile terminal
CN104967900A (en) * 2015-05-04 2015-10-07 腾讯科技(深圳)有限公司 Video generating method and video generating device
CN107438200A (en) * 2017-09-08 2017-12-05 广州酷狗计算机科技有限公司 The method and apparatus of direct broadcasting room present displaying
US20210218893A1 (en) * 2018-07-19 2021-07-15 Beijing Microlive Vision Technology Co., Ltd Method and apparatus for video shooting, terminal device and storage medium
CN109922265A (en) * 2019-03-28 2019-06-21 维沃移动通信有限公司 Video capture method and terminal device
CN110312077A (en) * 2019-07-25 2019-10-08 北京达佳互联信息技术有限公司 A kind of video capture method, apparatus, electronic equipment and storage medium
CN110557566A (en) * 2019-08-30 2019-12-10 维沃移动通信有限公司 Video shooting method and electronic device
CN111787223A (en) * 2020-06-30 2020-10-16 维沃移动通信有限公司 Video shooting method, device and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢力健: "摄像机外置记录器的可行性实践研究", 《硅谷》, 23 April 2012 (2012-04-23) *

Also Published As

Publication number Publication date
CN114125325B (en) 2024-08-27

Similar Documents

Publication Publication Date Title
CN114598819B (en) Video recording method and device and electronic equipment
JP2021530146A (en) Video recording methods, devices, terminal equipment and storage media
WO2020029526A1 (en) Method for adding special effect to video, device, terminal apparatus, and storage medium
CN113794923B (en) Video processing method, device, electronic equipment and readable storage medium
CN111756995A (en) Image processing method and device
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN113918522A (en) File generation method and device and electronic equipment
WO2023030270A1 (en) Audio/video processing method and apparatus and electronic device
CN111479158B (en) Video display method and device, electronic equipment and storage medium
CN114282022B (en) Multimedia editing method, device, electronic device and storage medium
CN112887618A (en) Video shooting method and device
CN114430460A (en) Shooting method and device and electronic equipment
WO2024153191A1 (en) Video generation method and apparatus, electronic device, and medium
CN114466232B (en) Video processing method, device, electronic equipment and medium
CN113596331B (en) Shooting method, shooting device, shooting equipment and storage medium
WO2025077527A1 (en) Media content generation method and apparatus, and electronic device and readable storage medium
CN114222069A (en) Shooting method, shooting device and electronic equipment
CN114025237B (en) Video generation method, device and electronic device
CN114125325B (en) Video shooting method, device and electronic equipment
CN115174812B (en) Video generation method, video generation device and electronic equipment
CN114237800B (en) File processing method, file processing device, electronic equipment, and medium
CN114584704A (en) Shooting method and device and electronic equipment
CN114125297A (en) Video shooting method and device, electronic equipment and storage medium
CN113873319A (en) Video processing method, device, electronic device and storage medium
CN113923392A (en) Video recording method, video recording 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