VIDEO GENERATION METHOD, APPARATUS, STORAGE MEDIUM AND PROGRAM PRODUCT

The method allows users to generate and edit video editing data based on input text, enabling personalized video production by synchronizing audio and image segments, addressing the limitations of existing video production algorithms.

JP2024534743AActive Publication Date: 2024-09-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023578852
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-09-02
Filing Date
2023-09-04
Publication Date
2024-09-26
Estimated Expiration
2043-09-04

AI Technical Summary

Technical Problem

Existing video production methods using intelligent matching algorithms often fail to meet users' personalized video production needs, as they do not allow for user interference in selecting image materials, leading to inconsistent and unsatisfactory video outputs.

Method used

A method and apparatus that generate video editing data based on input text, allowing users to freely select and edit image materials, with audio segments synchronized to text segments, enabling personalized video creation.

Benefits of technology

Enables users to create videos that align with their preferences by allowing selection and editing of image materials, resulting in personalized video production that meets individual needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024534743000001
    Figure 2024534743000001
Patent Text Reader

Abstract

A video generating method, apparatus, device, storage medium and program product, the method includes the steps of: generating first video editing data based on an input text in response to a first command triggered on the input text, the first video editing data including a first video segment and an audio segment, and a first target video segment in the first video segment being an empty segment; displaying the first video segment and the audio segment in a video editing track of a video editor; embedding a target video in the first target video segment to obtain second video editing data in response to triggering a second command on the target video segment in the video editor; and generating the first target video based on the second video editing data. The embodiments of the present disclosure generate the first video editing data based on the input text, so that a user can freely select image material in the first video editing data according to his / her own preferences to perform video editing, meeting the needs of personalized video production.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to Chinese Patent Application No. 202211075071.9, filed on September 2, 2022, wherein the entire contents disclosed in the above Chinese patent application are incorporated by reference as part of this application.

[0002] The present disclosure relates to video production methods, apparatus, devices, storage media, and program products. [Background technology]

[0003] With the rapid development of computer technology and mobile communication technology, various video platforms based on electronic devices have been widely applied and have greatly enriched people's daily lives. More and more users are sharing their own video works on video platforms and allowing other users to watch them.

[0004] The video production process is to obtain the input text entered by the user, match the input text with its corresponding video image through an intelligent matching algorithm, and synthesize a corresponding target video according to the input text and the video image.

[0005] In the above video production process, the video images are obtained through an intelligent matching algorithm, which may not meet the personalized video production needs of users. Summary of the Invention [Means for solving the problem]

[0006] To solve the above technical problems, the embodiments of the present disclosure provide a video generating method, device, equipment, storage medium, and program product, which generate first video editing data based on input text, and in the first video editing data, users can freely select image materials according to their preferences to perform video editing, thereby meeting the needs of personalized video production.

[0007] The embodiment of the present disclosure includes: generating first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment being used to populate with a speech voice matching the target text segment, and the first target video segment being an empty segment; importing the first video editing data into a video editor to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, where the first target video segment and the target audio segment have the same track timeline interval; embedding a first target video within the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor to obtain second video editing data, the first target video being a video obtained based on first target image material indicated by the second instruction; generating a first target video based on the second edited video data.

[0008] Another embodiment of the present disclosure is a first video editing data determination module for generating first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text; a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment being used to fill in the target text segment with a speech voice matching the target text segment, the first target video segment being an empty segment; In a first video editing data determination module; a first video editing data import module for importing the first video editing data into a video editor so as to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, the first video editing data import module having a same interval between the timelines of the tracks of the first target video segment and the target audio segment; a second video editing data determination module for embedding a first target video within the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor to obtain second video editing data, the first target video being a video obtained based on first target image material indicated by the second instruction; No. 2B Deo edit A first target video is generated based on the data. 1. and a video generation module.

[0009] Another embodiment of the present disclosure is one or more processors; a storage device for storing one or more programs; The present invention provides an electronic device that, when the one or more programs are executed by the one or more processors, causes the one or more processors to implement the video generation method described in any one of the first aspect above.

[0010] Yet another embodiment of the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the video generation method according to any one of the first aspects above.

[0011] Yet another embodiment of the present disclosure provides a computer program product comprising a computer program or instructions which, when executed by a processor, implements the video generation method according to any one of the first aspects above.

[0012] An embodiment of the present disclosure provides a video generation method, an apparatus, a device, a storage medium, and a program product, the method including the steps of: generating first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment, the at least one audio segment each corresponding to at least one divided text segment of the input text; a first target video segment in the at least one first video segment, a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, and the target audio segment corresponding to a read-aloud voice matching the target text segment. the first target video segment being an empty segment; importing the first video editing data into the video editor to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, the first target video segment and the target audio segment having the same track timeline interval; embedding the first target video within the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor to obtain second video editing data, the first target video being a video obtained based on a first target image material indicated by the second instruction; 2B Deo edit Based on the data, 1. The embodiment of the present disclosure generates a first video editing data based on the input text, so that a user can freely select image materials and edit the video in the first video editing data according to his / her own preferences, thereby meeting the needs of personalized video production. [Brief description of the drawings]

[0013] The above and other features, advantages and aspects of each embodiment of the present disclosure will become more apparent by reference to the following specific embodiments in conjunction with the drawings, in which the same or similar reference numerals represent the same or similar elements throughout the drawings. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale. [Figure 1] FIG. 1 is a schematic diagram of a system for a video generation method provided by an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic flow chart of a video generating method according to an embodiment of the present disclosure. [Diagram 3] FIG. 3 is a schematic diagram of a video production page in accordance with an embodiment of the present disclosure. [Figure 4] FIG. 4 is a schematic diagram of a video editing page in an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a schematic diagram of an image selection page in an embodiment of the present disclosure. [Figure 6] FIG. 6 is a schematic diagram of a text editing page in an embodiment of the present disclosure. [Figure 7] FIG. 7 is a schematic diagram of a network address identification page in an embodiment of the present disclosure. [Figure 8] FIG. 8 is a schematic diagram of another network address identification page in an embodiment of the present disclosure. [Figure 9] FIG. 9 is a structural schematic diagram of a video generating device in an embodiment of the present disclosure. [Figure 10] FIG. 10 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the drawings. Although the drawings show some embodiments of the present disclosure, it should be understood that the present disclosure can be realized in various forms and should not be interpreted as being limited to the embodiments described herein, but on the contrary, these embodiments are provided to allow the present disclosure to be more thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0015] It should be understood that the steps recited in the method embodiments of the present disclosure may be performed in various orders and / or in parallel, and that other method embodiments may include additional steps and / or omit performance of steps as shown, and that the scope of the present disclosure is not limited in this respect.

