Media content generation method and device, electronic equipment and readable storage medium

By extracting and synthesizing image features in the video call and shooting preview interface, the problem of media content generation in video call scenarios is solved, and automated media content synthesis and display effects are achieved.

CN119233081APending Publication Date: 2024-12-31VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411366941.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In video call scenarios, it is difficult for the prior art to effectively generate media content, especially to synthesize and process images or videos between video call interfaces and shooting preview interfaces.

Method used

By displaying the video call interface and the shooting preview interface on an electronic device, receiving user input, extracting and combining the image features in the video call interface and the image features in the shooting preview interface, using an image recognition algorithm to perform image synthesis or video synthesis, and generating Target image or video content.

Benefits of technology

It realizes simplifying user operations in video call scenarios, automatically extracting and synthesizing media content, and improving the convenience of remote joint shooting in video calls and the display effect of media content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233081A_ABST
    Figure CN119233081A_ABST
Patent Text Reader

Abstract

The invention discloses a media content generation method and device, electronic equipment and a readable storage medium. The media content generation method comprises the following steps: receiving a first input under the condition of displaying a video call interface and a shooting preview interface; in response to the first input, generating media content according to the first image feature and the second image feature; wherein the first image feature comprises at least part of image features displayed in the video call interface, and the second image feature comprises at least part of image features displayed in the shooting preview interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a media content generation method, device, electronic equipment and readable storage medium. Background Art

[0002] With the advancement of technology, more and more users can generate media content through electronic devices, for example, by turning on the camera to take photos, videos, etc. How to generate media content in the video call scenario is a problem to be solved. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a media content generation method, device, electronic device and readable storage medium to solve the problem of how to generate media content in a video call scenario.

[0004] In a first aspect, an embodiment of the present application provides a method for generating media content, comprising: receiving a first input while displaying a video call interface and a shooting preview interface; generating media content based on a first image feature and a second image feature in response to the first input; wherein the first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

[0005] In a second aspect, an embodiment of the present application provides a media content generation device, comprising: a receiving module for receiving a first input while displaying a video call interface and a shooting preview interface; a generating module for generating media content in response to the first input based on a first image feature and a second image feature; wherein the first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

[0006] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.

[0007] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.

[0008] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.

[0009] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.

[0010] In an embodiment of the present application, when the electronic device displays a video call interface and a shooting preview interface, the user performs a first input on the electronic device, enabling the electronic device to generate media content based on the first image feature and the second image feature, thereby achieving the generation of media content in a video call scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A schematic diagram showing a process flow of a media content generation method provided in some embodiments of the present application;

[0012] Figure 2 One of the display interface schematic diagrams provided in some embodiments of the present application is shown;

[0013] Figure 3 A second schematic diagram of a display interface provided in some embodiments of the present application is shown;

[0014] Figure 4 A third schematic diagram of a display interface provided in some embodiments of the present application is shown;

[0015] Figure 5 A fourth schematic diagram of a display interface provided in some embodiments of the present application is shown;

[0016] Figure 6 A fifth display interface schematic diagram provided in some embodiments of the present application is shown;

[0017] Figure 7 A sixth schematic diagram of a display interface provided in some embodiments of the present application is shown;

[0018] Figure 8 A schematic block diagram of a media content generating device provided in some embodiments of the present application is shown;

[0019] Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present application is shown;

[0020] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present application is shown. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0023] The following is combined with Figures 1 to 10 , the media content generation method, device, electronic device and readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0024] In some embodiments of the present application, a method for generating media content is provided. Figure 1 FIG. 1 is a flow chart showing a method for generating media content provided in some embodiments of the present application. Figure 1 As shown, the media content generation method includes:

[0025] Step 102, receiving a first input when the call interface and the shooting preview interface are displayed;

[0026] In an embodiment of the present application, when a user uses an electronic device to make a video call with a communication object, the video call content received by the electronic device in the video call interface is the video content transmitted to the electronic device by the communication object, and the shooting preview content is displayed in the shooting preview interface.

