Media content editing method and apparatus, electronic device, storage medium, and program product

WO2026199946A1PCT designated stage Publication Date: 2026-10-01BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/134409
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-25
Filing Date
2025-11-12
Publication Date
2026-10-01

Smart Images

  • Figure CN2025134409_01102026_PF_FP_ABST
    Figure CN2025134409_01102026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a media content editing method and apparatus, an electronic device, a storage medium, and a program product. The method comprises: in response to an import operation on first media content, performing first processing on an initial video comprised in the first media content to generate a first video (101), wherein the first media content further comprises an initial image associated with the initial video, and the frame size of the initial video is smaller than the frame size of the first video; displaying the first video in a video editing page (102); in response to an editing operation on the first video, editing the first video to generate a second video (103); and in response to an export operation on media content, generating edited media content on the basis of the second video (104).
Need to check novelty before this filing date? Find Prior Art

Description

Media content editing methods, apparatus, electronic devices, storage media and program products

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 202510358912.4, filed on March 25, 2025, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] This disclosure relates to a media content editing method, apparatus, electronic device, storage medium, and program product. Background Technology

[0004] As people's living standards continue to improve, still images can no longer meet their shooting needs. Therefore, a dynamic shooting mode for capturing live photos has emerged. Live photos include still cover images and videos that present the dynamic moment of shooting.

[0005] Currently, when shooting animated GIFs, although a 100% screen-size cover image and a corresponding 100% screen-size video are captured, the video edges may be blurry due to the violent shaking of the shooting equipment during image capture, lens and CMOS image stabilization issues, etc. Therefore, the video is cropped to 90% screen-size. When importing LivePhotos into video editing software, the imported video is the cropped 90% screen-size video, and the video in the exported edited animated GIF is also 90% screen-size. When displaying the edited video in the album, due to the album's zoom-in animation, the screen size is further reduced to 90% of the original 90% screen size, ultimately reducing the overall screen size to 81% of the original video.

[0006] As a result, the video size becomes smaller and the presentation quality deteriorates after the animated images are edited by video editing software, which seriously affects the user experience. Summary of the Invention

[0007] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this disclosure provides a media content editing method, apparatus, electronic device, storage medium and program product.

[0008] This disclosure provides a media content editing method, which includes: in response to an import operation of first media content, performing a first processing on an initial video included in the first media content to generate a first video, wherein the first media content also includes an initial image associated with the initial video, and the screen size of the initial video is smaller than the screen size of the first video; displaying the first video on a video editing page; in response to an editing operation of the first video, editing the first video to generate a second video; and in response to an export operation of media content, generating edited media content based on the second video.

[0009] In some embodiments of this disclosure, the video parameters of the initial video include a clean aperture parameter, while the video parameters of the first video do not include the clean aperture parameter, which is used to reduce the aspect ratio of the video.

[0010] In some embodiments of this disclosure, the first processing of the initial video included in the first media content to generate the first video includes: performing a transcoding process on the initial video, and removing the clean aperture parameter from the video parameters of the initial video during the transcoding process to generate the first video.

[0011] In some embodiments of this disclosure, the process of generating edited media content based on a second video in response to an export operation of media content includes: performing a second processing on the second video in response to the export operation of media content to generate a third video, wherein the video parameters of the third video include the clean aperture parameter; and generating edited media content based on the third video.

[0012] In some embodiments of this disclosure, the second processing of the second video in response to the media content export operation to generate the third video includes: transcoding the second video in response to the media content export operation to generate a transcoded second video; encapsulating the transcoded second video, and adding the clean aperture parameter to the video parameters of the transcoded second video during the encapsulation process to generate the third video.

[0013] In some embodiments of this disclosure, the process of generating edited media content based on a second video in response to an export operation of media content includes: updating a second video with a first resolution to a fourth video with a second resolution in response to an export operation of media content; and generating the edited media content based on the fourth video.

[0014] In some embodiments of this disclosure, before performing the first processing on the initial video included in the first media content to generate the first video, the method further includes: determining whether the video parameters of the initial video include the clean aperture parameter; the first processing on the initial video included in the first media content to generate the first video includes: in response to the initial video including the clean aperture parameter in its video parameters, performing the first processing on the initial video to generate the first video.