[0016] As used herein, the term "comprises" and variations thereof mean an open inclusion, including, but not limited to. The term "based on" means "based at least in part on." The term "in one embodiment" refers to "at least one embodiment," the term "in another embodiment" refers to "at least one other embodiment," and the term "in some embodiments" refers to "at least some embodiments." Relevant definitions of other terms are provided below.

[0017] It should be noted that the concepts of "first", "second", etc. referred to in this disclosure are merely intended to distinguish different devices, modules, or units, and do not limit the order or mutual dependency of functions performed by these devices, modules, or units.

[0018] It should be understood that the modifications "one" and "multiple" referred to in the present disclosure are intended to be illustrative rather than limiting, and that those of skill in the art should understand "one or more" unless the context clearly indicates otherwise.

[0019] The names of messages or information exchanged among devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0020] Before describing the embodiments of the present disclosure in more detail, the nouns and terms related to the embodiments of the present disclosure will be explained, and the nouns and terms related to the embodiments of the present disclosure can be applied to the following interpretation.

[0021] In the related art, a user can produce a video on a mobile terminal or other electronic device, such as a mobile phone, a tablet computer, a notebook computer, etc. At present, in a commonly used video production method, the user prepares an input text in advance, but there is no suitable image or video material. In this case, the user usually inputs text, and the video production client matches the input text with corresponding image material through an intelligent matching algorithm, and synthesizes a corresponding target video according to the input text and image material.

[0022] In the above-mentioned video production process, the video image is obtained by an intelligent matching algorithm, and the user cannot interfere with the image material matched by the intelligent matching algorithm, so that the matched image material may not meet the user's personalized video production needs. For example, if a user wants to produce a video of a cooking process, the user will create a recipe in advance, which is what ingredients are needed and what operations are performed at each step, and for each ingredient and each step, the user will take corresponding photos or short videos. According to the current video production method, it is necessary to intelligently match image material based on the recipe, but for example, in the step of stir-frying, there is a certain consistency and context about what to put first and what to put later, and the current intelligent matching algorithm may not be able to accurately match images that meet the user's needs.

[0023] In order to solve the above technical text, an embodiment of the present disclosure includes a step of generating first video editing data based on an input text in response to a first command triggered on the input text, the first video editing data includes at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment correspond to a target text segment in the at least one text segment, and the target audio segment is used to be filled with a reading voice matching the target text segment. the first target video segment being an empty segment; importing the first video editing data into the video editor to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, where the first target video segment and the target audio segment have the same track timeline interval; embedding the first target video within the target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor, to obtain second video editing data, where the first target video is a video obtained based on a first target image material instructed by the second instruction; and embedding the second target video within the target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor, where the first target video is a video obtained based on a first target image material instructed by the second instruction; 1. and generating a video.

[0024] An embodiment of the present disclosure generates first video editing data based on the input text, so that in the first video editing data, a user can freely select image materials according to his or her preferences to perform video editing, thereby meeting the needs of personalized video production.

[0025] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings, in which it should be noted that the same reference numerals in different figures are used to refer to the same components that have already been described.

[0026] FIG. 1 is a diagram of an embodiment of the present disclosure. Video Generation method of system Schematic diagram of 1, the system 100 may include a plurality of user terminals 110, a network 120, a server 130, and a database 140. For example, the system 100 may implement the video generation method described in any of the embodiments of the present disclosure.

[0027] It will be appreciated that the user terminal 110 may be any other type of electronic device capable of performing data processing, including, but not limited to, a mobile mobile phone, a site, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination thereof, accessories and peripherals including these devices, or any combination thereof.

[0028] A user can operate the user terminal 110 through an application program installed in the user terminal 110, the application program transmits user behavior data to the server 130 via the network 120, and the user terminal 110 can further receive the data transmitted from the server 130 via the network 120. The embodiments of the present disclosure do not limit the hardware system and software system of the user terminal 110, and for example, the user terminal 110 may be based on a processor such as ARM, X86, etc., may include input / output devices such as a camera, a touch panel, a microphone, etc., and may run an operating system such as Windows, iOS, Linux (registered trademark), Android, Harmony OS, etc.

[0029] For example, the application program on the user terminal 110 may be a video production application program, for example, a video production application program based on multimedia resources such as video, photo, text, etc. Taking a video production application program based on multimedia resources such as video, photo, text, etc. as an example, a user can shoot videos, write scripts, create videos, make video clips, etc. on the user terminal 110 through the video production application program, and at the same time, can watch or browse videos posted by other users, and can perform operations such as liking, commenting, reposting, etc.

[0030] The user terminal 110 can execute a process or thread to implement the video generation method provided by the embodiments of the present disclosure. In some examples, the user terminal 110 can execute the video generation method by its built-in application program. In other examples, the user terminal 110 can execute the video generation method by calling an application program stored outside the user terminal 110.

[0031] Network 120 may be a single network or a combination of at least two different networks. For example, network 120 may include, but is not limited to, one or more combinations of a local area network, a wide area network, a public network, a private network, etc. Network 120 may be a computer network such as the Internet and / or various electronic communication networks (e.g., 3G / 4G / 5G mobile communication networks, WIFI, Bluetooth, ZigBee, etc.), and the embodiments of the present disclosure are not limited thereto.