[0027] When a user makes a video call through an electronic device, the electronic device can display the video call content received from the other end of the call and the shooting preview content obtained by the camera module of the electronic device through the video call interface and the shooting preview interface respectively.

[0028] It should be noted that in a scenario where a user makes a video call with a video call partner through an electronic device, the electronic device displays a video call interface and a shooting preview interface. The video call interface displays the video content transmitted by the video call partner, and the shooting preview interface displays the video content captured by the local camera of the electronic device.

[0029] Figure 2 One of the display interface schematic diagrams provided in some embodiments of the present application is shown, such as Figure 2 As shown, a shooting preview screen is displayed in the main window 202, and a floating window 204 is also displayed in the main window 202, and a video call screen 206 received by the electronic device is displayed in the floating window 204. Among them, the main window 202 is a shooting preview interface, and the floating window 204 is a video call interface.

[0030] Step 104, in response to the first input, generating media content according to the first image feature and the second image feature;

[0031] The first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

[0032] In the embodiment of the present application, the first input is used to trigger the extraction of the first image feature in the video call interface and the extraction of the second image feature in the shooting preview interface, and the generation of media content based on the extracted first image feature and the second image feature. Specifically, the media content can be video content or image content.

[0033] Exemplarily, the media content is a target image. When the call interface and the shooting preview interface are displayed, before receiving the first input, the media content generation method further includes: receiving a second input to the first mode control in the shooting preview interface, and in response to the second input, running a first combination mode, the first combination mode is used to generate image content; corresponding to the first input, generating media content, including: in response to the first input, performing image synthesis processing on the first image feature and the second image feature to obtain the target image.

[0034] The user performs a second input on the first mode control to trigger the electronic device to run the image combination mode, that is, the generated media content includes the target image. After running the image combination mode, the electronic device performs image synthesis based on the extracted first image features and second image features in response to the first input, thereby generating the target image.

[0035] Figure 3 FIG. 2 shows a second schematic diagram of a display interface provided in some embodiments of the present application, such as Figure 3As shown, during the display of the video call interface 302 and the shooting preview interface 304, the "image framing" button 306 is displayed, and the user clicks the "image framing" button 306 to run the first framing mode. In the first framing mode, the shooting preview interface 304 displays a shooting preview screen and a photo button 308, and the shooting preview screen includes a first image feature 310 and a second image feature 312. The user can generate a target image by clicking the photo button 308. Among them, the "image framing" button 306 is a first mode control, and the user's single click operation on the "image framing" button 306 is a second input.

[0036] Exemplarily, the media content is a target video. When the call interface and the shooting preview interface are displayed, before receiving the first input, the media content generation method also includes: receiving a third input to the second mode control in the shooting preview interface, and in response to the third input, running the second co-shooting mode, the second co-shooting mode is used to generate video content; corresponding to the first input, generating media content, including: in response to the first input, synthesizing the first video and the second video to obtain the target video, wherein the first video includes the video displayed in the video call interface, and the first video includes the first image feature, and the second video includes the video displayed in the shooting preview interface, and the second video includes the second image feature.

[0037] The user performs a third input on the second mode control to trigger the electronic device to run the video co-production mode, that is, the generated media content includes the target video. After running the video co-production mode, the electronic device performs video synthesis processing based on the extracted first video and second video in response to the first input, thereby generating the target video. It should be noted that the first input can be a long press input, and the start time of the user's execution of the first input is used as the start time of recording the target video, that is, the first video and the second video are synchronously started to be recorded at this input time, and the end time of the user's execution of the first input is used as the end time of recording the target video, that is, the recording of the first video and the second video is synchronously stopped at the end time.

