WO2019137166A1 - 视频制作方法、装置、存储介质及电子设备 - Google Patents

视频制作方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2019137166A1
WO2019137166A1 PCT/CN2018/121969 CN2018121969W WO2019137166A1 WO 2019137166 A1 WO2019137166 A1 WO 2019137166A1 CN 2018121969 W CN2018121969 W CN 2018121969W WO 2019137166 A1 WO2019137166 A1 WO 2019137166A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
current
electronic device
photo
user
Prior art date
Application number
PCT/CN2018/121969
Other languages
English (en)
French (fr)
Inventor
陈岩
刘耀勇
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to US16/954,738 priority Critical patent/US11297225B2/en
Priority to EP18900093.8A priority patent/EP3699868A4/en
Publication of WO2019137166A1 publication Critical patent/WO2019137166A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • 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/617Upgrading or updating of programs or applications for camera control
    • 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
    • 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

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a video production method, apparatus, storage medium, and electronic device.
  • the terminal has a camera so as to be able to support a photographing function and the like.
  • the user can use the shooting function of the terminal to take photos, such as traveling or attending a friend's party, etc.
  • photos such as traveling or attending a friend's party, etc.
  • the user can subsequently make a small video to watch the photos, but these natural scene themes It is relatively limited, and the small video styles produced are not rich, and it is difficult to meet the video production needs of different users.
  • the embodiment of the present invention provides a video production method, device, storage medium, and electronic device, which can generate various videos of different themes according to user requirements, and is not limited to a natural scene theme.
  • the embodiment of the present application provides a video production method, which is applied to an electronic device, and includes:
  • the embodiment of the present application further provides a video production device, which is applied to an electronic device, and includes:
  • An obtaining module configured to acquire a keyword set by a user, where the keyword includes a participant and a participation event
  • a determining module configured to determine, according to the keyword, a plurality of shooting tasks, and triggering conditions of each shooting task
  • a prompting module configured to prompt the user to perform shooting of the corresponding shooting task according to the triggering condition, to obtain at least one photo
  • a generating module configured to generate a video file according to the at least one photo.
  • the embodiment of the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute any of the above video production methods.
  • the embodiment of the present application further provides an electronic device, including a processor and a memory, the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used in any one of the foregoing The steps in the video production method described.
  • the video production method, device, storage medium and electronic device provided by the application obtain the keyword set by the user, the keyword includes the participant and the participation event, and determine a plurality of shooting tasks and each shooting according to the keyword.
  • the triggering condition of the task after which the user is prompted to perform the shooting of the corresponding shooting task according to the triggering condition to obtain at least one photo, and generate a video file according to the at least one photo, so that various videos of different themes can be created according to the user's requirements.
  • the method is simple and flexible.
  • FIG. 1 is a schematic flowchart diagram of a video production method according to an embodiment of the present application.
  • FIG. 2 is another schematic flowchart of a video production method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a script setting interface in an electronic device according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a prompting interface in an electronic device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a video production apparatus according to an embodiment of the present application.
  • FIG. 6 is another schematic structural diagram of a video production apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the embodiment of the present application provides a video production method, device, storage medium, and electronic device.
  • a frequency production method is applied to an electronic device, comprising: acquiring a keyword set by a user, the keyword includes a participant and a participation event; determining, according to the keyword, a plurality of shooting tasks, and triggering conditions of each shooting task; And prompting the user to perform shooting of the corresponding shooting task according to the triggering condition to obtain at least one photo; and generating a video file according to the at least one photo.
  • the determining, according to the keyword, a plurality of shooting tasks, and triggering conditions of each shooting task including:
  • the shooting background information is extracted from each shooting task, and corresponding trigger conditions are generated according to the shooting background information.
  • the triggering condition includes a time condition, a geographic condition, and/or a meteorological condition
  • the prompting the user to perform the shooting of the corresponding shooting task according to the triggering condition includes:
  • a prompt interface displaying the shooting task is generated to prompt the user to start the camera for shooting.
  • the method further includes:
  • photographing is performed with the photographing parameters.
  • the determining, by the current environment parameter, the shooting parameters of the electronic device includes:
  • the generating a video file according to the at least one photo comprises:
  • the at least one photo is spliced according to the shooting time to obtain an animation file
  • the animation file and the audio file are combined into a video file.
  • the splicing the at least one photo according to a shooting time comprises:
  • the at least one photo is filled into the animation template in a map manner.
  • FIG. 1 is a schematic flowchart of a video production method according to an embodiment of the present application, which is applied to an electronic device, and the specific process may be as follows:
  • the keyword is set by the user according to the requirement, and is mainly used to summarize the topic content of the script to be photographed.
  • the participation event may include: a growth memorial, a travel commemoration, a hyena, a wedding commemoration, etc., and the participant mainly refers to a person or animal such as a child, a parent, or a puppy.
  • the foregoing step 102 may specifically include:
  • the shooting background information is extracted from each shooting task, and corresponding trigger conditions are generated according to the shooting background information.
  • the script summary is mainly used to briefly describe the main content of the script, which may include a script theme, a main plot, and a main character.
  • the script summary and shooting tasks can be obtained from a web script of an existing film and television drama work, or can be an artificially set shooting template.
  • the shooting background information may include weather, age, location, etc., for example, when a shooting task is: shooting a baby one year old crawling photo, the extracted background information may be 1 year old, at this time, for this shooting script,
  • the user is required to input the actual age of the baby in advance, and the timekeeping function is turned on, and the interval time between the actual age and the age of 1 is used as the time duration for satisfying the condition, and the trigger condition is generated.
  • the triggering condition includes a time condition, a geographic condition, and/or a meteorological condition.
  • the foregoing step 103 may specifically include:
  • a prompt interface for displaying the shooting task is generated to prompt the user to start the camera for shooting.
  • the trigger condition may be related to time, location, and/or weather, which may be directly set by the user, or may be determined according to a shooting task.
  • the time may be July 31 of each year, and the location may be In a park or cafe, the weather can be sunny or rainy, etc., depending on the actual needs of the user.
  • the electronic device may automatically generate a prompt interface.
  • the prompt interface may further include a script shooting progress display column, a script summary display column, etc., so that the user can better understand the whole.
  • the content of the shooting of course, in order to facilitate the user to quickly enter the shooting application for shooting, the prompting interface may also include a shooting application access interface, which may be in the form of a camera icon or the like.
  • a selection box for determining the next prompt time may be provided for The user selects the appropriate time to shoot again.
  • the next prompt time in the selection box can be set by default. For example, after one hour, tomorrow or two days, the user can set it according to his own situation. When set, the electronic device will start timing.
  • the shooting parameter can be automatically adjusted according to the ambient light brightness, that is, after the above step 103, the video production method may further include:
  • the environmental parameters mainly include natural factors that affect the shooting effect, such as ambient light brightness, light intensity, and light contrast.
  • the shooting parameters mainly refer to exposure, filter type, color softness, etc., when environmental parameters are obtained.
  • the range of parameters to which the environment parameter belongs may be determined first, and then the corresponding shooting parameters are obtained according to the determined parameter range.
  • the foregoing step 104 may specifically include:
  • the at least one photo is stitched according to the shooting time to obtain an animation file
  • the electronic device can automatically stitch the still photos into a dynamic animation file according to the shooting time.
  • the appropriate animation template can be obtained according to the number of photos, and then the photo is taken. Fill the animation template with textures.
  • the audio file can be downloaded from the user's website or recorded by yourself.
  • the video production method provided in this embodiment is applied to an electronic device, and by acquiring a keyword set by a user, the keyword includes a participant and a participation event, and determines a plurality of shooting tasks according to the keyword, and each a triggering condition of the shooting task, after which the user is prompted to perform shooting of the corresponding shooting task according to the triggering condition to obtain at least one photo, and generate a video file according to the at least one photo, so that various different themes can be created according to the user's needs.
  • the video is simple and flexible.
  • the description will be made from the perspective of the video production device, and the video production device is integrated into the electronic device as an example for detailed description.
  • a video production method is applied to an electronic device, and the specific process can be as follows:
  • the electronic device acquires a keyword set by the user, where the keyword includes a participant and a participation event.
  • the electronic device matches the keyword with the preset at least one script summary, and searches for a corresponding plurality of shooting tasks according to the successfully matched script summary.
  • the script summary may mainly include a script theme, a main plot, a main character, etc.
  • the script theme may include campus, family, education, and daily life.
  • the script summary and shooting tasks can be obtained from a web script of an existing film and television drama work, or can be an artificially set shooting template.
  • the matched script summary may be a script summary of the existing dog growth video found from the Internet, and the corresponding captured task may be in the form of a list.
  • Presentation including: taking pictures of the dog's birth, taking pictures of the dog's dinner, taking pictures of the dog's nap, shooting photos of the dog in the park on a sunny day, and so on.
  • the electronic device extracts shooting background information from each shooting task, and generates a corresponding trigger condition according to the shooting background information, where the trigger condition includes a time condition, a geographic condition, and/or a meteorological condition.
  • the electronic device acquires a current time, a current geographic location, and/or a current weather, and detects whether the current time, the current geographic location, and/or the current weather meet the trigger condition. If yes, perform the following step 205.
  • the trigger condition may be directly set by the user, or may be determined according to a shooting task.
  • the shooting task is: shooting a dog playing photo in a park on a sunny day, it is easy to infer the shooting background information of the shooting task.
  • the objective condition of sunny + park can be used as a trigger condition, and the meteorological information and geographical location information of the environment in which the electronic device is located can be detected in real time, only when the electronic device is in the park and the weather is just fine. It can be judged that the trigger condition is satisfied.
  • the electronic device generates a prompt interface displaying the shooting task to prompt the user to start the camera for shooting.
  • the prompt interface may further include a script shooting progress display column, a script summary display column, etc., so that the user can better understand the entire shooting content, of course, for the convenience of the user. Quickly enter the shooting application for shooting.
  • the prompt interface may also include a shooting application access interface, which may be represented as a camera icon.
  • the electronic device When entering the shooting application, the electronic device acquires the current environmental parameter, and adjusts the shooting parameter of the electronic device according to the current environmental parameter, and then performs shooting with the adjusted shooting parameter.
  • the environmental parameters may include ambient light brightness, light intensity, and light contrast.
  • the shooting parameters mainly refer to exposure, filter type, color softness, etc.
  • the parameter range to which the environmental parameter belongs may be determined first. Then, corresponding shooting parameters are obtained according to the determined parameter range, and different environmental parameters generally correspond to different shooting parameters.
  • the electronic device splices the at least one photo according to the shooting time to obtain an animation file, and obtains an audio file set by the user, and then synthesizes the animation file and the audio file into a video file.
  • an electronic device may first obtain a suitable animation template according to the number of photos, and then fill the animation template with a photo.
  • the static photo may also generate an annotation text corresponding to the shooting task, such as when When the photo is a dog's birth photo, you can annotate the word "birth" on the photo.
  • the video production method provided in this embodiment is applied to an electronic device, wherein the electronic device can acquire a keyword set by a user, the keyword includes a participant and a participation event, and then the keyword and the preset Matching at least one script summary, and searching for corresponding multiple shooting tasks according to the matching script summary, and then extracting shooting background information from each shooting task, and generating corresponding trigger conditions according to the shooting background information, the trigger
  • the conditions include time conditions, geographic conditions, and/or meteorological conditions, and then, the current time, the current geographic location, and/or the current weather are obtained, and the current time, the current geographic location, and/or the current weather is determined to satisfy the trigger condition, if satisfied,
  • a prompt interface for displaying the shooting task is generated to prompt the user to start the camera for shooting, and then, when entering the shooting application, the electronic device can acquire the current environmental parameter, and adjust the shooting parameter of the electronic device according to the current environmental parameter, and then The adjusted shooting parameters are taken, followed by According to the shooting time, the at
  • the present embodiment is further described from the perspective of a video production device, which may be implemented as an independent entity or integrated in an electronic device, such as a terminal.
  • the terminal can include a mobile phone, a tablet computer, a personal computer, and the like.
  • the embodiment of the present application provides a video production device, which is applied to an electronic device, and includes:
  • An obtaining module configured to acquire a keyword set by a user, where the keyword includes a participant and a participation event
  • a determining module configured to determine, according to the keyword, a plurality of shooting tasks, and triggering conditions of each shooting task
  • a prompting module configured to prompt the user to perform shooting of the corresponding shooting task according to the triggering condition, to obtain at least one photo
  • a generating module configured to generate a video file according to the at least one photo.
  • the determining module is specifically configured to:
  • the shooting background information is extracted from each shooting task, and corresponding trigger conditions are generated according to the shooting background information.
  • the triggering condition includes a time condition, a geographic condition, and/or a meteorological condition
  • the prompting module is specifically configured to:
  • a prompt interface displaying the shooting task is generated to prompt the user to start the camera for shooting.
  • the video production device further includes an adjustment module, configured to:
  • photographing is performed with the photographing parameters.
  • the adjustment module is specifically configured to:
  • the generating module is specifically configured to:
  • the at least one photo is spliced according to the shooting time to obtain an animation file
  • the animation file and the audio file are combined into a video file.
  • the generating module is specifically configured to:
  • the at least one photo is filled into the animation template in a map manner.
  • FIG. 5 specifically describes a video production apparatus according to an embodiment of the present application, which is applied to an electronic device.
  • the video production apparatus may include: an obtaining module 10, a determining module 20, a prompting module 30, and a generating module 40, where:
  • the obtaining module 10 is configured to obtain a keyword set by the user, where the keyword includes a participant and a participation event.
  • the keyword is set by the user according to the requirement, and is mainly used to summarize the topic content of the script to be photographed.
  • the participation event may include: a growth memorial, a travel commemoration, a hyena, a wedding commemoration, etc., and the participant mainly refers to a person or animal such as a child, a parent, or a puppy.
  • the determining module 20 is configured to determine a plurality of shooting tasks and triggering conditions of each shooting task according to the keyword.
  • the determining module 20 can be specifically configured to:
  • the shooting background information is extracted from each shooting task, and corresponding trigger conditions are generated according to the shooting background information.
  • the script summary is mainly used to briefly describe the main content of the script, which may include a script theme, a main plot, and a main character.
  • the script summary and shooting tasks can be obtained from a web script of an existing film and television drama work, or can be an artificially set shooting template.
  • the shooting background information may include weather, age, location, etc., for example, when a shooting task is: shooting a baby one year old crawling photo, the extracted background information may be 1 year old, at this time, for this shooting script,
  • the user is required to input the actual age of the baby in advance, and the timekeeping function is turned on, and the interval time between the actual age and the age of 1 is used as the time duration for satisfying the condition, and the trigger condition is generated.
  • the prompting module 30 is configured to prompt the user to perform shooting of the corresponding shooting task according to the triggering condition to obtain at least one photo.
  • the trigger condition includes a time condition, a geographic condition, and/or a weather condition
  • the prompt module is specifically configured to:
  • a prompt interface for displaying the shooting task is generated to prompt the user to start the camera for shooting.
  • the trigger condition may be related to time, location, and/or weather, which may be directly set by the user, or may be determined according to a shooting task.
  • the time may be July 31 of each year, and the location may be In a park or cafe, the weather can be sunny or rainy, etc., depending on the actual needs of the user.
  • the electronic device may automatically generate a prompt interface.
  • the prompt interface may further include a script shooting progress display column, a script summary display column, etc., so that the user can better understand the whole.
  • the content of the shooting of course, in order to facilitate the user to quickly enter the shooting application for shooting, the prompting interface may also include a shooting application access interface, which may be in the form of a camera icon or the like.
  • a selection box for determining the next prompt time may be provided for The user selects the appropriate time to shoot again.
  • the next prompt time in the selection box can be set by default. For example, after one hour, tomorrow or two days, the user can set it according to his own situation. When set, the electronic device will start timing.
  • the video production device can further include an adjustment module 50 for:
  • the prompting module 30 After the prompting module 30 generates the prompting interface displaying the shooting task, when the electronic device enters the shooting application, the current environment parameter is acquired;
  • the environmental parameters mainly include natural factors that affect the shooting effect, such as ambient light brightness, light intensity, and light contrast.
  • the shooting parameters mainly refer to exposure, filter type, color softness, etc., when environmental parameters are obtained.
  • the range of parameters to which the environment parameter belongs may be determined first, and then the corresponding shooting parameters are obtained according to the determined parameter range.
  • the generating module 40 is configured to generate a video file according to the at least one photo.
  • the generating module 40 may be specifically configured to:
  • the at least one photo is stitched according to the shooting time to obtain an animation file
  • the electronic device can automatically stitch the still photos into a dynamic animation file according to the shooting time.
  • the appropriate animation template can be obtained according to the number of photos, and then the photo is taken. Fill the animation template with textures.
  • the audio file can be downloaded from the user's website or recorded by yourself.
  • the foregoing units may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing method embodiments and details are not described herein.
  • the video production device provided in this embodiment is applied to an electronic device, and the keyword set by the user is acquired by the obtaining module 10, the keyword includes a participant and a participation event, and the determining module 20 determines a plurality of items according to the keyword.
  • the shooting task and the triggering condition of each shooting task after which the prompting module 30 prompts the user to perform shooting of the corresponding shooting task according to the triggering condition to obtain at least one photo, and the generating module 40 generates a video file according to the at least one photo. Therefore, it is possible to create videos of various themes according to user requirements, and the method is simple and flexible.
  • the embodiment of the present application further provides an electronic device, which may be a device such as a smart phone or a tablet computer.
  • the electronic device 900 includes a processor 901, a memory 902, a display screen 903, and a control circuit 904.
  • the processor 901 is electrically connected to the memory 902, the display screen 903, and the control circuit 904, respectively.
  • the processor 901 is a control center of the electronic device 900, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic by running or loading an application stored in the memory 902, and calling data stored in the memory 902.
  • the various functions and processing data of the device enable overall monitoring of the electronic device.
  • the processor 901 in the electronic device 900 loads the instructions corresponding to the process of one or more applications into the memory 902 according to the following steps, and is stored in the memory 902 by the processor 901.
  • the application thus implementing various functions:
  • a video file is generated based on the at least one photo.
  • the determining, according to the keyword, a plurality of shooting tasks, and triggering conditions of each shooting task including:
  • the shooting background information is extracted from each shooting task, and corresponding trigger conditions are generated according to the shooting background information.
  • the triggering condition includes a time condition, a geographic condition, and/or a meteorological condition
  • the prompting the user to perform the shooting of the corresponding shooting task according to the triggering condition includes:
  • a prompt interface displaying the shooting task is generated to prompt the user to start the camera for shooting.
  • the method further includes:
  • photographing is performed with the photographing parameters.
  • the determining, by the current environment parameter, the shooting parameters of the electronic device includes:
  • the generating a video file according to the at least one photo comprises:
  • the at least one photo is spliced according to the shooting time to obtain an animation file
  • the animation file and the audio file are combined into a video file.
  • the splicing the at least one photo according to a shooting time comprises:
  • the at least one photo is filled into the animation template in a map manner.
  • Memory 902 can be used to store applications and data.
  • the application stored in the memory 902 contains instructions executable in the processor.
  • Applications can form various functional modules.
  • the processor 901 executes various functional applications and data processing by running an application stored in the memory 902.
  • the display screen 903 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the terminal, which can be composed of images, text, icons, video, and any combination thereof.
  • the control circuit 904 is electrically connected to the display screen 903 for controlling the display screen 903 to display information.
  • the electronic device 900 further includes a radio frequency circuit 905, an input unit 906, an audio circuit 907, a sensor 908, and a power source 909.
  • the processor 901 is electrically connected to the radio frequency circuit 905, the input unit 906, the audio circuit 907, the sensor 908, and the power source 909, respectively.
  • the radio frequency circuit 905 is used for transmitting and receiving radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • Input unit 906 can be used to receive input numbers, character information or user characteristic information (e. g., fingerprints), as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the input unit 906 can include a fingerprint identification module.
  • the audio circuit 907 can provide an audio interface between the user and the terminal through a speaker and a microphone.
  • Electronic device 900 may also include at least one type of sensor 908, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel and/or the backlight when the terminal moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • Power source 909 is used to power various components of electronic device 900.
  • the power supply 909 can be logically coupled to the processor 901 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 900 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • an embodiment of the present invention provides a storage medium in which a plurality of instructions are stored, which can be loaded by a processor to perform the steps in any of the video production methods provided by the embodiments of the present invention.
  • the storage medium may include: a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
  • ROM read only memory
  • RAM random access memory
  • magnetic disk a magnetic disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