[0032] The server 130 may be a single server, a server group, or a cloud server, and each server in the server group is connected via a wired or wireless network. The server group may be centralized, such as a data center, or may be distributed. The server 130 may be local or remote. The server 130 may communicate with the user terminal 110 via a wired or wireless network. The embodiments of the present disclosure do not limit the hardware and software systems of the server 130.

[0033] The database 140 may generally refer to a device having a storage function. The database 140 is mainly used to store various data that the user terminal 110 and the server 130 use, generate, and output during operation. For example, if the application program on the user terminal 110 is a video production application program based on the above multimedia resources such as videos, photos, and texts, the data stored in the database 140 may include resource data such as videos and texts uploaded by users through the user terminal 110, and interactive operation data such as likes and comments.

[0034] Database 140 may be local or remote. Database 140 may include various memories such as Random Access Memory (RAM), Read Only Memory (ROM), etc. The storage devices mentioned above are only some examples and are not intended to limit the storage devices that may be used by system 100. The embodiments of the present disclosure do not limit the hardware and software systems of database 140, which may be, for example, a relational or non-relational database.

[0035] The database 140 may be interconnected or in communication with the server 130 or a portion thereof via the network 120, or may be directly interconnected or in communication with the server 130, or may be a combination of the two approaches.

[0036] In some examples, database 140 may be a separate device. In other examples, database 140 may be integrated within at least one of user terminal 110 and server 130. For example, database 140 may be located in user terminal 110 and / or server 130. For example, database 140 may be distributed, with part of database 140 located in user terminal 110 and part of database 140 located in server 130.

[0037] FIG. 2 is a flowchart of a video generation method according to an embodiment of the present disclosure, which is applicable to generating a video based on an input text, and the method can be performed by a video generation device, which can be realized in a software and / or hardware manner. The video generation method can be implemented as shown in FIG. system This can be achieved.

[0038] As shown in FIG. 2, the video generating method provided by the embodiment of the present disclosure mainly includes steps S101 to S104.

[0039] S101: In response to a first instruction triggered on an input text, generate first video editing data based on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment is used to fill in with a reading voice matching the target text segment, and the first target video segment is an empty segment.

[0040] A response is used to represent a condition or state upon which an operation to be performed depends, and when the dependent condition or state is met, the operation or operations to be performed may be in real time or may have a configured delay, and unless otherwise stated, the operations to be performed are not constrained in terms of chronological order.

[0041] The video editing data, which may also be understood as a video editing draft or editing project file, is used to record and play back a user's video editing process, and specifically includes the audio and video materials to be edited, and instruction information for the editing operations performed on the audio and video materials.

[0042] In one embodiment of the present disclosure, the first instruction can be understood as an instruction that only instructs the client to generate the first video editing data based on the input text, without the need to intelligently match image material based on the input text. The first instruction triggered in response to the input text may be in response to a user triggering an operation of a first control on a video production page.

[0043] In one embodiment of the present disclosure, when a user wants to create a video based on an input text, a video creation application program can be launched in advance, and one of the subroutines included in the video creation application program has a function of creating a video based on the input text. A video creation application program for creating a video based on the input text may be launched.

[0044] In one embodiment of the present disclosure, the method further includes a step of displaying a video production page in response to a trigger operation on a video production control, the video production page including a first control, a second control and a text editing area, the first control being used to trigger the first instruction in response to a user's trigger operation, the second control being used to trigger the third instruction in response to a user's trigger operation, and the text editing area being used to obtain input text in response to a user's editing operation.

[0045] In an embodiment of the present disclosure, a video production application program is launched, and an application program interface is displayed, the application program interface includes a video production control, and a video production page is displayed in response to a user's trigger operation on the video production control, where the trigger operation can be one or a combination of operations such as clicking, long pressing, hovering, touching, etc., and the embodiment of the present disclosure is not limited thereto.

[0046] In an embodiment of the present disclosure, as shown in FIG. 3 , the video production page 30 includes a first control 301, a second control 302 and a text editing area 303, the first control 301 is used for triggering the first command in response to a user's trigger operation, the second control 302 is used for triggering the third command in response to a user's trigger operation, and the text editing area 303 is used for obtaining input text in response to a user's editing operation.

[0047] In an embodiment of the present disclosure, in response to a user's triggering operation on a first control, a first instruction triggered on input text is triggered, and in response to the first instruction, a first video editing data is generated based on the input text, where input text refers to text that is stored and displayed within the text editing area in response to the first instruction.

[0048] Further, in response to a trigger operation on a first control by a user, the first control is selected, and then a video production control included in the video production page 30 is selected. To In response, trigger a first instruction triggered on the input text, and in response to the first instruction, generate first video editing data based on the input text, where input text refers to text that is stored and displayed within the text editing area in response to the first instruction.

[0049] In one embodiment of the present disclosure, the input text is divided into at least one text segment, and for each target text segment, its corresponding spoken voice is obtained by intelligent matching, the target text segment and its corresponding spoken voice are aligned on the timeline of the track, its corresponding target audio segment is obtained, and an empty segment is obtained as the corresponding first target video segment of the text segment. The first target video segment and the target audio segment are synthesized to obtain a first video segment. The above operations are performed on each target text segment to obtain a plurality of first video segments, and the plurality of first video segments are synthesized according to the order of the target text segments in the input text to obtain first video editing data.

[0050] It can be understood that the first target video segment and the target audio segment corresponding to the target text segment mean that the timelines of the above three segments are aligned and the expression contents correspond. For example, their timelines are all segments between 1 minute 55 seconds and 1 minute 57 seconds. For example, the target text segment is "quick stir-fry over high heat", and the target audio segment is the spoken voice of the four characters "quick stir-fry over high heat".

[0051] The first target video segment can be understood as any video segment in at least one first video band, and the first target video segment being empty can be understood as setting the first target video segment empty in the first video editing data. The empty can be setting the video track empty without setting any image material, or setting a preset image material in the video track, and the preset image material is set by the system and cannot be changed by the user at will, that is, no matter what the input text is, the corresponding first target video segment is always the image material that is set. For example, the image material can be a black image. In other words, no matter what the input text is, the corresponding first target video segment is always a black photo.