[0015] In some embodiments of this disclosure, after determining whether the video parameters of the initial video include the clean aperture parameter, the method further includes: in response to the initial video not including the clean aperture parameter, displaying the imported initial video on the video editing page; in response to the editing operation of the initial video, editing the initial video to generate a fifth video; and in response to the export operation of media content, generating edited media content based on the fifth video.

[0016] This disclosure also provides a media content editing apparatus, comprising: a generation module, configured to, in response to an import operation of first media content, perform a first processing on an initial video included in the first media content to generate a first video, wherein the first media content further includes an initial image associated with the initial video, and the screen size of the initial video is smaller than the screen size of the first video; a display module, configured to display the first video on a video editing page; the generation module is further configured to, in response to an editing operation of the first video, perform editing processing on the first video to generate a second video; and in response to an export operation of media content, generate edited media content based on the second video.

[0017] In some embodiments of this disclosure, the video parameters of the initial video include a clean aperture parameter, while the video parameters of the first video do not include the clean aperture parameter, which is used to reduce the aspect ratio of the video.

[0018] In some embodiments of this disclosure, the generation module is specifically used to perform transcoding on the initial video, and during the transcoding process, remove the clean aperture parameter from the video parameters of the initial video to generate a first video.

[0019] In some embodiments of this disclosure, the generation module is specifically used to respond to the export operation of media content, perform a second processing on the second video, generate a third video, the video parameters of the third video including the clean aperture parameter; and generate edited media content based on the third video.

[0020] In some embodiments of this disclosure, the generation module is specifically used to transcode the second video in response to the media content export operation, generate a transcoded second video; encapsulate the transcoded second video, and add the clean aperture parameter to the video parameters of the transcoded second video during the encapsulation process, thereby generating a third video.

[0021] In some embodiments of this disclosure, the generation module is specifically used to update the second video at the first resolution to a fourth video at the second resolution in response to the export operation of media content; and to generate the edited media content based on the fourth video.

[0022] In some embodiments of this disclosure, the apparatus further includes a determining module, configured to determine whether the clean aperture parameter is included in the video parameters of the initial video before performing the first processing on the initial video included in the first media content to generate the first video; the generating module is specifically configured to perform the first processing on the initial video in response to the inclusion of the clean aperture parameter in the video parameters of the initial video to generate the first video.

[0023] In some embodiments of this disclosure, the display module is further configured to, after determining whether the video parameters of the initial video include the clean aperture parameter, display the imported initial video on the video editing page in response to the initial video not including the clean aperture parameter; the generation module is further configured to, in response to the editing operation of the initial video, edit the initial video to generate a fifth video; and in response to the export operation of media content, generate edited media content based on the fifth video.

[0024] This disclosure also provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the media content editing method described above.

[0025] This disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the media content editing method described above.

[0026] This disclosure also provides a computer program product, which includes a computer program. When the computer program product is run on a processor, the processor executes the computer program to implement the media content editing method.

[0027] This disclosure also provides a chip including a processor and a communication interface coupled to the processor, which is used to execute program instructions to implement the media content editing method described above. Attached Figure Description

[0028] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0029] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without any creative effort.

[0030] Figure 1 is one of the flowcharts of the media content editing method provided in this embodiment of the present disclosure;

[0031] Figure 2 is a second schematic flowchart of the media content editing method provided in this embodiment of the present disclosure;

[0032] Figure 3 is a third flowchart illustrating the media content editing method provided in this embodiment of the present disclosure;

[0033] Figure 4 is a structural block diagram of a media content editing device provided in an embodiment of this disclosure; and

[0034] Figure 5 is a structural block diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0035] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0036] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0037] The terms "first," "second," etc., used in this disclosure and in the claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this disclosure can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0038] The following is an explanation of some of the terms or concepts used in the claims and description of this invention.

[0039] A live photo is created by combining a still image captured by the user pressing the shutter button with a pre-set video clip (e.g., 1.5 seconds) that is recorded before or after the still image was captured, or a video clip that includes the still image. When the user presses and holds the live photo, the image will automatically play a dynamic effect, reproducing the dynamic moment when it was captured.

[0040] Clean caperture: A video parameter used to reduce the size of the corresponding video frame.