[0038] Figure 4 FIG. 3 shows a third schematic diagram of a display interface provided in some embodiments of the present application, such as Figure 4 As shown, in the process of displaying the video call interface 402 and the shooting preview interface 404, a "video co-shooting" button 406 is displayed. The user clicks the "video co-shooting" button 406 to run the video co-shooting mode. In the image co-shooting mode, the shooting preview interface 404 displays a shooting preview screen and a recording button 408, and the shooting preview screen includes a first image feature 410 and a second image feature 412. The user can generate a target video by clicking the recording button 408. Among them, the "video co-shooting" button 406 is a second mode control, and the user's single click operation on the "video co-shooting" button 406 is a third input.

[0039] Exemplarily, the first image feature and the second image feature include but are not limited to portrait features, landscape features, etc. For example, the first image feature may be a foreground portrait feature in a video call interface, and the second image feature may be a background landscape image in a shooting preview interface.

[0040] In an embodiment of the present application, when the electronic device displays a video call interface and a shooting preview interface, the user performs a first input on the electronic device, enabling the electronic device to generate media content based on the first image feature and the second image feature, thereby achieving the generation of media content in a video call scenario.

[0041] In some embodiments of the present application, in response to the first input, generating media content according to the first image feature and the second image feature includes:

[0042] In response to the first input, a first image feature in the video call interface is extracted, and a second image feature in the shooting preview interface is extracted, and media content is generated according to the first image feature and the second image feature.

[0043] In the embodiment of the present application, the first input is used to trigger the electronic device to automatically extract the first image feature in the video call interface and automatically extract the second image feature in the shooting preview interface. Specifically, the electronic device can automatically extract the first image feature and the second image feature based on the image recognition algorithm and automatically synthesize the media content.

[0044] It should be noted that the user can set in advance the manner in which the electronic device extracts the first image feature and the second image feature.

[0045] Exemplarily, when the user selects "Display the portrait of the person being called within the background of the user", the electronic device responds to the first input and extracts the portrait features in the video call interface as the first image features through an image recognition algorithm, and extracts the background environment features in the shooting preview interface as the second image features.

[0046] Exemplarily, if the user selects "Combining the portrait of the caller and the portrait of the caller within the background of the caller", the electronic device responds to the first input, extracts the portrait features and the background environment image in the video call interface as the first image features through an image recognition algorithm, and extracts the portrait features in the shooting preview interface as the second image features.

[0047] In an embodiment of the present application, the electronic device can automatically extract the corresponding first image features and second image features in the video call interface and the shooting preview interface in response to the user's first input, and synthesize media content based on the automatically extracted first image features and second image features, further simplifying the user's operation steps to trigger remote shooting with the video call object.

[0048] In some embodiments of the present application, before generating the media content in response to the first input, the media content generation method further includes:

[0049] In response to a fourth input to the video call interface, displaying a first identifier in the video call interface, where the first identifier is used to mark a first image feature in the video call interface;

[0050] The first image feature is displayed on the shooting preview interface.

[0051] In an embodiment of the present application, the fourth input is used to trigger the display of the first identifier in the video call interface, and the first image feature extracted by the electronic device is marked by the first identifier, so that the user is prompted with the first image feature extracted in the video call interface before starting the shooting.

[0052] Specifically, the user triggers the electronic device to extract the first image feature in the video call interface based on the input feature of the fourth input through the fourth input. Exemplarily, the fourth input includes but is not limited to sliding input, clicking input, and the like.

[0053] Exemplarily, a user performs a sliding input in a video call interface, and the electronic device identifies and extracts a first image feature in the video call interface based on the sliding trajectory of the sliding input, and after extracting the first image feature, displays a first marker in the video call interface. The first marker may be a selection box marker, and the selection box marker is displayed on the middle periphery of the first image feature.

[0054] Figure 5 FIG. 4 shows a fourth schematic diagram of a display interface provided in some embodiments of the present application, such as Figure 5 As shown, a shooting preview screen is displayed in the shooting preview interface 502, and a video call screen 506 received by the electronic device is displayed in the video call interface 504. The user slides and selects in the video call interface 504, and a selection box mark 510 is displayed around the portrait feature 508 in the video call screen 506. Among them, the portrait feature 508 is a first image feature, and the selection box mark 510 is a first mark.

