Video editing method and device, electronic equipment, medium and product

By automatically converting text materials in video editing drafts from the first language to the second language, the problem of repeated multilingual editing of video editing templates is solved, enabling efficient generation of cross-language versions of video editing templates and expanding the audience of the templates.

CN119653181BActive Publication Date: 2025-10-24BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311199524.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-15
Publication Date
2025-10-24
Estimated Expiration
2043-09-15

AI Technical Summary

Technical Problem

In existing technologies, video editing template publishers need to edit and create templates in different languages, resulting in repetitive work and language proficiency barriers. Furthermore, the promotion and application of multilingual templates are limited.

Method used

By acquiring multimedia and text materials from video editing drafts, the text content is automatically converted from the first language to the second language, generating cross-language video editing templates, reducing repetitive editing work and expanding the template's audience.

Benefits of technology

It enables automatic language conversion of video editing drafts before publication, efficiently generates multilingual video editing templates, improves creation efficiency, and expands the audience reach.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653181B_ABST
    Figure CN119653181B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure disclose a video editing method and device, electronic equipment, storage medium and product, wherein the method comprises: obtaining a first video editing draft; determining replaceable material in a first video material; generating a second text material by converting text content in a first language into text content in a second language based on the first text material; marking the replaceable material in the first video editing draft and replacing the first text material with the second text material to generate a first video editing template; the first video editing template is used to import a second video material to replace the replaceable material to generate a second video editing draft; and the second video editing draft is used to synthesize a target video. The technical solution of the embodiments of the present disclosure can automatically perform text language conversion of the template before the video editing template is published, efficiently generate multiple language versions of a video editing template, and expand the audience range of the video editing template.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of computer, and particularly, to a video editing method and device, electronic equipment, medium and product. BACKGROUND

[0002] In a video editing application, a user can create and publish a video editing template. The published video editing template can be applied by more users. Generally, different users apply the video editing application and the application environment language of the video editing template is different, and a single language video editing template cannot meet the video editing needs of more users.

[0003] However, at present, if the publisher of the video editing template publishes a video editing template in multiple languages, it is necessary to edit and create video editing templates in different languages respectively. The repeated template editing process is troublesome for the publisher of the video editing template, and there is a language ability threshold; at the same time, there is a certain limitation for the promotion and application of the video editing template. SUMMARY

[0004] The present disclosure provides a video editing method, device, electronic equipment, medium and product, which can automatically convert the language of text materials based on a video editing draft, efficiently generate a video editing template in a different language from the video editing draft, and be used in a video editing process, so as to improve the creation and export efficiency of the multi-language version of the video editing template, and also expand the audience range of the video editing template.

[0005] In a first aspect, the embodiments of the present disclosure provide a video editing method, which comprises:

[0006] obtaining a first video editing draft; the first video editing draft comprises multimedia materials and editing information, the editing information is used to indicate an editing operation for the multimedia materials, the multimedia materials comprise first video materials and first text materials, and the first text materials are used to present text content in a first language;

[0007] determining replaceable materials in the first video materials;

[0008] based on the first text materials, generating second text materials by converting the text content in the first language into text content in a second language;

[0009] marking the replaceable materials in the first video editing draft, replacing the first text materials with the second text materials, and generating a first video editing template;

[0010] The first video editing template is used for importing a second video material to replace the replaceable material, to generate a second video editing draft; and the second video editing draft is used for synthesizing a target video.

[0011] In a second aspect, the embodiments of the present disclosure further provide a video editing device, which comprises:

[0012] An original video editing draft acquisition module is configured to acquire a first video editing draft; the first video editing draft comprises multimedia material and editing information, the editing information is used for indicating an editing operation on the multimedia material, the multimedia material comprises a first video material and a first text material, and the first text material is used for presenting text content in a first language;

[0013] A replaceable material determination module is configured to determine replaceable material in the first video material;

[0014] A text material conversion module is configured to generate a second text material by converting text content in the first language into text content in a second language based on the first text material;

[0015] A video editing template generation module is configured to mark the replaceable material in the first video editing draft, and replace the first text material with the second text material, to generate a first video editing template;

[0016] The first video editing template is used for importing a second video material to replace the replaceable material, to generate a second video editing draft; and the second video editing draft is used for synthesizing a target video.

[0017] In a third aspect, the embodiments of the present disclosure further provide an electronic device, which comprises:

[0018] One or more processors;

[0019] A storage device configured to store one or more programs,

[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the video editing method according to any one of the embodiments of the present disclosure.

[0021] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium containing computer executable instructions, which are used for executing the video editing method according to any one of the embodiments of the present disclosure when executed by a computer processor.

[0022] In a fifth aspect, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the video editing method according to any of the embodiments of the present disclosure.

[0023] In the embodiments of the present disclosure, a first video editing draft is obtained; the first video editing draft comprises multimedia materials and editing information, the editing information is used to indicate an editing operation on the multimedia materials, the multimedia materials comprise first video materials and first text materials, the first text materials are used to present text content in a first language; replaceable materials in the first video materials are determined; based on the first text materials, second text materials are generated by converting the text content in the first language into text content in a second language; the replaceable materials are marked in the first video editing draft, and the first text materials are replaced by the second text materials to generate a first video editing template; wherein the first video editing template is used to import second video materials to replace the replaceable materials to generate a second video editing draft; and the second video editing draft is used to synthesize a target video. The technical solution of the embodiments of the present disclosure makes up for the defect that the cross-language video editing template function different from the language of the video editing draft cannot be automatically generated in the current video processing application, provides the automatic translation function of the video editing draft, can automatically convert the language of the text materials of the video editing draft before the source language video editing template is published, efficiently generates a cross-language version of the video editing draft, improves the creation and export efficiency of the multi-language version of the video editing template, and can also expand the audience range of the video editing template. BRIEF DESCRIPTION OF DRAWINGS

[0024] 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 drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the original and elements are not necessarily drawn according to the scale.

[0025] Figure 1 is a video editing method flowchart provided by the embodiments of the present disclosure;

[0026] Figure 2 is a template publishing setting page schematic diagram provided by the embodiments of the present disclosure;

[0027] Figure 3 is a video editing method flowchart provided by the embodiments of the present disclosure;

[0028] Figure 4 is a video editing method flowchart provided by the embodiments of the present disclosure;

[0029] Figure 5 is a template detail page schematic diagram provided by an embodiment of the present disclosure.

[0030] Figure 6 is a structural schematic diagram of a video editing device provided by an embodiment of the present disclosure.

[0031] Figure 7 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] Embodiments of the present disclosure will be described in more detail with reference to the drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the scope of protection of the present disclosure.