[0041] Transcoding: This allows video parameters to be rewritten without re-encoding the video data.

[0042] The electronic devices in this disclosure can be mobile electronic devices or non-mobile electronic devices. Mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc.; non-mobile electronic devices can be personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc.; this disclosure does not impose specific limitations.

[0043] The execution subject of the media content editing method provided in this disclosure can be the aforementioned electronic device (including mobile electronic devices and non-mobile electronic devices), or it can be a functional module and / or functional entity in the electronic device that can implement the media content editing method. The specific implementation subject can be determined according to actual usage requirements, and this disclosure does not limit it.

[0044] The media content editing method provided in this disclosure will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0045] As shown in Figure 1, this disclosure provides a media content editing method, which may include the following steps 101 to 104.

[0046] 101. In response to the import operation of the first media content, perform first processing on the initial video included in the first media content to generate the first video.

[0047] The first media content also includes an initial image associated with the initial video, the screen size of which is smaller than that of the first video.

[0048] The first media content can be media content captured by an electronic device or media content downloaded from the network by an electronic device; there is no limitation here.

[0049] The content of the initial image can include any frame of the initial video. The initial image can be taken before or after the initial video is recorded; there are no restrictions on this.

[0050] In some embodiments of this disclosure, the media content can be a dynamic image, which includes an initial image and an initial video. The initial image can be the cover image of the dynamic image.

[0051] The import operation can be a triggered operation that imports the first media content into the video editing page of the video editing software through the import control, or it can be a triggered operation that drags and drops the first media content into the video editing page; there is no limitation here.

[0052] The first processing step can be used to increase the screen size of the initial video by a preset ratio to obtain the first video.

[0053] The preset ratio can be determined based on the actual situation and is not limited here. For example, the preset ratio can be inversely proportional to the zoom level when viewing media content in the corresponding device's operating system.

[0054] 102. Display the first video on the video editing page.

[0055] 103. In response to the editing operation on the first video, edit the first video to generate the second video.

[0056] The editing operations can include triggering operations such as adding subtitle text, picture-in-picture, non-subtitle text, stickers, effects, filters, material packs, and background music to the first video, which are not limited here.

[0057] 104. In response to the media content export operation, generate the edited media content based on the second video.

[0058] In some embodiments of this disclosure, a target video frame may be extracted from a second video, and then the target video frame may be used as a cover image and combined with the second video to form edited media content.

[0059] In some embodiments of this disclosure, the editing effect corresponding to the editing operation of the target video frame extracted from the second video can be applied to the initial cover image of the first media content to obtain the edited initial cover image. The edited initial cover image is then used as the cover image and combined with the second video to form the edited media content.

[0060] The target video frame can be a video frame specified by the user, a video frame randomly selected from the second video, or a video frame selected from the second video according to a preset strategy; there is no limitation here.

[0061] The preset strategy may include extracting highlight frames from the second video and selecting the frame from the second video that best matches the content of the first cover image as the target video frame. The specific strategy can be determined according to the actual situation and is not limited here.

[0062] The process involves scoring each frame of the second video individually, with the frame receiving the highest score being designated as the highlight frame. The scoring considers factors such as composition, color, and aesthetics of the video frames.

[0063] In this embodiment of the disclosure, since the initial video is processed and its screen size is increased during the import of the video editing page, the screen size of the edited video can be guaranteed to be larger. This allows the exported edited media content generated based on the second video to improve the problem of the screen size of the media content shrinking before and after editing by the video editing software. Therefore, it can improve the presentation effect of the media content before and after editing by the video editing software to a certain extent, and improve the user experience.

[0064] In some embodiments of this disclosure, the video parameters of the initial video include a clean aperture parameter, while the video parameters of the first video do not include the clean aperture parameter, which is used to reduce the aspect ratio of the video.

[0065] The video frame size can also be described as the video's angle of view, and the clean aperture parameter is used to reduce the video's angle of view. In this embodiment, the angle of view reduction refers to the reduction in frame size due to cropping the frame boundaries. In other words, the initial video has less frame content than the first video, and the initial video's frame content is a portion of the first video's frame content.

[0066] The clean aperture parameter is used to modify the initial video from a first frame size to a second frame size. For example, the first frame size can be 100% of the frame size, and the second frame size can be 90% of the frame size.

