CN110769325A - Video shooting method, system, electronic equipment and storage medium - Google Patents

Video shooting method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN110769325A
CN110769325A CN201910877986.3A CN201910877986A CN110769325A CN 110769325 A CN110769325 A CN 110769325A CN 201910877986 A CN201910877986 A CN 201910877986A CN 110769325 A CN110769325 A CN 110769325A
Authority
CN
China
Prior art keywords
video
shooting
picture
speed
preset
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
CN201910877986.3A
Other languages
Chinese (zh)
Other versions
CN110769325B (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.)
MIGU Animation Co Ltd
MIGU Comic Co Ltd
Original Assignee
MIGU Animation 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 MIGU Animation Co Ltd filed Critical MIGU Animation Co Ltd
Priority to CN201910877986.3A priority Critical patent/CN110769325B/en
Publication of CN110769325A publication Critical patent/CN110769325A/en
Application granted granted Critical
Publication of CN110769325B publication Critical patent/CN110769325B/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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • 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/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

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

Abstract

The embodiment of the invention relates to the field of information processing, and discloses a video shooting method, a video shooting system, electronic equipment and a storage medium. In the invention, a picture captured by a camera is obtained; and shooting the video at a video shooting speed corresponding to the shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset. According to the picture shot by the camera, the shot object of the pre-shot video is determined, the shooting speed matched with the shot object is automatically selected for video shooting, the video shooting quality can be improved, meanwhile, the shooting speed is prevented from being manually selected, and the user experience is improved.

Description