[0033] It should be understood that each step described in the method embodiments of the present disclosure can be executed in different order and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0034] The term "comprising" and variations thereof as used herein are open-ended, that is, "including but not limited to". The term "based on" is "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". Related definitions for other terms will be given in the description below.

[0035] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.

[0036] It should be noted that the modification of "one" or "multiple" mentioned in the present disclosure is illustrative and not limiting, and those skilled in the art should understand that, unless otherwise explicitly indicated in the context, it should be understood as "one or more".

[0037] It can be understood that, before using the technical solutions disclosed by the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the scope of use, the use scenario, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means in accordance with relevant laws and regulations.

[0038] For example, in response to receiving an active request of a user, a prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will require obtaining and using personal information of the user. Thus, the user can autonomously select whether to provide personal information to the software or hardware such as an electronic device, an application program, a server or a storage medium performing the operation of the technical solution of the present disclosure according to the prompt information.

[0039] As an optional but non-limiting implementation manner, in response to receiving an active request of a user, the manner of sending a prompt information to the user may, for example, be a pop-up window manner, and the prompt information may be presented in the form of text in the pop-up window. In addition, the pop-up window may also carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0040] It can be understood that the above notification and obtaining user authorization process is only illustrative and does not limit the implementation manner of the present disclosure, and other manners meeting relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0041] It can be understood that the data (including but not limited to the data itself, the obtaining or use of the data) involved in the technical solution should comply with the requirements of relevant laws and regulations and relevant provisions.

[0042] Figure 1 A flowchart of a video editing method provided by an embodiment of the present disclosure is shown. The embodiment of the present disclosure is applicable to a scenario of editing a video segment, in particular, a case of editing a video based on a multi-language version video editing template. The method can be executed by a video editing device, which can be implemented in the form of software and / or hardware. Optionally, the video editing device can be implemented by an electronic device, which can be a mobile terminal, a PC terminal or a server, etc.

[0043] As shown in Figure 1 The video editing method includes:

[0044] S110, obtaining a first video editing draft, wherein the first video editing draft includes first video material and first text material, and the first text material is used to present text content in a first language.

[0045] The video editing draft is a project draft of a user editing a video segment, which includes multimedia material and editing information. The editing information is used to indicate an editing operation on the multimedia material, and the multimedia material includes video material and text material.

[0046] In some video and audio processing applications, a user can publish a video editing template while creating a video clip to preserve his or her creative ideas, and the video editing template can be shared with other users for video clip creation. In order to save the user's editing time for creating multiple language versions of the video editing template, the present embodiment provides a function of automatically generating a cross-language video editing template for a video editing draft, so as to be used in subsequent video editing without the need for the creator of the video editing template to repeatedly edit video editing drafts in different languages. That is, after the user determines that a source language version of the video editing draft is edited, at least one video editing template in another language version can be automatically obtained in addition to the source language version. The video clip processing process and the rendering display effect in the video editing templates in different language versions are the same, and only the language corresponding to the text material content in each template is different. The source language version can be understood as a template version corresponding to the language used in the editing process of a target video editing draft.

[0047] Specifically, in the present embodiment, the first video editing draft is a video editing draft that needs to be processed in a cross-language manner to generate a target video editing target. The first video editing draft includes multimedia material and editing information, and the editing information is used to indicate an editing operation on the multimedia material. The multimedia material includes a first video material and a first text material. The first text material is used to present text content in a first language.

[0048] S120, determining replaceable material in the first video material.

[0049] The determination of the replaceable material is based on the interactive operation of the user in the publishing setting interface of the video editing template. The replaceable material can be understood as material that can be replaced by other users to realize template application in the process of using the video editing template generated based on the first video editing draft.

[0050] It can be understood that the first text material is usually text content added by the creator of the video editing draft, and can be edited and partially or completely replaced.

[0051] S130, generating second text material by converting the text content in the first language into text content in a second language based on the first text material.

[0052] In the present embodiment, once the publishing setting stage of the video editing template is entered, the determination of the enabling state of the template language conversion function is performed. That is, whether the text material in the current video editing draft needs to be converted in language is determined. The enabling state of the template language conversion function can be a function opening state or a function closing state.

[0053] The enabled state of the video editing function can be a default enabled state of the function after the function is provided in the video and audio processing application, or can be a function enabled state set by the user. In a possible implementation, the default enabled state of the template language conversion function in the video and audio processing application can be directly set as a function enabled state or a function relationship state, or can be a default state automatically set by the video and audio processing application according to the function support capability of the device system in which the video and audio processing application is located.

[0054] When the enabled state of the template language conversion function is the function enabled state, the first text material is translated according to the function configuration attribute information of the template language conversion function, and the text content in the first language is converted into a second language. The second language includes at least one language different from the first language.

[0055] The function configuration attribute information can include target text conversion languages, text conversion rules, and other configurable attribute information. The target text conversion language can be one or more than one, such as converting the first text material in the source language version (first language) French into at least one language version corresponding to English, German, Spanish, and / or other small languages.

[0056] The process of text material conversion first determines the target text conversion language. Then, the source language version of the first text material is input into the corresponding language conversion neural network model or other text translation tool to obtain at least one second text material.

[0057] S140, marking the replaceable material in the first video editing draft, and replacing the first text material with the second text material to generate a first video editing template.

[0058] The first video editing template is used to import a second video material to replace the replaceable material to generate a second video editing draft, and the second video editing draft is used to synthesize a target video. The second video material can be a material for generating a new video editing result based on the first video editing template.