一种视频制作方法、装置、存储介质及电子设备,该视频制作方法包括:获取用户设定的关键词,该关键词包括参与者及参与事件;根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;根据该至少一张照片生成视频文件。

Description

视频制作方法、装置、存储介质及电子设备
本申请要求于2018年1月10日提交中国专利局、申请号为201810023876.6、发明名称为“视频制作方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种视频制作方法、装置、存储介质及电子设备。
背景技术
随着终端技术的发展,终端所能够支持的功能越来越强大。例如,终端具有摄像头,从而能够支持拍照功能等。
很多场景下,用户可以使用终端的拍摄功能拍摄照片,比如旅游或参加朋友聚会,等等,对于这种具有同一主题的照片,用户后续可以制作成小视频以便观看留念,但是这些自然的场景主题比较有限,制作成的小视频样式并不丰富,难以满足不同用户的视频制作需求。
发明内容
本申请实施例提供一种视频制作方法、装置、存储介质及电子设备,能根据用户的需求制作各种不同主题的视频,不局限于自然场景主题。
本申请实施例提供了一种视频制作方法,应用于电子设备,包括:
获取用户设定的关键词,所述关键词包括参与者及参与事件;
根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;
根据所述触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;
根据所述至少一张照片生成视频文件。
本申请实施例还提供了一种视频制作装置,应用于电子设备,包括:
获取模块,用于获取用户设定的关键词,所述关键词包括参与者及参与事件;
确定模块,用于根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;
提示模块,用于根据所述触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;
生成模块,用于根据所述至少一张照片生成视频文件。
本申请实施例还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述任一项视频制作方法。
本申请实施例还提供了一种电子设备,包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于上述任一项所述的视频制作方法中的步骤。
本申请提供的视频制作方法、装置、存储介质及电子设备,通过获取用户设定的关键词,该关键词包括参与者及参与事件,并根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件,之后,根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片,并根据该至少一张照片生成视频文件,从而能根据用户需求制作各种不同主题的视频,方法简单,灵活性好。
附图说明
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其它有益效果显而易见。
图1为本申请实施例提供的视频制作方法的流程示意图。
图2为本申请实施例提供的视频制作方法的另一流程示意图。
图3为本申请实施例提供的电子设备中剧本设置界面的示意图。
图4为本申请实施例提供的电子设备中提示界面的示意图。
图5为本申请实施例提供的视频制作装置的结构示意图。
图6为本申请实施例提供的视频制作装置的另一结构示意图。
图7为本申请实施例提供的电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供一种视频制作方法、装置、存储介质及电子设备。
一种频制作方法,应用于电子设备,包括:获取用户设定的关键词,该关键词包括参与者及参与事件;根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;根据该至少一张照片生成视频文件。
在一些实施例中,所述根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件,包括:
将所述关键词与预设的至少一个剧本概要进行匹配;
根据匹配成功的剧本概要查找对应的多条拍摄任务;
从每条拍摄任务中提取出拍摄背景信息,并根据所述拍摄背景信息生成对应的触发条件。
在一些实施例中,所述触发条件包括时间条件、地理条件和/或气象条件,所述根据所述触发条件提示用户进行对应拍摄任务的拍摄,包括:
获取当前时间、当前地理位置和/或当前气象;
检测当前时间、当前地理位置和/或当前气象是否满足所述触发条件;
若是,则生成显示有所述拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
在一些实施例中,在生成显示有所述拍摄任务的提示界面之后,还包括:
获取当前环境参数;
根据当前环境参数确定所述电子设备的拍摄参数;
当所述电子设备进入拍摄应用时,以所述拍摄参数进行拍摄。
在一些实施例中,所述根据当前环境参数确定所述电子设备的拍摄参数,包括:
确定所述当前环境参数所属的参数范围;
根据确定的所述参数范围获取对应的拍摄参数。
在一些实施例中,所述根据所述至少一张照片生成视频文件,包括:
按照拍摄时间对所述至少一张照片进行拼接,得到动画文件;
获取用户设定的音频文件;
将所述动画文件与音频文件合成为视频文件。
在一些实施例中,所述按照拍摄时间对所述至少一张照片进行拼接,包括:
确定所述至少一张照片的数量;
选取与所述数量对应的动画模板;
以贴图方式将所述至少一张照片填充进所述动画模板中。
如图1所示,图1是本申请实施例提供的视频制作方法的流程示意图,其应用于电子设备,具体流程可以如下:
101、获取用户设定的关键词,该关键词包括参与者及参与事件。
本实施例中,该关键词是用户根据需求自行设定的,其主要用于概述需拍摄剧本的主题内容。该参与事件可以包括:成长纪念、旅游纪念、遛狗、结婚纪念等等,该参与者主要指被拍摄对象,比如小孩、父母或者小狗等人物或动物。
102、根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件。
例如,上述步骤102具体可以包括:
将该关键词与预设的至少一个剧本概要进行匹配;
根据匹配成功的剧本概要查找对应的多条拍摄任务;
从每条拍摄任务中提取出拍摄背景信息,并根据该拍摄背景信息生成对应的触发条件。
本实施例中,该剧本概要主要用于简单描述剧本的主要内容,其可以包括剧本主题、主要情节和主要人物等。该剧本概要和拍摄任务可以是从现有影视剧作品的网络剧本中得到的,也可以是人为设定的拍摄模板。该拍摄背景信息可以包括天气、年龄、地点等,比如当某条拍摄任务为:拍摄宝宝一岁爬行照时,提取出的背景信息可以为年龄1岁,此时,对于这种拍摄剧本,可以提前要求用户输入宝宝的实际年龄,并开启计时功能,将实际年龄与1岁之间的间隔时长作为满足条件的计时时长,生成触发条件。
103、根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片。
例如,该触发条件包括时间条件、地理条件和/或气象条件,此时,上述步骤103具体可以包括:
获取当前时间、当前地理位置和/或当前气象;
检测当前时间、当前地理位置和/或当前气象是否满足该触发条件;
若是,则生成显示有该拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
本实施例中,该触发条件可以和时间、地点和/或天气有关,其可以是用户直接设定的,也可以是根据拍摄任务确定的,比如时间可以是每年7月31日,地点可以是公园或咖啡馆,天气可以是晴天或雨天,等等,具体根据用户的实际需求而定。当满足触发条件时,电子设备可以自动生成一个提示界面,该提示界面上除了该拍摄任务的显示栏外,还可以包括剧本拍摄进度显示栏、剧本概要显示栏等,以便用户更好的了解整个拍摄内容,当然,为便于用户快速进入拍摄应用进行拍摄,该提示界面上还可以包括拍摄应用进入接口,该进入接口可以表现为摄像机图标等形式。
容易理解的是,由于并非每次显示提示界面时,用户都方便进行拍摄,因此当检测到用户拒绝了当前拍摄任务的拍摄时,可以提供一个用于确定下次提示时间的选择框,以供用户选择合适时间重新拍摄。该选择框中的下次提示时间可以是默认设定好的,比如一小时后,明天或者两天后,也可以是用户根据自身情况随意设定的,当设定好后,电子设备会启动计时功能。
此外,当电子设备进入拍摄应用进行拍摄时,还可以自动根据环境光亮度调整拍摄参数,也即,在上述步骤103之后,该视频制作方法还可以包括:
当该电子设备进入拍摄应用时,获取当前环境参数;
根据当前环境参数调整该电子设备的拍摄参数;
以该调整后的拍摄参数进行拍摄。
本实施例中,该环境参数主要包括影响拍摄效果的自然因素,比如环境光亮度、光强度和光对比度等,该拍摄参数主要指曝光度、滤镜类型、色彩柔和度等,当得到环境参数时,可以先确定该环境参数所属的参数范围,之后,根据确定的参数范围获取对应的拍摄参数。
104、根据该至少一张照片生成视频文件。
例如,上述步骤104具体可以包括:
按照拍摄时间对该至少一张照片进行拼接,得到动画文件;
获取用户设定的音频文件;
将该动画文件与音频文件合成为视频文件。
本实施例中,当检测到已完成所有拍摄任务时,电子设备可以自动根据拍摄时间依次将静态照片拼接成一个动态的动画文件,具体的,可以根据照片数量获取合适的动画模板,然后将照片以贴图的方式对动画模板进行填充,当然, 在填充过程中,还可以在静态照片上生成关于该拍摄任务的批注文字,比如当某张照片是宝宝一岁的爬行照时,可以在该照片上批注“1岁”等文字。该音频文件可以是用户网上下载的,也可以是自己录制的。
由上述可知,本实施例提供的视频制作方法,应用于电子设备,通过获取用户设定的关键词,该关键词包括参与者及参与事件,并根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件,之后,根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片,并根据该至少一张照片生成视频文件,从而能根据用户需求制作各种不同主题的视频,方法简单,灵活性好。
在本实施例中,将从视频制作装置的角度进行描述,具体将以该视频制作装置集成在电子设备中为例进行详细说明。
请参见图2,一种视频制作方法,应用于电子设备,具体流程可以如下:
201、电子设备获取用户设定的关键词,该关键词包括参与者及参与事件。
202、电子设备将该关键词与预设的至少一个剧本概要进行匹配,并根据匹配成功的剧本概要查找对应的多条拍摄任务。
譬如,该剧本概要主要可以包括剧本主题、主要情节、主要人物等,该剧本主题可以包括校园、家庭、教育和生活日常等等。该剧本概要和拍摄任务可以是从现有影视剧作品的网络剧本中得到的,也可以是人为设定的拍摄模板。请参见图3,当输入关键词:狗狗、成长纪念时,匹配到的剧本概要可以是从网上查找到的现有狗狗成长视频的剧本概要,对应查找到的拍摄任务可以以列表的形式呈现,包括:拍摄狗狗出生照、拍摄狗狗吃饭照、拍摄狗狗午睡照…晴天在公园里拍摄狗狗玩耍照等等。
203、电子设备从每条拍摄任务中提取出拍摄背景信息,并根据该拍摄背景信息生成对应的触发条件,该触发条件包括时间条件、地理条件和/或气象条件。
204、电子设备获取当前时间、当前地理位置和/或当前气象,并检测当前时间、当前地理位置和/或当前气象是否满足该触发条件,若满足,则执行下述步骤205。
譬如,该触发条件可以是用户直接设定的,也可以是根据拍摄任务确定的,比如当该拍摄任务是:晴天在公园里拍摄狗狗玩耍照时,容易推断出该拍摄任 务的拍摄背景信息涉及天气和地点,此时,可以将晴天+公园这个客观条件作为触发条件,并实时检测电子设备所处环境的气象信息和地理位置信息,只有当电子设备处于公园中且天气正好天晴时,可以判断满足触发条件。
205、电子设备生成显示有该拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
譬如,请参见图4,该提示界面上除了该拍摄任务的显示栏外,还可以包括剧本拍摄进度显示栏、剧本概要显示栏等,以便用户更好的了解整个拍摄内容,当然,为便于用户快速进入拍摄应用进行拍摄,该提示界面上还可以包括拍摄应用进入接口,该进入接口可以表现为摄像机图标。
206、当进入拍摄应用时,电子设备获取当前环境参数,并根据当前环境参数调整该电子设备的拍摄参数,之后以该调整后的拍摄参数进行拍摄。
譬如,该环境参数可以包括环境光亮度、光强度和光对比度等,该拍摄参数主要指曝光度、滤镜类型、色彩柔和度等,当得到环境参数时,可以先确定该环境参数所属的参数范围,之后,根据确定的参数范围获取对应的拍摄参数,不同的环境参数通常对应不同的拍摄参数。
207、电子设备按照拍摄时间对该至少一张照片进行拼接,得到动画文件,并获取用户设定的音频文件,之后将该动画文件与音频文件合成为视频文件。
譬如,电子设备可以先根据照片数量获取合适的动画模板,然后将照片以贴图的方式对动画模板进行填充,在填充过程中,静态照片上还可以生成关于对应拍摄任务的批注文字,比如当某张照片是狗狗出生照时,可以在该照片上批注“出生”等文字。
由上述可知,本实施例提供的视频制作方法,应用于电子设备,其中电子设备可以获取用户设定的关键词,该关键词包括参与者及参与事件,接着,将该关键词与预设的至少一个剧本概要进行匹配,并根据匹配成功的剧本概要查找对应的多条拍摄任务,接着,从每条拍摄任务中提取出拍摄背景信息,并根据该拍摄背景信息生成对应的触发条件,该触发条件包括时间条件、地理条件和/或气象条件,接着,获取当前时间、当前地理位置和/或当前气象,并检测当前时间、当前地理位置和/或当前气象是否满足该触发条件,若满足,则生成显示有该拍摄任务的提示界面,以提示用户启动摄像头进行拍摄,之后,当进入拍摄应用时,电子设备可以获取当前环境参数,并根据当前环境参数调整 该电子设备的拍摄参数,之后以该调整后的拍摄参数进行拍摄,接着,按照拍摄时间对该至少一张照片进行拼接,得到动画文件,并获取用户设定的音频文件,之后将该动画文件与音频文件合成为视频文件,从而能根据用户需求制作各种不同主题的视频,不局限现有自然场景主题,方法简单,灵活性好,适用范围广。
根据上述实施例所描述的方法,本实施例将从视频制作装置的角度进一步进行描述,该视频制作装置具体可以作为独立的实体来实现,也可以集成在电子设备,比如终端中来实现,该终端可以包括手机、平板电脑以及个人计算机等。
本申请实施例提供了一种视频制作装置,应用于电子设备,其包括:
获取模块,用于获取用户设定的关键词,所述关键词包括参与者及参与事件;
确定模块,用于根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;
提示模块,用于根据所述触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;
生成模块,用于根据所述至少一张照片生成视频文件。
在一些实施例中,所述确定模块具体用于:
将所述关键词与预设的至少一个剧本概要进行匹配;
根据匹配成功的剧本概要查找对应的多条拍摄任务;
从每条拍摄任务中提取出拍摄背景信息,并根据所述拍摄背景信息生成对应的触发条件。
在一些实施例中,所述触发条件包括时间条件、地理条件和/或气象条件,所述提示模块具体用于:
获取当前时间、当前地理位置和/或当前气象;
检测当前时间、当前地理位置和/或当前气象是否满足所述触发条件;
若是,则生成显示有所述拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
在一些实施例中,所述视频制作装置还包括调整模块,用于:
在生成显示有所述拍摄任务的提示界面之后,获取当前环境参数;
根据当前环境参数确定所述电子设备的拍摄参数;
当所述电子设备进入拍摄应用时,以所述拍摄参数进行拍摄。
在一些实施例中,所述调整模块具体用于:
确定所述当前环境参数所属的参数范围;
根据确定的所述参数范围获取对应的拍摄参数。
在一些实施例中,所述生成模块具体用于:
按照拍摄时间对所述至少一张照片进行拼接,得到动画文件;
获取用户设定的音频文件;
将所述动画文件与音频文件合成为视频文件。
在一些实施例中,所述生成模块具体用于:
确定所述至少一张照片的数量;
选取与所述数量对应的动画模板;
以贴图方式将所述至少一张照片填充进所述动画模板中。
请参阅图5,图5具体描述了本申请实施例提供的视频制作装置,应用于电子设备,该视频制作装置可以包括:获取模块10、确定模块20、提示模块30和生成模块40,其中:
(1)获取模块10
获取模块10,用于获取用户设定的关键词,该关键词包括参与者及参与事件。
本实施例中,该关键词是用户根据需求自行设定的,其主要用于概述需拍摄剧本的主题内容。该参与事件可以包括:成长纪念、旅游纪念、遛狗、结婚纪念等等,该参与者主要指被拍摄对象,比如小孩、父母或者小狗等人物或动物。
(2)确定模块20
确定模块20,用于根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件。
例如,该确定模块20具体可以用于:
将该关键词与预设的至少一个剧本概要进行匹配;
根据匹配成功的剧本概要查找对应的多条拍摄任务;
从每条拍摄任务中提取出拍摄背景信息,并根据该拍摄背景信息生成对应 的触发条件。
本实施例中,该剧本概要主要用于简单描述剧本的主要内容,其可以包括剧本主题、主要情节和主要人物等。该剧本概要和拍摄任务可以是从现有影视剧作品的网络剧本中得到的,也可以是人为设定的拍摄模板。该拍摄背景信息可以包括天气、年龄、地点等,比如当某条拍摄任务为:拍摄宝宝一岁爬行照时,提取出的背景信息可以为年龄1岁,此时,对于这种拍摄剧本,可以提前要求用户输入宝宝的实际年龄,并开启计时功能,将实际年龄与1岁之间的间隔时长作为满足条件的计时时长,生成触发条件。
(3)提示模块30
提示模块30,用于根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片。
例如,该触发条件包括时间条件、地理条件和/或气象条件,该提示模块具体用于:
获取当前时间、当前地理位置和/或当前气象;
检测当前时间、当前地理位置和/或当前气象是否满足该触发条件;
若是,则生成显示有该拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
本实施例中,该触发条件可以和时间、地点和/或天气有关,其可以是用户直接设定的,也可以是根据拍摄任务确定的,比如时间可以是每年7月31日,地点可以是公园或咖啡馆,天气可以是晴天或雨天,等等,具体根据用户的实际需求而定。当满足触发条件时,电子设备可以自动生成一个提示界面,该提示界面上除了该拍摄任务的显示栏外,还可以包括剧本拍摄进度显示栏、剧本概要显示栏等,以便用户更好的了解整个拍摄内容,当然,为便于用户快速进入拍摄应用进行拍摄,该提示界面上还可以包括拍摄应用进入接口,该进入接口可以表现为摄像机图标等形式。
容易理解的是,由于并非每次显示提示界面时,用户都方便进行拍摄,因此当检测到用户拒绝了当前拍摄任务的拍摄时,可以提供一个用于确定下次提示时间的选择框,以供用户选择合适时间重新拍摄。该选择框中的下次提示时间可以是默认设定好的,比如一小时后,明天或者两天后,也可以是用户根据自身情况随意设定的,当设定好后,电子设备会启动计时功能。
此外,当电子设备进入拍摄应用进行拍摄时,还可以自动根据环境光亮度调整拍摄参数,也即,请参见图6,该视频制作装置还可以包括调整模块50,用于:
在该提示模块30生成显示有该拍摄任务的提示界面之后,当该电子设备进入拍摄应用时,获取当前环境参数;
根据当前环境参数调整该电子设备的拍摄参数;
以该调整后的拍摄参数进行拍摄。
本实施例中,该环境参数主要包括影响拍摄效果的自然因素,比如环境光亮度、光强度和光对比度等,该拍摄参数主要指曝光度、滤镜类型、色彩柔和度等,当得到环境参数时,可以先确定该环境参数所属的参数范围,之后,根据确定的参数范围获取对应的拍摄参数。
(4)生成模块40
生成模块40,用于根据该至少一张照片生成视频文件。
例如,上述生成模块40具体可以用于:
按照拍摄时间对该至少一张照片进行拼接,得到动画文件;
获取用户设定的音频文件;
将该动画文件与音频文件合成为视频文件。
本实施例中,当检测到已完成所有拍摄任务时,电子设备可以自动根据拍摄时间依次将静态照片拼接成一个动态的动画文件,具体的,可以根据照片数量获取合适的动画模板,然后将照片以贴图的方式对动画模板进行填充,当然,在填充过程中,还可以在静态照片上生成关于该拍摄任务的批注文字,比如当某张照片是宝宝一岁的爬行照时,可以在该照片上批注“1岁”等文字。该音频文件可以是用户网上下载的,也可以是自己录制的。
具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。
由上述可知,本实施例提供的视频制作装置,应用于电子设备,通过获取模块10获取用户设定的关键词,该关键词包括参与者及参与事件,确定模块20根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件,之后,提示模块30根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少 一张照片,生成模块40根据该至少一张照片生成视频文件,从而能根据用户需求制作各种不同主题的视频,方法简单,灵活性好。
另外,本申请实施例还提供了一种电子设备,该电子设备可以是智能手机、平板电脑等设备。图7所示,电子设备900包括处理器901、存储器902、显示屏903以及控制电路904。其中,处理器901分别与存储器902、显示屏903、控制电路904电性连接。
处理器901是电子设备900的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器902内的应用程序,以及调用存储在存储器902内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,电子设备900中的处理器901会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器902中,并由处理器901来运行存储在存储器902中的应用程序,从而实现各种功能:
获取用户设定的关键词,该关键词包括人物以及参与事件;
根据该关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;
根据该触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;
根据该至少一张照片生成视频文件。
在一些实施例中,所述根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件,包括:
将所述关键词与预设的至少一个剧本概要进行匹配;
根据匹配成功的剧本概要查找对应的多条拍摄任务;
从每条拍摄任务中提取出拍摄背景信息,并根据所述拍摄背景信息生成对应的触发条件。
在一些实施例中,所述触发条件包括时间条件、地理条件和/或气象条件,所述根据所述触发条件提示用户进行对应拍摄任务的拍摄,包括:
获取当前时间、当前地理位置和/或当前气象;
检测当前时间、当前地理位置和/或当前气象是否满足所述触发条件;
若是,则生成显示有所述拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
在一些实施例中,在生成显示有所述拍摄任务的提示界面之后,还包括:
获取当前环境参数;
根据当前环境参数确定所述电子设备的拍摄参数;
当所述电子设备进入拍摄应用时,以所述拍摄参数进行拍摄。
在一些实施例中,所述根据当前环境参数确定所述电子设备的拍摄参数,包括:
确定所述当前环境参数所属的参数范围;
根据确定的所述参数范围获取对应的拍摄参数。
在一些实施例中,所述根据所述至少一张照片生成视频文件,包括:
按照拍摄时间对所述至少一张照片进行拼接,得到动画文件;
获取用户设定的音频文件;
将所述动画文件与音频文件合成为视频文件。
在一些实施例中,所述按照拍摄时间对所述至少一张照片进行拼接,包括:
确定所述至少一张照片的数量;
选取与所述数量对应的动画模板;
以贴图方式将所述至少一张照片填充进所述动画模板中。
存储器902可用于存储应用程序和数据。存储器902存储的应用程序中包含有可在处理器中执行的指令。应用程序可以组成各种功能模块。处理器901通过运行存储在存储器902的应用程序,从而执行各种功能应用以及数据处理。
显示屏903可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。
控制电路904与显示屏903电性连接,用于控制显示屏903显示信息。
在一些实施例中,如图7所示,电子设备900还包括:射频电路905、输入单元906、音频电路907、传感器908以及电源909。其中,处理器901分别与射频电路905、输入单元906、音频电路907、传感器908以及电源909电性连接。
射频电路905用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。
输入单元906可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或 者轨迹球信号输入。其中,输入单元906可以包括指纹识别模组。
音频电路907可通过扬声器、传声器提供用户与终端之间的音频接口。
电子设备900还可以包括至少一种传感器908,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
电源909用于给电子设备900的各个部件供电。在一些实施例中,电源909可以通过电源管理系统与处理器901逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图7中未示出,电子设备900还可以包括摄像头、蓝牙模块等,在此不再赘述。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。为此,本发明实施例提供一种存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本发明实施例所提供的任一种视频制作方法中的步骤。
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
由于该存储介质中所存储的指令,可以执行本发明实施例所提供的任一种视频制作方法中的步骤,因此,可以实现本发明实施例所提供的任一种视频制作方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
综上该,虽然本申请已以优选实施例揭露如上,但上述优选实施例并非用以限制本申请,本领域的普通技术人员,在不脱离本申请的精神和范围内,均可作各种更动与润饰,因此本申请的保护范围以权利要求界定的范围为准。