[0052] In one embodiment of the present disclosure, the first video editing data includes at least one subtitle segment, a target subtitle segment in the at least one subtitle segment corresponds to a target text segment in the at least one text segment, and the target subtitle segment is used to embed a text subtitle matching the target text segment.

[0053] By adding text subtitles matching the target text segments to the first target video segment, a user can intuitively see the subtitles corresponding to the read-aloud audio while watching the video, thereby improving the user's viewing experience.

[0054] S102: Import the first video editing data into a video editor, so as to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, and a timeline interval of the track between the first target video segment and the target audio segment is the same.

[0055] In the embodiment of the present disclosure, as shown in FIG. 4, the video editing page 40 of the video editor mainly includes a video preview area 401 and a video editing area 402. The video editing area 402 displays a video editing track, which includes a video track 403, an audio track 404, and a subtitle track 405. Furthermore, a first video segment is imported into the video track 403, an audio segment is imported into the audio track 404, and a text subtitle is imported into the subtitle track 405. In response to the operation on the above video editing track, the content imported into the track can be edited. For example, in the audio track 404, an audio style such as a sweet style, a serious style, etc. can be selected. In the audio track 404, tone, contrast, etc. can also be edited. That is, all parameters related to audio can be edited in the audio track 404. Similarly, in the subtitle track 405, all parameters related to text subtitles, such as the color of the subtitle, the display mode of the subtitle, the font of the subtitle, etc. can be edited.

[0056] It is necessary to explain that in the process of editing the track, all audio segments may be edited, or one target audio segment may be edited, which is not specifically limited in the embodiment of the present disclosure; in the process of editing the track, all subtitle segments may be edited, or one target subtitle segment may be edited, which is not specifically limited in the embodiment of the present disclosure;

[0057] In one embodiment of the present disclosure, the timeline intervals of the tracks of the first target video segment and the target audio segment are the same, for example, both of the timelines are segments between 1 minute 55 seconds and 1 minute 57 seconds.

[0058] S103: In response to triggering a second instruction for the first target video segment in the video editor, embed a first target video within the first target video segment based on the first video editing data to obtain second video editing data, the first target video being a video obtained based on first target image material indicated by the second instruction.

[0059] The first target video segment may be any one of at least one first video segment, and the first target video segment may be a video segment that the current user needs to edit.

[0060] In the embodiment of the present disclosure, in response to a trigger operation on the first target video segment 406, as shown in Fig. 4, a jump to an image selection page is performed, and as shown in Fig. 5, the image selection page 50 includes an image preview area 501 and an image selection area 502. The image selection area 502 further includes a local image control 503, a network image control 504, a stamp control 505, and an image viewing area 506.

[0061] The local image control 503 is used to retrieve images or videos in the local album in response to the user's trigger operation, and display them in the image viewing area. The network image control 504 is used to retrieve images or videos from the network or the corresponding database of the client, and display them in the image viewing area, and the stamp control 505 is used to retrieve commonly used stamps or popular stamps, and display them in the image viewing area, and the image viewing area 506 is used to display multiple images or short videos in an up-down manner in response to the user's up-down sliding operation, and the image viewing area 506 is used to determine the image corresponding to the trigger operation by the user as a first target image material, and display the first target image material in the image preview area 501 for the user to preview.

[0062] In addition, the image selection page 50 further includes a photographing control, which is used to call the camera in the terminal to take a photograph in response to a user's operation, and obtain a first target image material.

[0063] Furthermore, the first target image material can be a photo or a video. If the first target image material is a photo, the photo can be processed to obtain the first target video by a photo-to-video generation technique, such as a camera movement effect or a freeze-frame video. If the first target image material is a video, if the time length of the video does not match the time length of the target video segment, the video can be cropped to a video with the same time length as the target video segment, and if the time length of the video matches the time length of the target video segment, the video can be directly cropped and embedded into the first target video segment.

[0064] S104: 2B Deo edit Based on the data, 1. Generate video.

[0065] In an embodiment of the present disclosure, in response to a trigger operation of video generation, a first video editing data is generated based on the second video editing data. 1. The trigger operation of the video generation can be a trigger operation on the export control 407 in the video editing page 40. The export method is as follows: 1. The video can be stored locally or shared to other video sharing platforms or websites, without being limited to the specific embodiments of the present disclosure.

[0066] Based on the above embodiment, the method further includes the steps of: generating third video editing data based on an input text in response to a third instruction triggered on the input text, the third video editing data including at least one second video segment and the at least one audio segment, the at least one second video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text; a second target video segment in the at least one second video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the second target video segment being a video obtained based on a second target image material, the second target image material matching the target text segment; importing the third video editing data into the video editor to display the at least one second video segment and the at least one audio segment in a video editing track of the video editor, the second target video segment and the target audio segment having the same track timeline interval; 3B Deo edit Based on the data, 2B and generating a video.

[0067] The third instruction refers to an instruction for intelligently matching image material for the input text, and further generating first video data, wherein the second target image material is an image material that is matched based on the target text segment and matched to the target text segment by an intelligent matching algorithm.

[0068] In one embodiment of the present disclosure, after obtaining the third video editing data, in response to a trigger operation for video generation, a target video is generated based on the edited third video editing data.

[0069] In one embodiment of the present disclosure, after obtaining the third video editing data, the third video editing data can be further imported into a video editor for editing, and the specific editing method can refer to the above embodiment description and will not be described in detail in the embodiment of the present disclosure. After editing the third video editing data, generate a target video based on the edited third video editing data in response to a trigger operation for video generation.

[0070] An embodiment of the present disclosure includes a step of generating first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment being used to populate with a speech voice matching the target text segment, a first target video segment being an empty segment; importing the first video editing data into a video editor to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, the first target video segment and the target audio segment having the same track timeline interval; embedding a first target video within the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor, to obtain second video editing data, the first target video being a video obtained based on a first target image material instructed by the second instruction; 2B Deo edit Based on the data, 1. The embodiment of the present disclosure generates a first video editing data based on the input text, so that a user can freely select image materials and edit the video in the first video editing data according to his / her own preferences, thereby meeting the needs of personalized video production.