[0055] Exemplarily, a fifth input of the user on the first identifier and the shooting preview interface is received, and the first image feature is displayed in the shooting preview interface in response to the fifth input. The fifth input may be a drag input of the user on the first identifier.

[0056] Figure 6 FIG. 5 shows a fifth schematic diagram of a display interface provided in some embodiments of the present application, such as Figure 6As shown, a first mark 604 is displayed in a video call interface 602, and the first mark 604 marks a first image feature 606. The user drags the first mark 604 to a shooting preview interface 608, so that the first image feature 606 is displayed in the shooting preview interface 608. The user clicks a capture button 610 in the shooting preview interface 608, and media content is generated based on the first image feature 606 and the second image feature 612 displayed in the shooting preview interface 608. Among them, the operation of the user dragging the first mark 604 to the shooting preview interface 608 is the fifth input, and the operation of the user clicking the capture button 610 in the shooting preview interface 608 is the first input.

[0057] In an embodiment of the present application, the user can manually select the first image feature that the electronic device needs to extract in the video call interface through the fourth input, and the electronic device can perform image recognition on the displayed content in the video call interface based on the input feature of the fourth input, so that the extracted first image feature meets the user's expectations.

[0058] In some embodiments of the present application, before generating media content according to the first image feature and the second image feature, the media content generation method also includes: adjusting display parameters of the first image feature; wherein the display parameters include at least one of the following: display size, display position, display ratio; generating media content according to the first image feature and the second image feature includes: generating media content according to the adjusted first image feature and the second image feature.

[0059] In an embodiment of the present application, after the electronic device extracts the first image feature and the second image feature and before synthesizing media content based on the first image feature and the second image feature, the electronic device adjusts the display parameters of the first image feature to improve the degree of matching between the first image feature and the second image feature.

[0060] In the embodiment of the present application, the electronic device can adjust at least one of the display size, display position, display ratio, display resolution, and display color tone of the first image feature according to the second image feature.

[0061] In an embodiment of the present application, the electronic device can adjust the display parameters of the first image in response to the sixth input of the user. The sixth input is used to adjust the display parameters of the first image feature moved to the shooting preview interface, and the display parameters include at least one of display size, display position, and display ratio.

[0062] Exemplarily, the user selects the first image feature by long pressing, and adjusts the display position of the first image feature in the shooting preview interface by dragging.

[0063] Exemplarily, the user drags the edge of the first image feature inward or outward with two fingers to adjust the display size and display ratio of the first image feature.

[0064] Figure 7 FIG. 6 shows a sixth schematic diagram of a display interface provided in some embodiments of the present application, such as Figure 7 As shown, a first image feature 704 and a second image feature 706 are displayed in the shooting preview interface 702 , and the user drags the first image feature 704 to adjust the display position of the first image feature 704 in the shooting preview interface.

[0065] In an embodiment of the present application, after the first image feature is displayed on the shooting preview interface, the electronic device can adjust the display parameters of the first image feature so that the first image feature and the second image feature after the adjustment of the display parameters are more synthesizable, and generate media content based on the first image feature and the second image feature after the adjustment of the display parameters, thereby further improving the display effect of the synthesized media content.

[0066] In some embodiments of the present application, adjusting the display parameters of the first image feature includes:

[0067] The display parameter of the first image feature is adjusted according to the display parameter of the second image feature.

[0068] In an embodiment of the present application, the electronic device is able to identify the display parameters of the second image feature and adjust the display parameters of the first image feature based on the identified display parameters of the second image, so that the electronic device can automatically adjust the display parameters of the first image feature to improve the synthesis effect of the media content.

[0069] Specifically, the display parameter of the second image feature includes at least one of the following: display position, display hue, display resolution, semantics of display content, etc. of the sub-image feature in the second image feature.