[0067] For example, the raw data of the initial video is 100% screen size, but since the video parameters of the initial video include a clean aperture parameter, the initial video is 90% screen size.

[0068] In some embodiments of this disclosure, before generating edited media content based on the second video, the video resolution of the second video may be adjusted, a clean aperture parameter may be added to the video parameters of the second video, and other feasible processing may be performed on the second video. The specific processing can be determined according to the actual situation and is not limited here.

[0069] In this embodiment, the fundamental reason for the reduced screen size is that when the shooting device captures media content, although it captures a cover image and a corresponding 100% screen size video, if the shooting device shakes violently during the image capture, issues such as lens and CMOS image stabilization may cause blurry video edges. Therefore, the shooting device crops the video to 90% screen size. This cropping is achieved by writing clean aperture parameters into the video data, without actually cropping the original video data. Therefore, in order to restore the video aspect ratio, the clean aperture parameters can be removed by transcoding during the import and editing process, so that the edited video is 100% screen size. Thus, when displayed in the album, after the screen size is reduced to 90%, it is the same as the original 90% screen size, and the presentation effect is consistent.

[0070] In this embodiment, during the import of the video editing page, the initial video undergoes a first processing step to remove the clean aperture parameter, resulting in a first video that does not include the clean aperture parameter. This essentially restores the initial video to a 100% screen size. Therefore, by editing the first video to generate the second video, it is ensured that the video maintains a 100% screen size during both import and editing processes. This allows for the export of edited media content generated from the second video. Since the screen size of the media content remains unchanged before and after editing with the video editing software, the presentation effect of the media content does not deteriorate, thus improving the user experience.

[0071] In some embodiments of this disclosure, step 101 described above may be to generate a first video that does not include clean aperture parameters by transcoding the initial video.

[0072] In some embodiments of this disclosure, as shown in FIG1 and FIG2, the above step 101 can be specifically implemented by the following step 101a.

[0073] 101a. Perform transcoding on the initial video, and remove the clean aperture parameter from the video parameters of the initial video during the transcoding process to generate the first video.

[0074] In this embodiment of the disclosure, by performing a transcoding process, the clean aperture parameter in the video parameters of the initial video is removed during the transcoding process, and a first video with 100% screen size can be obtained. In this way, the clean aperture parameter can be removed without transcoding the initial video, and a first video with 100% screen size can be obtained, which can improve processing efficiency.

[0075] In some embodiments of this disclosure, as shown in FIG2 and FIG3, the above step 104 can be specifically implemented by the following steps 104a and 104b.

[0076] 104a. In response to the media content export operation, perform a second processing on the second video to generate a third video.

[0077] The third video includes this clean aperture parameter in its video parameters.

[0078] 104b. Generate edited media content based on the third video.

[0079] In this embodiment of the disclosure, when exporting media content, a clean aperture parameter is added to the video parameters to ensure that the format of the media content after exporting to the video editing software (i.e., the format of the edited media content) is consistent with the format before importing into the video editing software (the format of the first media content). Both are original data screen sizes of 100% screen size. By adding the clean aperture parameter, the screen size is reduced to 90% of the screen size. This ensures that when sharing to other social media platforms, the presentation effect before editing (video editing software editing) is consistent with the presentation effect after editing. Alternatively, the presentation effect of the media content after editing by the video editing software is consistent with the presentation effect of the media content captured by the shooting device.

[0080] In some embodiments of this disclosure, step 104a can be specifically implemented through the following steps 104a1 and 104a2.

[0081] 104a1. In response to the media content export operation, the second video is transcoded to generate the transcoded second video.

[0082] 104a2. The transcoded second video is encapsulated, and the clean aperture parameter is added to the video parameters of the transcoded second video during the encapsulation process to generate the third video.

[0083] In this embodiment, the second video is first transcoded, then encapsulated, and during the encapsulation process, the clean aperture parameter is added to the video parameters of the transcoded second video to generate the third video. This allows for the rapid generation of a third video including the clean aperture parameter. Compared to transcoding and encapsulating the second video first, and then adding the clean aperture parameter to the transcoded and encapsulated video, this method improves processing efficiency.

[0084] In some embodiments of this disclosure, step 104 can be specifically implemented through steps 104c and 104d.