Video shooting method, system, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of information processing, in particular to a video shooting method, a video shooting system, electronic equipment and a storage medium.
Background
With the development of electronic information technology, more and more people can start shooting video recording life at present, and with the higher and higher requirements of people on visual enjoyment, shooting modes are more and more diversified. For example, a better video shooting effect is achieved by adjusting the shooting speed of the video. The existing method for adjusting the video shooting speed is that a system provides a preset shooting speed, and a photographer actively selects the shooting speed to shoot.
However, the inventors of the present invention found that: according to the method, when the video shooting speed is adjusted each time, the corresponding shooting speed needs to be manually set; and the shooting speed can not be adjusted according to the shooting requirement, and the shooting quality is not high.
Disclosure of Invention
An object of embodiments of the present invention is to provide a video shooting method, a video shooting system, an electronic device, and a storage medium, which can automatically match an appropriate video shooting speed according to a shooting object of a user, improve video shooting quality, and improve user experience.
In order to solve the above technical problem, an embodiment of the present invention provides a video shooting method applied to a terminal, including: acquiring a picture captured by a camera; and shooting the video at a video shooting speed corresponding to the shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset.
The embodiment of the invention also provides a video shooting method, which is applied to a server and comprises the following steps: receiving a picture captured by a terminal camera; determining a shooting object in the picture according to the captured picture; acquiring a video shooting speed corresponding to a shooting object in a picture according to a preset corresponding relation between the shooting object and the video shooting speed; and feeding back the acquired video shooting speed to the terminal for the terminal to shoot the video.
An embodiment of the present invention further provides a video shooting system, including: a terminal and a server; the terminal includes: the image acquisition module is used for acquiring images captured by the camera; the shooting module is used for shooting a video at a video shooting speed corresponding to a shooting object in a picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset; the server includes: the receiving module is used for receiving the pictures captured by the terminal camera; the determining module is used for determining a shooting object in the picture according to the captured picture; the speed acquisition module is used for acquiring a video shooting speed corresponding to a shooting object in a picture according to a preset corresponding relation between the shooting object and the video shooting speed; and the feedback module is used for feeding back the acquired video shooting speed to the terminal so as to enable the terminal to shoot the video.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the above-mentioned video photographing method applied to the terminal; or to enable at least one processor to perform the above-described video capture method applied to the server.
The embodiment of the invention also provides a storage medium, which stores a computer program, and the computer program realizes the video shooting method applied to the terminal when being executed by a processor; alternatively, the computer program when executed by the processor implements the above-described video photographing method applied to the server.
Compared with the prior art, the embodiment of the invention acquires the picture captured by the camera; and shooting the video at a video shooting speed corresponding to the shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset. According to the picture shot by the camera, the shot object of the pre-shot video is determined, the shooting speed matched with the shot object is automatically selected for video shooting, the video shooting quality can be improved, meanwhile, the shooting speed is prevented from being manually selected, and the user experience is improved.
In addition, capturing a video at a video capturing speed corresponding to a subject in a screen includes: uploading the picture captured by the camera to a server in real time, so that the server can obtain the video shooting speed corresponding to the shot object in the picture in real time; receiving the video shooting speed fed back by the server in real time; and shooting the video at the latest video shooting speed fed back by the server. And the shooting speed is updated in real time according to the change of the shot picture, so that the video shooting quality is further improved.
In addition, after shooting a video at a video shooting speed corresponding to a shooting object in a screen, the method further includes: and uploading the video to a server for the server to carry out speed regulation processing on the video. Thereby further improving the pacing quality of the video.
The correspondence relationship between the subject and the video capture speed is preset by: determining a shooting object in a preset video; acquiring displacement of a shot object in a preset video from the first appearance to the last appearance relative to a static object in the preset video; extracting a video frame of a shooting object appearing for the first time and a video frame of a shooting object appearing for the last time in a preset video, and acquiring a time interval corresponding to the two video frames; and calculating the shooting speed according to the relative displacement and the time interval, and setting the shooting speed as the video shooting speed corresponding to the shooting object. Through selecting excellent video as reference in advance, directly acquire the shooting speed according to the time and the displacement of the shooting object in the video, make the acquisition of shooting speed simpler, accurate, and make the video shooting speed and the matching degree of shooting object can reach more excellent effect.
In addition, still include: extracting text labels contained in picture contents by carrying out image analysis on pictures; and determining a shooting object in the picture according to the text label. The shooting object is determined in a mode of acquiring the text label through image analysis, so that the shooting object is determined more quickly and accurately.
In addition, after the completion of capturing the video at the video capturing speed corresponding to the capturing object in the screen, the method further includes: extracting key frames of the video; calculating the similarity of every two adjacent key frames in the video, and solving the variance of all similarity values; when the variance is larger than a preset value, the playing speed of the video is accelerated; and when the variance is smaller than the preset value, slowing down the playing speed of the video. And the video is subjected to speed regulation according to the fluctuation condition of the picture in the video, so that the speed distribution quality of the shot video is further improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a video photographing method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a video photographing method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a video photographing method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for setting a correspondence relationship between a photographic subject and a video photographing speed by a server according to a third embodiment of the present invention;
fig. 5 is a schematic view of a video photographing system according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a video shooting method. The video shooting method of the embodiment is applied to a terminal, and in the embodiment, a picture captured by a camera is acquired; and shooting the video at a video shooting speed corresponding to the shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset. The method comprises the steps of determining a shooting object of a pre-shot video by acquiring a picture shot by a camera, and automatically selecting a shooting speed matched with the shooting object to carry out video shooting. The video shooting quality can be improved, the shooting speed is avoided being manually selected, and the user experience is improved. The following describes the implementation details of the video shooting method of the present embodiment in detail, and the following is only provided for the convenience of understanding and is not necessary for implementing the present embodiment.
The video shooting method in this embodiment has a flow as shown in fig. 1, and specifically includes:
and step 101, acquiring a picture captured by the camera.
Specifically, before shooting a video, the terminal firstly turns on the camera and aligns the lens with a pre-shot picture, and at the moment, the terminal acquires the picture shot by the camera.
And 102, shooting a video at a video shooting speed corresponding to a shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset.
Specifically, after acquiring a picture shot by a camera, a terminal extracts a text label contained in the picture content by performing image analysis on the picture; and determining a shooting object in the picture according to the text label.
It should be noted that, the server may set corresponding shooting speeds for some commonly used shooting objects in advance, and pre-store the shooting speeds in the terminal system, and after the pre-shot shooting objects are determined, the terminal performs video shooting according to the pre-stored shooting speeds corresponding to the shooting objects. Alternatively, the server stores the preset shooting speed corresponding to the shooting object in the server in advance, and after the terminal determines the shooting object to be shot in advance, the terminal downloads the corresponding shooting speed from the server to perform video shooting, which is not limited in this embodiment.
In one example, a terminal prepares to shoot a running automobile, the camera is aligned to the automobile after the camera is turned on, and the terminal analyzes main content in the image to be the automobile according to the image acquired by the camera, so that a shooting object to be shot in advance is determined to be the automobile; the terminal acquires the shooting speed prestored in the automobile from the system and starts to shoot the video at the shooting speed of the automobile, or the terminal downloads the shooting speed corresponding to the automobile from the server and shoots the video at the shooting speed.
It should be noted that, multiple corresponding shooting speeds may be preset for the same kind of object server, and after the object is determined, the terminal may provide multiple corresponding shooting speeds for the user to select one for video shooting.
In other embodiments, the terminal may also directly set a corresponding shooting speed for some commonly used shooting objects in advance, and pre-store the shooting speed in the terminal system. Specifically, the terminal determines shooting objects in some preset videos; acquiring displacement of a shot object in a preset video from the first appearance to the last appearance relative to a static object in the preset video; extracting a video frame of a shooting object appearing for the first time and a video frame of a shooting object appearing for the last time in a preset video, and acquiring a time interval corresponding to the two video frames; calculating the shooting speed according to the relative displacement and the time interval; it is set as a video photographing speed corresponding to the subject. The preset video can be a video with a higher score pre-stored in the terminal or a video with a higher score downloaded by the terminal from the server. When a plurality of shooting objects exist in a video, a main object can be determined as the shooting object of the video, and the corresponding video shooting speed can be acquired for the plurality of shooting objects at the same time.
In the embodiment, the terminal determines the shooting object of the pre-shot video by acquiring the picture shot by the camera, and automatically selects the shooting speed matched with the shooting object to shoot the video. The video shooting quality can be improved, the shooting speed is avoided being manually selected, and the user experience is improved.
A second embodiment of the present invention relates to a video shooting method that is applied to a terminal in the same manner as the first embodiment, and is substantially the same as the first embodiment, with the main difference being that: in the first embodiment, a terminal determines a photographic subject in a picture from the picture captured by a camera. In the second embodiment of the present invention, the terminal uploads the captured screen to the server, and the server determines the object to be photographed. The video shooting method in this embodiment has a flow as shown in fig. 2, and specifically includes:
step 201, acquiring a picture captured by the camera.
Step 202, uploading the picture captured by the camera to a server for the server to acquire the video shooting speed corresponding to the shooting object in the picture; wherein, the corresponding relation between the shooting object and the video shooting speed is preset.
Specifically, after acquiring a picture shot by a camera, the terminal uploads the picture captured by the camera to a server. The server carries out image analysis on the picture and extracts a text label contained in the picture content; and determining a shooting object in the picture according to the text label. The server can set corresponding shooting speeds for some commonly used shooting objects in advance, stores the shooting speeds in the server, and pushes the shooting speeds matched with the shooting objects to the terminal for the terminal to shoot videos after the shooting objects to be shot in advance are determined.
In one example, a terminal prepares to shoot a running automobile, the camera is aligned to the automobile after being turned on, the terminal uploads a picture containing the automobile obtained by the camera to a server, the server performs image analysis on the received picture, text labels such as the automobile, trees, people and the like are extracted from the picture, and the automobile is determined to be a shot object to be shot according to a preset rule of the server, for example, the proportion of the automobile occupying the picture is maximum. And comparing the analyzed shooting object with the rule in the server, and matching the shooting speed corresponding to the automobile, for example, if the optimal speed regulation recording mode corresponding to the traffic flow is delayed recording, the server returns the shooting mode to the terminal for the user to shoot the video.
And step 203, receiving the video shooting speed fed back by the server.
Specifically, the video capturing speed pushed by the server is acquired, and one or more video capturing speeds pushed by the server may be acquired. When the server pushes a plurality of video photographing speeds, the terminal may perform video photographing at one of the photographing speeds based on a user's selection.
And step 204, shooting the video at the video shooting speed fed back by the server.
Specifically, the terminal performs video shooting at the video shooting speed pushed by the server.
Further, the terminal uploads the picture captured by the camera to the server in real time, so that the server can obtain the video shooting speed corresponding to the shooting object in the picture in real time; receiving the video shooting speed fed back by the server in real time; and shooting the video at the latest video shooting speed fed back by the server. Specifically, when the terminal adjusts the pre-shooting object, the terminal transmits the picture captured by the camera to the server in real time, the server matches and returns the corresponding shooting mode in real time to ensure that the shooting speed corresponding to the finally detected object is used when the user starts shooting the video, the terminal adjusts the shooting speed according to the result returned by the server, and when the user clicks to start shooting, the user shoots by using the latest video shooting speed.
Furthermore, when the terminal is in the process of video shooting, if the shot object changes, the server can also obtain the latest video shooting speed based on the picture uploaded by the terminal in real time, and shoot the video at the updated video shooting speed, so that the shot video is a variable-speed video, the speed matching effect of video shooting is better, the video shooting quality is further improved, and the user experience is improved.
Further, after step 204, the present embodiment may further include:
and step 205, uploading the video to a server for the server to carry out speed regulation processing on the video.
Specifically, after the terminal finishes shooting, the video is uploaded to the server, and the server performs speed regulation processing on the video according to the picture fluctuation condition of the video frames in the video.
It should be noted that, in other embodiments, the terminal may directly perform the speed regulation processing on the video. Specifically, after the terminal finishes shooting, extracting a key frame of the video; calculating the similarity of every two adjacent key frames in the video, and solving the variance of all similarity values; when the variance is larger than a preset value, the playing speed of the video is accelerated; and when the variance is smaller than the preset value, slowing down the playing speed of the video.
In the embodiment, the terminal determines the shooting object of the pre-shot video by acquiring the picture shot by the camera, and automatically selects the shooting speed matched with the shooting object to shoot the video. The video shooting quality can be improved, the shooting speed is avoided being manually selected, and the user experience is improved.
The third embodiment of the invention relates to a video shooting method which is applied to a server. The video shooting method in this embodiment has a flow as shown in fig. 3, and specifically includes:
and step 301, receiving a picture captured by a terminal camera.
Specifically, before the video shooting is started, the terminal firstly turns on the camera, the lens is aligned with the pre-shot picture, at the moment, the terminal acquires the picture shot by the camera and sends the picture to the server, and the server receives the picture.
Step 302, according to the captured picture, determining the shooting object in the picture.
Specifically, the server extracts a text label contained in the picture content by performing image analysis on the picture; and determining a shooting object in the picture according to the text label. This part is described in detail in step 202 of the second embodiment, and is not described herein again.
Step 303, obtaining a video shooting speed corresponding to the shooting object in the picture according to a preset corresponding relation between the shooting object and the video shooting speed.
Specifically, the server sets corresponding shooting speeds for some commonly used shooting objects in advance, stores the shooting speeds in the server, and pushes the shooting speeds matched with the shooting objects to the terminal for the terminal to shoot videos after the shooting objects to be shot in advance are determined.
Specifically, the server can set in advance the correspondence relationship between the photographic subject and the video photographing speed by the following flow, as shown in fig. 4.
Step 401, performing image analysis on a preset video, and extracting a text label corresponding to an image in the preset video.
Specifically, according to all video scoring conditions uploaded in the server video library, videos with excellent scoring are screened, and the shooting objects and the shooting speeds corresponding to the videos are obtained by taking the excellent videos as references. Firstly, the server adopts image analysis software and algorithm to carry out image analysis on the screened video, extracts a text label corresponding to the content in the image and stores the text label in the server. For example: and analyzing the image of one excellent video, and extracting text labels of people and pets according to the content of the people and the pets in the image.
Step 402, determining a shooting object according to the text label.
Specifically, the extracted text label is a shooting object of the preset excellent video. When a plurality of text labels are extracted from a preset video, a plurality of shooting objects of the video can be determined, and a main object can be determined as the shooting object according to the actual time length of each text label in the video. For example, if a text tag extracted into a video indicates a person and a pet, the person appears only for a few seconds, and the pet appears almost all the time in the video, it can be determined that the subject of the video is a pet.
And step 403, acquiring the shooting speed of the shooting object in a preset video, and setting the shooting speed as the video shooting speed corresponding to the shooting object.
Specifically, acquiring the displacement of a shooting object in a preset video from the first appearance to the last appearance relative to a static object in the preset video; extracting a video frame of a shooting object appearing for the first time and a video frame of a shooting object appearing for the last time in a preset video, and acquiring a time interval corresponding to the two video frames; and calculating the shooting speed of the shooting object in the video according to the relative displacement and the time interval. The time axis and the video frames of the screened video are analyzed to obtain the shooting speed of a specific shooting object in the video, for example, the displacement of the pet relative to a static object in the video, such as a certain tree or a certain building, is obtained from the head and tail video frames of the pet appearing in the video, and the appearance duration of the pet is obtained, so that the shooting speed of the pet is obtained in time according to the speed equal to bit removal.
It should be noted that, since there may be a plurality of subjects included in one video, a plurality of subjects may be obtained from one video, and each subject corresponds to one video shooting speed. Specifically, when there are a plurality of objects determined in one video, the head and tail frames of each object appearing in the video can be acquired respectively, the relative displacement and the appearance field of the object are acquired from the head and tail frames, and the shooting speed of each object is obtained according to the relative displacement and the time length of each object.
And matching the obtained shooting speed with the corresponding shooting object and storing the matching result in the server. For example, if the detected shot object is a bullet and the shooting speed of the video is the fast shooting mode, the bullet and the fast shooting mode are in a one-to-one correspondence relationship. Particularly, when one photographic subject obtains a plurality of video photographic speeds from different videos, an optimal video photographic speed is reserved according to the grade; or, a plurality of video shooting speeds are reserved and pushed to the terminal for the user to select.
And step 304, feeding back the acquired video shooting speed to the terminal for the terminal to shoot the video.
It should be noted that the terminal uploads the picture captured by the camera to the server in real time, and the server obtains the video shooting speed corresponding to the shooting object in the picture in real time and feeds the video shooting speed back to the terminal in real time, so that the terminal always shoots the video at the best matching shooting speed.
Further, after step 304, the present embodiment may further include:
and 305, receiving the video uploaded by the terminal.
And after the terminal finishes shooting, uploading the video to the server for the server to carry out speed regulation processing.
And step 306, performing speed regulation processing on the video according to the picture change condition of the video frame in the video.
Specifically, the server extracts key frames of the video; calculating the similarity of every two adjacent key frames in the video, and solving the variance of all similarity values; when the variance is larger than a preset value, the playing speed of the video is accelerated; and when the variance is smaller than the preset value, slowing down the playing speed of the video.
The specific calculation method is as follows: assuming that the video has n key frames, calculating the similarity of every two adjacent key frames based on a cosine similarity algorithm, and if the similarity result is R, the similarity results of every two adjacent key frames are respectively R1,R2,……,Rn(ii) a Calculating the variance of the similarity of every two adjacent key frames, wherein the calculation formula of the variance is as follows:
Figure BDA0002204969520000081
when the variance is smaller than a certain value, the change of each key frame of the video is slow and stable, and the method is suitable for processing the source video by adopting a delayed photography mode; when the variance is larger than a certain value, the change of each key frame of the expression video is rapid, and the method is suitable for processing the source video in a high-speed shooting mode.
In the embodiment, the server determines the shooting object of the pre-shot video by acquiring the picture shot by the camera of the terminal, and automatically provides the shooting speed suitable for the terminal. The video shooting quality of the terminal can be improved, the shooting speed is prevented from being manually selected, and the user experience is improved.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present application provides a video shooting system, and a specific structure of the system is shown in fig. 5. The method comprises the following steps: comprises a terminal 51 and a server 52; wherein, the terminal includes:
the image acquisition module 511 is configured to acquire an image captured by the camera.
Specifically, a picture shot by a camera of the terminal in real time or a picture shot by the camera uploaded by the terminal in real time is acquired.
The shooting module 512 is configured to shoot a video at a video shooting speed corresponding to a shooting object in the screen, where a corresponding relationship between the shooting object and the video shooting speed is preset.
The server includes:
a receiving module 521, configured to receive a picture captured by a terminal camera;
a determining module 522, configured to determine a shooting object in the picture according to the captured picture;
specifically, a text label contained in the picture content is extracted by carrying out image analysis on the picture; and determining a shooting object in the picture according to the text label.
A speed obtaining module 523 configured to obtain a video capturing speed corresponding to a capturing object in the screen according to a preset correspondence between the capturing object and the video capturing speed;
specifically, corresponding video shooting speeds are set in advance for some commonly used shooting subjects. Performing image analysis on a preset video, extracting a text label corresponding to an image in the preset video, and determining a shooting object in the preset video according to the text label; acquiring displacement of a shot object in a preset video from the first appearance to the last appearance relative to a static object in the preset video; extracting a video frame of a shooting object appearing for the first time and a video frame of a shooting object appearing for the last time in a preset video, and acquiring a time interval corresponding to the two video frames; and calculating the shooting speed according to the relative displacement and the time interval, and setting the shooting speed as the video shooting speed corresponding to the shooting object. And acquiring the speed corresponding to the shooting object in the picture captured by the terminal.
And the feedback module 524 is configured to feed back the acquired video shooting speed to the terminal 51, so that the terminal 51 shoots a video.
Further, the terminal 51 may further include: and the video processing module 513 is configured to perform speed regulation processing on the shot video. Specifically, the video processing module extracts key frames of the video; calculating the similarity of every two adjacent key frames in the video, and solving the variance of all similarity values; when the variance is larger than a preset value, the playing speed of the video is accelerated; and when the variance is smaller than the preset value, slowing down the playing speed of the video.
In other embodiments, the video processing module 513 may be disposed at the server 52, and the terminal 51 may further include an uploading module (not shown) for uploading the photographed video to the server 52, so that the server 52 performs the speed regulation processing on the video.
A fifth embodiment of the present application provides an electronic device, and a specific structure of the electronic device is shown in fig. 6. Includes at least one processor 602; and a memory 601 communicatively coupled to the at least one processor 602. The memory 601 stores instructions executable by the at least one processor 602, and the instructions are executed by the at least one processor 602 to enable the at least one processor 602 to execute the video capturing method in the above embodiments.
In the present embodiment, the processor 602 is exemplified by a Central Processing Unit (CPU), and the Memory 402 is exemplified by a Random Access Memory (RAM). The processor 602 and the memory 601 may be connected by a bus or other means, and fig. 5 illustrates the connection by the bus as an example. The memory 601 is used as a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the programs for implementing the color ring back tone adaptive playing method in the embodiments of the present application, which are stored in the memory 601. The processor 602 executes various functional applications of the apparatus and data processing by running nonvolatile software programs, instructions, and modules stored in the memory 601, that is, implements the above-described video capture method.
The memory 601 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the memory 601 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 601 may optionally include memory located remotely from processor 602, which may be connected to an external device via a network.
One or more program modules are stored in the memory 601 and, when executed by the one or more processors 602, perform the video capture method of any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, has corresponding functional modules and beneficial effects of the execution method, and can refer to the method provided by the embodiment of the application without detailed technical details in the embodiment.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (13)