[0070] Exemplarily, the first image feature is a portrait feature of a video call object. When the electronic device recognizes that the second image feature is a forest background image through an image recognition algorithm, the extracted portrait feature is scaled according to the size of the trees in the forest background image, the display size of the portrait feature is adjusted, and the display position of the portrait feature is adjusted according to the ground position in the forest background image.

[0071] Exemplarily, the electronic device can also identify display parameters such as resolution and display tone of the second image feature, and adjust the display parameters such as resolution and display tone of the first image feature based on the display parameters of the second image feature.

[0072] In an embodiment of the present application, the electronic device can automatically identify the display parameters of the second image feature, and adaptively adjust the display parameters of the first image feature based on the display parameters of the second image feature, so that the adjusted display parameters of the first image match the display parameters of the second image, thereby improving the display effect of the media content synthesized by the electronic device and further simplifying the operation steps that the user needs to perform.

[0073] In some embodiments of the present application, the first input is an input for a co-shooting control, or the first input is an input for switching the front and rear cameras.

[0074] In an embodiment of the present application, when a user is making a video call with a video call partner, image content is captured by the front camera by default and transmitted to the video call partner. When the user switches the image content capture from the front camera to the rear camera, the electronic device is triggered to extract the first image feature and the second image feature, and generate media content based on the first image feature and the second image feature.

[0075] Exemplarily, a switch control for the user to switch between the front and rear cameras is displayed in the shooting preview interface. The user performs a first input on the switch control to trigger the switching of the front and rear cameras, and triggers the electronic device to extract the first image feature and the second image feature, and generate media content based on the first image feature and the second image feature.

[0076] Exemplarily, the electronic device is a folding screen electronic device, and the user switches the folding screen from an unfolded state to a folded state, thereby triggering the switching of the front and rear cameras, and triggering the electronic device to extract the first image feature and the second image feature, and generate media content based on the first image feature and the second image feature.

[0077] In an embodiment of the present application, when the electronic device displays a video call interface and a shooting preview interface, the display screen also displays a synchronization control. The user performs a first input on the synchronization control to trigger the electronic device to extract the first image feature and the second image feature, and generate media content based on the first image feature and the second image feature.

[0078] Exemplarily, the co-shooting control may be displayed in the video call interface, and the co-shooting control may also be displayed in the shooting preview interface.

[0079] like Figure 2 As shown, the co-shooting control 208 is displayed in the shooting preview interface.

[0080] The media content generation method provided in the embodiment of the present application can be executed by a media content generation device. The media content generation method provided in the embodiment of the present application is described by taking a media content generation device executing the media content generation method as an example.

[0081] In some embodiments of the present application, a media content generation device is provided. Figure 8 FIG. 2 shows a schematic block diagram of a media content generation device provided in some embodiments of the present application. Figure 8 As shown, the media content generating device 800 includes:

[0082] The receiving module 802 is used to receive a first input when the video call interface and the shooting preview interface are displayed;

[0083] A generating module 804, configured to generate media content in response to the first input and according to the first image feature and the second image feature;

[0084] The first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

[0085] In an embodiment of the present application, when the electronic device displays a video call interface and a shooting preview interface, the user performs a first input on the electronic device, enabling the electronic device to generate media content based on the first image feature and the second image feature, thereby achieving the generation of media content in a video call scenario.

[0086] In some embodiments of the present application, the generation module 804 is used to extract a first image feature in the video call interface and a second image feature in the shooting preview interface in response to a first input, and generate media content based on the first image feature and the second image feature.

[0087] In an embodiment of the present application, the electronic device can automatically extract the corresponding first image features and second image features in the video call interface and the shooting preview interface in response to the user's first input, and synthesize media content based on the automatically extracted first image features and second image features, further simplifying the user's operation steps to trigger remote shooting with the video call object.

[0088] In some embodiments of the present application, the content generating device further includes:

[0089] An adjustment module, used for adjusting display parameters of the first image feature;

[0090] The display parameters include at least one of the following: display size, display position, and display ratio;