[0085] 104c. In response to the media content export operation, update the second video at the first resolution to a fourth video at the second resolution.

[0086] The second resolution may be smaller than or larger than the first resolution, depending on the actual usage, and is not limited here.

[0087] 104d. Based on the fourth video, generate the edited media content.

[0088] In this embodiment of the disclosure, during the process of exporting media content, the video resolution can be adjusted according to actual usage needs, thereby meeting application requirements and user needs.

[0089] In some embodiments of this disclosure, before step 101 above, the media content editing method provided by the embodiments of this disclosure may further include step 105 below, and step 101 above can be specifically implemented by step 101b below.

[0090] 105. Determine whether the clean aperture parameter is included in the video parameters of the initial video.

[0091] 101b. In response to the inclusion of the clean aperture parameter in the video parameters of the initial video, the initial video is subjected to a first processing to generate a first video.

[0092] In this embodiment of the disclosure, during the import of the initial video, it can be first determined whether the video parameters of the initial video include the clean aperture parameter. If the video parameters of the initial video include the clean aperture parameter, then the initial video undergoes a first processing step to generate a first video. This avoids performing the first processing step on initial videos that do not include the clean aperture parameter, thus improving processing efficiency.

[0093] In some embodiments of this disclosure, before step 105 described above, the media content editing method provided in the embodiments of this disclosure may further include steps 106 to 108 as described below.

[0094] 106. In response to the fact that the clean aperture parameter is not included in the video parameters of the initial video, the imported initial video is displayed on the video editing page.

[0095] 107. In response to the editing operation on the initial video, edit the initial video to generate the fifth video.

[0096] 108. In response to the export operation of media content, generate the edited media content based on the fifth video.

[0097] In this embodiment of the disclosure, the clean aperture parameter may not be included in the video parameters of the initial video. The initial video may be directly imported and edited, and then the edited media content may be generated based on the edited initial video.

[0098] Figure 4 is a structural block diagram of a media content editing device according to an embodiment of this disclosure. As shown in Figure 4, it includes: a generation module 401, used to perform a first processing on an initial video included in the first media content in response to an import operation of the first media content, and generate a first video. The first media content also includes an initial image associated with the initial video, and the screen size of the initial video is smaller than the screen size of the first video; a display module 402, used to display the first video on a video editing page; the generation module 401 is also used to perform editing processing on the first video in response to an editing operation of the first video, and generate a second video; and to generate edited media content based on the second video in response to an export operation of the media content.

[0099] In some embodiments of this disclosure, the video parameters of the initial video include a clean aperture parameter, while the video parameters of the first video do not include the clean aperture parameter, which is used to reduce the aspect ratio of the video.

[0100] In some embodiments of this disclosure, the generation module 401 is specifically used to perform transcoding on the initial video, and during the transcoding process, remove the clean aperture parameter from the video parameters of the initial video to generate a first video.

[0101] In some embodiments of this disclosure, the generation module 401 is specifically used to respond to the media content export operation, perform a second processing on the second video, generate a third video, the video parameters of the third video including the clean aperture parameter; and generate edited media content based on the third video.

[0102] In some embodiments of this disclosure, the generation module 401 is specifically used to transcode the second video in response to the media content export operation, generate a transcoded second video; encapsulate the transcoded second video, and add the clean aperture parameter to the video parameters of the transcoded second video during the encapsulation process to generate a third video.

[0103] In some embodiments of this disclosure, the generation module 401 is specifically used to update the second video of the first resolution to a fourth video of the second resolution in response to the export operation of media content; and to generate the edited media content based on the fourth video.

[0104] In some embodiments of this disclosure, the apparatus further includes a determining module, configured to determine whether the clean aperture parameter is included in the video parameters of the initial video before performing the first processing on the initial video included in the first media content to generate the first video; the generating module 401 is specifically configured to perform the first processing on the initial video in response to the inclusion of the clean aperture parameter in the video parameters of the initial video to generate the first video.

[0105] In some embodiments of this disclosure, the display module 402 is further configured to, after determining whether the video parameters of the initial video include the clean aperture parameter, display the imported initial video on the video editing page in response to the initial video not including the clean aperture parameter; the generation module 401 is further configured to, in response to the editing operation of the initial video, edit the initial video to generate a fifth video; and in response to the export operation of media content, generate edited media content based on the fifth video.