[0071] Based on the above embodiment, the embodiment of the present disclosure provides a video production page. 30 provides several ways to obtain the input text in response to user editing actions, specifically:

[0072] In one embodiment of the present disclosure, the step of obtaining input text in response to a user's editing operation includes the steps of: displaying a text input page in response to a trigger operation on the text editing area; and obtaining input text corresponding to an input operation on the text input page in response to an input operation on the text input page.

[0073] In an embodiment of the present disclosure, as shown in FIG. 3, in response to a trigger operation on the text editing area, a text input page is displayed, and as shown in FIG. 6, the text input page 60 includes a title editing area 601, a content editing area 602, and an end editing control 603.

[0074] The title editing area 601 and the content editing area 602 can both obtain text input by the user in response to the user's operation on a virtual keyboard, a physical keyboard, etc. on the terminal. The embodiments of the present disclosure are not limited to the above input method, and any method of obtaining input text, such as a method of identifying text in a photo by OTC, or a method of identifying voice input by the user by voice recognition to obtain input text, is within the scope of protection of the present disclosure.

[0075] Furthermore, in response to a trigger operation on the edit end control 603, the input text in the title edit area 601 and the content edit area 602 is obtained as the input text for the text edit area, and a jump is made to the video production page 30.

[0076] In one embodiment of the present disclosure, the text editing area includes a network address copy control, and the step of acquiring input text in response to a user's editing operation includes the steps of displaying a network address input area in response to a trigger operation on the network address copy control, and input The method includes the steps of receiving, in response to the operation, a network address corresponding to the input operation, and obtaining input text corresponding to the network address.

[0077] In an embodiment of the present disclosure, as shown in Fig. 3, the text editing area 303 includes a network address copy control 304. In response to a trigger operation on the network address copy control, a mask layer area 701 shown in Fig. 7 is displayed, which includes a network address input area 702. In the mask layer area 701, a user can input an address into the network address input area 702 by keyboard input method, or may input an address into the network address input area 702 by copy and paste method.

[0078] Furthermore, in response to a trigger operation on a text capture control 703 included in the mask layer area 701, a network address in the network address input area 702 is received, and the content of the web page corresponding to the home page address is input as text in the text editing area 303.

[0079] In one embodiment of the present disclosure, the step of obtaining the corresponding input text of the network address includes the steps of determining whether an original input text is present in the text editing area, and, if the original input text is present in the text editing area, deleting the original input text and obtaining the corresponding input text of the network address.

[0080] In the embodiment of the present disclosure, the original input text refers to the input text input in the text editing area before retrieving the content of the web page corresponding to the homepage address. Determine whether the original input text exists in the text editing area, and if the original input text exists in the text editing area, display a prompt floating box, which is used to prompt the user whether to delete the original input text existing in the text editing area, and delete the original input text and obtain the corresponding input text of the network address in response to a trigger operation on the input text deletion control. In response to a trigger operation on the cancel control, do not process the original input text, i.e., the original input text is still left in the text editing area.

[0081] In the embodiment of the present disclosure, the original input text refers to the input text input into the text editing area before retrieving the content of the web page corresponding to the homepage address, and determining whether the original input text exists in the text editing area, and if the original input text exists in the text editing area, prompting the user to select an insertion position of the corresponding input text of the network address, and inserting the corresponding input text of the network address into the corresponding position of the original input text according to the user's selection operation.

[0082] In one embodiment of the present disclosure, after the step of responding to a trigger operation on a video production control, the method further includes the steps of obtaining a network address carried on a clipboard, obtaining corresponding input text of the network address, and displaying a video production page, the video production page including a text editing area, the text editing area used to display the corresponding input text of the network address.

[0083] In one embodiment of the present disclosure, in response to a trigger operation on a video production control, a network address carried on the clipboard is detected and obtained. As shown in FIG. 8, when a network address is carried, a prompt box is displayed, which is used to display the carried network address and prompt the user to identify the content of the web page corresponding to the network address. In response to a trigger operation on a confirmation control 801 in the prompt box, the network address is received and the content of the web page corresponding to the home page address is displayed in a text editing area. 303 In response to a trigger operation on the cancel control 802 in the prompt box, the network address is directly ignored and the text acquisition interface S Jump, and at this time, the text acquisition interface Inside the There is no input text in the text editing area 303.

[0084] In the embodiment of the present disclosure, various input methods for input text are provided according to different situations to facilitate user selection.

[0085] FIG. 9 is a structural schematic diagram of a video generating device in an embodiment of the present disclosure, which is applicable to the case of generating video based on input text, and the video generating device can be realized in a software and / or hardware manner.

[0086] As shown in FIG. 9 , the video generating device 90 provided by the embodiment of the present disclosure mainly includes a first video editing data determining module 91, a first video editing data importing module 92, a second video editing data determining module 93, and 1. The video generation module 94 is included.

[0087] The first video editing data determination module 91 is used to generate first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment correspond to a target text segment in the at least one text segment, the target audio segment is used to be filled with a reading voice matching the target text segment, and the first target video segment a first video editing data import module 92 is used for importing the first video editing data into the video editor so as to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, the first target video segment and the target audio segment having the same track timeline interval; a second video editing data determination module 93 is used for embedding a first target video into the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor, to obtain second video editing data, the first target video being a video obtained based on a first target image material indicated by the second instruction; 1. The video generation module 94 2B Deo edit Based on the data, 1. It is used to generate video.

[0088] In one embodiment of the present disclosure, the first video editing data includes at least one subtitle segment, a target subtitle segment in the at least one subtitle segment corresponds to a target text segment in the at least one text segment, and the target subtitle segment is used to embed a text subtitle matching the target text segment.

