Video list processing method and device, equipment, medium and program product
By first displaying the initial video in the video list and gradually adding special effects materials, the user experience problem caused by the long video generation time is solved, and the time-consuming and user experience improvement of video generation is achieved.
Patent Information
- Application Number
- CN202411412961.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-10-10
AI Technical Summary
The video generation time is long, which causes the entire process to be blocked due to the slow generation of a single video when displaying the video list, which increases the time-consuming time to generate other videos to be visible, and the user experience is poor.
By first displaying the placeholder logo in the video list, the initial video without special effect materials is generated and displayed in the video list. Then, the successfully generated special effect materials are superimposed on the initial video through plug-in format, achieving gradual enhancement and avoiding the generation of single videos Slowly blocks the entire display process.
It shortens the time-consuming process of video generation to video visible, improves user experience, and avoids the problem of blocking the entire video list display due to slow generation of a single video.
Smart Images

Figure CN119135988A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to computer technology, and more particularly to a method, apparatus, device, medium and program product for processing a video list. Background Art
[0002] The time consumed for video generation is much longer than the time consumed for image and text generation. If multiple videos are generated for a specific material, the video list can only be displayed after all videos in the video list are generated for users to view the video effects. This method is prone to blocking the display of the entire video list due to a single slow-generating video, increasing the time consumed for other videos to be generated and visible. During this process, users cannot perform other operations, resulting in a poor user experience. Summary of the invention
[0003] The embodiments of the present disclosure provide a method, apparatus, device, medium and program product for processing a video list, which can shorten the time from video generation to video visibility and improve user experience.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for processing a video list, including:
[0005] Acquire target content corresponding to the target object, wherein the target content is used to generate at least one target video corresponding to the target object;
[0006] Displaying a placeholder corresponding to the at least one target video through a video list, generating at least one initial video of the target object according to the target content, and replacing the corresponding placeholder in the video list with the successfully generated initial video;
[0007] Generate special effect materials of the at least one initial video according to the target content, and superimpose the special effect materials onto the initial video in the video list according to preset layout information to obtain a target video.
[0008] In a second aspect, an embodiment of the present disclosure further provides a video list processing device, the device comprising:
[0009] A content acquisition module, used to acquire target content corresponding to a target object, wherein the target content is used to generate at least one target video corresponding to the target object;
[0010] A list display module, used to display a placeholder corresponding to the at least one target video through a video list, generate at least one initial video of the target object according to the target content, and replace the corresponding placeholder in the video list with the successfully generated initial video;
[0011] A video overlay module is used to generate special effect materials of at least one initial video according to the target content, and to overlay the special effect materials onto the initial video in the video list according to preset layout information to obtain a target video.
[0012] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0013] one or more processors;
[0014] a storage device for storing one or more programs,
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the video list processing method as described in any embodiment of the present disclosure.
[0016] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the method for processing a video list as described in any embodiment of the present disclosure.
[0017] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for processing a video list as described in any embodiment of the present disclosure.
[0018] The disclosed embodiments provide a method, apparatus, device, medium and program product for processing a video list, which obtains the target content of a target object to generate at least one target video corresponding to the target object, displays a placeholder corresponding to at least one target video in a video list, first generates at least one initial video of the target object according to the target content, and uses the successfully generated initial video to replace the corresponding placeholder in the video list, thereby avoiding the problem of blocking the display of the entire video list due to a single video that is generated slowly, and shortens the time from video generation to video visibility. In the process of generating and displaying the initial video, special effects materials for generating at least one initial video according to the target content are executed in parallel, and the successfully generated special effects materials are superimposed on the initial video according to preset layout information to obtain the target video. The disclosed embodiments achieve progressive enhancement by first generating an initial video without special effects materials, displaying the initial video in a video list, and then superimposing the successfully generated special effects materials on the initial video in the form of a plug-in. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0020] Figure 1 A flowchart of a method for processing a video list provided in an embodiment of the present disclosure;
[0021] Figure 2 A schematic diagram of a video list provided by an embodiment of the present disclosure;
[0022] Figure 3 A schematic diagram of preset layout information provided by an embodiment of the present disclosure;
[0023] Figure 4 A flowchart of another method for processing a video list provided by an embodiment of the present disclosure;
[0024] Figure 5 A schematic diagram of a video rendering process provided by an embodiment of the present disclosure;
[0025] Figure 6 A schematic diagram of the structure of a video list processing device provided by an embodiment of the present disclosure;
[0026] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0038] Figure 1The present invention provides a flowchart of a method for processing a video list provided by an embodiment of the present invention. The present invention is applicable to the case of generating a video list, for example, generating a video list of product explanation videos. The method can be executed by a video list processing device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC, or a server.
[0039] like Figure 1 As shown, the method includes:
[0040] S110: Acquire target content corresponding to a target object, wherein the target content is used to generate at least one target video corresponding to the target object.
[0041] The target object may represent any object in the video. The video may be a short video or other types of videos. For example, in an e-commerce scenario, the target object may be a commodity, a service, or a tourist attraction. The target content may refer to content associated with the target object. Specifically, the target content includes target object information and target object attributes. The target object information representation may represent the target object from the object content dimension. For example, the target object information may include an object picture and an object introduction text. The target object attribute representation may represent the target object from the object attribute dimension. The target object attributes may include an object type or an object feature.
[0042] In the disclosed embodiment, the target content may include product information, service information, or tourist attraction information. Product information may be obtained through a product link or a product details page. Similarly, service information may be obtained through a service link or a service details page. The target video may represent a video generated for a target object. For example, the target video may be an explanation video of the target object. Generally, the target video has a marketing nature and can display the characteristics of the target object in multiple aspects, dimensions, and angles to attract users to buy.
[0043] Exemplarily, the target content corresponding to the target object is obtained, including: obtaining a target page corresponding to the target object according to a target URL; parsing the target page to obtain the target content. The target page may represent a web page that carries the target content of the target object. In some embodiments, the target URL is obtained through a user interaction page, and if a generation operation is detected on the user interaction page, the corresponding target page is obtained according to the target URL. The target content is obtained by parsing the target page. For example, the URL of product A entered in the user interaction page on e-commerce platform a is obtained, and the corresponding target page is obtained according to the URL of product A, and the target page is parsed to obtain the name, selling point information, and pictures of product A. The selling point information is usually the characteristics of product A, or attribute information due to other products.
[0044] S120: Display a placeholder corresponding to the at least one target video in a video list, generate at least one initial video of the target object according to the target content, and replace the corresponding placeholder in the video list with the successfully generated initial video.
[0045] Among them, the video list is a display list of generated videos. The video list is used to display at least one target video generated for the target object. Optionally, a placeholder mark can be displayed in the video list first to indicate the display position of each target video. The placeholder mark can be a layout diagram of the target video. For example, the placeholder mark can be a rectangular diagram, etc., which is not specifically limited in the embodiment of the present disclosure. The initial video can be a video synthesized by performing material matching, cover capture, and title extraction based on the target content. Among them, material matching can mean selecting image content from the target content as the material required for video synthesis. Cover capture can mean the operation of generating a video cover by combining the material and preset cover layout information. Title extraction can mean the operation of generating a video title based on the selling point or promotional information of the target object in the target content.
[0046] If the user enters the target URL on the user interaction page and clicks the generate button, the video list is displayed on the user interaction page. The video list includes a placeholder mark corresponding to at least one target video, which can indicate the display position of each target video. Figure 2 A schematic diagram of a video list provided by an embodiment of the present disclosure. Figure 2 As shown, placeholder marks 210 corresponding to four target videos are displayed in the video list 200 , and a loading prompt message is displayed at the position corresponding to the placeholder mark 210 .
[0047] It should be noted that, in the initial stage, since no initial video is generated successfully, only the loading prompt information can be displayed through the user interaction page. If any initial video is generated successfully, the initial video and the corresponding placeholders of other target videos are displayed through the video list.
[0048] Optionally, when no initial video is generated successfully, a corresponding number of placeholders may be displayed in the video list according to the number of target videos. This embodiment of the present disclosure does not specifically limit this.
[0049] Exemplarily, a target material is determined according to the target object information, a video cover is generated according to the target material and a preset cover layout; a title script is generated according to the target object information, and a video title is generated according to the title script; at least one initial video of the target object is generated according to the target material, the video cover and the video title. The successfully generated initial video is used to replace the corresponding placeholder in the video list.
[0050] In the disclosed embodiments, the target object information may represent the content of the target object. The target material may represent the material used to generate the video. The material includes pictures and texts, etc. In an e-commerce scenario, the target material may include a main picture of a product, a detailed picture of a product, a picture of a product selling point, and a picture of a product scene, etc. The video cover may be generated according to a preset cover layout combined with the matched material. Optionally, a video frame that can accurately reflect the video content and the video title may be extracted from the video cover set as the video cover. The video cover set includes candidate video frames that are captured from the initial video at fixed time points as video covers.
[0051] The video title is used to reflect the content of the video to help users quickly understand the video. The title script can represent the scripts with different focuses of the target object generated based on the target object information. Among them, the focus includes promotion or selling points. Since the title scripts with different focuses represent the target object from different dimensions, a title script with a certain focus can be determined based on the central idea or core of the initial video. Then the video title is generated based on the content of the title script.
[0052] Since the target video generation needs to go through the steps of material matching, subtitle generation, virtual object overlay, cover capture, title extraction and video synthesis, the above process takes a long time. And the video list will only be displayed after all the target videos in the video list have been generated. The video list includes several target videos, which can easily be blocked by a single target video that is processed more slowly. If a video list with ten target videos is taken as an example, the above video generation process takes about one and a half minutes. The user needs to wait for the above video generation process to be completed. Other operations cannot be performed during the process, and the user experience is not good. After analysis, it can be seen that the time-consuming operations in the above video generation process include subtitle generation and virtual object overlay. Therefore, the time-consuming subtitle generation and virtual object overlay can be extracted from the above video generation process. After performing material matching, cover capture and title extraction, video synthesis can be performed to obtain the initial video. Then, the initial video is rendered to the video list to replace the corresponding placeholder in the video list with the initial video. As shown in the figure below: Figure 2 As shown, after the initial video A corresponding to the placeholder mark 210 located at the upper left corner of the video list 200 is successfully generated, the placeholder mark 210 is replaced by the initial video A to display the video cover 220 of the initial video A in the video list, and other display marks 210 display the prompt information being generated. At this time, the initial video A may not include special effect materials. If there is an initial video B corresponding to another placeholder mark 210 that is successfully generated, the newly generated initial video B is used to replace the corresponding placeholder mark 210.
[0053] Optionally, in response to an interactive operation on the initial video displayed in the video list, the initial video is played. As long as the initial video is displayed in the video list, the user can click on the initial video to view the video generation effect.
[0054] S130. Generate special effect materials of the at least one initial video according to the target content, and superimpose the special effect materials onto the initial videos in the video list according to preset layout information to obtain a target video.
[0055] Among them, the special effects material can be the processing result of the step in the generation process of the target video that takes time to process and meets the preset time condition. In the embodiment of the present disclosure, the special effects material includes subtitles generated by the subtitle generation step and / or virtual objects generated by the virtual object matching step. Virtual objects can represent objects used to explain the target object in the video. For example, virtual objects can include digital people or virtual cartoon images. The preset layout information characterizes the layout of the special effects material in the video. Specifically, the preset layout information includes subtitle position, subtitle style, virtual object position information, virtual object timestamp information, etc. For example, the preset layout information may include subtitle position, subtitle color, font, background color, virtual object position, and virtual object timestamp information. Figure 3 A schematic diagram of preset layout information provided by an embodiment of the present disclosure. Figure 3 As shown, the layout information of each video frame can be defined based on the time axis, including: 0-5 seconds as the first layout style 310, 6-10 seconds as the second layout style 320, 10-20 seconds as the third layout style 330, etc.
[0056] Since the initial video has been generated and displayed in the video list, if the subtitles and / or virtual objects of any initial video are generated, they are superimposed on the corresponding initial video in the form of a plug-in to achieve progressive enhancement. At this time, the target video can include subtitles and / or virtual objects. For example, the target video can be a product explanation video including subtitles and digital people.
[0057] Exemplarily, the object image and object soundtrack of the virtual object are determined according to the target object attributes, and the virtual object of the initial video is generated according to the object image and object soundtrack; a subtitle script is generated according to the target object information, and subtitle content and subtitle timestamp information are generated according to the subtitle script and object soundtrack, wherein the subtitle timestamp information represents the timestamp of the initial video frame corresponding to the subtitle content. The virtual object is used to explain the target object, and the explanation content is consistent with the subtitle content. For example, in an e-commerce scenario, a digital human is used to explain the product. Or, in a game explanation scenario, a digital human is used to explain the game, etc.
[0058] Determine the subtitle position, subtitle style, virtual object position information and virtual object timestamp information in the initial video according to preset layout information; superimpose the virtual object on the initial video in the video list according to the virtual object position information and virtual object timestamp information; generate subtitles according to the subtitle content and subtitle style, and superimpose the subtitles on the initial video in the video list according to the subtitle position and subtitle timestamp information.
[0059] In some embodiments, the object image is matched from the candidate digital humans according to the attributes of the product. For example, if the product is product x, a digital human with image c that matches product x can be matched. Then, the object audio track is matched from the candidate audio tracks based on the digital human with image c. Since the audio track can reflect the audio playback speed, if the subtitle content is determined, the playback time required to play the subtitle content can be determined based on the object audio track. Optionally, the object image can also be matched from the candidate digital humans according to the product type. For example, if product x is a beauty product, a digital human with one image is matched from the candidate digital humans. If product x is a kitchen product, a digital human with another image is matched from the candidate digital humans.
[0060] In some embodiments, the subtitle script can characterize different types of subtitle content. The subtitle script can be generated based on the target object information and the preset template. The preset template can be set based on the commonly used product explanation content. The subtitle content corresponding to the corresponding type of video is determined from different types of subtitle scripts according to the video title. For example, a promotional type of video requires a promotional subtitle. Or, a video introducing a product selling point type requires a product selling point introduction subtitle, etc. After determining the subtitle content, the number of words in the subtitle content can be obtained. The subtitle broadcast speed of the virtual object (for example, the number of words broadcast per unit time) is determined based on the object audio track. The playback duration of the subtitle content is determined in combination with the number of words in the subtitle content and the subtitle playback speed. Then, the subtitle timestamp information is determined based on the video duration of the initial video corresponding to the special effects material and the playback duration of the subtitle content.
[0061] In some embodiments, the subtitle position information includes the position information of the subtitle relative to the video, including the top distance and the left distance, which is used to position the subtitle. The subtitle style includes subtitle meta information, etc. Among them, the subtitle meta information includes subtitle color, subtitle background color or font, etc., which are used to render the subtitles. Optionally, the corresponding subtitle position and subtitle style can be matched from the candidate subtitle layout according to the target object information and the target object attributes. Alternatively, the subtitle position and subtitle style corresponding to different types of target objects can be matched according to different video titles. The present disclosure does not make specific limitations on this. The virtual object layout includes virtual object position information and virtual object timestamp information, etc. For example, the virtual object position information and virtual object timestamp information are matched from the candidate virtual object layout according to different video titles.
[0062] The technical solution of the disclosed embodiment obtains the target content of the target object to generate at least one target video corresponding to the target object, displays the placeholder corresponding to the at least one target video in the video list, first generates at least one initial video of the target object according to the target content, and uses the successfully generated initial video to replace the corresponding placeholder in the video list. This can avoid the problem of blocking the display of the entire video list due to a single slowly generated video, and shortens the time from video generation to video visibility. In the process of generating and displaying the initial video, special effects materials for generating at least one initial video according to the target content are executed in parallel, and the successfully generated special effects materials are superimposed on the initial video according to the preset layout information to obtain the target video. The disclosed embodiment achieves progressive enhancement by first generating an initial video without special effects materials, and displaying the initial video in the video list, and then superimposing the successfully generated special effects materials on the initial video in the form of a plug-in.
[0063] Figure 4 This is a flow chart of another method for processing a video list provided by an embodiment of the present disclosure. Based on the above embodiments, the embodiment of the present disclosure further defines the processing flow of special effect materials. Figure 4 As shown, the method includes:
[0064] S410: Acquire target content corresponding to a target object, wherein the target content is used to generate at least one target video corresponding to the target object, and the target content includes target object attributes and target object information.
[0065] S420: Display a placeholder corresponding to the at least one target video through a video list, generate at least one initial video of the target object according to the target content, and replace the corresponding placeholder in the video list with the successfully generated initial video.
[0066] S430: Determine an object image and an object soundtrack of the virtual object according to the target object attributes, and generate a virtual object of the initial video according to the object image and the object soundtrack.
[0067] Exemplarily, the candidate virtual images are matched according to the target object attributes to obtain the object image of the virtual object of the initial video. The candidate object soundtracks are matched according to the object image to obtain the object soundtrack of the virtual object.
[0068] A plurality of candidate virtual images are predefined, and then the object image of the virtual object is matched from the candidate virtual objects according to the target object attribute. Specifically, the object image of the virtual object is matched from the candidate virtual images according to the commodity type. For example, if the commodity is an eraser, the commodity type can be determined to be stationery, and a student image can be matched from the candidate images as the object image.
[0069] The candidate object tracks are matched according to the object image to obtain the object track of the virtual object. Based on the object track of the virtual object, information such as timbre, volume, and playback speed can be determined.
[0070] S440. Generate a subtitle script according to a target field in the target object information, and generate subtitle content according to the subtitle script, wherein the target field represents information in the target object information that affects the conversion amount of the target object.
[0071] In the disclosed embodiment, the subtitle script may include different types of product explanation texts, including product explanation texts in the first person, or product explanation texts in the third person, etc. The selling point explanation clichés and the product selling point field in the target object information may be combined to generate a subtitle script about the selling point explanation. Then, the subtitle content is extracted from the subtitle script about the selling point explanation. Optionally, the promotion clichés and the product promotion field in the target object information may be combined to generate a subtitle script about the promotion explanation, etc. Then, the subtitle content is extracted from the subtitle script about the promotion explanation.
[0072] S450: Determine the playback duration of the subtitle content according to the object audio track, and determine subtitle timestamp information according to the playback duration and the initial video duration.
[0073] The number of words that can be played per unit time can be determined based on the target audio track and the subtitle content, and then the playing time of the subtitle content can be determined based on the subtitle content and the number of words played per unit time. Since the video playback is completed, the subtitles should also be played. The timestamp of the initial video frame corresponding to the subtitle content can be determined based on the playing time of the subtitle content and the initial video duration.
[0074] S460: Determine a subtitle position, a subtitle style, a virtual object position information, and a virtual object timestamp information in the initial video according to preset layout information.
[0075] S470: Superimpose the virtual object onto the initial video in the video list according to the virtual object position information and the virtual object timestamp information.
[0076] S480: Generate subtitles according to the subtitle content and subtitle style, and overlay the subtitles on the initial video in the video list according to the subtitle position and subtitle timestamp information.
[0077] Since the display position of each target video in the video list is represented by a placeholder, if the initial video at a certain position is successfully generated, the placeholder at that position is replaced by the successfully generated initial video. Then, if the special effect material corresponding to any initial video in the video list has been rendered, the special effect material is superimposed on the initial video in the form of a plug-in to complete progressive enhancement.
[0078] Figure 5 A schematic diagram of a video rendering process provided by an embodiment of the present disclosure is shown. During the video rendering process, the subtitle generation and virtual object overlay processes are relatively time-consuming. Figure 5 As shown, material matching 510, title extraction 520 and cover capture 530 can be performed first. After material matching, title extraction and cover capture are completed, video synthesis 540 can be performed to obtain the initial video and render it to the video list. In this process, the subtitle generation and virtual object matching steps continue to be performed to determine the virtual object position information 550, virtual object meta information 560 and virtual object timestamp information 570, and render the virtual object based on the virtual object meta information 560; and, determine the subtitle position information 580, subtitle meta information 590 and subtitle timestamp information 5100, and render the subtitle content based on the subtitle meta information 590. If the virtual object corresponding to the initial video has been rendered, then according to the virtual object position information 550 and the virtual object timestamp information 570, the rendered virtual object is superimposed on the corresponding video frame of the initial video in the video list. If the subtitles corresponding to the initial video have been rendered, then according to the subtitle position and subtitle timestamp information, the rendered subtitles are superimposed on the corresponding video frame of the initial video in the video list.
[0079] Among them, subtitle meta information includes subtitle content, color, background color and font, etc., which are used to render subtitle content. Subtitle position information refers to the position information of subtitles relative to the video frame, including the top distance and the left distance, which is used to position subtitles. Subtitle timestamp information refers to the video timestamp corresponding to the current subtitle content, which is used to determine when to render this subtitle. Virtual object meta information includes object image and object audio track, etc., which are used to render virtual objects. Virtual object position information refers to the position information of virtual objects relative to the video frame, including the top distance and the left distance, which is used to position virtual objects. Virtual object timestamp information refers to the video timestamp corresponding to the current virtual object, which is used to determine when to render this virtual object.
[0080] S490: Display the target video in the video list.
[0081] S4100: If the generation of the initial video fails, a retry control is displayed at the placeholder marker corresponding to the initial video that failed to be generated in the video list, wherein the retry control is used to prompt the failure of video generation and trigger a regeneration operation.
[0082] Reference Figure 2 In the initial stage, all videos are in the synthesis state, and the user interaction page displays a loading prompt message. If any initial video is successfully synthesized, the successfully synthesized initial video is displayed through the video list 200, and other unsuccessfully synthesized videos are displayed with a placeholder mark 210. The synthesis state of the unsuccessfully synthesized videos is detected in real time. When a new initial video is successfully synthesized, the initial video is used to replace the placeholder mark 210 at the corresponding position in the video list 200. If the video synthesis fails, a retry control 230 is displayed at the corresponding placeholder mark 210.
[0083] The technical solution of the disclosed embodiment can shorten the time it takes to make the video visible by extracting the less time-consuming material matching, title extraction and cover capture processes in the video rendering process, synthesizing the initial video after the material matching, title extraction and cover capture are completed, and rendering the initial video to the video list for display. In the above process, the subtitle rendering process and the virtual object rendering process, which are longer in time, are executed in parallel, and after the subtitles and virtual objects are rendered, the subtitles and virtual objects are superimposed on the corresponding initial video in the video list, so as to realize progressive enhancement of the videos in the video list during the video generation process.
[0084] Figure 6 This is a schematic diagram of the structure of a video list processing device provided in an embodiment of the present disclosure. The device can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server.
[0085] like Figure 6 As shown, the device includes: a content acquisition module 610, a list display module 620 and a video overlay module 630.
[0086] A content acquisition module 610 is used to acquire target content corresponding to a target object, wherein the target content is used to generate at least one target video corresponding to the target object;
[0087] A list display module 620 is used to display a placeholder corresponding to the at least one target video through a video list, generate at least one initial video of the target object according to the target content, and replace the corresponding placeholder in the video list with the successfully generated initial video;
[0088] The video overlay module 630 is used to generate special effect materials of the at least one initial video according to the target content, and overlay the special effect materials onto the initial video in the video list according to preset layout information to obtain a target video.
[0089] Optionally, the content acquisition module 610 is specifically used for:
[0090] Obtaining a target page corresponding to the target object according to the target website;
[0091] The target page is parsed to obtain the target content.
[0092] Optionally, the target content includes target object information;
[0093] The list display module 620 is specifically used for:
[0094] Determine the target material according to the target object information, and generate a video cover according to the target material and a preset cover layout;
[0095] Generate a title script according to the target object information, and generate a video title according to the title script;
[0096] At least one initial video of the target object is generated according to the target material, the video cover and the video title.
[0097] Optionally, the target content includes target object attributes and target object information; the special effect material includes virtual objects and subtitles;
[0098] The video overlay module 630 is specifically used for:
[0099] Determine the object image and object soundtrack of the virtual object according to the target object attribute, and generate the virtual object of the initial video according to the object image and object soundtrack;
[0100] A subtitle script is generated according to the target object information, and subtitle content and subtitle timestamp information are generated according to the subtitle script and the object audio track, wherein the subtitle timestamp information represents the timestamp of an initial video frame corresponding to the subtitle content.
[0101] Further, the generating of a subtitle script according to the target object information, and generating subtitle content and subtitle timestamp information according to the subtitle script and the object audio track, includes:
[0102] Generate a subtitle script according to a target field in the target object information, and generate subtitle content according to the subtitle script, wherein the target field represents information in the target object information that affects the conversion amount of the target object;
[0103] The playing time of the subtitle content is determined according to the object audio track, and the subtitle timestamp information is determined according to the playing time and the initial video time.
[0104] Furthermore, the video overlay module 630 is specifically used for:
[0105] Determine the subtitle position, subtitle style, virtual object position information and virtual object timestamp information in the initial video according to the preset layout information;
[0106] According to the virtual object position information and the virtual object timestamp information, superimposing the virtual object onto the initial video in the video list;
[0107] Subtitles are generated according to the subtitle content and subtitle style, and the subtitles are superimposed on the initial video in the video list according to the subtitle position and subtitle timestamp information.
[0108] Optionally, it also includes:
[0109] A failure retry module is used to display a retry control at the placeholder mark corresponding to the failed initial video in the video list if the initial video generation fails, wherein the retry control is used to prompt the video generation failure and trigger the regeneration operation.
[0110] Optionally, it also includes:
[0111] The video playing module is used to play the initial video in response to an interactive operation on the initial video displayed in the video list.
[0112] The video list processing device provided in the embodiment of the present disclosure can execute the video list processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0113] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0114] Figure 7 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 7 , which shows an electronic device (eg, Figure 7 The terminal device in the embodiment of the present disclosure may 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), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0115] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An edit / output (I / O) interface 705 is also connected to the bus 704.
[0116] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0117] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0118] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0119] The electronic device provided by the embodiment of the present disclosure and the method for processing the video list provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0120] The embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the method for processing a video list provided in the above embodiment is implemented.
[0121] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0122] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0123] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0124] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0125] Acquire target content corresponding to the target object, wherein the target content is used to generate at least one target video corresponding to the target object;
[0126] Displaying a placeholder corresponding to the at least one target video through a video list, generating at least one initial video of the target object according to the target content, and replacing the corresponding placeholder in the video list with the successfully generated initial video;
[0127] Generate special effect materials of the at least one initial video according to the target content, and superimpose the special effect materials onto the initial video in the video list according to preset layout information to obtain a target video.
[0128] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and 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 cases involving a remote computer, the remote computer may be connected to the user's computer through 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., through the Internet using an Internet service provider).
[0129] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0130] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0131] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0132] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. 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 equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0133] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0134] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0135] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for processing a video list, characterized in that: include: Acquire target content corresponding to the target object, wherein the target content is used to generate at least one target video corresponding to the target object; Displaying a placeholder corresponding to the at least one target video through a video list, generating at least one initial video of the target object according to the target content, and replacing the corresponding placeholder in the video list with the successfully generated initial video; Generate special effect materials of the at least one initial video according to the target content, and superimpose the special effect materials onto the initial video in the video list according to preset layout information to obtain a target video.
2. The method according to claim 1, characterized in that The obtaining of target content corresponding to the target object includes: Obtaining a target page corresponding to the target object according to the target website; The target page is parsed to obtain the target content.
3. The method according to claim 1, characterized in that The target content includes target object information; Generating at least one initial video of the target object according to the target content, and replacing a corresponding placeholder in the video list with the successfully generated initial video, includes: Determine the target material according to the target object information, and generate a video cover according to the target material and a preset cover layout; Generate a title script according to the target object information, and generate a video title according to the title script; At least one initial video of the target object is generated according to the target material, the video cover and the video title.
4. The method according to claim 1, characterized in that: The target content includes target object attributes and target object information; the special effect material includes virtual objects and subtitles; The generating of the special effect material of the at least one initial video according to the target content comprises: Determine the object image and object soundtrack of the virtual object according to the target object attribute, and generate the virtual object of the initial video according to the object image and object soundtrack; A subtitle script is generated according to the target object information, and subtitle content and subtitle timestamp information are generated according to the subtitle script and the object audio track, wherein the subtitle timestamp information represents the timestamp of an initial video frame corresponding to the subtitle content.
5. The method according to claim 4, characterized in that The step of generating a subtitle script according to the target object information, and generating subtitle content and subtitle timestamp information according to the subtitle script and the object audio track includes: Generate a subtitle script according to a target field in the target object information, and generate subtitle content according to the subtitle script, wherein the target field represents information in the target object information that affects the conversion amount of the target object; The playing time of the subtitle content is determined according to the object audio track, and the subtitle timestamp information is determined according to the playing time and the initial video time.
6. The method according to claim 4, characterized in that The step of superimposing the special effect material onto the initial video in the video list according to the preset layout information includes: Determine the subtitle position, subtitle style, virtual object position information and virtual object timestamp information in the initial video according to the preset layout information; According to the virtual object position information and the virtual object timestamp information, superimposing the virtual object onto the initial video in the video list; Subtitles are generated according to the subtitle content and subtitle style, and the subtitles are superimposed on the initial video in the video list according to the subtitle position and subtitle timestamp information.
7. The method according to claim 1, characterized in that Also includes: If the generation of the initial video fails, a retry control is displayed at the placeholder marker corresponding to the initial video that failed to be generated in the video list, wherein the retry control is used to prompt the failure of video generation and trigger a regeneration operation.
8. The method according to claim 1, characterized in that Also includes: In response to an interactive operation on an initial video displayed in the video list, the initial video is played.
9. A video list processing device, characterized in that: include: A content acquisition module, used to acquire target content corresponding to a target object, wherein the target content is used to generate at least one target video corresponding to the target object; A list display module, used to display a placeholder corresponding to the at least one target video through a video list, generate at least one initial video of the target object according to the target content, and replace the corresponding placeholder in the video list with the successfully generated initial video; A video overlay module is used to generate special effect materials of at least one initial video according to the target content, and to overlay the special effect materials onto the initial video in the video list according to preset layout information to obtain a target video.
10. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the video list processing method as described in any one of claims 1-8.
11. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to execute the video list processing method as described in any one of claims 1-8.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the video list processing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Video generation method and device, electronic equipment and storage medium
CN116647714A
Video generation method and device, equipment, storage medium and program product
CN117082292A
Special effect processing method and device, electronic equipment and storage medium
CN117676047A
Video generation method and device, equipment and storage medium
CN118338091A
System and method for dynamic generation of video content
US20100023863A1