1. A video shooting method is applied to a terminal and comprises the following steps:
acquiring a picture captured by a camera;
and shooting a video at a video shooting speed corresponding to a shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset.
2. The video shooting method according to claim 1, wherein the shooting of the video at the video shooting speed corresponding to the shooting subject in the picture includes:
uploading the picture captured by the camera to a server in real time, so that the server can obtain the video shooting speed corresponding to the shooting object in the picture in real time; receiving the video shooting speed fed back by the server in real time;
and shooting the video at the latest video shooting speed fed back by the server.
3. The video shooting method according to claim 1, further comprising, after the shooting of the video at the video shooting speed corresponding to the shooting subject in the screen: and uploading the video to a server for the server to carry out speed regulation processing on the video.
4. The video shooting method according to claim 1, wherein the correspondence between the shooting object and the video shooting speed is preset by:
determining a shooting object in a preset video;
acquiring the displacement of the shot object in the preset video from the first appearance to the last appearance relative to the static object in the preset video;
extracting a video frame of the shot object appearing for the first time and a video frame of the shot object appearing for the last time in the preset video, and acquiring a time interval corresponding to the two video frames;
and calculating the shooting speed according to the relative displacement and the time interval, and setting the shooting speed as the video shooting speed corresponding to the shooting object.
5. The video shooting method according to claim 1, wherein, after the capturing of the picture captured by the camera, before the shooting of the video at the video shooting speed corresponding to the photographic subject in the picture, further comprising:
extracting a text label contained in the picture content by carrying out image analysis on the picture;
and determining a shooting object in the picture according to the text label.
6. The video shooting method according to claim 1, further comprising, after completion of the shooting of the video at the video shooting speed corresponding to the photographic subject in the picture:
extracting key frames of the video;
calculating the similarity of every two adjacent key frames in the video, and solving the variance of all the similarity values;
when the variance is larger than a preset value, the playing speed of the video is accelerated; and when the variance is smaller than the preset value, slowing down the playing speed of the video.
7. A video shooting method is applied to a server and comprises the following steps:
receiving a picture captured by a terminal camera;
determining a shooting object in the picture according to the captured picture;
acquiring a video shooting speed corresponding to a shooting object in the picture according to a preset corresponding relation between the shooting object and the video shooting speed;
and feeding back the acquired video shooting speed to the terminal for the terminal to shoot the video.
8. The video shooting method according to claim 7, wherein the correspondence relationship between the shooting object and the video shooting speed is preset by:
determining a shooting object in a preset video;
acquiring the displacement of the shot object in the preset video from the first appearance to the last appearance relative to the static object in the preset video;
extracting a video frame of the shot object appearing for the first time and a video frame of the shot object appearing for the last time in the preset video, and acquiring a time interval corresponding to the two video frames;
and calculating the shooting speed according to the relative displacement and the time interval, and setting the shooting speed as the video shooting speed corresponding to the shooting object.
9. The video shooting method of claim 7, wherein the determining the shooting object in the picture according to the picture captured by the camera comprises:
extracting a text label contained in the picture content by carrying out image analysis on the picture;
and determining a shooting object in the picture according to the text label.
10. The video shooting method according to claim 7, wherein after said feeding back the obtained video shooting speed to the terminal for the terminal to shoot video, further comprising:
receiving the video uploaded by the terminal;
extracting key frames of the video;
calculating the similarity of every two adjacent key frames in the video, and solving the variance of all the similarity values;
when the variance is larger than a preset value, the playing speed of the video is accelerated; and when the variance is smaller than the preset value, slowing down the playing speed of the video.
11. A video capture system, comprising: a terminal and a server;
the terminal includes:
the image acquisition module is used for acquiring images captured by the camera;
the shooting module is used for shooting a video at a video shooting speed corresponding to a shooting object in the picture, wherein the corresponding relation between the shooting object and the video shooting speed is preset;
the server includes:
the receiving module is used for receiving the pictures captured by the terminal camera;
the determining module is used for determining a shooting object in the picture according to the captured picture;
the speed acquisition module is used for acquiring the video shooting speed corresponding to the shooting object in the picture according to the preset corresponding relation between the shooting object and the video shooting speed;
and the feedback module is used for feeding back the acquired video shooting speed to the terminal so as to enable the terminal to shoot the video.
12. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video capture method of any of claims 1 to 6; or to enable the at least one processor to perform a video capture method as claimed in any one of claims 7 to 10.
13. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the video capturing method of any one of claims 1 to 6; alternatively, the computer program, when executed by a processor, implements the video capture method of any of claims 7 to 10.
CN201910877986.3A 2019-09-17 2019-09-17 Video shooting method, system, electronic equipment and storage medium Active CN110769325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910877986.3A CN110769325B (en) 2019-09-17 2019-09-17 Video shooting method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910877986.3A CN110769325B (en) 2019-09-17 2019-09-17 Video shooting method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110769325A true CN110769325A (en) 2020-02-07
CN110769325B CN110769325B (en) 2021-12-07