[0091] The generating module 804 is configured to generate media content according to the adjusted first image feature and second image feature.

[0092] In an embodiment of the present application, after the first image feature is displayed on the shooting preview interface, the electronic device can adjust the display parameters of the first image feature so that the first image feature and the second image feature after the adjustment of the display parameters are more synthesizable, and generate media content based on the first image feature and the second image feature after the adjustment of the display parameters, thereby further improving the display effect of the synthesized media content.

[0093] In some embodiments of the present application, the adjustment module is used to adjust the display parameters of the first image feature according to the display parameters of the second image feature.

[0094] In an embodiment of the present application, the electronic device can automatically identify the display parameters of the second image feature, and adaptively adjust the display parameters of the first image feature based on the display parameters of the second image feature, so that the adjusted display parameters of the first image match the display parameters of the second image, thereby improving the display effect of the media content synthesized by the electronic device and further simplifying the operation steps that the user needs to perform.

[0095] In some embodiments of the present application, the first input is an input for a co-shooting control, or the first input is an input for switching the front and rear cameras.

[0096] In an embodiment of the present application, during a video call between a user and a video call object, the front camera is used by default to capture image content and transmit it to the video call object. When the user switches the image content captured by the front camera to the image content captured by the rear camera, the electronic device is triggered to extract the first image feature and the second image feature, and to generate media content based on the first image feature and the second image feature. When the electronic device displays a video call interface and a shooting preview interface, the display screen also displays a co-timer control, and the user performs a first input on the co-timer control to trigger the electronic device to extract the first image feature and the second image feature, and to generate media content based on the first image feature and the second image feature.

[0097] The media content generating device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0098] The media content generation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0099] The media content generation device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0100] Optionally, an embodiment of the present application further provides an electronic device, which includes a media content generating device as in any of the above embodiments, and thus has all the beneficial effects of the media content generating method in any of the embodiments, which will not be described in detail herein.

[0101] Optionally, an embodiment of the present application further provides an electronic device, Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Fig. 9 As shown, the electronic device 900 includes a processor 902, a memory 904, and a program or instruction stored in the memory 904 and executable on the processor 902. When the program or instruction is executed by the processor 902, each process of the above-mentioned media content generation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0102] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0103] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0104] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009 and a processor 1010 and other components.

[0105] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0106] The user input unit 1007 is used to receive a first input when the video call interface and the shooting preview interface are displayed;

[0107] Processor 1010, configured to generate media content in response to a first input and according to a first image feature and a second image feature;

[0108] The first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

[0109] In an embodiment of the present application, when the electronic device displays a video call interface and a shooting preview interface, the user performs a first input on the electronic device, enabling the electronic device to generate media content based on the first image feature and the second image feature, thereby achieving the generation of media content in a video call scenario.

[0110] Furthermore, the processor 1010 is used to extract a first image feature in the video call interface and a second image feature in the shooting preview interface in response to the first input, and generate media content according to the first image feature and the second image feature.

[0111] In an embodiment of the present application, the electronic device can automatically extract the corresponding first image features and second image features in the video call interface and the shooting preview interface in response to the user's first input, and synthesize media content based on the automatically extracted first image features and second image features, further simplifying the user's operation steps to trigger remote shooting with the video call object.

[0112] Further, the processor 1010 is used to adjust the display parameters of the first image feature;

[0113] The display parameters include at least one of the following: display size, display position, and display ratio;

[0114] The processor 1010 is configured to generate media content according to the adjusted first image feature and second image feature.

[0115] In an embodiment of the present application, after the first image feature is displayed on the shooting preview interface, the electronic device can adjust the display parameters of the first image feature so that the first image feature and the second image feature after the adjustment of the display parameters are more synthesizable, and generate media content based on the first image feature and the second image feature after the adjustment of the display parameters, thereby further improving the display effect of the synthesized media content.

[0116] Further, the processor 1010 is configured to adjust the display parameters of the first image feature according to the display parameters of the second image feature.