[0059] In the process of generating the first video editing template, the replaceable material is marked. The replaceable material can be retained in the template and marked as replaceable, or the replaceable material can be deleted and marked at the position of the replaceable material in the template, so that the new video material can be placed at the correct material time track position when imported.

[0060] After the above steps, in the case that the video editing draft Chinese version material needs to be converted, the video editing draft Chinese text material can be converted into one or more language versions of text material, and then one or more language versions of video editing templates are generated. The video editing draft does not need to be repeatedly edited for different language versions, the draft editing creation time is reduced, the threshold for creating a target video editing template in multiple languages is lowered, and users using the template can more conveniently obtain a video editing template corresponding to the language they use, thereby promoting video creation.

[0061] The technical solution of the embodiment of the present disclosure acquires a first video editing draft; the first video editing draft includes multimedia material and editing information, the editing information is used to indicate an editing operation for the multimedia material, the multimedia material includes first video material and first text material, the first text material is used to present text content in a first language; determines replaceable material in the first video material; based on the first text material, by converting the text content in the first language into text content in a second language, a second text material is generated; the replaceable material is marked in the first video editing draft, and the first text material is replaced by the second text material, a first video editing template is generated; wherein, the first video editing template is used to import second video material to replace the replaceable material, and a second video editing draft is generated; the second video editing draft is used to synthesize a target video. The technical solution of the embodiment of the present disclosure remedies the defect that the cross-language video editing template function different from the language of the video editing draft cannot be automatically generated in the current video processing application, provides an automatic translation function of the video editing draft, can automatically convert the language of the text material of the video editing draft before the source language video editing template is published, efficiently generates a cross-language version of the video editing draft, improves the creation and export efficiency of the video editing template in multiple languages, and can also expand the audience range of the video editing template.

[0062] Further, for the newly added template language conversion function in the video and audio processing application, the template language conversion function control can be set in the video editing template publishing setting interface as shown in the following Figure 2 The video editing template publishing setting interface provides a function entrance for the user to interactively set the template language conversion function and a switch for the function start state. In Figure 2 The following shows a video editing draft for editing five video clips (clip 1 to clip 5), wherein the "language" control is the template language conversion function control, and based on the user's interactive operation with the template language conversion function control, the enable state of the template language conversion function is set and / or the configuration attribute information of the template language conversion function is set.

[0063] For example, if the user clicks the "language" control, the next level of attribute configuration control for function switch and language version switching can be further displayed. If the video processing application temporarily cannot support the video editing function, the user can click the "language" control to gray the next level of attribute configuration control and display a prompt message, such as "The current template does not support template language conversion".

[0064] After the user opens the video processing application, the "language" control appears for the first time, and a prompt message about the online new function can be displayed, such as "The template language conversion function has been enabled, and the function setting and experience can be performed". Of course, the language script can also be used to display more related introductions and use step prompts for the user about the template language conversion function. If the user closes the template language conversion function, a corresponding pop-up prompt can also be performed, such as "Are you sure you want to close it? Opening the template language conversion function can help you …" and the like.

[0065] In addition, when the video editing template is published, the corresponding "language" control can also be set on the template detail page, and the user can further switch different language versions through the control on the detail page. At the same time, prompt scripts such as "switching success", "switching loading", and "switching failure" can also be displayed. It can be understood that if the template language conversion function is in the closed state, the language version switching control is grayed out and has no response.

[0066] Figure 3 A flowchart of another video editing method provided by the embodiments of the present disclosure is shown, which further explains the process of generating a video editing template during the implementation of the video editing method flow based on the above embodiments. The method can be executed by a video editing device, which can be implemented in the form of software and / or hardware, and can be optionally implemented by an electronic device, which can be a mobile terminal, a PC terminal, or a server, etc.

[0067] As shown in Figure 3 the video editing method includes:

[0068] S210, when entering the release setting page of the video editing template, determining the enabled state of the template language conversion function.

[0069] When entering the release setting page of the video editing template, a first video editing draft can be obtained; wherein the first video editing draft includes multimedia materials and editing information, the editing information is used to indicate the editing operation on the multimedia materials, the multimedia materials include first video materials and first text materials, and the first text materials are used to present text content in a first language.

[0070] When entering the release setting stage of the source language version of the video editing template, the user can configure the template material attributes such as replaceable materials in the first video editing draft, and determine the enablement state of the template language conversion function.

[0071] When the user confirms that the video editing draft is edited on the editing creation page of the video editing draft, the user can enter the release setting stage of the video editing template, that is, the last video editing draft setting stage before the template is released.

[0072] In the video processing application providing the template language conversion function, it can be determined whether the text material in the video editing draft needs language conversion of the draft text content.

[0073] S220, when the enablement state is the function enabled state, determining the second language according to the function configuration attribute information of the template language conversion function.

[0074] The second language includes at least one language of a different language from the first language.

[0075] When the enablement state of the template language conversion function is the function enabled state, at least one second language is determined according to the translation configuration attribute information of the template language conversion function.

[0076] The function configuration attribute information can include preconfigured text conversion language information. The information can be set by the user, or one or more target conversion languages can be set by default in the video processing application system.

[0077] S230, identifying the text categories of each text content in the first text material in the first video editing draft, and determining the text content to be converted in the first text material according to the preset text conversion attribute corresponding to the text category.

[0078] In the process of determining the text content to be converted in the first text material, the text categories of each text content in the first text material can be identified first; then, the text content to be converted in the first text material is determined according to the preset text conversion attribute corresponding to each text category.

[0079] The preset text conversion attribute can be information indicating whether the text needs to be converted from the source language version (first language) of the first text material to the second language. In the first text material, the preset translation attribute corresponding to different text categories is different, for example, some numbers, symbols or special effect text categories of draft text do not need to be converted, and the corresponding material text in the source language version and the subsequent text conversion result are returned together as the second text material.

[0080] Specifically, the first text material in the source language version in the first video editing draft can be divided into external language text and internal language text. The external language text includes cover, title, description information and other sub-text categories; the internal language refers to the draft text added in the video segment. The draft text in the video segment also needs to filter out text content that does not need to be converted, such as subtitles, lyrics and video material self-text.

