CROSS-REFERENCE TO RELATED APPLICATION

The present application claims the priority of a Chinese patent application filed in the China patent office on Jan. 10, 2018 with the application number 201810023876.6 and the invention name “Video Producing Method, Apparatus, Storage Medium, and Electronic Device”, the entire content of which is hereby incorporated by reference.

TECHNICAL FIELD

The present application relates to the technical field of computers, in particular to a video producing method, apparatus, storage medium, and electronic device.

BACKGROUND

With the development of the terminal technology, functions that a terminal can support become more and more powerful. For example, the terminal has a camera, thus being able to support a photographing function.

In many scenes such as traveling or attending a friend's party, etc, a user can use a terminal's photographing function for taking photos. For this kind of photos with the same theme, the user can subsequently make a small video to watch as a memento, but these natural scene themes are relatively limited, and styles of the produced small video are not rich, which is difficult to meet the needs for different users to produce a video.

SUMMARY

Implementations of the present application provide a video producing method, apparatus, storage medium, and electronic device.

An implementation of the present application provides a video producing method, applied to an electronic device, including: acquiring keywords set by a user, wherein the keywords include a participant and a participation event; determining multiple photographing tasks and a trigger condition for each of the photographing tasks according to the keywords; prompting, according to the trigger condition, the user to perform photographing corresponding to a photographing task, so as to obtain at least one photo; and generating a video file according to the at least one photo.

An implementation of the present application provides a video producing apparatus which is applied to an electronic device and includes: an acquiring module, a determining module, a prompting module, a prompting module, and a generating module.

The acquiring module is configured to acquire keywords set by a user, wherein the keywords include a participant and a participation event.

The determining module is configured to determine multiple photographing tasks and a trigger condition for each of the photographing tasks according to the keywords.

The prompting module is configured to prompt, according to the trigger condition, the user to perform photographing corresponding to a photographing task, so as to obtain at least one photo.

The generating module is configured to generate a video file according to the at least one photo.

An implementation of the present application further provides a storage medium, wherein multiple instructions are stored in the storage medium, and the instructions are configured to be loaded by a processor to execute any video producing method described above.

An implementation of the present application further provides an electronic device including a processor and a memory, wherein the processor is electrically connected to the memory, the memory is configured to store instructions and data, and the processor is configured to execute the acts in any video producing method described above.

According to a video producing method, apparatus, storage medium, and electronic device provided by the present application, keywords set by a user are acquired wherein the keywords include a participant and a participation event, and multiple photographing tasks and a trigger condition for each of the photographing tasks are determined according to the keywords. Then, the user is, according to the trigger condition, prompted to perform photographing corresponding to a photographing task so as to obtain at least one photo, and a video file is generated according to the at least one photo. Thereby, videos of various themes can be produced according to user requirements. The method is simple and flexible.