[0117] In an embodiment of the present application, the electronic device can automatically identify the display parameters of the second image feature, and adaptively adjust the display parameters of the first image feature based on the display parameters of the second image feature, so that the adjusted display parameters of the first image match the display parameters of the second image, thereby improving the display effect of the media content synthesized by the electronic device and further simplifying the operation steps that the user needs to perform.

[0118] Furthermore, the first input is an input for a co-shooting control, or the first input is an input for switching the front and rear cameras.

[0119] In an embodiment of the present application, during a video call between a user and a video call object, the front camera is used by default to capture image content and transmit it to the video call object. When the user switches the image content captured by the front camera to the image content captured by the rear camera, the electronic device is triggered to extract the first image feature and the second image feature, and to generate media content based on the first image feature and the second image feature. When the electronic device displays a video call interface and a shooting preview interface, the display screen also displays a co-timer control, and the user performs a first input on the co-timer control to trigger the electronic device to extract the first image feature and the second image feature, and to generate media content based on the first image feature and the second image feature.

[0120] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or action file obtained by the image capture device (such as a camera) in the action file capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0121] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0122] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0123] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0124] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0125] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned media content generation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0126] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0127] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned media content generation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0128] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, device, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or device. In the absence of further restrictions, an element defined by the statement "includes one..." does not exclude the presence of other identical elements in the process, device, article or device including the element. In addition, it should be noted that the scope of the devices and apparatuses in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described device may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment device can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the device of each embodiment of the present application.

[0130] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for generating media content, characterized in that: include: When the video call interface and the shooting preview interface are displayed, receiving a first input; In response to the first input, generating media content based on the first image feature and the second image feature; The first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

2. The media content generation method according to claim 1, characterized in that: The step of generating media content in response to the first input and according to the first image feature and the second image feature comprises: In response to the first input, a first image feature in the video call interface is extracted, and a second image feature in the shooting preview interface is extracted, and media content is generated according to the first image feature and the second image feature.

3. The method for generating media content according to claim 1, characterized in that: Before generating the media content according to the first image feature and the second image feature, the media content generating method further includes: adjusting a display parameter of the first image feature; Wherein, the display parameters include at least one of the following: display size, display position, and display ratio; The generating of media content according to the first image feature and the second image feature includes: Media content is generated according to the adjusted first image feature and the second image feature.

4. The method for generating media content according to claim 3, characterized in that: The adjusting the display parameter of the first image feature includes: The display parameter of the first image feature is adjusted according to the display parameter of the second image feature.

5. The method for generating media content according to claim 1, characterized in that: The first input is an input for a co-shooting control, or the first input is an input for switching the front and rear cameras.

6. A media content generating device, characterized in that: include: A receiving module, configured to receive a first input when the video call interface and the shooting preview interface are displayed; A generating module, configured to generate media content in response to the first input and according to the first image feature and the second image feature; The first image feature includes at least part of the image feature displayed in the video call interface, and the second image feature includes at least part of the image feature displayed in the shooting preview interface.

7. The media content generating device according to claim 6, characterized in that: The generation module is used to extract the first image feature in the video call interface and the second image feature in the shooting preview interface in response to the first input, and generate media content according to the first image feature and the second image feature.

8. The media content generating device according to claim 6, characterized in that: Also includes: An adjustment module, used for adjusting display parameters of the first image feature; Wherein, the display parameters include at least one of the following: display size, display position, and display ratio; The generating module is used to generate media content according to the adjusted first image feature and second image feature.

9. The media content generating device according to claim 8, characterized in that: The adjustment module is used to adjust the display parameters of the first image feature according to the display parameters of the second image feature.

10. The media content generating device according to claim 6, characterized in that: The first input is an input for a co-shooting control, or the first input is an input for switching the front and rear cameras.

11. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.

12. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for generating video file in video call

    CN101616295A

  • Photograph synthesizing method and terminal

    CN103716537A