[0081] The text content that does not need to be converted in the first text material is the text content to be converted. The text conversion principle followed in the text material conversion process is not to change the content theme, template material and picture effect; if the text material in the source language version is corresponding characters, numbers or special symbols, the corresponding text content in the source language version is directly returned without text conversion; if the text material in the source language version is garbled text that cannot be converted, the text content in the source language version is directly returned.

[0082] S240, input the text content to be converted into a preset text conversion model corresponding to the second language to obtain a second language converted text.

[0083] In an optional embodiment, the text conversion can adopt an artificial intelligence manner, input the text to be converted into at least one text conversion model corresponding to a second language to obtain a corresponding language converted text. The text conversion model corresponding to at least one second language can be a comprehensive model with multiple language conversion functions, or can be multiple different text conversion models corresponding to different languages. The corresponding text conversion model can be selected according to the setting of the target conversion language.

[0084] Before text conversion, the text to be converted can also be segmented and processed, and emojis, symbols, automatically recognized lyrics, subtitles, text to speech (TTS) text, rich text and other contents that do not need to be converted can be removed.

[0085] S250, generate a second text material based on the non-converted text content in the first text material and the second language converted text.

[0086] The text material that does not need to be converted and the second language converted text corresponding to the text to be converted are integrated to obtain a second text material.

[0087] S260, mark the replaceable material in the first video editing draft, replace the first text material with the second text material, and perform content display effect adaptation processing on the first video material and the second text material in the first video editing draft to generate a first video editing template.

[0088] The content display effect adaptation processing of the second text material and the first video material can include various adaptations, such as picture adaptation, word limit adaptation, and rich text effect adaptation.

[0089] Among them, picture adaptation refers to that due to the expression of the same semantics in different languages, the number of characters is not the same, which leads to the fact that the converted text after text conversion and the text box of the text in the corresponding source language version cannot be adapted, and the text and the picture cannot be matched. The picture can be adapted according to the length of the string, the automatic line feed of the text, and the picture adaptation. In the word limit adaptation process, the converted result of the title and description text with word limit can be converted, and when the word limit is exceeded, only the draft text content in the corresponding source language version is retained. The way of rich text effect adaptation is not to convert the rich text.

[0090] The multi-language version of the video editing draft after text conversion and adaptation processing can be exported in the background asynchronously, without increasing the front-end waiting time. In some cases, the text material of the video editing draft does not need to be converted into language, and only the video in the video editing template corresponding to the source video editing draft needs to be exported. If there is no draft text or only symbols in the video editing draft, only the title and description content need to be converted into text, and there is no need to export the multi-language version of the video editing template.

[0091] Among them, the generated first video editing template can be used to import the second video material to replace the replaceable material, generate a second video editing draft; the second video editing draft is used to synthesize a target video. Users can create videos based on different language versions of video editing templates to generate new video creation results.

[0092] The technical scheme of the embodiment of the present disclosure determines the enabling state of the template language conversion function when entering the release setting page of the video editing template, determines the second language according to the function configuration attribute information of the template language conversion function when the enabling state is the function opening state, identifies the text categories of each item of text content in the first text material in the first video editing draft, determines the text content to be converted in the first text material according to the preset text conversion attribute corresponding to the text category, inputs the text content to be converted into a preset text conversion model corresponding to the second language to obtain second language conversion text, generates a second text material based on the non-conversion text content in the first text material and the second language conversion text, marks the replaceable material in the first video editing draft, replaces the first text material with the second text material, and performs content display effect adaptation processing on the first video material and the second text material in the first video editing draft to generate a first video editing template. The generated first video editing template can be used to import a second video material to replace the replaceable material to generate a second video editing draft. The second video editing draft is used to synthesize a target video. The technical scheme of the embodiment of the present disclosure remedies the defect that the cross-language video editing template function different from the language of the video editing draft cannot be automatically generated in the current video processing application, provides the automatic translation function of the video editing draft, can automatically convert the language of the text material in the video editing draft before the source language video editing template is released, efficiently generates a cross-language version of the video editing draft, improves the creation and export efficiency of the multi-language version of the video editing template, and can also expand the audience range of the video editing template.

[0093] Figure 4 For a flowchart of a video editing method provided by the embodiment of the present disclosure, on the basis of the above-mentioned embodiment, the template switching function setting of the multi-language version of the video editing template in the consumption stage is further explained in the process of implementing the video editing method flow. The method can be executed by a video editing device, which can be realized in the form of software and / or hardware, and can be realized by an electronic device, which can be a mobile terminal, a PC terminal or a server, etc.

[0094] As Figure 4 shown, the video editing method comprises:

[0095] S310, when entering the release setting page of the video editing template, determining the enabling state of the template language conversion function.

[0096] S320, when the enabling state is the function opening state, determining the second language according to the function configuration attribute information of the template language conversion function.

[0097] S330, identify the text category of each item of text content in the first text material in the first video editing draft, and determine the text content to be converted in the first text material according to the preset text conversion attribute corresponding to the text category.

[0098] S340, input the text content to be converted into a preset text conversion model corresponding to the second language to obtain second language converted text.

[0099] S350, determine a second text material based on the second language converted text.

[0100] Specifically, the content in the first text material that does not need to be converted and the second language converted text can be combined to determine the second text material.

[0101] S360, mark the replaceable material in the first video editing draft, and perform content adaptation processing on the second text material and the first video material in the first video editing draft to generate a first video editing template.

[0102] S370, generate a second video editing template based on the first video editing draft marked with the replaceable material; and display the first video editing template or the second video editing template in a language version matching an application environment language of the video editing template.

[0103] The second video editing template is a video editing template corresponding to the first video editing draft without text conversion. In template creation, multiple video editing templates can be generated based on the first video editing draft. For example, the first text material is converted into a second language text material, a third language text material, and multiple versions, and multiple video editing templates can be generated accordingly.