Claims (20)

  1. 一种视频制作方法,应用于电子设备,其包括:
    获取用户设定的关键词,所述关键词包括参与者及参与事件;
    根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;
    根据所述触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;
    根据所述至少一张照片生成视频文件。
  2. 根据权利要求1所述的视频制作方法,其中,所述根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件,包括:
    将所述关键词与预设的至少一个剧本概要进行匹配;
    根据匹配成功的剧本概要查找对应的多条拍摄任务;
    从每条拍摄任务中提取出拍摄背景信息,并根据所述拍摄背景信息生成对应的触发条件。
  3. 根据权利要求1所述的视频制作方法,其中,所述触发条件包括时间条件、地理条件和/或气象条件,所述根据所述触发条件提示用户进行对应拍摄任务的拍摄,包括:
    获取当前时间、当前地理位置和/或当前气象;
    检测当前时间、当前地理位置和/或当前气象是否满足所述触发条件;
    若是,则生成显示有所述拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
  4. 根据权利要求3所述的视频制作方法,其中,在生成显示有所述拍摄任务的提示界面之后,还包括:
    获取当前环境参数;
    根据当前环境参数确定所述电子设备的拍摄参数;
    当所述电子设备进入拍摄应用时,以所述拍摄参数进行拍摄。
  5. 根据权利要求4所述的视频制作方法,其中,所述根据当前环境参数确定所述电子设备的拍摄参数,包括:
    确定所述当前环境参数所属的参数范围;
    根据确定的所述参数范围获取对应的拍摄参数。
  6. 根据权利要求1所述的视频制作方法,其中,所述根据所述至少一张 照片生成视频文件,包括:
    按照拍摄时间对所述至少一张照片进行拼接,得到动画文件;
    获取用户设定的音频文件;
    将所述动画文件与音频文件合成为视频文件。
  7. 根据权利要求6所述的视频制作方法,其中,所述按照拍摄时间对所述至少一张照片进行拼接,包括:
    确定所述至少一张照片的数量;
    选取与所述数量对应的动画模板;
    以贴图方式将所述至少一张照片填充进所述动画模板中。
  8. 一种视频制作装置,应用于电子设备,其包括:
    获取模块,用于获取用户设定的关键词,所述关键词包括参与者及参与事件;
    确定模块,用于根据所述关键词确定多条拍摄任务、以及每条拍摄任务的触发条件;
    提示模块,用于根据所述触发条件提示用户进行对应拍摄任务的拍摄,以得到至少一张照片;
    生成模块,用于根据所述至少一张照片生成视频文件。
  9. 根据权利要求8所述的视频制作装置,其中,所述确定模块具体用于:
    将所述关键词与预设的至少一个剧本概要进行匹配;
    根据匹配成功的剧本概要查找对应的多条拍摄任务;
    从每条拍摄任务中提取出拍摄背景信息,并根据所述拍摄背景信息生成对应的触发条件。
  10. 根据权利要求8所述的视频制作装置,其中,所述触发条件包括时间条件、地理条件和/或气象条件,所述提示模块具体用于:
    获取当前时间、当前地理位置和/或当前气象;
    检测当前时间、当前地理位置和/或当前气象是否满足所述触发条件;
    若是,则生成显示有所述拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
  11. 根据权利要求10所述的视频制作装置,其中,所述视频制作装置还包括调整模块,用于:
    在生成显示有所述拍摄任务的提示界面之后,获取当前环境参数;
    根据当前环境参数确定所述电子设备的拍摄参数;
    当所述电子设备进入拍摄应用时,以所述拍摄参数进行拍摄。
  12. 根据权利要求11所述的视频制作方法,其中,所述调整模块具体用于:
    确定所述当前环境参数所属的参数范围;
    根据确定的所述参数范围获取对应的拍摄参数。
  13. 根据权利要求8所述的视频制作方法,其中,所述生成模块具体用于:
    按照拍摄时间对所述至少一张照片进行拼接,得到动画文件;
    获取用户设定的音频文件;
    将所述动画文件与音频文件合成为视频文件。
  14. 根据权利要求13所述的视频制作方法,其中,所述生成模块具体用于:
    确定所述至少一张照片的数量;
    选取与所述数量对应的动画模板;
    以贴图方式将所述至少一张照片填充进所述动画模板中。
  15. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行权利要求1所述的视频制作方法。
  16. 一种电子设备,其包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行权利要求1所述的视频制作方法中的步骤。
  17. 根据权利要求16所述的电子设备,其中,所述处理器具体用于执行:
    将所述关键词与预设的至少一个剧本概要进行匹配;
    根据匹配成功的剧本概要查找对应的多条拍摄任务;
    从每条拍摄任务中提取出拍摄背景信息,并根据所述拍摄背景信息生成对应的触发条件。
  18. 根据权利要求16所述的电子设备,其中,所述触发条件包括时间条件、地理条件和/或气象条件,所述处理器具体用于执行:
    获取当前时间、当前地理位置和/或当前气象;
    检测当前时间、当前地理位置和/或当前气象是否满足所述触发条件;
    若是,则生成显示有所述拍摄任务的提示界面,以提示用户启动摄像头进行拍摄。
  19. 根据权利要求18所述的视频制作方法,其中,在生成显示有所述拍摄任务的提示界面之后,所述处理器还用于执行:
    获取当前环境参数;
    根据当前环境参数确定所述电子设备的拍摄参数;
    当所述电子设备进入拍摄应用时,以所述拍摄参数进行拍摄。
  20. 根据权利要求16所述的视频制作方法,其中,所述处理器具体用于执行:
    按照拍摄时间对所述至少一张照片进行拼接,得到动画文件;
    获取用户设定的音频文件;
    将所述动画文件与音频文件合成为视频文件。
