The present disclosure relates to the field of data processing, and in particular, to a video generation method and apparatus, a device, and a storage medium.
With the continuous development of a multimedia short video technology, users have increasingly high requirements for video taking. However, due to the fact that most users do not possess professional video taking skills, how to enable an ordinary user to take high-quality videos and improve the video taking experience of the user is currently an urgent technical problem that needs to be addressed.
In order to solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a video generation method and apparatus, a device, and a storage medium, which can improve the video taking experience of a user.
In a first aspect, the present disclosure provides a voice generation method. The method includes:
In a possible implementation, before the playing a first video on a video taking page in the form of a floating window, the method further includes:
In a possible implementation, the presenting a first panel on the video taking page includes:
In a possible implementation, the first video is determined based on an image recognition result and/or current positioning information of the taken image in the taken image preview region on the video taking page.
In a possible implementation, before the playing a first video on a video taking page in the form of a floating window, the method further includes:
In a possible implementation, before the presenting a detail page of the first video in response to a preset triggering operation on the first video in a first video stream, the method further includes:
In a possible implementation, before the presenting a detail page of the first video in response to a preset triggering operation on the first video in a first video stream, the method further includes:
In a possible implementation, the method further includes:
In a possible implementation, the playing a first video on a video taking page in the form of a floating window includes:
In a possible implementation, the playing a first video on a video taking page in the form of a floating window includes:
In a second aspect, the present disclosure provides a voice generation apparatus. The apparatus includes:
In a third aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions; and the instructions, when run on a terminal device, cause the terminal device to implement the above method.
In a fourth aspect, the present disclosure provides a device, including a memory, a processor, and a computer program stored on the memory and runnable on the processor, wherein the processor, when executing the computer program, implements the above method.
In a fifth aspect, the present disclosure provides a computer program product, wherein the computer program product includes a computer program/instruction, and the computer program/instruction, when executed by a processor, implements the above method.
Compared with the related art, the technical solutions provided by the embodiments of the present disclosure have the following advantages:
The embodiments of the present disclosure provide a video generation method. The method includes: first, playing a first video on a video taking page in the form of a floating window, wherein the video taking page presents a taken image preview region and a video taking control; the taken image preview region is used for presenting a taken image in preview; the first video is used for prompting a video taking style; and then, recording, in response to a triggering operation on the video taking control, the taken image in the taken image preview region to generate a second video, wherein the second video and the first video have a same style. According to the embodiments of the present disclosure, the second video is taken by playing, on the video taking page, the first video used for prompting the video taking style, so that an ordinary user can be guided to take a high-quality video, and the video taking experience of the user is improved.
The drawings here are incorporated into and form part of the specification, showing the embodiments that comply with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
In order to describe the technical solutions in the embodiments of the present disclosure or in the related art more clearly, the following briefly introduces the accompanying drawings for describing the embodiments or the related art. Apparently, a person of ordinary skill in the art may still derive other drawings from the accompanying drawings without creative effort.
In order to better understand the above objectives, features, and advantages of the present disclosure, the following will further describe the solutions of the present disclosure. It should be noted that the embodiments of the present disclosure and features in the embodiments may be mutually combined without conflicts.
Many specific details have been elaborated in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described here. Obviously, the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all the embodiments.
With the continuous development of a multimedia short video technology, there is a trend that all people like to take videos. However, since ordinary users usually do not have professional video taking skills, how to lower a threshold for taking high-quality videos and enable most users to be able to take high-quality videos is currently an urgent technical problem that needs to be solved.
To this end, the embodiments of the present disclosure provide a video generation method. The method includes: first, playing a first video on a video taking page in the form of a floating window, wherein the video taking page presents a taken image preview region and a video taking control; the taken image preview region is used for presenting a taken image in preview; the first video is used for prompting a video taking style; and then, recording, in response to a triggering operation on the video taking control, the taken image in the taken image preview region to generate a second video, wherein the second video and the first video have a same style. According to the embodiments of the present disclosure, the second video is taken by playing, on the video taking page, the first video used for prompting the video taking style, so that an ordinary user can be guided to take a high-quality video, and the video taking experience of the user is improved.
Based on this, the embodiments of the present disclosure provide a video generation method.
S101: A first video is played on a video taking page in the form of a floating window.
The video taking page presents a taken image preview region and a video taking control. The taken image preview region is used for presenting a taken image in preview, and the first video is used for prompting a video taking style.
In the embodiments of the present disclosure, the first video can be a video that can prompt the video taking style. For example, the first video can be a tutorial video of taking a video, or the like. The video taking style prompted by the first video can include a content video taking style and/or a shooting video taking style. Specifically, the content video taking style can include a color of taking a video, a theme, a scenario, and the like, while the shooting video taking style can include a composition of taking a video, a camera movement technique, and the like,
In the embodiments of the present disclosure, after the first video is determined, the first video can be played on the video taking page in the form of the floating window.
As shown in
In addition, according to the embodiments of the present disclosure, a video window of the first video can be zoomed in or zoomed out after a zoom in or zoom out operation on the video window of the first video has been received. As shown in
In addition, the floating window where the first video is located has a close control. Clicking the close control at the top right side of the floating window can close the floating window where the first video is located and stop the playing of the first video.
In addition, the first video can carry audio information. For example, the first video carries audio information that guides a video taking style of a user. The floating window where the first video is located also has a volume adjustment control. A click on the volume adjustment control can adjust the volume of the first video. For example, the first video can be silently played by clicking the volume adjustment control.
In addition, the embodiments of the present disclosure can play the first video on the video taking page in the form of the floating window based on a frame direction attribute of the first video, wherein the frame direction attribute includes a transverse frame or a vertical frame. Assuming the first video is in a transverse frame, the first video is played on the video taking page in the form of the floating window in a landscape mode.
S102: The taken image in the taken image preview region is recorded, in response to a triggering operation on the video taking control, to generate a second video.
The second video and the first video have the same style.
In the embodiments of the present disclosure, when the triggering operation on the video taking control on the video taking page has been received, the taken image in the taken image preview region on the video taking page is recorded to obtain the second video. The second video is recorded based on the video taking style prompted in the first video. Therefore, the second video and the first video have the same style. Specifically, the second video and the first video have the same content style and/or shooting style.
In the video generation method provided by the embodiments of the present disclosure, first, a first video is played on a video taking page in the form of a floating window, wherein the video taking page presents a taken image preview region and a video taking control; the taken image preview region is used for presenting a taken image in preview; the first video is used for prompting a video taking style; and then, the taken image in the taken image preview region is recorded, in response to a triggering operation on the video taking control, to generate a second video, wherein the second video and the first video have a same style. According to the embodiments of the present disclosure, the second video is taken by playing, on the video taking page, the first video used for prompting the video taking style, so that an ordinary user can be guided to take a high-quality video, and the video taking experience of the user is improved.
Based on the above embodiment, the embodiments of the present disclosure further provide a video generation method.
S301: A first panel is presented on a video taking page.
The first panel presents images respectively corresponding to a plurality of videos including a first video.
In the embodiments of the present disclosure, the first panel can be displayed at any position on the video taking page, for example, a bottom of the video taking page. The first panel can present the images respectively corresponding to the respective videos in different categories according to video contents. For example, videos with video contents related to “seaside” can be presented in the same category, while videos with video contents related to “lovers” can be presented in the same category.
In a possible implementation, a favorites control can be configured on the image corresponding to each video presented on the first panel. The favorites control on a certain image can be clicked to collect the video corresponding to that image. Subsequently, the video can be found in the folder “My Favorites” to achieve functions such as applying the video.
In the embodiments of the present disclosure, there are many ways to trigger the first panel to be presented on the video taking page. The following is an exemplary introduction, which will not limit the scope of the embodiments of the present disclosure.
In a possible implementation, a preset first control is displayed on the video taking page. When a triggering operation on the preset first control has been received, the first panel can be presented on the video taking page. Referring to
In another possible implementation, the first panel can be presented on the video taking page based on an image recognition result and/or current positioning information of a taken image in a taken image preview region on the video taking page. The first panel displays images respectively corresponding to videos determined based on the image recognition result and/or the current positioning information.
In a possible application scenario, since the function of the first video is to prompt the video taking style, the embodiments of the present disclosure can recognize the taken image in the taken image preview region and determine a current object, a shooting scenario, or the like of the camera, so as to determine videos related to the current object, the shooting scenario, or the like of the camera for a user, and present videos related to the current object, the shooting scenario, or the like of the camera on the first panel as the basis of determining the first video.
Specifically, the first panel is presented on the video taking page based on the image recognition result of the taken image in the taken image preview region on the video taking page, wherein the first panel displays the images respectively corresponding to the videos determined based on the image recognition result. The image recognition result can include the object and/or the shooting scenario obtained by performing the image recognition on the taken image in the taken image preview region.
In another possible application scenario, since the video taking style may be related to a current geographical location of a user. For example, assuming that the user is currently at the seaside, the video taking style may be related to the seaside, and a first video related to the seaside can be determined for the user. Therefore, the embodiments of the present disclosure can display, on the first panel, images respectively corresponding to videos determined based on the current positioning information, and present the first panel on the video taking page.
In another possible application scenario, images of corresponding videos can be displayed on the first panel in combination with an image recognition result of a taken image in a taken image preview region on the video taking page and current positioning information, and the first panel is presented on the video taking page.
S302: The first video is played on the video taking page in the form of a floating window in response to a preset selection operation on an image corresponding to the first video presented on the first panel.
In the embodiments of the present disclosure, in a case that images corresponding to a plurality of videos are presented on the first panel on the video taking page, the preset selection operation can be triggered for an image corresponding to any video. Assuming that the preset selection operation is triggered for the image corresponding to the first video, the first video is played on the video taking page in the form of the floating window, so as to remind a user of the video taking style.
The preset selection operation can include a click operation on an image corresponding to any video, and the image is highlighted. As shown in
In a possible implementation, when the preset selection operation on the image corresponding to the first video presented on the first panel has been received, the first video is played on the video taking page in the form of the floating window, which means that the first video is previewed. A user can switch the video played in the floating window on the video taking page by selecting other videos on the first panel.
A check control can also be configured on the first panel provided in the embodiments of the present disclosure, namely, a √ control displayed at the upper right corner of the first panel as shown in
S303: The taken image in the taken image preview region is recorded, in response to a triggering operation on a video taking control, to generate a second video.
The second video and the first video have the same style.
In the embodiments of the present disclosure, when the triggering operation on the video taking control on the video taking page has been received, the taken image in the taken image preview region is recorded to generate the second video. The second video is recorded based on the video taking style prompted in the first video. Therefore, the second video and the first video have the same style. Specifically, the second video and the first video have the same content style and/or shooting style.
According to the video generation method provided by the embodiments of the present disclosure, the second video is taken by playing, on the video taking page, the first video used for prompting the video taking style, so that an ordinary user can be guided to take a high-quality video, and the video taking experience of the user is improved.
Based on the above embodiment, the embodiments of the present disclosure further provide a video generation method.
S501: A detail page of the first video is presented in response to a preset triggering operation on a first video in a first video stream.
A video taking entry is configured on the detail page.
In the embodiments of the present disclosure, the first video can be a recommended video stream, for example, a recommended tutorial video stream. The first video stream can also be a video stream related to a certain video content such as “seaside”.
In practical applications, when a preset triggering operation on the first video in the first video stream has been received, the detail page of the first video can be presented. The detail page is used for presenting the first video in preview, and displaying detailed information of the first video, such as an author, a video style, and a video theme of the first video.
In addition, the video taking entry is configured on the detail page. The video taking entry can be clicked to enter a video taking page.
In the embodiments of the present disclosure, there are many interaction paths to enter the presentation page of the first video stream as shown in
In a possible implementation, a preset second control can be presented on the video taking template search page, and the first video stream is presented when a triggering operation on the preset second control has been received, wherein the first video stream and a video taking template currently presented on the video taking template search page belong to a same content category.
Specifically, when a triggering operation on the preset second control shown in
In another possible implementation, a preset third control can be presented on a video playing page. When a triggering operation on the preset third control has been received, the first video stream corresponding to the preset third control is presented. The first video stream corresponding to the preset third control is related to a video content of a currently played video on the video playing page. For example, if the video content of the currently played video is related to “seaside”, the preset third control is clicked to present the first video stream related to “seaside”.
In still another possible implementation, the first video stream can be presented based on current positioning information. Specifically, videos included in the first video stream are determined based on the current positioning information. For example, if the current positioning information indicates “seaside”, the first video stream can include videos with video contents related to “seaside”.
S502: Jumping to the video taking page from the detail page is performed in response to a triggering operation on the video taking entry on the detail page of the first video, and the first video is played on the video taking page in the form of a floating window.
In the embodiments of the present disclosure, when the triggering operation on the video taking entry on the detail page of the first video has been received, jumping from the detail page to the video taking page is achieved, and the first video is played n the video taking page in the form of the floating window. The user can take a video based on the video taking style prompted by the first video to generate the second video with the same style as that of the first video.
As shown in
S503: A taken image in a taken image preview region is recorded, in response to a triggering operation on a video taking control, to generate a second video.
The second video and the first video have the same style.
According to the video generation method provided by the embodiments of the present disclosure, the second video is taken by playing, on the video taking page, the first video used for prompting the video taking style, so that an ordinary user can be guided to take a high-quality video, and the video taking experience of the user is improved.
Based on the above embodiments, in order to improve the automation degree of the video generation method according to the embodiments of the present disclosure, the first video can be determined based on an image recognition result and/or current positioning information of the taken image in the taken image preview region on the video taking page, and the first video is played on the video taking page in the form of the floating window.
In a possible implementation, a preset fourth control can be presented on the video taking page. When a triggering operation on the preset fourth control has been received, image recognition can be performed on the taken image in the taken image preview region, and the first video is determined based on an image recognition result and is played on the video taking page in the form of the floating window.
In another possible implementation, when a triggering operation on the preset fourth control has been received, the first video can be determined based on current positioning information, and the first video is played on the video taking page in the form of the floating window.
In still another possible implementation, when a triggering operation on the preset fourth control has been received, the first video can be determined in combination with an image recognition result of the taken image in the taken image preview region and current positioning information, and the first video is played on the video taking page in the form of the floating window.
In the above implementations, the user only needs to trigger the preset fourth control to automatically play the first video on the video taking page. Therefore, the embodiments of the present disclosure can automatically play the first video used for prompting the video taking style for the user, which improves the user experience.
Based on the same inventive concept as the above method embodiment, the present disclosure further provides a multimedia resource editing apparatus.
In a possible implementation, the apparatus further includes:
Correspondingly, the first playing module is specifically configured to:
In a possible implementation, the first presentation module includes:
In a possible implementation, the first playing module is specifically configured to:
In a possible implementation, the apparatus further includes:
Correspondingly, the first playing module is specifically configured to:
In a possible implementation, the apparatus further includes:
In a possible implementation, the apparatus further includes:
In a possible implementation, the apparatus further includes:
In a possible implementation, the apparatus further includes:
In a possible implementation, the first playing module is specifically configured to:
In a possible implementation, the first playing module is specifically configured to:
In the video generation apparatus provided by the embodiments of the present disclosure, first, a first video is played on a video taking page in the form of a floating window, wherein the video taking page presents a taken image preview region and a video taking control; the taken image preview region is used for presenting a taken image in preview; the first video is used for prompting a video taking style; and then, the taken image in the taken image preview region is recorded, in response to a triggering operation on the video taking control, to generate a second video, wherein the second video and the first video have a same style. According to the embodiments of the present disclosure, the second video is taken by playing, on the video taking page, the first video used for prompting the video taking style, so that an ordinary user can be guided to take a high-quality video, and the video taking experience of the user is improved.
In addition to the above method and apparatus, the embodiments of the present disclosure provide a computer-readable storage medium. The computer-readable storage medium stores instructions; and the instructions, when run on a terminal device, cause the terminal device to implement the video generation method according to the embodiments of the present disclosure.
The embodiments of the present disclosure further provide a computer program product. The computer program product includes a computer program/instruction, and the computer program/instruction, when executed by a processor, implements the above video generation method.
In addition, the embodiments of the present disclosure further provide a video generation device. Referring to
The memory 1102 may be configured to store software programs and modules. The processor 1101 runs the software programs and modules stored in the memory 1102, so as to implement various functional applications and data processing of the video generation device. The memory 1102 may mainly include a program storage region and a data storage region. The program storage region may store an operating system, an application program required by at least one function, and the like. In addition, the memory 1102 may include a high speed RAM, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory, or another volatile solid storage device. The input apparatus 1103 may be configured to receive input numeric or character information and generate signal inputs related to user settings and function control of the video generation device.
Specifically, in this embodiment, the processor 1101 may load, according to the following instructions, executable files corresponding to processes of one or more application programs into the memory 1102. The processor 1101 runs the application programs stored in the memory 1102, to implement the various functions of the above video generation device.
It should be noted that in this document, relationship terms such as “first” and “second” are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations. Furthermore, the terms “include”, “including”, or any other variation thereof, are intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that includes a list of elements does not include only those elements but may include other elements not explicitly listed or inherent to such process, method, article, or device. Without further limitation, an element defined by the phrase “including a/an . . . ” does not exclude the presence of another identical elements in the process, method, article or device that includes the element.
The above only describes the specific implementations of the present disclosure, which enables those skilled in the art to understand or implement the present disclosure. The various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Thus, the present disclosure is not limited to these embodiments shown herein, but accords with the broadest scope consistent with the principles and novel features disclosed herein.
Number | Date | Country | Kind |
---|---|---|---|
202111117291.9 | Sep 2021 | CN | national |
This application is a Continuation Application of International Patent Application No. PCT/CN2022/120168, filed Sep. 21, 2022, which claims priority to Chinese Patent Application No. 202111117291.9, entitled “VIDEO GENERATION METHOD AND APPARATUS, DEVICE, AND STORAGE MEDIUM”, filed with the China National Intellectual Property Administration on Sep. 23, 2021, the disclosures of which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/120168 | Sep 2022 | US |
Child | 18539122 | US |