[0104] The video editing template in a language version matching an application environment language of the video editing template can be displayed according to the application environment language. For example, the terminal system used by the target video editing template creator is switched from the first language to the second language, and accordingly, when the creator browses the video editing template, the video editing template in the second language version is preferentially displayed.

[0105] S380, in response to a template version switching operation, switching the display of the first video editing template or the second video editing template.

[0106] In this embodiment, the video processing application system automatically preferentially displays a video editing template in a certain language version for the user, and also provides the user with a function of switching different version templates.

[0107] For example,Figure 5 The template detail page of one of the video editing templates is provided with a plurality of template interaction options, and specific interaction items can be set according to specific needs. The detail page is applicable to the case that the template is previewed by the creator of the video editing template and the ordinary user who is not the creator. The "language" control corresponds to the template language conversion function, and can enter the next level of option menu items. In the next level of "language" menu items, it can be set whether to display multiple language versions. If this item is in the open state, the user can be provided with any one language version of a target video editing template to be displayed, and the user can select the version of the video editing target by himself / herself. If this item is in the closed state, only the source language version of the target video editing template is displayed.

[0108] Further, in the present embodiment, the consumption information of the first video editing template can be determined based on the usage of the first video editing template, and the consumption information of the second video editing template can be determined based on the usage of the second video editing template; the target consumption information for representing the usage of the target video editing template is determined according to the consumption information of the first video editing template and the consumption information of the second video editing template; wherein the target video editing template represents any video editing template generated based on the first video editing draft. That is, when text material conversion processing is performed based on a video editing draft of a user, a plurality of video editing templates in different language versions are generated, and the consumption statistical information of the video editing templates in different language versions used can be accumulated respectively as the total consumption statistical information of the templates corresponding to the video editing draft. The information can be displayed to the user to encourage the user's video creation.

[0109] The technical scheme of the embodiments of the present disclosure is as follows: when entering a release setting page of a video editing template, a determination is made on an enabling state of a template language conversion function; when the enabling state is a function opening state, a second language is determined according to function configuration attribute information of the template language conversion function; a text category of each item of text content in a first text material in a first video editing draft is identified, and a text content to be converted in the first text material is determined according to a preset text conversion attribute corresponding to the text category; the text content to be converted is input into a preset text conversion model corresponding to the second language, and a second language converted text is obtained; the replaceable material is marked in the first video editing draft, and the second text material is subjected to content adaptation processing with the first video material in the first video editing draft, and a first video editing template is generated; a second video editing template is generated based on the first video editing draft marked with the replaceable material; according to an application environment language of a video editing template to be displayed or applied, the first video editing template or the second video editing template in a language version matched with the application environment language is displayed; and in response to a template version switching operation, the first video editing template or the second video editing template is switched to be displayed. The technical scheme of the embodiments of the present disclosure remedies the defect that a cross-language video editing template function of automatically generating a video editing draft in a language different from that of the video editing draft cannot be provided in the current video processing application, provides an automatic translation function of a video editing draft, can automatically convert a text material of a video editing draft in a language before a source language video editing template is released, efficiently generates a cross-language version of a video editing draft, improves the creation and export efficiency of a multi-language version of a video editing template, and can also expand the audience range of a video editing template.

[0110] Figure 6 A video editing device provided by the embodiments of the present disclosure is suitable for a scenario of video segment editing, and in particular, a scenario of video editing based on a multi-language version of a video editing template. The video editing device can be implemented in the form of software and / or hardware, and can be configured in an electronic device, such as a mobile terminal, a PC terminal, or a server.

[0111] As shown in FIG. 4, Figure 6 The video editing device includes a first video editing draft acquisition module 410, a replaceable material determination module 420, a text material conversion module 430, and a video editing template generation module 440.

[0112] The original video editing draft acquisition module 410 is configured to acquire a first video editing draft. The first video editing draft includes multimedia material and editing information. The editing information is used to indicate an editing operation on the multimedia material. The multimedia material includes first video material and first text material. The first text material is used to present text content in a first language. The replaceable material determination module 420 is configured to determine replaceable material in the first video material. The text material conversion module 430 is configured to generate second text material by converting the text content in the first language into text content in a second language based on the first text material. The video editing template generation module 440 is configured to mark the replaceable material in the first video editing draft, and replace the first text material with the second text material to generate a first video editing template. The first video editing template is used to import second video material to replace the replaceable material, and generate a second video editing draft. The second video editing draft is used to synthesize a target video.

[0113] The technical scheme of the embodiment of the present disclosure acquires a first video editing draft. The first video editing draft includes multimedia material and editing information. The editing information is used to indicate an editing operation on the multimedia material. The multimedia material includes first video material and first text material. The first text material is used to present text content in a first language. Replaceable material in the first video material is determined. Second text material is generated by converting the text content in the first language into text content in a second language based on the first text material. The replaceable material is marked in the first video editing draft, and the first text material is replaced with the second text material to generate a first video editing template. The first video editing template is used to import second video material to replace the replaceable material, and generate a second video editing draft. The second video editing draft is used to synthesize a target video. The technical scheme of the embodiment of the present disclosure makes up for the defect that a cross-language video editing template function automatically generated from a video editing draft in a different language cannot be provided in the current video processing application. The text conversion function of the video editing draft is provided. The language conversion of the text material of the video editing draft can be automatically performed before a source language video editing template is published. A cross-language version of the video editing draft is efficiently generated. The creation and export efficiency of the multi-language version of the video editing template is improved. Meanwhile, the audience range of the video editing template can be expanded.

[0114] In an optional implementation, the video editing device further includes a text material conversion function determination module configured to:

[0115] Before the second text material is generated, when a publishing setting page of the video editing template is entered, a use state of the template language conversion function is determined.

[0116] When the enabling state is a function-on state, a second language is determined according to a function configuration attribute information of the template language conversion function, wherein the second language includes at least one language of a different language type from the first language.

[0117] In an optional implementation, the text material conversion module 430 can be specifically configured to:

[0118] identify a text category of each item of text content in the first text material;

[0119] determine, according to a preset text conversion attribute corresponding to the text category, text content to be converted in the first text material;