PCT/CN2018/121969 2018-01-10 2018-12-19 视频制作方法、装置、存储介质及电子设备 WO2019137166A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/954,738 US11297225B2 (en) 2018-01-10 2018-12-19 Video producing method, apparatus, storage medium, and electronic device
EP18900093.8A EP3699868A4 (en) 2018-01-10 2018-12-19 VIDEO PRODUCTION PROCESS, APPARATUS, INFORMATION MEDIA AND ELECTRONIC DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810023876.6 2018-01-10
CN201810023876.6A CN110033502B (zh) 2018-01-10 2018-01-10 视频制作方法、装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2019137166A1 true WO2019137166A1 (zh) 2019-07-18

Family

ID=67219291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/121969 WO2019137166A1 (zh) 2018-01-10 2018-12-19 视频制作方法、装置、存储介质及电子设备

Country Status (4)

Country Link
US (1) US11297225B2 (zh)
EP (1) EP3699868A4 (zh)
CN (1) CN110033502B (zh)
WO (1) WO2019137166A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738623B (zh) * 2019-10-14 2022-11-01 北京字节跳动网络技术有限公司 视频文件的生成方法、装置、终端及存储介质
CN113572952A (zh) * 2021-05-19 2021-10-29 海南师范大学 一种线上赛事系统的参赛视频处理方法
CN115103236A (zh) * 2022-06-16 2022-09-23 抖音视界(北京)有限公司 影像记录生成方法、装置、电子设备及存储介质
CN115331493A (zh) * 2022-08-08 2022-11-11 深圳市中科网威科技有限公司 一种基于3d全息技术的立体综合教学系统及方法
CN117041627B (zh) * 2023-09-25 2024-03-19 宁波均联智行科技股份有限公司 Vlog视频生成方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349175A (zh) * 2014-08-18 2015-02-11 周敏燕 一种基于手机终端的视频制作系统及方法
CN105765959A (zh) * 2013-08-29 2016-07-13 米迪亚普罗杜申有限公司 用于制作视频作品的方法和系统
CN106373170A (zh) * 2016-08-31 2017-02-01 北京云图微动科技有限公司 一种视频制作方法及装置
US9848228B1 (en) * 2014-05-12 2017-12-19 Tunespotter, Inc. System, method, and program product for generating graphical video clip representations associated with video clips correlated to electronic audio files

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2405948B (en) * 2003-09-12 2006-06-28 Canon Res Ct Europ Ltd Voice activated device
US7697827B2 (en) * 2005-10-17 2010-04-13 Konicek Jeffrey C User-friendlier interfaces for a camera
KR101382501B1 (ko) * 2007-12-04 2014-04-10 삼성전자주식회사 동영상 촬영 편집 장치 및 방법
JP5053950B2 (ja) * 2008-07-29 2012-10-24 キヤノン株式会社 情報処理方法、情報処理装置、プログラムおよび記憶媒体
KR20100052676A (ko) * 2008-11-11 2010-05-20 삼성전자주식회사 컨텐츠 앨범화 장치 및 그 방법
US8860865B2 (en) * 2009-03-02 2014-10-14 Burning Moon, Llc Assisted video creation utilizing a camera
US8743269B2 (en) * 2009-06-15 2014-06-03 Olympus Imaging Corp. Photographing device, photographing method, and playback method
JP5552769B2 (ja) * 2009-07-29 2014-07-16 ソニー株式会社 画像編集装置、画像編集方法及びプログラム
JP5017424B2 (ja) 2010-06-16 2012-09-05 株式会社東芝 電子機器及び画像処理方法
US9686079B2 (en) * 2013-07-16 2017-06-20 Eingot Llc Electronic document notarization
US20170163866A1 (en) * 2013-07-24 2017-06-08 Google Inc. Input System
JP5938379B2 (ja) * 2013-09-24 2016-06-22 富士フイルム株式会社 画像処理装置、画像処理方法、プログラムおよび記録媒体
KR102188090B1 (ko) * 2013-12-11 2020-12-04 엘지전자 주식회사 스마트 가전제품, 그 작동방법 및 스마트 가전제품을 이용한 음성인식 시스템
US9466296B2 (en) * 2013-12-16 2016-10-11 Intel Corporation Initiation of action upon recognition of a partial voice command
GB201406023D0 (en) 2014-04-03 2014-05-21 Sony Corp A method, system, server and client
CN104038693B (zh) * 2014-05-23 2017-12-29 小米科技有限责任公司 拍照方法和装置
JP2016111406A (ja) * 2014-12-02 2016-06-20 ソニー株式会社 情報処理装置、情報処理方法及びプログラム
JP6504808B2 (ja) * 2014-12-22 2019-04-24 キヤノン株式会社 撮像装置、音声コマンド機能の設定方法、コンピュータプログラム、及び記憶媒体
US9651850B2 (en) * 2015-04-20 2017-05-16 Intellectual Fortress, LLC Image processing system and method for object tracking
CN105611207A (zh) * 2015-12-15 2016-05-25 四川长虹电器股份有限公司 智能捕捉家庭温馨生活场景的设备及其处理方法
US9818431B2 (en) * 2015-12-21 2017-11-14 Microsoft Technoloogy Licensing, LLC Multi-speaker speech separation
CN106126657A (zh) * 2016-03-23 2016-11-16 四川长虹电器股份有限公司 一种推荐拍照片地点的方法及移动电子终端
CN106951477A (zh) * 2017-03-08 2017-07-14 深圳市赛亿科技开发有限公司 一种图片识别与提取方法
CN106878620A (zh) * 2017-03-23 2017-06-20 北京小米移动软件有限公司 控制图像采集的方法和装置
CN107067450A (zh) 2017-04-21 2017-08-18 福建中金在线信息科技有限公司 一种视频的制作方法和装置
CN107273434A (zh) * 2017-05-23 2017-10-20 首汇焦点(北京)科技有限公司 一种基于影视拍摄的信息管理方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105765959A (zh) * 2013-08-29 2016-07-13 米迪亚普罗杜申有限公司 用于制作视频作品的方法和系统
US9848228B1 (en) * 2014-05-12 2017-12-19 Tunespotter, Inc. System, method, and program product for generating graphical video clip representations associated with video clips correlated to electronic audio files
CN104349175A (zh) * 2014-08-18 2015-02-11 周敏燕 一种基于手机终端的视频制作系统及方法
CN106373170A (zh) * 2016-08-31 2017-02-01 北京云图微动科技有限公司 一种视频制作方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3699868A4

