Video processing method and apparatus, and device and storage medium
A video processing method, apparatus, and device, and a storage medium are provided. The method includes: firstly, determining a target video template, the target video template including a correspondence between a video editing track and a field having a tag; then, obtaining a material to be filled, the material to be filled including data to be filled having a tag; and further, performing matching between the tag of the data to be filled and the tag of the field in the target video template, and filling the data to be filled corresponding to a successfully matched tag into the field having the tag in the target video template to obtain a first video.
1 . A video processing method, comprising:
determining a first video template, wherein the first video template comprises a correspondence between a video editing track and a field having a tag;
obtaining a material, wherein the material comprises data having a tag; and
performing matching between the tag of the data to be filled and the tag of the field in the first video template, and filling data into a field in the first video template that has a same tag as that of the data, to generate a first video.
2 . The method according to claim 1 , wherein after the filling data into a field in the first video template that has a same tag as that of the data, to generate a first video, the method further comprises:
importing the first video into a video editor, wherein the video editor is configured to edit the first video; and
receiving an editing resulting video exported by the video editor for the first video as a second video.
3 . The method according to claim 2 , wherein before the determining a first video template, the method further comprises:
receiving the correspondence between the video editing track and the field having the tag based on a video editor; and
generating at least one video template based on the correspondence between the video editing track and the field having the tag; and
wherein the determining a first video template comprises:
determining the first video template based on the at least one video template.
4 . The method according to claim 3 , wherein the filling data into a field in the first video template that has a same tag as that of the data, to generate a first video comprises:
filling the data into the field in the first video template that has a same tag as that of the data, to generate a video draft; and
performing live restoration on the video draft to generate the first video.
5 . The method according to claim 3 , wherein the first video template further comprises a resource file, the resource file comprises at least one selected from a group comprising a video, a picture, and an audio; and before the determining a first video template, the method further comprises:
previewing the first video template based on the resource file.
6 . The method according to claim 2 , wherein the filling data into a field in the first video template that has a same tag as that of the data, to generate a first video comprises:
filling the data into the field in the first video template that has a same tag as that of the data, to generate a video draft; and
performing live restoration on the video draft to generate the first video.
7 . The method according to claim 6 , wherein the first video template further comprises a resource file, the resource file comprises at least one selected from a group comprising a video, a picture, and an audio; and before the determining a first video template, the method further comprises:
previewing the first video template based on the resource file.
8 . The method according to claim 2 , wherein the first video template further comprises a resource file, the resource file comprises at least one selected from a group comprising a video, a picture, and an audio; and before the determining a first video template, the method further comprises:
previewing the first video template based on the resource file.
9 . A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores instructions, when the instructions are run on a terminal device, the terminal device is caused to implement the method according to claim 2 .
10 . A device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor is configured to, when executing the computer program, implement the method according to claim 2 .
11 . The method according to claim 1 , wherein before the determining a first video template, the method further comprises:
receiving the correspondence between the video editing track and the field having the tag based on a video editor; and
generating at least one video template based on the correspondence between the video editing track and the field having the tag; and
wherein the determining a first video template comprises:
determining the first video template based on the at least one video template.
12 . The method according to claim 11 , wherein the filling data into a field in the first video template that has a same tag as that of the data, to generate a first video comprises:
filling the data into the field in the first video template that has a same tag as that of the data, to generate a video draft; and
performing live restoration on the video draft to generate the first video.
13 . The method according to claim 11 , wherein the first video template further comprises a resource file, the resource file comprises at least one selected from a group comprising a video, a picture, and an audio; and before the determining a first video template, the method further comprises:
previewing the first video template based on the resource file.
14 . The method according to claim 1 , wherein the filling data into a field in the first video template that has a same tag as that of the data, to generate obtain a first video comprises:
filling the data into the field in the first video template that has a same tag as that of the data, to generate a video draft; and
performing live restoration on the video draft to generate the first video.
15 . The method according to claim 14 , wherein the first video template further comprises a resource file, the resource file comprises at least one selected from a group comprising a video, a picture, and an audio; and before the determining a first video template, the method further comprises:
previewing the first video template based on the resource file.
16 . The method according to claim 1 , wherein the first video template further comprises a resource file, the resource file comprises at least one selected from a group comprising a video, a picture, and an audio; and before the determining a first video template, the method further comprises:
previewing the first video template based on the resource file.
17 . The method according to claim 1 , wherein the data comprises job description information, and the first video is a recruitment video.
18 . A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores instructions, when the instructions are run on a terminal device, the terminal device is caused to implement the method according to claim 1 .
19 . A device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor is configured to, when executing the computer program, implement the method according to claim 1 .
20 . A video processing apparatus, comprising:
a determination module, configured to determine a first video template, wherein the first video template comprises a correspondence between a video editing track and a field having a tag;
an obtaining module, configured to obtain a material, wherein the material comprises data having a tag; and
a filling module, configured to perform matching between the tag of the data and the tag of the field in the first video template, and fill data into a field in the first video template that has a same tag as that of the data, to generate a first video.