[0089] In one embodiment of the present disclosure, the device includes a third video editing data generation module for generating third video editing data based on an input text in response to a third instruction triggered on the input text, the third video editing data including at least one second video segment and the at least one audio segment, the at least one second video segment and the at least one audio segment each corresponding to at least one divided text segment of the input text, a second target video segment in the at least one second video segment and a target audio segment in the at least one audio segment each corresponding to a target text segment in the at least one text segment, the second target video segment being a video obtained based on a second target image material, the second target image material matching the target text segment; a third video editing data import module for importing the third video editing data into the video editor to display the at least one second video segment and the at least one audio segment in a video editing track of the video editor, the second target video segment and the target audio segment having the same track timeline interval; 3B Deo edit Based on the data, 2B The first step to generate the video 2B and a video generation module.

[0090] In one embodiment of the present disclosure, the device further includes a video production page display module for displaying a video production page in response to a trigger operation on a video production control, the video production page including a first control, a second control and a text editing area, the first control being used to trigger the first instruction in response to a user's trigger operation, the second control being used to trigger the third instruction in response to a user's trigger operation, and the text editing area being used to obtain input text in response to a user's editing operation.

[0091] In one embodiment of the present disclosure, the step of obtaining input text in response to a user's editing operation includes the steps of: displaying a text input page in response to a trigger operation on the text editing area; and obtaining input text corresponding to an input operation on the text input page in response to an input operation on the text input page.

[0092] In one embodiment of the present disclosure, the text editing area includes a network address copy control, and the step of acquiring input text in response to a user's editing operation includes the steps of displaying a network address input area in response to a trigger operation on the network address copy control, and input The method includes the steps of receiving, in response to the operation, a network address corresponding to the input operation, and obtaining input text corresponding to the network address.

[0093] In one embodiment of the present disclosure, the step of obtaining the corresponding input text of the network address includes the steps of determining whether an original input text is present in the text editing area, and, if the original input text is present in the text editing area, deleting the original input text and obtaining the corresponding input text of the network address.

[0094] In one embodiment of the present disclosure, after the step of responding to a trigger operation on a video production control, the method further includes the steps of obtaining a network address carried on a clipboard, obtaining corresponding input text of the network address, and displaying a video production page, the video production page including a text editing area, the text editing area used to display the corresponding input text of the network address.

[0095] The video generation device provided in the embodiments of the present disclosure can perform the steps performed in the video generation method provided in the method embodiments of the present disclosure, and the specific execution steps and beneficial effects will not be described in detail here.

[0096] FIG. 10 is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. Hereinafter, with specific reference to FIG. 10, a structural schematic diagram of an electronic device 1000 applied to the realization of an embodiment of the present disclosure is shown. The electronic device 1000 in the embodiment of the present disclosure can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and wearable terminal devices, and fixed terminals such as digital TVs, desktop computers, and smart home devices. The electronic device shown in FIG. 10 is merely an example and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.

[0097] As shown in FIG. 10, the electronic device 1000 may include a processing unit (e.g., a central processor, a graphic processor, etc.) 1001, which performs various suitable operations and processes based on a program stored in a read only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003, to perform the various operations and processes of the embodiments described in the present disclosure. Video GenerationThe method can be realized in the RAM 1003. Various programs and data necessary for the operation of the terminal device 1000 are further stored in the RAM 1003. The processing unit 1001, the ROM 1002 and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0098] Typically, an input device 1006 including, for example, a touch panel, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc., an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, an oscillator, etc., a storage device 1008 including, for example, a magnetic tape, a hard disk, etc., and a communication device 1009 can be connected to the I / O interface 1005. The communication device 1009 includes: electronic The device 1000 may be capable of wireless or wired communication with other devices to exchange data. electronic Although device 1000 is shown, it should be understood that it is not necessary for the device to implement or include all of the devices shown, but may instead implement or include more or fewer devices.

[0099] In particular, according to an embodiment of the present disclosure, the process described with reference to the flowcharts above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the method shown in the flowcharts, thereby implementing the video generation method described above. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 1009, or installed from the storage device 1008, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, it performs the functions described above that are limited to the method of the embodiment of the present disclosure.

[0100] As needs to be explained, the computer readable medium described in this disclosure may be a computer readable signal medium, a computer readable storage medium, or any combination of the above. The computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer readable storage medium may be, but not limited to, an electrical connection with one or more leads, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), optical fiber, a portable compact magnetic disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program, which may be used in or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program for use in or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted by any suitable medium, including, but not limited to, wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

[0101] In some embodiments, the clients and servers may communicate using any network protocol now known or later developed, such as HyperText Transfer Protocol (HTTP), and may be connected to each other by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network ("LAN"), a wide area network ("WAN"), the World Wide Web (e.g., the Internet), an end-to-end network (e.g., an ad hoc end-to-end network), and any network now known or later developed.

[0102] The computer readable medium may be included in the electronic device, or may exist separately and not assembled within the electronic device.

[0103] The computer-readable medium carries one or more programs, and when the one or more programs are executed by the terminal device, the terminal device generates first video editing data based on the input text in response to a first instruction triggered on the input text, the first video editing data includes at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment each corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment correspond to a target text segment in the at least one text segment, and the target audio segment corresponds to the target text segment in the at least one text segment. a first target video segment being embedded in the first target video segment based on the first video editing data, the first target video segment being an empty segment, the first target video segment being embedded in the first target video segment based on the first video editing data, the first target video segment being embedded in the first target video segment based on the first video editing data, and the second video editing data being embedded in the first target video segment based on the first target video image material indicated by the second instruction, the first target video being embedded in the first target video segment based on the first video editing data, and the second video editing data being embedded in the first target video segment based on the first target video image material indicated by the second instruction, 2B Deo edit Based on the data, 1. Generate video.

[0104] Optionally, when the one or more programs are executed by the terminal device, the terminal device can further execute other steps described in the above embodiments.

[0105] Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages ​​or combinations thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, C++, and further including conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0106] The flowcharts and block diagrams in the drawings illustrate possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program section, or part of code, which includes one or more executable instructions for implementing a given logical function. It should be noted that in some alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the figures. For example, two blocks shown in succession may actually be executed substantially in parallel or in the reverse order, depending on the functions involved. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system or a combination of dedicated hardware and computer instructions for implementing a given function or operation.

[0107] The units according to the embodiments of the present disclosure may be implemented in the form of software or hardware. In some cases, the names of the units do not constitute limitations on the units themselves.

