Video display method and apparatus, video processing method, apparatus, and system, device, and medium
View Patent ↗A video display method and apparatus, a video processing method, apparatus, and system, a device, and a medium. The video display method comprises: receiving a video generation operation for original data, wherein the original data is used for obtaining a target text, and the video generation operation is used for triggering the generation of a target video corresponding to the target text (S 210 ); and in response to the video generation operation, displaying a generated target video, wherein the video elements of the target video comprise a caption text and a multimedia material corresponding to the caption text, the caption text is generated according to the target text, and the multimedia material is obtained according to the caption text (S 220 ). According to the video display method and apparatus, the video processing method, apparatus, and system, the device, and the medium, the time cost of making a video can be reduced, and the quality of a made video can be improved.
1 . A video display method, comprising:
receiving a video generation operation for original data, wherein the original data is used to acquire a target text, and the video generation operation is used to trigger a generation of a target video corresponding to the target text; and
displaying a generated target video in response to the video generation operation, where video elements of the target video comprise a subtitle text and a multimedia material corresponding to the subtitle text, the subtitle text is generated based on the target text, and the multimedia material is acquired by acquiring a plurality of materials from a material library or Internet, determining a matching degree between each material of the plurality of materials and the subtitle text, and determining a target material having a highest matching degree with the subtitle text from the plurality of materials, as the multimedia material corresponding to the subtitle text.
2 . The video display method according to claim 1 , wherein after the receiving the video generation operation for the original data, the method further comprises:
displaying a video editing interface in response to the video generation operation, wherein the video editing interface comprises an editable element, the editable element comprises at least one of the video element and a display effect element corresponding to the video element;
receiving an element modification operation on the editable element; and
displaying a modified target video, in response to the element modification operation, where the modified target video comprises the editable element displayed in the video editing interface when the element modification operation is completed.
3 . The video display method according to claim 1 , wherein before the displaying the generated target video, the method further comprises:
displaying an indication identifier, where the indication identifier indicates that the target video has been generated;
receiving an identifier trigger operation on the indication identifier; and
hiding the original data, in response to the identifier trigger operation.
4 . The video display method according to claim 1 , wherein before the displaying the generated target video, the method further comprises:
sending a video generation request carrying the original data to a server, wherein the video generation request is used to enable the server to provide the target video corresponding to the target text based on the original data; and
receiving the target video fed back from the server.
5 . The video display method according to claim 1 , wherein before the displaying the generated target video, the method further comprises:
acquiring the target text based on the original data;
generating a subtitle text based on the target text;
acquiring the multimedia material corresponding to the subtitle text; and
generating the target video, based on the subtitle text and the multimedia material.
6 . A video processing method, comprising:
receiving a video generation request carrying original data from an electronic device;
acquiring a target text based on the original data, in response to the video generation request;
generating a subtitle text based on the target text;
acquiring a multimedia material corresponding to the subtitle text, based on the subtitle text;
generating a target video, based on the subtitle text and the multimedia material; and
sending the target video to the electronic device,
wherein the acquiring a multimedia material corresponding to the subtitle text comprises:
acquiring a plurality of materials from a material library or Internet;
determining a matching degree between each material of the plurality of materials and the subtitle text; and
determining a target material having a highest matching degree with the subtitle text from the plurality of materials, as the multimedia material.
7 . The video processing method according to claim 6 , wherein the generating a subtitle text based on the target text comprises:
performing a text summarization extraction on the target text to obtain a summarization of the target text; and
performing a text typesetting on the summarization to obtain the subtitle text corresponding to the summarization.
8 . The video processing method according to claim 6 , wherein the original data comprises a character; the acquiring a target text based on the original data comprises:
extracting the character in the original data; and
using the character as the target text.
9 . The video processing method according to claim 6 , wherein the original data comprises a multimedia file; and
the acquiring a target text based on the original data comprises:
performing a text conversion on the multimedia file to obtain a converted text; and
using the converted text as the target text.
10 . The video processing method according to claim 6 , wherein the original data comprises a link address, and the link address is used to acquire an article content;
the acquiring a target text based on the original data comprises:
acquiring a target article based on the link address;
extracting an article text in the target article; and
using the article text as the target text.
11 . The video processing method according to claim 6 , wherein the acquiring a multimedia material corresponding to the subtitle text comprises:
performing a text-to-speech conversion on the subtitle text, to obtain a subtitle audio corresponding to the subtitle text; and
using the subtitle audio as the multimedia material.
12 . The video processing method according to claim 6 , wherein the acquiring a multimedia material corresponding to the subtitle text comprises:
inputting the target text into a preset text sentiment classification model for classification, to obtain a sentiment class of the target text;
determining a target background audio corresponding to the sentiment class from a plurality of preset background audios; and
using the target background audio as the multimedia material.
13 . The video processing method according to claim 6 , wherein after the acquiring a target text, and before the generating a target video based on the subtitle text and the multimedia material, the method further comprises:
inputting the target text into a preset text content classification model for classification, to obtain a content class of the target text;
determining a target video template corresponding to the content class from a plurality of preset video templates;
the generating a target video based on the subtitle text and the multimedia material comprises:
generating the target video based on the subtitle text, the multimedia material and the target video template.
14 . A computing device, comprising:
a processor;
a memory configured to store executable instructions;
wherein the processor is configured to read the executable instructions from the memory, and execute the executable instructions to implement a video display method, wherein the video display method comprises:
receiving a video generation request carrying original data from an electronic device;
acquiring a target text based on the original data, in response to the video generation request;
generating a subtitle text based on the target text;
acquiring a multimedia material corresponding to the subtitle text, based on the subtitle text;
generating a target video, based on the subtitle text and the multimedia material; and
sending the target video to the electronic device,
wherein the acquiring a multimedia material corresponding to the subtitle text comprises:
acquiring a plurality of materials from a material library or Internet;
determining a matching degree between each material of the plurality of materials and the subtitle text; and
determining a target material having a highest matching degree with the subtitle text from the plurality of materials, as the multimedia material.
15 . A non-transitory computer readable store medium storing a computer program thereon, wherein the computer program, when executed by a processor, causes the processor to implement a video display method, wherein the video display method comprises:
receiving a video generation request carrying original data from an electronic device;
acquiring a target text based on the original data, in response to the video generation request;
generating a subtitle text based on the target text;
acquiring a multimedia material corresponding to the subtitle text, based on the subtitle text;
generating a target video, based on the subtitle text and the multimedia material; and
sending the target video to the electronic device,
wherein the acquiring a multimedia material corresponding to the subtitle text comprises:
acquiring a plurality of materials from a material library or Internet;
determining a matching degree between each material of the plurality of materials and the subtitle text; and
determining a target material having a highest matching degree with the subtitle text from the plurality of materials, as the multimedia material.
16 . The computing device according to claim 14 , wherein after the receiving the video generation operation for the original data, the video display method further comprises:
displaying a video editing interface in response to the video generation operation, wherein the video editing interface comprises an editable element, the editable element comprises at least one of the video element and a display effect element corresponding to the video element;
receiving an element modification operation on the editable element; and
displaying a modified target video, in response to the element modification operation, where the modified target video comprises the editable element displayed in the video editing interface when the element modification operation is completed.
17 . The computing device according to claim 14 , wherein before the displaying the generated target video, the video display method further comprises:
displaying an indication identifier, where the indication identifier indicates that the target video has been generated;
receiving an identifier trigger operation on the indication identifier; and
hiding the original data, in response to the identifier trigger operation.
18 . The computing device according to claim 14 , wherein before the displaying the generated target video, the video display method further comprises:
sending a video generation request carrying the original data to a server, wherein the video generation request is used to enable the server to provide the target video corresponding to the target text based on the original data; and
receiving the target video fed back from the server.
19 . The computing device according to claim 14 , wherein before the displaying the generated target video, the video display method further comprises:
acquiring the target text based on the original data;
generating a subtitle text based on the target text;
acquiring the multimedia material corresponding to the subtitle text; and
generating the target video, based on the subtitle text and the multimedia material.