[0106] In this embodiment, each module can implement the media content editing method provided in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0107] Figure 5 is a schematic diagram of an electronic device provided in an embodiment of this disclosure. It is used to illustrate the electronic device that implements any media content editing method in the embodiments of this disclosure and should not be construed as a specific limitation on the embodiments of this disclosure.

[0108] As shown in Figure 5, the electronic device 500 may include a processor (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. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0109] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 500 with various devices is shown, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0110] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this 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 via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processor 501, it can perform the functions defined in any media content editing method provided in embodiments of this disclosure.

[0111] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0112] In some implementations, the client and server can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0113] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0114] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: in response to an import operation of first media content, perform a first processing on an initial video included in the first media content to generate a first video, wherein the first media content also includes an initial image associated with the initial video, and the screen size of the initial video is smaller than the screen size of the first video; display the first video on a video editing page; in response to an editing operation of the first video, edit the first video to generate a second video; and in response to an export operation of media content, generate edited media content based on the second video.

[0115] In embodiments of this disclosure, computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof. These programming languages ​​include, but are not limited to, object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on a computer, partially on a computer, as a standalone software package, partially on a computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0116] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0117] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.

[0118] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0119] In the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0120] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0121] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0122] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for editing media content, comprising: In response to the import operation of the first media content, the initial video included in the first media content is processed to generate a first video. The first media content also includes an initial image associated with the initial video. The screen size of the initial video is smaller than that of the first video. Display the first video on the video editing page; In response to the editing operation on the first video, the first video is edited to generate a second video; In response to the media content export operation, edited media content is generated based on the second video.

2. The method of claim 1, wherein, The initial video's video parameters include a clean aperture parameter, while the first video's video parameters do not include the clean aperture parameter. The clean aperture parameter is used to reduce the video's aspect ratio.

3. The method of claim 2, wherein, The first processing of the initial video included in the first media content to generate the first video includes: The initial video is transcoded, and the clean aperture parameter is removed from the video parameters of the initial video during the transcoding process to generate the first video.

4. The method of claim 2 or 3, wherein, In response to the media content export operation, based on the second video, the edited media content is generated, including: In response to the media content export operation, the second video is processed in a second way to generate a third video, wherein the video parameters of the third video include the clean aperture parameters; Based on the third video, edited media content is generated.

5. The method of claim 4, wherein, The second processing of the second video in response to the media content export operation to generate the third video includes: In response to the media content export operation, the second video is transcoded to generate a transcoded second video; the transcoded second video is encapsulated, and the clean aperture parameter is added to the video parameters of the transcoded second video during the encapsulation process to generate the third video.

6. The method of any one of claims 2 to 5, wherein, Before performing the first processing on the initial video included in the first media content to generate the first video, the method further includes: Determine whether the clean aperture parameter is included in the video parameters of the initial video; The first processing of the initial video included in the first media content to generate the first video includes: In response to the inclusion of the clean aperture parameter in the video parameters of the initial video, the first processing is performed on the initial video to generate the first video.

7. The method according to any one of claims 1 to 6, wherein, In response to the media content export operation, based on the second video, the edited media content is generated, including: In response to the media content export operation, the second video at the first resolution is updated to a fourth video at the second resolution; The edited media content is generated based on the fourth video.

8. A media content editing device, comprising: The generation module is configured to, in response to an import operation of the first media content, perform a first processing on the initial video included in the first media content to generate a first video. The first media content also includes an initial image associated with the initial video, and the screen size of the initial video is smaller than the screen size of the first video. The display module is configured to display the first video on the video editing page; The generation module is also configured to edit the first video in response to an editing operation on the first video, and generate a second video; In response to the media content export operation, edited media content is generated based on the second video.

9. An electronic device comprising a memory and a processor, wherein, The memory is used to store computer programs; the processor is used to execute the media content editing method according to any one of claims 1 to 7 when the computer programs are invoked.

10. A computer readable storage medium storing a computer program, wherein, When the computer program is executed by a processor, it implements the media content editing method according to any one of claims 1 to 7.

11. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the media content editing method according to any one of claims 1 to 7.