[0108] As used herein, the functions described above may be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that may be used include, but are not limited to, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0109] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program for use in or in connection with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the above. More specific examples of machine-readable storage media include an electrical connection through one or more cables, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact magnetic disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0110] According to one or more embodiments of the present disclosure, the present disclosure provides a method for generating first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment each corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, and the target audio segment is populated with a speech readout audio matching the target text segment. the first target video segment being an empty segment; importing the first video editing data into a video editor to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, where the first target video segment and the target audio segment have the same track timeline interval; and in response to triggering a second instruction for the first target video segment in the video editor, embedding a first target video within the first target video segment based on the first video editing data to obtain second video editing data, where the first target video is a video obtained based on a first target image material instructed by the second instruction; 2B Deo edit Based on the data, 1. and generating a video.

[0111] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation method, in which the first video editing data includes at least one subtitle segment, a target subtitle segment in the at least one subtitle segment corresponds to a target text segment in the at least one text segment, and the target subtitle segment is used to embed a text subtitle matching the target text segment.

[0112] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a video editing data set based on an input text in response to a third instruction triggered on the input text, the third video editing data set including at least one second video segment and the at least one audio segment, the at least one second video segment and the at least one audio segment each corresponding to at least one divided text segment of the input text, a second target video segment in the at least one second video segment and a target audio segment in the at least one audio segment each corresponding to a target text segment in the at least one text segment, the second target video segment being a video obtained based on a second target image material, the second target image material matching the target text segment; importing the third video editing data into a video editor to display the at least one second video segment and the at least one audio segment in a video editing track of the video editor, the second target video segment and the target audio segment having the same track timeline interval; 3B Deo edit Based on the data, 2B and generating a video from the video.

[0113] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation method, further comprising the step of displaying a video production page in response to a trigger operation on a video production control, the video production page including a first control, a second control and a text editing area, the first control being used to trigger the first instruction in response to a user's trigger operation, the second control being used to trigger the third instruction in response to a user's trigger operation, and the text editing area being used to obtain input text in response to a user's editing operation.

[0114] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation method, in which the step of obtaining input text in response to a user's editing operation includes the steps of: displaying a text input page in response to a trigger operation on the text editing area; and obtaining input text corresponding to the input operation in response to an input operation on the text input page.

[0115] According to one or more embodiments of the present disclosure, the present disclosure provides a method for obtaining input text in response to a user's editing operation, the method including the steps of: displaying a network address input area in response to a trigger operation on the network address copy control; and displaying a network address input area in response to a trigger operation on the network address copy control. input The video generating method includes the steps of: receiving, in response to an input operation, a network address corresponding to the input operation; and obtaining input text corresponding to the network address.

[0116] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation method, in which the step of obtaining a corresponding input text of the network address includes the steps of determining whether an original input text exists in the text editing area, and, if the original input text exists in the text editing area, deleting the original input text and obtaining the corresponding input text of the network address.

[0117] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation method, further including, after the step of responding to a trigger operation on a video production control, a step of acquiring a network address carried on a clipboard, a step of acquiring a corresponding input text of the network address, and a step of displaying a video production page, the video production page including a text editing area, the text editing area being used to display the corresponding input text of the network address.

[0118] According to one or more embodiments of the present disclosure, the present disclosure provides a first video editing data determination module for generating first video editing data based on an input text in response to a first instruction triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment, the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment, a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment being used to fill in a speech voice matching the target text segment, the first target video segment being a blank segment, Ina first video editing data determination module; a first video editing data import module for importing the first video editing data into the video editor so as to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, the first target video segment and the target audio segment having the same track timeline interval; a second video editing data determination module for embedding a first target video within the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor, to obtain second video editing data, the first target video being a video obtained based on a first target image material instructed by the second instruction; 2B Deo edit Based on the data, 1. The first step to generate the video 1. and a video generation module.

[0119] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation device, wherein the first video editing data includes at least one subtitle segment, a target subtitle segment in the at least one subtitle segment corresponds to a target text segment in the at least one text segment, and the target subtitle segment is used to embed a text subtitle matching the target text segment.

[0120] According to one or more embodiments of the present disclosure, the present disclosure provides a third video editing data generating module for generating third video editing data based on an input text in response to a third instruction triggered on the input text, the third video editing data including at least one second video segment and the at least one audio segment, the at least one second video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a second target video segment in the at least one second video segment and a target audio segment in the at least one audio segment corresponding to at least one divided text segment of the input text, a third video editing data generating module for generating a third video editing data for displaying the at least one second video segment and the at least one audio segment in a video editing track of a video editor, the third video editing data importing module for importing the third video editing data into the video editor so as to display the at least one second video segment and the at least one audio segment in a video editing track of the video editor, the third video editing data importing module having a timeline interval between the second target video segment and the target audio segment; 3B Deo edit Based on the data, 2B The first step to generate the video 2B and a video generation module.

[0121] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation device, further including a video production page display module for displaying a video production page in response to a trigger operation on a video production control, the video production page including a first control, a second control and a text editing area, the first control being used to trigger the first instruction in response to a user's trigger operation, the second control being used to trigger the third instruction in response to a user's trigger operation, and the text editing area being used to obtain input text in response to a user's editing operation.

[0122] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation device, in which a step of acquiring input text in response to a user's editing operation includes a step of displaying a text input page in response to a trigger operation on the text editing area, and a step of acquiring input text corresponding to the input operation in response to an input operation on the text input page.

[0123] According to one or more embodiments of the present disclosure, the present disclosure provides a method for obtaining input text in response to a user's editing operation, the method including the steps of: displaying a network address input area in response to a trigger operation on the network address copy control; and displaying a network address input area in response to a trigger operation on the network address copy control. input The video generating device includes the steps of: in response to an input operation, receiving a network address corresponding to the input operation; and obtaining input text corresponding to the network address.

[0124] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation device, wherein the step of obtaining the corresponding input text of the network address includes a step of determining whether an original input text is present in the text editing area, and if the original input text is present in the text editing area, deleting the original input text and obtaining the corresponding input text of the network address.