[0120] input the text content to be converted into a preset text conversion model corresponding to the second language, to obtain second language conversion text;

[0121] generate a second text material based on non-conversion text content in the first text material and the second language conversion text.

[0122] In an optional implementation, the video editing template generation module 440 can be further configured to:

[0123] perform content display effect adaptation processing on the first video material in the first video editing draft and the second text material.

[0124] In an optional implementation, the video editing template apparatus further includes a template language conversion function setting module, configured to:

[0125] set a template language conversion function control on a publishing setting page and a template detail page of the first video editing template respectively;

[0126] set an enabling state of the template language conversion function and / or set configuration attribute information of the template language conversion function in response to an interaction operation obtained by the template language conversion function control.

[0127] In an optional implementation, the video editing template apparatus further includes a template display module, configured to:

[0128] generate a second video editing template based on the first video editing draft marked with replaceable material;

[0129] display the first video editing template or the second video editing template in a language version matched with an application environment language of the video editing template according to the application environment language.

[0130] In an alternative implementation, the template display module can be further configured to:

[0131] in response to a template version switching operation, display the first video editing template or the second video editing template.

[0132] In an alternative implementation, the video editing template device further comprises a template consumption data statistics module configured to:

[0133] determine consumption information of the first video editing template based on usage of the first video editing template, and determine consumption information of the second video editing template based on usage of the second video editing template;

[0134] determine target consumption information representing usage of a target video editing template based on the consumption information of the first video editing template and the consumption information of the second video editing template;

[0135] wherein the target video editing template represents any video editing template generated based on the first video editing draft.

[0136] The video editing device provided by the embodiments of the present disclosure can perform the video editing method provided by any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method.

[0137] It is worth noting that each unit and module included in the above device is only divided according to the function logic, but is not limited to the above division, as long as the corresponding function can be realized; in addition, the specific name of each functional unit is only for easy mutual distinction, and does not limit the protection scope of the embodiments of the present disclosure.

[0138] Figure 7 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. Hereinafter, the structural schematic diagram of the electronic device (for example, a terminal device or a server in Figure 7 , which shows a structural schematic diagram of an electronic device (for example, a terminal device or a server in Figure 7 ) 500 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure can include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 7 The electronic device shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.

[0139] As shown in Figure 7As shown, the electronic device 500 can include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501 that can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 502 or loaded into a random access memory (RAM) 503 from a storage device 508. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 505.

[0140] Generally, the following devices can be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 509. The communication devices 509 can allow the electronic device 500 to communicate wirelessly or wired with other devices to exchange data. Although Figure 7 The electronic device 500 is shown with various devices, but it should be understood that not all of the shown devices are required to be implemented or possessed. More or fewer devices can alternatively be implemented or possessed.

[0141] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 509, or installed from the storage devices 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

[0142] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0143] The electronic device provided by the embodiments of the present disclosure and the video editing method provided by the above-mentioned embodiments belong to the same inventive concept, and the technical details not described in detail in the present embodiment can be referred to the above-mentioned embodiments, and the present embodiment has the same beneficial effects as the above-mentioned embodiments.

[0144] The embodiments of the present disclosure also provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the video editing method provided by the above-mentioned embodiments.

[0145] Note that the computer readable medium described above in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium can be, for example and without limitation, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, a computer readable signal medium can include a computer readable program code carried in a baseband or as a part of a carrier wave, in which the computer readable program code can be used by or in connection with an instruction execution system, apparatus or device. Such a propagated computer readable signal medium can take various forms, including but not limited to electro-magnetic, optical or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium that can be used to carry or transmit a program for use by or in connection with an instruction execution system, apparatus or device, except for the computer readable storage media described above. The program code carried by the computer readable media can be transmitted in any suitable media, including but not limited to wire, cable, fiber optic, RF (radio frequency), or any suitable combination of the foregoing.

[0146] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.

[0147] The computer readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device, and can be accessed via the electronic device.

[0148] The computer readable medium described above carries one or more programs, which when executed by the electronic device, cause the electronic device to:

[0149] obtaining a first video editing draft; the first video editing draft comprises multimedia materials and editing information, the editing information is used to indicate an editing operation for the multimedia materials, the multimedia materials comprise first video materials and first text materials, the first text materials are used to present text content in a first language;

[0150] determining replaceable materials in the first video materials;

[0151] generating second text materials by converting the text content in the first language into text content in a second language based on the first text materials;

[0152] marking the replaceable materials in the first video editing draft and replacing the first text materials with the second text materials to generate a first video editing template;

[0153] The first video editing template is used to import second video materials to replace the replaceable materials to generate a second video editing draft; and the second video editing draft is used to synthesize a target video.

[0154] Computer program code for carrying out operations of the present disclosure can be written in any one or combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can 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 the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0155] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause one or more processors to perform the operations of the first aspect. The one or more non-transitory computer-readable media can include, for example, magnetic media such as one or more magnetic disks, magnetic tapes or cassettes; optical media such as one or more compact discs, optical discs or Blu-ray discs; magneto-optical media such as one or more floptical discs; solid state media such as one or more solid state drives or other flash memory arrays; or any suitable combination of these. The one or more non-transitory computer-readable media can be encoded with instructions that, when executed, cause one or more processors to perform the operations of the first aspect.

[0156] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware, or by a combination of software and hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself. For example, the first obtaining unit can also be described as a unit for obtaining at least two Internet protocol addresses.

[0157] The functions described in this document can be implemented in part or in whole using one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0158] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0159] The embodiment of the present disclosure further provides a computer program product comprising a computer program which, when executed by a processor, implements the video editing method provided by any one of the embodiments of the present disclosure.

[0160] The computer program product can be written in any one or a combination of one or more programming languages and executed using one or more general purpose computer(s) or a specific computer(s) programmed with computer readable instructions to perform the methods disclosed in the present disclosure. The computer program code can be executed by one or more computer(s) located at one site or distributed over multiple sites and stored on a computer readable medium, which can be any available media that can be read by a computer. Such computer readable medium can include transitory medium, non-transitory medium, and / or a combination of transitory medium and non-transitory medium. The computer readable medium can include, but is not limited to, primary computer readable medium, secondary computer readable medium, removable computer readable medium, and / or a combination of different computer readable media. It is therefore understood that every hardware and software combination that can perform the methods disclosed in the present disclosure is specifically contemplated and included.

