Video editing method and apparatus, electronic device, medium, and product
By automatically converting the text material language in the video editing draft and generating video editing templates in different language versions, the problem of inefficient creation of multilingual versions of video editing templates in the existing technology is solved, and the rapid multilingualization of templates is achieved, and the audience scope is expanded.
Patent Information
- Application Number
- PCT/CN2024/118922
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-15
- Filing Date
- 2024-09-13
- Publication Date
- 2025-03-20
AI Technical Summary
Publishers of existing video editing templates need to edit and create templates in different language versions separately, which leads to the cumbersome repetitive editing process and language ability thresholds, limiting the promotion and application of templates.
Provide a video editing method, by obtaining video editing drafts, determining replaceable materials, and language conversion based on text materials, generating video editing templates in different languages, improving the creation and export efficiency of multilingual version templates.
It realizes automatic language conversion of text materials based on a video editing draft, and efficiently generates video editing templates in different languages, lowering the threshold for creating multilingual version templates and expanding the audience range of templates.
Smart Images

Figure CN2024118922_20032025_PF_FP_ABST
Abstract
Description
Video editing method, device, electronic device, medium and product
[0001] This application claims priority to Chinese invention patent application number 202311199524.3 filed on September 15, 2023, entitled “Video Editing Methods, Devices, Electronic Devices, Media and Products,” the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a video editing method, device, electronic device, medium, and product. Background Art
[0003] In video editing applications, users can create and publish video editing templates. Published video editing templates can be used by more users. However, different users often use video editing applications and video editing templates in different languages. A single-language video editing template cannot meet the video editing needs of many users.
[0004] However, currently, publishers of video editing templates who publish video editing templates in multiple languages must edit and create the templates in each language separately. This repetitive template editing process is cumbersome for publishers and has language proficiency requirements. Furthermore, this also places certain limitations on the promotion and application of video editing templates.
[0005] Summary of the Invention
[0006] The present disclosure provides a video editing method, device, electronic device, medium and product, which can automatically convert the language of text materials based on a video editing draft, and efficiently generate a video editing template in a different language from the video editing draft for use in the video editing process. This can improve the efficiency of creating and exporting multi-language versions of video editing templates, and at the same time expand the audience range of video editing templates.
[0007] In a first aspect, an embodiment of the present disclosure provides a video editing method, which includes: obtaining 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 a first video material and a first text material, the first text material is used to present text content in a first language; determining a replaceable material in the first video material; based on the first text material, generating a second text material by converting the text content in the first language into text content in a second language; 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; wherein the first video editing template is used to import the 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.
[0008] In a second aspect, an embodiment of the present disclosure further provides a video editing device, which includes: an original video editing draft acquisition module, used to acquire a first video editing draft; the first video editing draft includes multimedia materials and editing information, the editing information is used to indicate editing operations 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; a replaceable material determination module, used to determine replaceable materials in the first video material; a text material conversion module, used to generate a second text material based on the first text material by converting the text content in the first language into text content in a second language; a video editing template generation module, used 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video.
[0009] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a video editing method as described in any one of the embodiments of the present disclosure.
[0010] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the video editing method as described in any one of the embodiments of the present disclosure.
[0011] In a fifth aspect, an 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 as described in any one of the embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages, and aspects of the various 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 represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0013] FIG1 is a flow chart of a video editing method provided by an embodiment of the present disclosure;
[0014] FIG2 is a schematic diagram of a template publishing setting page provided by an embodiment of the present disclosure;
[0015] FIG3 is a flow chart of a video editing method provided by an embodiment of the present disclosure;
[0016] FIG4 is a flow chart of a video editing method provided by an embodiment of the present disclosure;
[0017] FIG5 is a schematic diagram of a template details page provided by an embodiment of the present disclosure;
[0018] FIG6 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure;
[0019] FIG7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] The following describes embodiments of the present disclosure in more detail 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 limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0021] 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.
[0022] As used herein, the term "including" and its variations are open-ended, 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," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0023] It should be noted that the concepts of "first" and "second" mentioned in this 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.
[0024] 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, they should be understood as "one or more".
[0025] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this 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.
[0026] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0027] As an optional but non-limiting implementation, in response to receiving a user's active request, 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. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0028] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0029] It is understood 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. In addition, during the collection and use of data, the user's personal information will not be collected or processed in a manner that does not reveal the user's identity.
[0030] Figure 1 is a flow chart illustrating a video editing method provided by an embodiment of the present disclosure. The present disclosure is applicable to scenarios involving video clip editing, particularly video editing based on multilingual video editing templates. The method can be executed by a video editing device, which can be implemented in software and / or hardware. Alternatively, the video editing device can be implemented by an electronic device, such as a mobile terminal, a PC, or a server.
[0031] As shown in FIG1 , the video editing method includes steps S110 , S120 , S130 and S140 .
[0032] S110: Obtain a first video editing draft, wherein the multimedia material includes a first video material and a first text material, and the first text material is used to present text content in a first language.
[0033] A video editing draft is a draft of a project that a user creates when editing a video clip. It includes multimedia materials and editing information. The editing information indicates the editing operations for the multimedia materials, which include video materials and text materials.
[0034] In some video and audio processing applications, users can publish video editing templates to preserve their own creative ideas while creating video clips, and video editing templates can also be shared with other users for video editing and creation. In order to save users' editing and creation time for video editing templates in multiple language versions, the present disclosure provides a function that can automatically generate cross-language video editing templates for video editing drafts, so that they can 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 language versions. That is to say, after the user determines that a source language version of the video editing draft has been edited, the user can automatically obtain at least one other language version of the video editing template in addition to the source language version. In video editing templates of different language versions, the video editing process and rendering display effects are the same, only the language corresponding to the text material content in each template is different. In some embodiments, the source language version can be understood as the template version corresponding to the language used by the target video editing draft during the editing process.
[0035] Specifically, in this embodiment, the first video editing draft is a video editing draft that requires cross-language processing to generate a target video editing target. 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, and the multimedia material includes a first video material and a first text material. In some embodiments, the first text material is used to present text content in a first language.
[0036] S120: Determine replaceable material in the first video material.
[0037] The determination of replaceable materials is based on user interactions in the video editing template's publishing settings interface. Replaceable materials can be understood as materials that can be replaced by other users to achieve template application during the process of using the video editing template generated based on the first video editing draft.
[0038] It is understandable that the first text material is usually text content added by the creator of the video editing draft, and is usually editable and can be partially or completely replaced.
[0039] S130: 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.
[0040] In this embodiment, once the video editing template is published and configured, the template language conversion function is checked for activation. Specifically, a determination is made as to whether the text in the current video editing draft requires language conversion. The template language conversion function can be either enabled or disabled.
[0041] The enabled state of the video editing function may be the default enabled state of the video and audio processing application after the function is provided, or may be a user-set enabled state. In a feasible embodiment, the default enabled state of the template language conversion function in the video and audio processing application may be directly set to a function-on state or a function-relationship state, or may be a default state automatically set by the video and audio processing application based on the functional support capabilities of the device system in which it is located.
[0042] When the template language conversion function is enabled, 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. In some embodiments, the second language includes at least one language different from the first language.
[0043] In some embodiments, the function configuration attribute information may include configurable attribute information such as the target text conversion language, text conversion rules, etc. The target text conversion language may be one or more than one, such as converting a first text material whose source language version (first language) is French into a template corresponding to at least one language version of English, German, Spanish, and / or other minority languages.
[0044] The process of text material conversion begins with determining the target language for the text conversion. 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.
[0045] S140: 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.
[0046] In some embodiments, the first video editing template is used to import a second video material to replace the replaceable material and generate a second video editing draft; the second video editing draft is used to synthesize the target video. The second video material can be the material for generating a new video editing result based on the first video editing template.
[0047] During the process of generating the first video editing template, replaceable materials are marked. The replaceable materials can be retained in the template and marked as replaceable; or the replaceable materials can be deleted and then marked at the location of the replaceable materials in the template so that when new video materials are imported subsequently, they can be placed at the exact material time track position.
[0048] After completing the above steps, if the Chinese version of the video editing draft requires text conversion, the text in the video editing draft can be converted into text in one or more language versions, thereby generating one or more language versions of the video editing template. This eliminates the need to repeatedly edit different language versions of the video editing draft, reduces the time required to create a draft, and reduces the barrier to creating a target video editing template in multiple languages. It also makes it easier for template users to obtain the video editing template corresponding to their language, facilitating video creation.
[0049] The technical solution of the embodiment of the present disclosure is as follows: obtaining a first video editing draft; the first video editing draft includes multimedia material and editing information, the editing information is used to indicate the editing operation for the multimedia material, the multimedia material includes a first video material and a first text material, the first text material is used to present the text content in a first language; determining the replaceable material in the first video material; based on the first text material, generating a second text material by converting the text content in the first language into text content in a second language; 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video. In this way, the technical solution of the embodiment of the present disclosure makes up for the defect in the current video processing application that the function of automatically generating a cross-language video editing template with a language different from that of the video editing draft is provided, and provides an automatic translation function of the video editing draft. It can automatically convert the language of the text material in the video editing draft before the source language video editing template is released, efficiently generate a cross-language version of the video editing draft, improve the efficiency of creating and exporting multi-language versions of video editing templates, and at the same time expand the audience range of the video editing template.
[0050] Furthermore, for the newly added template language conversion function in video and audio processing applications, a template language conversion function control can be set in the video editing template publishing settings interface as shown in Figure 2, providing users with a functional entry for interactive settings of the template language conversion function and a switch for the function activation status. Figure 2 shows a video editing draft for editing five video clips (clip 1 to clip 5), where the "Language" control is the template language conversion function control. Based on the user's interaction with the template language conversion function control, the activation status of the template language conversion function and / or the configuration attribute information of the template language conversion function are set.
[0051] For example, if a user clicks the "Language" control, the next level of property configuration controls for function switches and language version switching may be further displayed. If the video processing application does not currently support video editing, the user clicking the "Language" control may gray out the next level of property configuration controls and display a prompt message, such as "The current template does not support template language conversion."
[0052] After the user opens the video processing app, the "Language" control appears for the first time, displaying a new feature launch notification message, such as "The template language conversion feature has been enabled. You can set up and experience the feature." Of course, language copy can also provide users with more information about the template language conversion feature and usage steps. If the user turns off the template language conversion feature, a corresponding pop-up prompt can also be displayed, such as "Are you sure you want to turn it off? Turning on the template language conversion feature can help you..."
[0053] In addition, after the target video editing template is released, the corresponding "language" control can also be set on the template details page. Users can further switch different language versions through the control on the details page. At the same time, prompt text can also be displayed, such as "Switch successful", "Switch loading", or "Switch failed". It is understandable that if the template language conversion function is turned off, the language version switching control is grayed out and unresponsive.
[0054] FIG3 is a flow chart illustrating another video editing method provided by an embodiment of the present disclosure. Based on the above embodiment, the process of generating a video editing template 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 implemented in software and / or hardware. Optionally, the method can be implemented by an electronic device, such as a mobile terminal, a PC, or a server.
[0055] As shown in FIG3 , the video editing method includes steps S210 , S220 , S230 , S240 , S250 , and S260 .
[0056] S210. When entering the publishing settings page of the video editing template, determine the enabled state of the template language conversion function.
[0057] When accessing the publishing settings page for a video editing template, a first video editing draft is obtained. The first video editing draft includes multimedia materials and editing information. The editing information indicates editing operations for the multimedia materials, which include a first video material and a first text material. The first text material is used to present text content in a first language.
[0058] When entering the release setting stage of the source language version of the video editing template, the user can configure the template material properties such as replaceable materials in the first video editing draft, and determine the enablement status of the template language conversion function.
[0059] When the user confirms that the editing of the video editing draft is completed on the editing and creation page of the video editing draft, he can enter the publishing setting stage of the video editing template, which is the last video editing draft setting stage before the template is released.
[0060] In a video processing application that provides a template language conversion function, it can be determined whether the text material in the video editing draft needs to undergo language conversion of the draft text content.
[0061] S220: When the enabled state is a function-on state, determine the second language according to function configuration attribute information of the template language conversion function.
[0062] In some embodiments, the second language includes at least one language that is different from the first language.
[0063] When the enabling state of the template language conversion function is the function-on state, at least one second language is determined according to the translation configuration attribute information of the template language conversion function.
[0064] Function configuration attribute information may include pre-configured text conversion language information, which may be user-set or one or more target conversion languages set by default in the video processing application system.
[0065] S230: Identify text categories of various text contents in a first text material in a first video editing draft, and determine text contents to be converted in the first text material according to preset text conversion attributes corresponding to the text categories.
[0066] In the process of determining the text content to be converted in the first text material, the text category 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 attributes corresponding to each text category.
[0067] The preset text conversion attribute may 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. Within the first text material, different text categories may have different preset translation attributes. For example, draft text such as numbers, symbols, or special effects text does not require text conversion. Instead, the source language version of the material text and the subsequent text conversion results are directly returned as the second text material.
[0068] Specifically, the first text material in the source language version of the first video editing draft can be divided into external language text and internal language text. In some embodiments, external language text includes sub-text categories such as cover art, title, and description information; internal language text refers to the draft text added to the video clip. The draft text within the video clip also needs to filter out text content that does not require text conversion, such as subtitles, lyrics, and text that comes with the video material.
[0069] The text content to be converted is removed from the first text material, removing any text content that does not require conversion. The text material conversion process adheres to the principle of maintaining the content theme, template material, or visual effects. If the text material in the source language version contains corresponding characters, numbers, or special symbols, the corresponding text content in the source language version is directly returned without conversion. If the text material in the source language version contains garbled characters or other text that cannot be converted, the text content in the source language version is directly returned.
[0070] 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.
[0071] In an optional embodiment, text conversion can utilize artificial intelligence (AI) to input the text to be converted into a text conversion model corresponding to at least one second language to generate the corresponding language-converted text. The text conversion model corresponding to the at least one second language can be a comprehensive model with multi-language conversion capabilities, or it can be a set of different text conversion models corresponding to multiple languages. The corresponding text conversion model can be selected based on the target conversion language setting.
[0072] Before converting text, you can also segment the text to be converted and remove emojis and symbols, automatically recognize lyrics, subtitles, text containing TTS (text to speech), rich text and other content that does not need to be converted.
[0073] S250: Generate a second text material based on the non-converted text content in the first text material and the second language converted text.
[0074] The second text material can be obtained by integrating the text material that does not need to be converted and the second language conversion text corresponding to the text to be converted.
[0075] S260: marking the replaceable material in the first video editing draft, replacing the first text material with the second text material, and performing 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.
[0076] The content display effect adaptation processing of the second text material and the first video material may include various aspects of adaptation, such as screen adaptation, word limit adaptation, and rich text effect adaptation.
[0077] In some embodiments, screen adaptation means that the number of characters used to express the same semantics in different languages is not the same, which results in the converted text after text conversion not being able to adapt to the text box of the text in the corresponding source language version, and the text and the screen cannot match. The text can be automatically wrapped according to the length of the string to adapt to the screen. During the adaptation process of the word limit, the title and description text with a word limit can be converted. When the word limit is exceeded, only the draft text content in the corresponding source language version is retained. The method adopted for rich text effect adaptation is not to convert the rich text.
[0078] After text conversion and adaptation, multilingual video editing drafts can be exported asynchronously in the background, without increasing front-end wait times. In some cases, it's not necessary to convert the text in the video editing draft; simply export the video in the video editing template corresponding to the source video editing draft. If the video editing draft contains no draft text or only symbols, only the title and description content need to be converted, eliminating the need to export multilingual video editing templates.
[0079] In some embodiments, the generated first video editing template can be used to import a second video material to replace the replaceable material, generating a second video editing draft; the second video editing draft is then used to synthesize the target video. Users can create videos based on video editing templates in different languages to generate new video creation results.
[0080] The technical solution of the embodiment of the present disclosure is as follows: when entering the publishing setting page of the video editing template, determining the enabled state of the template language conversion function; when the enabled state is the function-on state, determining the second language according to the function configuration attribute information of the template language conversion function; identifying the text category 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; inputting the text content to be converted into a preset text conversion model corresponding to the second language to obtain the second language converted text; generating the second text material based on the non-converted text content in the first text material and the second language converted text; marking the replaceable material in the first video editing draft, replacing the first text material with the second text material, and performing content display effect adaptation processing on the first video material and the second text material in the first video editing draft to generate the first video editing template; the generated first video editing template can be used to import the second video material to replace the replaceable material to generate the second video editing draft; the second video editing draft is used to synthesize the target video. In this way, the technical solution of the embodiment of the present disclosure makes up for the defect in the current video processing application that the function of automatically generating a cross-language video editing template with a language different from that of the video editing draft is provided, and provides an automatic translation function of the video editing draft. It can automatically convert the language of the text material in the video editing draft before the source language video editing template is released, efficiently generate a cross-language version of the video editing draft, improve the efficiency of creating and exporting multi-language versions of video editing templates, and at the same time expand the audience range of the video editing template.
[0081] FIG4 is a flow chart of a video editing method provided by an embodiment of the present disclosure. Building upon the above-described embodiment, the method further illustrates the template switching function settings for multiple language versions of video editing templates during the consumption phase. The method can be executed by a video editing device, which can be implemented in software and / or hardware. Alternatively, the method can be implemented by an electronic device, such as a mobile terminal, a PC, or a server.
[0082] As shown in FIG4 , the video editing method includes steps S310 , S320 , S330 , S340 , S350 , S360 , S370 , and S380 .
[0083] S310. When entering the publishing settings page of the video editing template, determine the enabled state of the template language conversion function.
[0084] S320: When the enabled state is a function-on state, determine the second language according to function configuration attribute information of the template language conversion function.
[0085] S330: Identify text categories of various text contents in a first text material in a first video editing draft, and determine text contents to be converted in the first text material according to preset text conversion attributes corresponding to the text categories.
[0086] S340: 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.
[0087] S350: Determine a second text material based on the second language converted text.
[0088] Specifically, the content that does not need to be converted in the first text material and the second language converted text may be combined to determine the second text material.
[0089] 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.
[0090] S370. Generate a second video editing template based on the first video editing draft marked with replaceable materials; and display the first video editing template or the second video editing template in a language matching the application environment language according to the application environment language in which the video editing template is displayed or applied.
[0091] In some embodiments, the second video editing template is the video editing template corresponding to the first video editing draft without text conversion. During template creation, multiple video editing templates can be generated based on the first video editing draft. For example, if the first text material is converted into multiple versions such as a second language text material and a third language text material, multiple video editing templates can be generated accordingly.
[0092] Based on the language of the application environment in which the video editing template is displayed or applied, the video editing template may be displayed in a language matching the language of the application environment. For example, if the terminal system used by the creator of the target video editing template switches from a first language to a second language, the second language version of the video editing template will be displayed preferentially when the creator browses the video editing template.
[0093] S380. In response to the template version switching operation, switch to display the first video editing template or the second video editing template.
[0094] In this embodiment, the video processing application system automatically prioritizes displaying a certain language version of the video editing template to the user, and also provides the user with a function of switching between different versions of templates.
[0095] For example, the template details page of a video editing template shown in Figure 5 is provided with multiple template interaction options. The specific interaction items can be set according to specific needs. The schematic diagram of the details page is applicable to the situation where the creators of the video editing template and ordinary users who are not creators preview the template. Among them, the "language" control corresponds to the template language conversion function, which can enter the next level option menu item. In the next level "language" menu item, you can set whether to display multiple language versions. If this item is turned on, it can provide the user with any 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. If this item is turned off, only the source language version of the target video editing template will be displayed.
[0096] Furthermore, in this 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; based on the consumption information of the first video editing template and the consumption information of the second video editing template, the target consumption information used to represent the usage of the target video editing template is determined; 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 is performed based on a video editing draft of the user to generate multiple video editing templates in different language versions, the consumption statistics of the video editing templates in different language versions can be accumulated respectively as the total consumption statistics of the template corresponding to the video editing draft, and this information can be displayed to the user to encourage the user's video creation.
[0097] The technical solution of the embodiment of the present disclosure is as follows: when entering the publishing setting page of the video editing template, determining the enabled state of the template language conversion function; when the enabled state is the function-on state, determining the second language according to the function configuration attribute information of the template language conversion function; identifying the text category 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; inputting the text content to be converted into the preset text conversion model corresponding to the second language to obtain the second language converted text; marking the replaceable material in the first video editing draft, and performing 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; generating a second video editing template based on the first video editing draft marked with the replaceable material; according to the application environment language of displaying or applying the video editing template, displaying the first video editing template or the second video editing template in the language matching the application environment language; in response to the template version switching operation, switching to display the first video editing template or the second video editing template. In this way, the technical solution of the embodiment of the present disclosure makes up for the defect in the current video processing application that the function of automatically generating a cross-language video editing template with a language different from that of the video editing draft is provided, and provides an automatic translation function of the video editing draft. It can automatically convert the language of the text material in the video editing draft before the source language video editing template is released, efficiently generate a cross-language version of the video editing draft, improve the efficiency of creating and exporting multi-language versions of video editing templates, and at the same time expand the audience range of the video editing template.
[0098] Figure 6 illustrates a video editing device provided by an embodiment of the present disclosure. This device is suitable for video editing scenarios, particularly for video editing based on multilingual video editing templates. The video editing device can be implemented in software and / or hardware and can be configured on an electronic device, such as a mobile terminal, a PC, or a server.
[0099] As shown in FIG6 , the video editing apparatus includes: an original video editing draft obtaining module 410 , a replaceable material determining module 420 , a text material converting module 430 and a video editing template generating module 440 .
[0100] In some embodiments, the original video editing draft acquisition module 410 is used 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 the editing operation on the multimedia material, the multimedia material includes a first video material and a first text material, and the first text material is used to present text content in a first language. The replaceable material determination module 420 is used to determine the replaceable material in the first video material. The text material conversion module 430 is used to generate a second text material based on the first text material by converting the text content in the first language into text content in a second language. The video editing template generation module 440 is used 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video.
[0101] The technical solution of the embodiment of the present disclosure is as follows: obtaining a first video editing draft; the first video editing draft includes multimedia material and editing information, the editing information is used to indicate the editing operation for the multimedia material, the multimedia material includes a first video material and a first text material, the first text material is used to present the text content in a first language; determining the replaceable material in the first video material; based on the first text material, generating a second text material by converting the text content in the first language into text content in a second language; 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video. In this way, the technical solution of the embodiment of the present disclosure makes up for the defect in the current video processing application that the function of automatically generating a cross-language video editing template with a language different from that of the video editing draft is provided, and provides a text conversion function of the video editing draft, which can automatically perform language conversion of the text material in the video editing draft before the source language video editing template is released, efficiently generate a cross-language version of the video editing draft, improve the efficiency of creating and exporting multi-language versions of video editing templates, and at the same time expand the audience range of the video editing template.
[0102] In an optional embodiment, the video editing device also includes a text material conversion function determination module, which is used to: before generating the second text material, when entering the publishing settings page of the video editing template, determine the enabled state of the template language conversion function; when the enabled state is a function-on state, determine the second language according to the function configuration attribute information of the template language conversion function, wherein the second language includes at least one language different from the first language.
[0103] In an optional embodiment, the text material conversion module 430 can be specifically used to: identify the text category of each text content in the first text material; determine the text content to be converted in the first text material based on the preset text conversion attribute corresponding to the text category; 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; and generate a second text material based on the non-converted text content in the first text material and the second language converted text.
[0104] In an optional implementation, the video editing template generation module 440 may also be used to: perform content display effect adaptation processing on the first video material and the second text material in the first video editing draft.
[0105] In an optional embodiment, the video editing template device also includes a template language conversion function setting module, which is used to: set a template language conversion function control on the publishing settings page and the template details page of the first video editing template respectively; in response to the interactive operation obtained by the template language conversion function control, set the enabled state of the template language conversion function and / or set the configuration attribute information of the template language conversion function.
[0106] In an optional embodiment, the video editing template device also includes a template display module, which is used to: generate a second video editing template based on the first video editing draft marked with replaceable materials; and display the first video editing template or the second video editing template in a language matching the application environment language according to the application environment language in which the video editing template is displayed or applied.
[0107] In an optional implementation, the template display module may also be configured to: in response to a template version switching operation, switch and display the first video editing template or the second video editing template.
[0108] In an optional embodiment, the video editing template device also includes a template consumption data statistics module, which is used to: determine the consumption information of the first video editing template based on the usage of the first video editing template, and determine the consumption information of the second video editing template based on the usage of the second video editing template; determine target consumption information used to represent the usage of the 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.
[0109] The video editing device provided by the embodiments of the present disclosure can execute the video editing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0110] 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.
[0111] FIG7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG7 , a schematic diagram of the structure of an electronic device (e.g., a terminal device or server in FIG7 ) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG7 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0112] As shown in FIG7 , the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. 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 via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 505.
[0113] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 7 shows the electronic device 500 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0114] 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 includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 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 method of the embodiment of the present disclosure are performed.
[0115] 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.
[0116] The electronic device provided by the embodiment of the present disclosure and the video editing method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0117] The embodiments of the present disclosure further provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the video editing method provided by the above embodiments is implemented.
[0118] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, 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 that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport 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 thereof.
[0119] In some embodiments, the client and server can communicate using any currently known or later 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 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 later developed network.
[0120] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0121] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device is enabled to: obtain a first video editing draft; the first video editing draft includes multimedia materials and editing information, and the editing information is used to indicate the editing operation on the multimedia material, and the multimedia material includes a first video material and a first text material, and the first text material is used to present text content in a first language; determine the replaceable material in the first video material; based on the first text material, generate a second text material by converting the text content in the first language into text content in a second language; 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video.
[0122] 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 stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the 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).
[0123] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two 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 box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0124] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0125] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and 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 chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0126] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A 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, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can 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.
[0127] An embodiment of the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor, implements the video editing method provided in any embodiment of the present disclosure.
[0128] The computer program product, during implementation, may be written in one or more programming languages, or a combination thereof, for performing the operations of the present disclosure and may include computer program code written in 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 stand-alone 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 via 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., via the Internet using an Internet service provider).
[0129] According to one or more embodiments of the present disclosure, [Example 1] provides a video editing method, which includes: obtaining a first video editing draft; the first video editing draft includes multimedia materials and editing information, the editing information is used to indicate editing operations 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; determining replaceable materials in the first video material; based on the first text material, generating a second text material by converting the text content in the first language into text content in a second language; 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video.
[0130] According to one or more embodiments of the present disclosure, [Example 2] provides a video editing method, which also includes: in some optional implementations, before generating the second text material, the method also includes: when entering the publishing settings page of the video editing template, determining the enabled state of the template language conversion function; when the enabled state is the function-on state, determining the second language according to the function configuration attribute information of the template language conversion function, wherein the second language includes at least one language different from the first language.
[0131] According to one or more embodiments of the present disclosure, [Example Three] provides a video editing method, including: in some optional implementations, generating a second text material by converting text content in the first language into text content in a second language, including: identifying the text category of each text content in the first text material; determining the text content to be converted in the first text material according to the preset text conversion attribute corresponding to the text category; inputting the text content to be converted into a preset text conversion model corresponding to the second language to obtain a second language converted text; generating the second text material based on the non-converted text content in the first text material and the second language converted text.
[0132] According to one or more embodiments of the present disclosure, [Example Four] provides a video editing method, which also includes: in some optional implementation methods, 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, and also includes: adapting the first video material and the second text material in the first video editing draft to the content display effect.
[0133] According to one or more embodiments of the present disclosure, [Example Five] provides a video editing method, which also includes: in some optional implementations, the method further includes: setting a template language conversion function control on the publishing settings page and the template details page of the first video editing template respectively; in response to the interactive operation obtained by the template language conversion function control, setting the enabled state of the template language conversion function and / or setting the configuration attribute information of the template language conversion function.
[0134] According to one or more embodiments of the present disclosure, [Example Six] provides a video editing method, which also includes: in some optional implementations, the method also includes: generating a second video editing template based on a first video editing draft marked with replaceable materials; and displaying the first video editing template or the second video editing template in a language matching the application environment language according to the application environment language in which the video editing template is displayed or applied.
[0135] According to one or more embodiments of the present disclosure, [Example 7] provides a video editing method, which also includes: in some optional implementations, the method also includes: in response to a template version switching operation, switching to display the first video editing template or the second video editing template.
[0136] According to one or more embodiments of the present disclosure, [Example Eight] provides a video editing method, which also includes: in some optional implementations, the method also includes: determining the consumption information of the first video editing template based on the usage of the first video editing template, and determining the consumption information of the second video editing template based on the usage of the second video editing template; determining target consumption information used to represent the usage of the 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.
[0137] According to one or more embodiments of the present disclosure, [Example Nine] provides a video editing device, including: an original video editing draft acquisition module, used to acquire a first video editing draft; the first video editing draft includes multimedia materials and editing information, the editing information is used to indicate the 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; a replaceable material determination module, used to determine the replaceable material in the first video material; a text material conversion module, used to generate a second text material based on the first text material by converting the text content in the first language into text content in a second language; a video editing template generation module, used 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; wherein the first video editing template is used to import the second video material to replace the replaceable material to generate a second video editing draft; the second video editing draft is used to synthesize the target video.
[0138] According to one or more embodiments of the present disclosure, [Example 10] provides a video editing device, further comprising: in an optional implementation, the video editing device further comprises a text material conversion function determination module, which is used to: before generating the second text material, when entering the publishing settings page of the video editing template, determine the enabled state of the template language conversion function; when the enabled state is a function-on state, determine the second language according to the function configuration attribute information of the template language conversion function, wherein the second language includes at least one language different from the first language.
[0139] According to one or more embodiments of the present disclosure, [Example 11] provides a video editing device, further including: in an optional implementation, the text material conversion module can be specifically used to: identify the text category of each text content in the first text material; determine the text content to be converted in the first text material according to the preset text conversion attribute corresponding to the text category; 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; generate a second text material based on the non-converted text content in the first text material and the second language converted text.
[0140] According to one or more embodiments of the present disclosure, [Example 12] provides a video editing device, which also includes: in an optional implementation, the video editing template generation module can also be used to: adapt the first video material and the second text material in the first video editing draft for content display effects.
[0141] According to one or more embodiments of the present disclosure, [Example 13] provides a video editing device, further comprising: in an optional embodiment, the video editing template device further comprises a template language conversion function setting module, which is used to: set a template language conversion function control on the publishing settings page and the template details page of the first video editing template respectively; in response to the interactive operation obtained by the template language conversion function control, set the enabled state of the template language conversion function and / or set the configuration attribute information of the template language conversion function.
[0142] According to one or more embodiments of the present disclosure, [Example 14] provides a video editing device, further including: in an optional implementation, the video editing template device also includes a template display module, which is used to: generate a second video editing template based on a first video editing draft marked with replaceable materials; and display the first video editing template or the second video editing template in a language matching the application environment language according to the application environment language in which the video editing template is displayed or applied.
[0143] According to one or more embodiments of the present disclosure, [Example 15] provides a video editing device, further including: in an optional implementation, the template display module can also be used to: switch and display the first video editing template or the second video editing template in response to a template version switching operation.
[0144] According to one or more embodiments of the present disclosure, [Example 16] provides a video editing device, further comprising: in an optional embodiment, the video editing template device further comprises a template consumption data statistics module, which is used to: determine the consumption information of the first video editing template based on the usage of the first video editing template, and determine the consumption information of the second video editing template based on the usage of the second video editing template; determine target consumption information used to represent the usage of the 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.
[0145] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. 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 the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0146] 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 have been 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.
[0147] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should 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 merely example forms of implementing the claims.
Claims
1. A video editing method, comprising: Get the first video edit draft; The first video editing draft includes multimedia material and editing information, where the editing information is used to indicate an editing operation on the multimedia material, where the multimedia material includes a first video material and a first text material, where the first text material is used to present text content in a first language; Determining replaceable material in the first video material; Based on the first text material, generating a second text material by converting text content in the first language into text content in a second language; 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; Among them, the first video editing template is used to import the second video material to replace the replaceable material and generate a second video editing draft; the second video editing draft is used to synthesize the target video.
2. The method according to claim 1, wherein: Before generating the second text material, the method further includes: When entering the Publishing Settings page for a video editing template, determine the enabled state of the template language conversion feature; When the activation state is a function-on state, the second language is determined according to the function configuration attribute information of the template language conversion function, wherein the second language includes at least one language different from the first language.
3. The method according to claim 1 or 2, wherein: The step of generating a second text material by converting the text content in the first language into the text content in the second language includes: Identifying the text category of each text content in the first text material; Determining the text content to be converted in the first text material according to the preset text conversion attribute corresponding to the text category; Inputting the text content to be converted into a preset text conversion model corresponding to the second language to obtain a second language converted text; A second text material is generated based on the non-converted text content in the first text material and the second language converted text.
4. The method according to claim 1, wherein: The step of 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 further includes: The first video material and the second text material in the first video editing draft are adapted for content display effects.
5. The method according to claim 2, wherein: The method further comprises: Set a template language conversion function control on the publishing settings page and the template details page of the first video editing template respectively; In response to the interactive operation acquired by the template language conversion function control, the enabling state of the template language conversion function is set and / or the configuration property information of the template language conversion function is set.
6. The method according to claim 1, wherein: The method further comprises: Generate a second video editing template based on the first video editing draft marked with replaceable materials; According to the application environment language in which the video editing template is displayed or applied, the first video editing template or the second video editing template in a language version matching the application environment language is displayed.
7. The method according to claim 6, wherein: The method further comprises: In response to the template version switching operation, the first video editing template or the second video editing template is switched for display.
8. The method according to 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; Determining target consumption information for indicating usage of a target video editing template according to the consumption information of the first video editing template and the consumption information of the second video editing template; The target video editing template represents any video editing template generated based on the first video editing draft.
9. A video editing device, comprising: The original video editing draft obtaining module is used to obtain the first video editing draft; The first video editing draft includes multimedia material and editing information, where the editing information is used to indicate an editing operation on the multimedia material, where the multimedia material includes a first video material and a first text material, where the first text material is used to present text content in a first language; A replaceable material determining module, used to determine replaceable materials in the first video material; a text material conversion module, 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; A video editing template generating module, used for 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 the second video material to replace the replaceable material. Replacement is performed to generate a second video editing draft; the second video editing draft is used to synthesize the target video.
10. An electronic device, comprising: 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 editing method as described in any one of claims 1-8.
11. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the video editing method according to any one of claims 1 to 8 is implemented.
12. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the video editing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Video generating method and device
CN104869328A
Oral broadcasting video generation method and device, electronic equipment and storage medium
CN113411655A
Video editing method and device, equipment and storage medium
CN115442539A
Subtitle editing method and device, electronic equipment and storage medium
CN116095421A
Template-based multimedia editor and editing method thereof
US20070083851A1