Also Published As

Publication number Publication date
US20210092285A1 (en) 2021-03-25
EP3699868A1 (en) 2020-08-26
US11297225B2 (en) 2022-04-05
EP3699868A4 (en) 2021-01-06
CN110033502A (zh) 2019-07-19
CN110033502B (zh) 2020-11-13

Similar Documents

Publication Publication Date Title
CN109167950B (zh) 视频录制方法、视频播放方法、装置、设备及存储介质
US11297225B2 (en) Video producing method, apparatus, storage medium, and electronic device
CN109040297B (zh) 用户画像生成方法及装置
CN113727017B (zh) 拍摄方法、图形界面及相关装置
CN109167937B (zh) 视频发布方法、装置、终端及存储介质
CN109327608B (zh) 歌曲分享的方法、终端、服务器和系统
CN111031386B (zh) 基于语音合成的视频配音方法、装置、计算机设备及介质
CN108270794B (zh) 内容发布方法、装置及可读介质
WO2022048398A1 (zh) 多媒体数据拍摄方法及终端
CN111339326A (zh) 多媒体资源的展示方法、提供方法以及装置
CN112181573A (zh) 媒体资源展示方法、装置、终端、服务器以及存储介质
CN110533585B (zh) 一种图像换脸的方法、装置、系统、设备和存储介质
CN110557565A (zh) 视频处理方法和移动终端
CN111787407B (zh) 互动视频播放方法、装置、计算机设备及存储介质
CN112363660B (zh) 封面图像的确定方法、装置、电子设备及存储介质
CN111083526B (zh) 视频转场方法、装置、计算机设备及存储介质
CN110996167A (zh) 在视频中添加字幕的方法及装置
CN112115282A (zh) 基于搜索的问答方法、装置、设备及存储介质
CN111191176A (zh) 网站内容更新方法、装置、终端及存储介质
CN112131422A (zh) 表情图片生成方法、装置、设备及介质
CN112417180B (zh) 生成影集视频的方法、装置、设备及介质
CN111818367A (zh) 音频文件的播放方法、装置、终端、服务器及存储介质
CN109547847B (zh) 添加视频信息的方法、装置及计算机可读存储介质
CN112004134B (zh) 多媒体数据的展示方法、装置、设备及存储介质
CN113727024B (zh) 多媒体信息生成方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18900093

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018900093

Country of ref document: EP

Effective date: 20200520

NENP Non-entry into the national phase

Ref country code: DE