Family

ID=69330397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910877986.3A Active CN110769325B (en) 2019-09-17 2019-09-17 Video shooting method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110769325B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637503A (en) * 2020-12-22 2021-04-09 深圳市九洲电器有限公司 Photographing apparatus, photographing method, and computer-readable storage medium
CN113286106A (en) * 2021-06-18 2021-08-20 深圳传音通讯有限公司 Video recording method, mobile terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967803A (en) * 2015-07-01 2015-10-07 广东欧珀移动通信有限公司 Video recording method and video recording device
CN106131414A (en) * 2016-07-18 2016-11-16 广东欧珀移动通信有限公司 Dynamically adjust the method and system of shooting frame per second
CN107396019A (en) * 2017-08-11 2017-11-24 维沃移动通信有限公司 A kind of slow motion video method for recording and mobile terminal
CN108184165A (en) * 2017-12-28 2018-06-19 广东欧珀移动通信有限公司 Video broadcasting method, electronic device and computer readable storage medium
WO2018143770A1 (en) * 2017-02-06 2018-08-09 Samsung Electronics Co., Ltd. Electronic device for creating panoramic image or motion picture and method for the same
JP2018195923A (en) * 2017-05-15 2018-12-06 キヤノン株式会社 Recording device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967803A (en) * 2015-07-01 2015-10-07 广东欧珀移动通信有限公司 Video recording method and video recording device
CN106131414A (en) * 2016-07-18 2016-11-16 广东欧珀移动通信有限公司 Dynamically adjust the method and system of shooting frame per second
WO2018143770A1 (en) * 2017-02-06 2018-08-09 Samsung Electronics Co., Ltd. Electronic device for creating panoramic image or motion picture and method for the same
JP2018195923A (en) * 2017-05-15 2018-12-06 キヤノン株式会社 Recording device
CN107396019A (en) * 2017-08-11 2017-11-24 维沃移动通信有限公司 A kind of slow motion video method for recording and mobile terminal
CN108184165A (en) * 2017-12-28 2018-06-19 广东欧珀移动通信有限公司 Video broadcasting method, electronic device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637503A (en) * 2020-12-22 2021-04-09 深圳市九洲电器有限公司 Photographing apparatus, photographing method, and computer-readable storage medium
CN113286106A (en) * 2021-06-18 2021-08-20 深圳传音通讯有限公司 Video recording method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN110769325B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US11308993B2 (en) Short video synthesis method and apparatus, and device and storage medium
CN106331508B (en) Method and device for shooting composition
US8305452B2 (en) Remote determination of image-acquisition settings and opportunities
CN111629230B (en) Video processing method, script generating method, device, computer equipment and storage medium
US20170163878A1 (en) Method and electronic device for adjusting shooting parameters of camera
CN110769325B (en) Video shooting method, system, electronic equipment and storage medium
CN112702521B (en) Image shooting method and device, electronic equipment and computer readable storage medium
US9881086B2 (en) Image shooting device, image shooting method, and recording medium
CN110149475B (en) Image shooting method and device, electronic device, storage medium and computer equipment
CN111368724A (en) Amusement image generation method and system
CN107977437B (en) Image processing method, image processing apparatus, storage medium, and electronic device
WO2020014953A1 (en) Image processing method and device
CN110581950B (en) Camera, system and method for selecting camera settings
CN105007415B (en) A kind of image preview method and apparatus
CN110727810B (en) Image processing method, device, electronic equipment and storage medium
CN111294502A (en) Photographing method, device with photographing function, equipment and storage medium
WO2022213974A1 (en) Auxiliary image capture methods and apparatuses for pets
WO2016011861A1 (en) Method and photographing terminal for photographing object motion trajectory
US20150085159A1 (en) Multiple image capture and processing
CN109472230B (en) Automatic athlete shooting recommendation system and method based on pedestrian detection and Internet
CN108683847B (en) Photographing method, device, terminal and storage medium
CN111444822B (en) Object recognition method and device, storage medium and electronic device
CN110868543A (en) Intelligent photographing method and device and computer readable storage medium
CN114143429B (en) Image shooting method, device, electronic equipment and computer readable storage medium
CN112189334A (en) Shutter speed adjusting method, safety shutter calibrating method, portable equipment and unmanned aerial vehicle

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