[0161] According to one or more embodiments of the present disclosure, Example One provides a video editing method, the method comprising:

[0162] obtaining a first video editing draft; the first video editing draft comprising multimedia materials and editing information, the editing information being used to indicate an editing operation on the multimedia materials, the multimedia materials comprising a first video material and a first text material, the first text material being used to present text content in a first language;

[0163] determining replaceable material in the first video material;

[0164] generating a second text material by converting the text content in the first language into text content in a second language based on the first text material;

[0165] marking the replaceable material in the first video editing draft and replacing the first text material with the second text material to generate a first video editing template;

[0166] wherein the first video editing template is used to import a second video material to replace the replaceable material to generate a second video editing draft; and the second video editing draft is used to synthesize a target video.

[0167] According to one or more embodiments of the present disclosure, Example Two provides a video editing method, further comprising:

[0168] In some optional implementations, before the second text material is generated, the method further includes:

[0169] When entering a release setting page of the video editing template, a use state of a template language conversion function is determined;

[0170] When the use state is an enabled state, a second language is determined according to function configuration attribute information of the template language conversion function, and the second language includes at least one language of a different language type from the first language.

[0171] According to one or more embodiments of the present disclosure, Example Three provides a video editing method, including:

[0172] In some optional implementations, the second text material is generated by converting text content in the first language into text content in a second language, including:

[0173] Text categories of each item of text content in the first text material are identified;

[0174] Text content to be converted in the first text material is determined according to a preset text conversion attribute corresponding to the text category;

[0175] The text content to be converted is input into a preset text conversion model corresponding to the second language to obtain second language converted text;

[0176] Second text material is generated based on non-converted text content in the first text material and the second language converted text.

[0177] According to one or more embodiments of the present disclosure, Example Four provides a video editing method, further including:

[0178] In some optional implementations, the first video editing template is generated by marking the replaceable material in the first video editing draft and replacing the first text material with the second text material, further including:

[0179] The first video material in the first video editing draft and the second text material are subjected to content display effect adaptation processing.

[0180] According to one or more embodiments of the present disclosure, Example Five provides a video editing method, further including:

[0181] In some optional implementations, the method further includes:

[0182] A template language conversion function control is set on the release setting page and a template detail page of the first video editing template, respectively;

[0183] In response to the interaction operation obtained by the template language conversion function control, set the enabling state of the template language conversion function and / or set the configuration attribute information of the template language conversion function.

[0184] According to one or more embodiments of the present disclosure, Example Six provides a video editing method, further comprising:

[0185] In some optional implementations, the method further comprises:

[0186] Generating a second video editing template based on the first video editing draft marked with replaceable material;

[0187] According to the application environment language of the video editing template, displaying the first video editing template or the second video editing template in a language version matching the application environment language.

[0188] According to one or more embodiments of the present disclosure, Example Seven provides a video editing method, further comprising:

[0189] In some optional implementations, the method further comprises:

[0190] In response to a template version switching operation, switching the first video editing template or the second video editing template.

[0191] According to one or more embodiments of the present disclosure, Example Eight provides a video editing method, further comprising:

[0192] In some optional implementations, the method further comprises:

[0193] Determining consumption information of the first video editing template based on usage of the first video editing template, and determining consumption information of the second video editing template based on usage of the second video editing template;

[0194] According to the consumption information of the first video editing template and the consumption information of the second video editing template, determining target consumption information for representing usage of a target video editing template;

[0195] The target video editing template represents any video editing template generated based on the first video editing draft.

[0196] According to one or more embodiments of the present disclosure, Example Nine provides a video editing device, comprising:

[0197] An original video editing draft obtaining module is configured to obtain a first video editing draft. The first video editing draft includes multimedia materials and editing information. The editing information is used to indicate an editing operation on the multimedia materials. The multimedia materials include first video materials and first text materials. The first text materials are used to present text content in a first language.

[0198] An alternative material determining module is configured to determine alternative materials in the first video materials.

[0199] A text material converting module is configured to convert text content in the first language into text content in a second language based on the first text materials, and generate second text materials.

[0200] A video editing template generating module is configured to mark the alternative materials in the first video editing draft, replace the first text materials with the second text materials, and generate a first video editing template.

[0201] The first video editing template is used to import second video materials to replace the alternative materials, and generate a second video editing draft. The second video editing draft is used to synthesize a target video.

[0202] According to one or more embodiments of the present disclosure, Example Ten provides a video editing device, further comprising:

[0203] In an optional implementation, the video editing device further comprises a text material conversion function determining module configured to:

[0204] Before the second text materials are generated, when a release setting page of the video editing template is entered, a use state of a template language conversion function is determined.

[0205] When the use state is a function enabled state, the second language is determined according to function configuration attribute information of the template language conversion function. The second language includes at least one language different from the first language.

[0206] According to one or more embodiments of the present disclosure, Example Eleven provides a video editing device, further comprising:

[0207] In an optional implementation, the text material converting module can be specifically configured to:

[0208] Identify text categories of each item of text content in the first text materials.

[0209] Determine text content to be converted in the first text materials according to preset text conversion attribute corresponding to the text categories.

[0210] inputting the text content to be converted into a preset text conversion model corresponding to the second language, to obtain second language converted text;

[0211] generating a second text material based on the non-converted text content in the first text material and the second language converted text.

[0212] According to one or more embodiments of the present disclosure, Example Twelve provides a video editing device, further comprising:

[0213] In an optional implementation, the video editing template generation module can be further configured to:

[0214] performing content display effect adaptation processing on the first video material in the first video editing draft and the second text material.

[0215] According to one or more embodiments of the present disclosure, Example Thirteen provides a video editing device, further comprising:

[0216] In an optional implementation, the video editing template device further comprises a template language conversion function setting module, configured to:

[0217] setting a template language conversion function control on the publishing setting page and the template detail page of the first video editing template respectively;

[0218] in response to an interactive operation obtained by the template language conversion function control, setting an enabled state of the template language conversion function and / or setting configuration attribute information of the template language conversion function.

[0219] According to one or more embodiments of the present disclosure, Example Fourteen provides a video editing device, further comprising:

[0220] In an optional implementation, the video editing template device further comprises a template display module, configured to:

[0221] generating a second video editing template based on the first video editing draft marked with replaceable material;

[0222] displaying the first video editing template or the second video editing template in a language version matching an application environment language of the video editing template according to the application environment language.

[0223] According to one or more embodiments of the present disclosure, Example Fifteen provides a video editing device, further comprising:

[0224] In an optional implementation, the template display module can be further configured to:

[0225] In response to the template version switching operation, switching to display the first video editing template or the second video editing template.

[0226] According to one or more embodiments of the present disclosure, Example Sixteen provides a video editing apparatus, further comprising:

[0227] In an alternative implementation, the video editing template apparatus further comprises a template consumption data statistics module configured to:

[0228] determine consumption information of the first video editing template based on usage of the first video editing template, and determine consumption information of the second video editing template based on usage of the second video editing template;

[0229] determine target consumption information representing usage of a target video editing template based on the consumption information of the first video editing template and the consumption information of the second video editing template;

[0230] wherein the target video editing template represents any video editing template generated based on the first video editing draft.

[0231] The above description is merely exemplary of the disclosure and the application of the principles thereof and it is not intended to limit the scope of the disclosure to the specific forms set forth. Rather, the scope of the disclosure is to be determined by the claims which are appended hereto and by their equivalents. For example, the features described above with respect to the first video editing template and the second video editing template can be interchanged with respect to each other and / or with respect to other video editing templates disclosed herein.

[0232] Furthermore, while operations have been depicted as occurring in a certain order, this is not intended to be limiting, as certain operations can be performed in different orders, or omitted, or performed substantially concurrently with each other. Also, described above are several specific implementations. These should be understood as merely sets of examples, and not as limiting the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.

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

Claims

1. A video editing method characterized by, The method comprises: obtaining a first video editing draft; the first video editing draft comprises multimedia materials and editing information, the editing information is used to indicate an editing operation for the multimedia materials, the multimedia materials comprise first video materials and first text materials, the first text materials are used to present text content in a first language; determining replaceable materials in the first video materials; based on the first text materials, generating second text materials by converting the text content in the first language into text content in a second language; marking the replaceable materials in the first video editing draft, and replacing the first text materials with the second text materials to generate a first video editing template; wherein the first video editing template is used to import second video materials to replace the replaceable materials, and generate a second video editing draft; and the second video editing draft is used to synthesize a target video.

2. The method of claim 1, wherein, Before generating the second text materials, the method further comprises: when entering a release setting page of a video editing template, determining an enabling state of a template language conversion function; when the enabling state is a function opening state, determining the second language according to function configuration attribute information of the template language conversion function, wherein the second language comprises at least one language different from the first language in terms of language type.

3. The method according to claim 1 or 2, characterized in that, The method of generating second text materials by converting text content in the first language into text content in a second language comprises: identifying text categories of each item of text content in the first text materials; determining text content to be converted in the first text materials according to preset text conversion attributes corresponding to the text categories; inputting the text content to be converted into a preset text conversion model corresponding to the second language to obtain second language converted text; generating second text materials based on non-converted text content in the first text materials and the second language converted text.

4. The method of claim 1, wherein, The method of marking the replaceable materials in the first video editing draft, and replacing the first text materials with the second text materials to generate a first video editing template further comprises: performing content display effect adaptation processing on the first video materials in the first video editing draft and the second text materials.

5. The method of claim 2, wherein, The method further comprises: setting a template language conversion function control on a template detail page of the first video editing template and the release setting page respectively; in response to an interaction operation obtained by the template language conversion function control, setting the enabling state of the template language conversion function and / or setting configuration attribute information of the template language conversion function.

6. The method of claim 1, wherein, The method further comprises: generating a second video editing template based on the first video editing draft marked with replaceable materials; displaying the first video editing template or the second video editing template in a language version matched with a language of an application environment in which the video editing template is displayed or applied.

7. The method of claim 6, wherein, The method further comprises: in response to a template version switching operation, switching the first video editing template or the second video editing template to be displayed.

8. The method of claim 6, wherein, The method further comprises: determine consumption information of the first video editing template based on usage of the first video editing template, and determine consumption information of the second video editing template based on usage of the second video editing template; determine target consumption information representing usage of a target video editing template based on the consumption information of the first video editing template and the consumption information of the second video editing template; wherein the target video editing template represents any video editing template generated based on the first video editing draft.

9. A video editing apparatus characterized by comprising: comprise: a first video editing draft obtaining module configured to obtain a first video editing draft; the first video editing draft comprises multimedia materials and editing information, the editing information is used to indicate editing operations on the multimedia materials, the multimedia materials comprise first video materials and first text materials, the first text materials are used to present text content in a first language; a replaceable material determining module configured to determine replaceable materials in the first video materials; a text material converting module configured to convert the text content in the first language into text content in a second language based on the first text materials, and generate second text materials; a video editing template generating module configured to mark the replaceable materials in the first video editing draft, replace the first text materials with the second text materials, and generate a first video editing template; wherein the first video editing template is used to import second video materials to replace the replaceable materials, and generate a second video editing draft; and the second video editing draft is used to synthesize a target video.

10. An electronic device, comprising: The electronic device comprises: one or more processors; a storage device configured to store 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 editing method of any one of claims 1-8.

11. A computer readable storage medium having stored thereon a computer program, characterized in that The program is executed by the processor to implement the video editing method of any one of claims 1-8.

12. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the video editing method of any one of claims 1-8.

Citation Information

Patent Citations

  • Subtitle editing method and device, electronic equipment and storage medium

    CN116095421A

  • Automatic video montage generation

    US20220108727A1