[0125] According to one or more embodiments of the present disclosure, the present disclosure provides a video generation device that further includes, after the step of responding to a trigger operation on a video production control, a step of acquiring a network address carried on a clipboard, a step of acquiring corresponding input text of the network address, and a step of displaying a video production page, the video production page including a text editing area, the text editing area being used to display the corresponding input text of the network address.

[0126] According to one or more embodiments of the present disclosure, the present disclosure provides a method for producing a liquid crystal display comprising: one or more processors; a memory for storing one or more programs; The electronic device further provides one or more programs, when executed by the one or more processors, that cause the one or more processors to implement any of the video generation methods provided by the present disclosure.

[0127] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements any of the video generation methods provided by the present disclosure.

[0128] An embodiment of the present disclosure further provides a computer program product including a computer program or instructions which, when executed by a processor, implements the above video generation method.

[0129] The above description is merely a description of the preferred embodiments of the present disclosure and the technical principles used. As can be understood by those skilled in the art, the disclosure scope of the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also include other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed idea, such as by replacing the above features with technical features having similar functions disclosed in the present disclosure (but not limited thereto).

[0130] In addition, although operations are described in a particular order, this should not be construed as requiring that these operations be performed in the particular order or sequence shown. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, the above discussion includes some specific implementation details, but these should not be construed as limitations on the scope of the disclosure. Some features that are described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may be implemented in multiple embodiments separately or in any suitable subcombination.

[0131] Although the present subject matter has been described in language specific to structural features and / or logical operations of methods, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are disclosed as example forms for implementing the claims.

Claims

1. 1. A method for generating video, comprising: generating first video editing data based on an input text in response to a first command triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment being used to populate with a speech voice matching the target text segment, and the first target video segment being an empty segment; importing the first video editing data into a video editor to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, where the timeline intervals of the tracks of the first target video segment and the target audio segment are the same; embedding a first target video within the first target video segment based on the first video editing data in response to triggering a second command for the first target video segment in the video editor to obtain second video editing data, the first target video being a video obtained based on first target image material indicated by the second command; generating a first target video based on the second edited video data.

2. 2. The method of claim 1, wherein the first video editing data includes at least one subtitle segment, a target subtitle segment in the at least one subtitle segment corresponds to a target text segment in the at least one text segment, and the target subtitle segment is used to embed a text subtitle matching the target text segment.

3. generating third video editing data based on the input text in response to a third instruction triggered on the input text, the third video editing data including at least one second video segment and the at least one audio segment, the at least one second video segment and the at least one audio segment each corresponding to at least one divided text segment of the input text, a second target video segment in the at least one second video segment and a target audio segment in the at least one audio segment each corresponding to a target text segment in the at least one text segment, the second target video segment being a video obtained based on a second target image material, the second target image material matching the target text segment; importing the third video editing data into a video editor to display the at least one second video segment and the at least one audio segment in a video editing track of the video editor, where the timeline intervals of the tracks of the second target video segment and the target audio segment are the same; The method according to claim 1 or 2, further comprising: generating a second target video based on the third edited video data.

4. 4. The method of claim 3, further comprising the step of: displaying a video production page in response to a trigger operation on a video production control, the video production page including a first control, a second control and a text editing area, the first control being used to trigger the first instruction in response to a user's trigger operation, the second control being used to trigger the third instruction in response to a user's trigger operation, and the text editing area being used to obtain input text in response to a user's editing operation.

5. The step of obtaining input text in response to a user's editing operation includes: displaying a text entry page in response to a trigger operation on the text editing area; and obtaining, in response to an input operation on the text input page, an input text corresponding to the input operation.

6. The text editing area includes a network address copy control, and the step of acquiring input text in response to a user's editing operation includes: displaying a network address input area in response to a trigger operation on the network address copy control; receiving a network address corresponding to an input operation in response to the operation on the network address input area; and obtaining a corresponding input text of the network address.

7. The step of obtaining a corresponding input text of the network address comprises: determining whether original input text is present within the text editing area; and if original input text is present in the text editing area, deleting the original input text and obtaining the corresponding input text of the network address.

8. After the step of responding to a trigger operation on a video production control, obtaining a network address carried on the clipboard; obtaining a corresponding input text of the network address; 7. The method of claim 6, further comprising the step of: displaying a video production page, the video production page including a text editing area, the text editing area being used to display input text corresponding to the network address.

9. 1. A video generation device, comprising: a first video editing data determination module for generating first video editing data based on an input text in response to a first command triggered on the input text, the first video editing data including at least one first video segment and at least one audio segment, the at least one first video segment and the at least one audio segment respectively corresponding to at least one divided text segment of the input text, a first target video segment in the at least one first video segment and a target audio segment in the at least one audio segment corresponding to a target text segment in the at least one text segment, the target audio segment being used to fill in the target text segment with a speech voice matching the target text segment, the first target video segment being an empty segment of the input text; a first video editing data import module for importing the first video editing data into a video editor so as to display the at least one first video segment and the at least one audio segment in a video editing track of the video editor, the first video editing data import module having a timeline interval of the track of the first target video segment and the target audio segment being the same; a second video editing data determination module for embedding a first target video within the first target video segment based on the first video editing data in response to triggering a second instruction for the first target video segment in the video editor to obtain second video editing data, the first target video being a video obtained based on first target image material indicated by the second instruction; a first target video generation module for generating a first target video based on the second edited video data.

10. An electronic device, one or more processors; a storage device for storing one or more programs; An electronic device, comprising: one or more programs, when executed by said one or more processors, causing said one or more processors to implement the method according to any one of claims 1 to 8.

11. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.

12. A computer program product comprising a computer program or instructions which, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Animation video generation method and related device

    CN114390220A

  • System, method, and program for content generation

    JP2005062420A

  • System and method for recording

    JP2007328849A

  • Voice-attached animation production / distribution service system

    JP2011082789A

  • Video editing output control device using text data, video editing output method using text data, and program

    JP2021077432A