CN110198428A - A kind of multimedia file producting method and first terminal - Google Patents
A kind of multimedia file producting method and first terminal Download PDFInfo
- Publication number
- CN110198428A CN110198428A CN201910458112.4A CN201910458112A CN110198428A CN 110198428 A CN110198428 A CN 110198428A CN 201910458112 A CN201910458112 A CN 201910458112A CN 110198428 A CN110198428 A CN 110198428A
- Authority
- CN
- China
- Prior art keywords
- image
- terminal
- video
- group photo
- video pictures
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention provides a kind of multimedia file producting method and first terminal, wherein, the multimedia file producting method includes: the second video pictures of the first video pictures of the camera acquisition that first terminal is obtained when first terminal and second terminal carry out video calling and the camera acquisition of second terminal;Extract the second target object in the first object object and the second video pictures in the first video pictures;Generate the destination multimedia file including first object object and the second target object.The present invention can realize the same frame group photo of target object in first terminal and second terminal in video call process, improve the audiovisual experience in user video call, enhance user experience.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of multimedia file producting methods and first terminal.
Background technique
In mobile internet era, with the promotion and popularization of terminal device, linking up from traditional electricity between user
Voice-enabled chat is talked about, the Video chat using Internet application is evolved as.
Existing video communication tool can only both pictures and texts are excellent vivid chat, same frame when Video chat can not be solved
Continuous shooting, the demand recorded a video with frame, it is difficult to meet user and carry out the group photos shooting need such as take pictures, record a video with frame in video call process
It asks.
Summary of the invention
The present invention provides a kind of multimedia file producting method and first terminal, to solve to be difficult to meet use in the prior art
Family carry out taking pictures, record a video with frame etc. in video call process group photos shooting demand the problem of.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the present invention provides a kind of multimedia file producting method, comprising:
When first terminal and second terminal carry out video calling, the first video of the camera acquisition of first terminal is obtained
Picture and the second video pictures of the camera of second terminal acquisition;
Extract the second target object in the first object object and the second video pictures in the first video pictures;
Generate the destination multimedia file including first object object and the second target object.
Second aspect, the embodiment of the present invention provide a kind of first terminal, comprising:
Module is obtained, for obtaining the camera of first terminal when first terminal and second terminal carry out video calling
Second video pictures of the camera acquisition of the first video pictures and second terminal of acquisition;
Extraction module, for extracting in first object object and the second video pictures in the first video pictures
Two target objects;
Generation module, for generating the destination multimedia file including first object object and the second target object.
The third aspect, the embodiment of the present invention provide a kind of terminal, including processor, and memory stores on a memory simultaneously
The computer program that can be run on a processor, the computer program realize that above-mentioned multimedia file generates when being executed by processor
The step of method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, on computer readable storage medium
It is stored with computer program, the step of which realizes above-mentioned multimedia file producting method when being executed by processor.
In the embodiment of the present invention, by obtaining first terminal when first terminal and second terminal carry out video calling
Second video pictures of the camera acquisition of the first video pictures and second terminal of camera acquisition;Extract the first video picture
The second target object in first object object and the second video pictures in face;Generate includes first object object and the
The destination multimedia file of two target objects can realize target pair in first terminal and second terminal in video call process
The same frame of elephant is taken a group photo, and is improved the audiovisual experience in user video call, is enhanced user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows the flow diagrams of multimedia file producting method provided in an embodiment of the present invention;
Fig. 2 indicates the structural schematic diagram of first terminal provided in an embodiment of the present invention;
Fig. 3 indicates the hardware structural diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
Referring to Figure 1, the flow diagram of multimedia file producting method provided in an embodiment of the present invention is shown,
The embodiment of the present invention provides a kind of multimedia file producting method, is applied to first terminal, may comprise steps of:
Step 101, when first terminal and second terminal carry out video calling, the camera acquisition of first terminal is obtained
First video pictures and the second video pictures of the camera of second terminal acquisition.
In the embodiment of the present invention, first terminal and second terminal can be to support video communication function (such as to support video
It is that communication applications are mounted thereon and with display function) various electronic equipments, for example, first terminal and second terminal can be with
Including but not limited to mobile phone, tablet computer, laptop and desktop computer etc..Wherein, first terminal and the second end
The corresponding camera in end can be arranged in the built-in picture pick-up device in terminal, alternatively, being also possible to connect with terminal (wireless
Connection or wired connection) peripheral hardware picture pick-up device.
In this step, when first terminal user carries out video calling by first terminal and second terminal, first terminal
Obtain first terminal corresponding to the first camera acquisition the first video pictures, and obtain second terminal send, second
Second video pictures of the acquisition of second camera corresponding to terminal, in order to which first terminal is subsequent to the first video pictures and the
Two video pictures carry out the first object object and the second target object needed for processing obtains.It should be noted that the present invention is real
It applies in example, what second terminal referred to is other terminals that video calling is carried out with first terminal, it is not limited to a terminal,
For example, being currently tripartite's video calling, i.e. first terminal currently carries out video calling with other two terminal, then second terminal can
Think in other two terminal one of them or for other two terminal.
In the embodiment of the present invention, to promote man-machine interaction experience, and it is conducive to be adapted with user's use demands, can provides
One switch, the switch can be turned on or off that " video communication is same by the switch with physical button and/or virtual key
Frame group photo function ";If closing the function, first terminal is based on the prior art and executes video calling;If opening the function, the
One terminal executes multimedia file producting method provided in an embodiment of the present invention.
Step 102, the second target in the first object object and the second video pictures in the first video pictures is extracted
Object.
In this step, based on the first video pictures and the second video pictures obtained in step 101, first terminal extracts the
The first object object for including in one video pictures, and extract the second target object for including in the second video pictures.It is optional
Ground can use preceding background image isolation technics, first object object be extracted from the first video pictures, from the second video pictures
The second target object of middle extraction.
Here, first object object and the second target object screen objects corresponding in its corresponding video pictures can
To be one or more, that is to say, that first object object screen objects corresponding in the first video pictures can be
An individual (such as a user image) or group's (such as two or more user images), the second target object
Corresponding screen objects can be an individual (such as a user image) or a group in the second video pictures
(such as two or more user images);Also, the first object object and the second target object can be for based on users
Determination is chosen, or, or first terminal is based respectively on the first video pictures and the second video pictures identify determination.
In one example, first object object can be the first user image for including in the first video pictures, and the second target object can
Think the second user image for including in the second video pictures.
Step 103, the destination multimedia file including first object object and the second target object is generated.
In this step, based on the first object object and the second target object extracted in step 102, synthesis processing is carried out,
Destination multimedia file is generated, includes first object object and the second target object namely the mesh in the destination multimedia file
The group photo multimedia file that multimedia file is first object object and the second target object is marked, in such manner, it is possible in video calling
The same frame group photo for realizing target object in first terminal and second terminal in the process, improves the audiovisual body in user video call
It tests, increases the interest of video calling.Wherein, which may include in group photo image and group photo video
At least one.
Optionally, first terminal can by by first object object, the second target object and target background image into
Row synthesis processing, generate group photo image and/or group photo video, here, the group photo video can be based on multiple group photo image into
Row synthesis processing generates.Wherein, target background image may include it is following at least one: except the first mesh in the first video pictures
The first background image except object is marked, the second background image in the second video pictures in addition to the second target object, in advance
The third background image of setting.It in one example, can be by by first object object and the second target object, respectively in connection with
One background image and the second background image synthesize the destination multimedia file of different background background color, that is, generate with the first background
Image is the destination multimedia file of background background color and using the second background image as the destination multimedia file of background background color, with
It is preferentially retained for user, here, more preferably, the same of first object object and the second target object can be extracted in a step 102
When, the first background image and the second background image are extracted respectively;In another example, first object object, second can be passed through
Target object and third background image synthesize destination multimedia file, that is, generate the destination multimedia of self-defined background background color
File, to meet the individual demand of user.
In the embodiment of the present invention, by obtaining first terminal when first terminal and second terminal carry out video calling
Second video pictures of the camera acquisition of the first video pictures and second terminal of camera acquisition;Extract the first video picture
The second target object in first object object and the second video pictures in face;Generate includes first object object and the
The destination multimedia file of two target objects can realize target pair in first terminal and second terminal in video call process
The same frame of elephant is taken a group photo, and is improved the audiovisual experience in user video call, is increased the interest of video calling, enhance user
Usage experience.
In embodiments of the present invention, for the extracting mode of first object object and the second target object can there are many.
For example, first terminal can be by extracting from the received video data of first terminal, that is, by corresponding from the first video pictures
The first video data in extract corresponding first object object, extracted from corresponding second video data of the second video pictures
Corresponding second target object, but this kind of extracting mode needs to obtain video data first and obtains permission, if current video is logical
Words are then obtained firstly the need of the video data for obtaining the application of third party's video communication to be realized by the application of third party's video communication
Permission.
Alternatively, for example, first terminal can be by being shown in first eventually based on the first video pictures and the second video pictures
The image of the display interface at end extracts first object object and the second target object.That is, some optional in the present invention
Embodiment in, step 102, extracted in the first object object and the second video pictures in the first video pictures respectively
Second target object, may comprise steps of: the first video pictures and the second video pictures are shown in first terminal
Display interface;The image for obtaining display interface, obtains an at least image to be processed;It is mentioned from an at least image to be processed
Take at least one first object object and at least one second target object.In the embodiment of the present invention, get in a step 101
After first video pictures and the second video pictures, first terminal can by the first video pictures and the second video pictures respectively and
It is shown in the display interface of first terminal, simultaneously so that user checks;Then, the first video pictures and the second video pictures are obtained
It is shown in the image of display interface, so that an at least image to be processed is obtained, at this point, may include having in image to be processed
Corresponding first image of one video pictures and corresponding second image of the second video pictures;Then, from being waited for from least one
At least one first object object and the second target object are extracted in reason image, in such manner, it is possible to needed for convenient simply extraction
First object object and the second target object.It optionally, is preferably to show the first video pictures and the second video pictures and obtain
Image to be processed is obtained, can show the first video pictures in the first display area of display interface, second in display interface is aobvious
Show that region shows the second video pictures.Here, the first display area and the second display area can be the setting of display interface split screen
Two display areas divided;Alternatively, i.e. first terminal can be Folding screen if first terminal includes at least two display screens
Terminal, double-sided screen terminal, the terminal for having tensile screen etc. have the terminal of at least two display screens, at this point, the first viewing area
Domain can correspond to the display interface of one of display screen, and the second display area can correspond to the display of another display screen
Interface.More preferably, it is the extraction of easy first object object and the second target object, in Folding screen terminal, has tensile screen
The terminals such as terminal on, it may be considered that two display screens for being used to show the first video pictures and the second video pictures are set to
Same plane, so that two display screens are formed as the display screen of an entirety, then at this point, the first video pictures and the second video
Picture, which can be equivalent to, is shown in same display screen, for obtaining also that is, from the aobvious of same display screen for image to be processed
Show in interface and obtains.In addition, extracted from an at least image to be processed at least one first object object and at least one the
In the step of two target objects, it can be directed to each image to be processed, extract the first object for including in image to be processed respectively
Object and the second target object.
Optionally, in some embodiment of the invention, it can use screen capture technology to obtain image to be processed, also
It is to say, obtains the image of display interface, obtain an at least image to be processed, may include: to be carried out at screenshotss to display interface
Reason, obtains an at least screenshotss image, and using screenshotss image as image to be processed.In the embodiment of the present invention, first terminal can
To carry out screenshotss processing to the display interface for showing the first video pictures and the second video pictures using screen capture technology, with
It is recorded in the first video pictures of synchronization and the second video pictures is shown in the image of display interface, obtain an at least screenshotss
Image, here, screenshotss image are image to be processed.Optionally, in the embodiment of the present invention, it can be one selected based on user
Object time carries out screenshotss processing to display interface to obtain the screenshotss image at moment needed for user, such as can receive execution
The screenshotss input of screenshotss operation, inputs in response to screenshotss, carries out screenshotss processing to display interface in object time.Alternatively, optional
Ground in the embodiment of the present invention, can carry out screenshotss processing to display interface at interval of predetermined instant.
Optionally, in some embodiment of the invention, it can use record screen mode to obtain image to be processed, that is,
It says, obtains the image of display interface, obtain an at least image to be processed, may include: to be recorded to display interface, and obtain
At least frame buffer image in screen video is enrolled, using cache image as image to be processed.In the embodiment of the present invention, first eventually
It end can be using record screen technology, by kinescope recorder to the display interface for showing the first video pictures and the second video pictures
It is recorded, an at least frame buffer image is then obtained from the record screen video of recording, here, cache image is figure to be processed
Picture.Optionally, in the embodiment of the present invention, it can be the object time selected based on user, obtain target in Cong Luping video
The cache image at moment to obtain the cache image at moment needed for user, such as can receive and execute the determining operation of image really
Fixed input, inputs in response to determining, during recording to display interface, caches to the image of object time,
The cache image of object time is obtained from record screen video.Optionally, in the embodiment of the present invention, can at interval of predetermined instant,
Cache image is obtained from record screen video.More preferably, in the embodiment of the present invention, for the cache image for ensuring to obtain and extraction
The display quality of first object object and the second target object can be configured record screen parameter, it can parameter is shielded in record
Numerical value be set as target value, display interface is recorded according to target value, wherein record screen parameter may include frame per second and picture
Frame per second and screen resolution can be respectively set to maximum value, then root in one example by least one of face resolution ratio
Display interface is recorded according to maximum frame per second and maximum screen resolution, so as to realize the high frame per second for guaranteeing record screen video
High-resolution high-fidelity, it is ensured that the picture quality of the cache image of acquisition.
In addition, destination multimedia file may include group photo image, step in some optional embodiments of the present invention
103, the destination multimedia file including first object object and the second target object is generated, may comprise steps of: near
A few first object object carries out splicing at least one second target object respectively, obtains an at least prospect group photo
Image;Each prospect group photo image and target background image are subjected to synthesis processing respectively, generate an at least opening and closing shadow image.This
In inventive embodiments, it is directed in an at least image to be processed at least one extracted first object object and at least one
Second target object, first terminal can be spliced first object object and the second target object using image mosaic technology
Processing generates prospect group photo image, and more preferably, first terminal can use image registration techniques and image fusion technology by first
Target object and the second target object carry out splicing, to generate prospect group photo image, here it is possible to understand ground, Mei Yiqian
It include a first object object and second target object in scape group photo image;Then it will be given birth to using image composing technique
At prospect group photo image and target background image carry out synthesis processing, generate group photo image.Optionally, first terminal to
It is extracted in a few image to be processed after obtaining at least one first object object and at least one second target object, it is near
In a step of few first object object carries out splicing at least one second target object respectively, can by it is same to
The first object object and the second target object extracted in processing image carries out splicing.
More preferably, target background image may include it is following at least one: except first object object in the first video pictures
Except the first background image, the second background image in the second video pictures in addition to the second target object is pre-set
Third background image.In one example, prospect group photo image is generated in first object object and the second target object splicing
Later, the first terminal image that can have powerful connections respectively with the first video pictures and the second video pictures Central Plains carries out synthesis processing,
That is, same prospect group photo image can carry out synthesis processing with the first background image and the second background image respectively, to generate
For the destination multimedia file of different background background color, so that user preferentially retains, here, more preferably, first terminal can be in step
While extracting first object object and the second target object in rapid 102, the first background image and the second Background are extracted respectively
Picture;In another example, after first object object and the second target object splicing generate prospect group photo image, prospect
Group photo image can carry out synthesis processing with third background image, generate the destination multimedia file of self-defined background background color, with
Meet the individual demand of user.
More preferably, in one example, same prospect group photo image respectively with the first background image and the second background image
It carries out synthesis processing, generates the first group photo image using the first background image as background background color and using the second background image as back
After second group photo image of scape background color, the first group photo image and the second group photo image can be shown in aobvious by first terminal
Show interface, so that user checks selection.It is alternatively possible to which the first group photo image to be invested in the first viewing area of display interface
Second group photo image is invested in the second display area of display interface by domain.
In some optional embodiments of the present invention, to meet user's diverse operations demand and being conducive to provide group photo figure for user
As selection, a burst mode can be set, in continuous shooting mode, then obtain the image of display interface, obtain at least one wait locate
Image is managed, may include: persistently to obtain the image of display interface according to the preset interval moment, obtain an at least figure to be processed
Picture, in this way, in subsequent step 103 can continuous shooting generate several group photo image.
Optionally, in some embodiments of the invention, when generating multiple group photo images, first terminal can join according to image
It is several that multiple group photo images are compared, determine that the numerical value of image parameter in multiple group photo images is higher than the group photo of the first preset value
Image is to recommend image, according to recommending image to generate recommendation information, so that user preferentially retains, wherein image parameter can wrap
Include at least one of white balance, aperture, brightness, saturation degree, exposure and synthetic effect.
In addition, destination multimedia file may include group photo video, image of taking a group photo in optional embodiment of the present invention
Quantity is at least two, then first terminal can generate group photo video based on multiple group photo images.For example, in step 103
After middle first terminal generates an at least opening and closing shadow image, step 103, generating includes the first object object and described second
The destination multimedia file of target object can also include: to be carried out by the way of interframe interpolation at least two opening and closing shadow images
Processing generates group photo video.
More preferably, it is contemplated that at least two opening and closing shadow images may use different background background color, in some embodiments of the invention,
After first terminal generates an at least opening and closing shadow image in step 103, step 103, generating includes the first object object
With the destination multimedia file of second target object, can also comprise steps of determining that at least two opening and closing shadow images,
Have the target group photo image of same target background image, obtains group photo image sequence;According to group photo image sequence, group photo is generated
Video.In the embodiment of the present invention, first terminal can be chosen from least two opening and closing shadow images has same target background image
Target take a group photo image, be then based on target group photo image formed for synthesize group photo video group photo image sequence, then by
Group photo image sequence generates group photo video in a manner of interframe interpolation.
Optionally, in the embodiment of the present invention, group photo video generated can have multiple, generate multiple group photo videos
When, first terminal can be compared multiple group photo videos according to video parameter, determine video parameter in multiple group photo videos
Numerical value be higher than the second preset value group photo video be recommend video, according to recommend video generate recommendation information, so that user selects
Excellent retention, wherein video parameter may include at least one of the continuity of video, background handoff parameter.
Multimedia file producting method provided in an embodiment of the present invention, by carrying out video in first terminal and second terminal
When call, the second view of the first video pictures of the camera acquisition of first terminal and the camera acquisition of second terminal is obtained
Frequency picture;Extract the second target object in the first object object and the second video pictures in the first video pictures;It generates
Destination multimedia file including first object object and the second target object can realize that first is whole in video call process
The same frame group photo of target object, improves the audiovisual experience in user video call, enhancing user makes in end and second terminal
With experience.
Based on the above method, the embodiment of the present invention provides a kind of first terminal to realize the above method.
Fig. 2 is referred to, shows the structural schematic diagram of first terminal provided in an embodiment of the present invention.The present invention is implemented
It may include: to obtain module 210, extraction module 220 and generation module 230 that example, which provides a kind of first terminal 200,.
Module 210 is obtained, for obtaining the camera shooting of first terminal when first terminal and second terminal carry out video calling
Second video pictures of the camera acquisition of the first video pictures and second terminal of head acquisition;
Extraction module 220, for extracting in first object object and the second video pictures in the first video pictures
Second target object;
Generation module 230, for generating the destination multimedia file including first object object and the second target object.
In some optional embodiments of the present invention, extraction module 220 may include: display unit, acquiring unit and mention
Take unit.
Display unit, for the first video pictures and the second video pictures to be shown in first terminal display interface;
Acquiring unit obtains an at least image to be processed for obtaining the image of display interface;
Extraction unit, for extracting at least one first object object and at least one from an at least image to be processed
Second target object.
Optionally, in some embodiment of the invention, acquiring unit may include: the first processing subelement.
First processing subelement obtains an at least screenshotss image, and will cut for carrying out screenshotss processing to display interface
Screen image is as image to be processed.
Optionally, in some embodiment of the invention, acquiring unit may include: second processing subelement.
Second processing subelement for recording to display interface, and obtains at least frame buffer in record screen video
Image, using cache image as image to be processed.
In addition, destination multimedia file may include group photo image in some optional embodiments of the present invention, mould is generated
Block 230 may include: concatenation unit and synthesis unit.
Concatenation unit, for splicing at least one first object object at least one second target object respectively
Processing obtains an at least prospect group photo image;
Synthesis unit generates extremely for each prospect group photo image and target background image to be carried out synthesis processing respectively
A few opening and closing shadow image.
In addition, destination multimedia file may include group photo video, image of taking a group photo in optional embodiment of the present invention
Quantity is at least two, and generation module 230 can also comprise determining that unit and generation unit.
Determination unit has the target group photo figure of same target background image for determining at least two opening and closing shadow images
Picture obtains group photo image sequence;
Generation unit, for generating group photo video according to group photo image sequence.
First terminal provided in an embodiment of the present invention can be realized first terminal in the embodiment of the method for Fig. 1 realize it is each
Process, to avoid repeating, which is not described herein again.
First terminal provided in an embodiment of the present invention, by obtaining when first terminal and second terminal carry out video calling
Take the second video pictures of camera the first video pictures acquired of first terminal and the camera acquisition of second terminal;It mentions
Take the second target object in the first object object and the second video pictures in the first video pictures;Generate includes first
The destination multimedia file of target object and the second target object can realize first terminal and second in video call process
The same frame group photo of target object, improves the audiovisual experience in user video call, enhances user experience in terminal.
A kind of hardware structural diagram of Fig. 3 terminal of each embodiment to realize the present invention.
The terminal 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input are single
Member 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310,
And the equal components of power supply 311.It will be understood by those skilled in the art that the not structure paired terminal of terminal structure shown in Fig. 3
It limits, terminal may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
In embodiments of the present invention, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal,
Wearable device and pedometer etc..
Wherein, processor 310, for obtaining first terminal when first terminal and second terminal carry out video calling
Second video pictures of the camera acquisition of the first video pictures and second terminal of camera acquisition;Extract the first video picture
The second target object in first object object and the second video pictures in face;Generate includes first object object and the
The destination multimedia file of two target objects.The embodiment of the present invention can realize first terminal and second in video call process
The same frame group photo of target object, improves the audiovisual experience in user video call, enhances user experience in terminal.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set
Standby communication.
Terminal provides wireless broadband internet by network module 302 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 300 executes.Sound
Frequency output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor
(Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited
Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike
Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 3061, and proximity sensor can close display panel when terminal 300 is moved in one's ear
3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 305 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap
Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 307 include touch panel 3071 and other
Input equipment 3072.Touch panel 3071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 3071 or near touch panel 3071
Operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receives processor 310
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments 3072.
Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it
On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching
The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 3, touch panel 3071 and display
Panel 3061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 3071 and display panel 3061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 308 is the interface that external device (ED) is connect with terminal 300.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 300 or can be used for terminal 300 and external device (ED) it
Between transmit data.
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 309, and call and be stored in memory 309
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 310 may include one
Or multiple processing units;Preferably, processor 310 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 310.
Terminal 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311 can be with
It is logically contiguous by power-supply management system and processor 310, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 310, and memory 309 is stored in storage
On device 309 and the computer program that can be run on processor 310, realized when which is executed by processor 310
Each process of multimedia file producting method embodiment is stated, and identical technical effect can be reached, to avoid repeating, here not
It repeats again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of above-mentioned multimedia file producting method embodiment when being executed by processor
Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (14)
1. a kind of multimedia file producting method characterized by comprising
When first terminal and second terminal carry out video calling, the first video of the camera acquisition of the first terminal is obtained
Picture and the second video pictures of the camera of second terminal acquisition;
Extract the second target pair in the first object object and second video pictures in first video pictures
As;
Generate the destination multimedia file including the first object object and second target object.
2. multimedia file producting method according to claim 1, which is characterized in that described to extract the first video picture
The second target object in first object object and second video pictures in face, comprising:
First video pictures and second video pictures are shown in the display interface of the first terminal;
The image for obtaining the display interface obtains an at least image to be processed;
Extracted from an at least image to be processed at least one described first object object and at least one described second
Target object.
3. multimedia file producting method according to claim 2, which is characterized in that the acquisition display interface
Image obtains an at least image to be processed, comprising:
Screenshotss processing is carried out to the display interface, obtains an at least screenshotss image, and using the screenshotss image as wait locate
Manage image.
4. multimedia file producting method according to claim 2, which is characterized in that the acquisition display interface
Image obtains an at least image to be processed, comprising:
The display interface is recorded, and obtains at least frame buffer image in record screen video, by the cache image
As image to be processed.
5. multimedia file producting method according to any one of claim 2 to 4, which is characterized in that the generation packet
Include the destination multimedia file of the first object object and second target object, comprising:
At least one described first object object is subjected to splicing with the second target object described at least one respectively, is obtained
An at least prospect group photo image;
Each prospect group photo image and target background image are subjected to synthesis processing respectively, generate an at least opening and closing shadow figure
Picture.
6. multimedia file producting method according to claim 5, which is characterized in that the quantity of the group photo image is extremely
It is two few, it is described to generate the destination multimedia file including the first object object and second target object, further includes:
Determine at least two group photo images have the target group photo image of same target background image, obtain group photo figure
As sequence;
According to the group photo image sequence, group photo video is generated.
7. a kind of first terminal characterized by comprising
Module is obtained, for obtaining the camera of the first terminal when first terminal and second terminal carry out video calling
Second video pictures of the camera acquisition of the first video pictures and second terminal of acquisition;
Extraction module, for extracting in first object object and second video pictures in first video pictures
The second target object;
Generation module, for generating the destination multimedia file including the first object object and second target object.
8. first terminal according to claim 7, which is characterized in that the extraction module includes:
Display unit, for first video pictures and second video pictures to be shown in the first terminal
Display interface;
Acquiring unit obtains an at least image to be processed for obtaining the image of the display interface;
Extraction unit, for extracting at least one described first object object and at least from an at least image to be processed
One second target object.
9. first terminal according to claim 8, which is characterized in that the acquiring unit includes:
First processing subelement obtains an at least screenshotss image for carrying out screenshotss processing to the display interface, and by institute
Screenshotss image is stated as image to be processed.
10. first terminal according to claim 8, which is characterized in that the acquiring unit includes:
Second processing subelement for recording to the display interface, and obtains at least frame buffer in record screen video
Image, using the cache image as image to be processed.
11. the first terminal according to any one of claim 8 to 10, which is characterized in that the generation module includes:
Concatenation unit, for carrying out at least one described first object object with the second target object described at least one respectively
Splicing obtains an at least prospect group photo image;
Synthesis unit generates extremely for each prospect group photo image and target background image to be carried out synthesis processing respectively
A few opening and closing shadow image.
12. first terminal according to claim 11, which is characterized in that the quantity of the group photo image is at least two,
The generation module further include:
Determination unit has the target group photo figure of same target background image for determining at least two group photo images
Picture obtains group photo image sequence;
Generation unit, for generating group photo video according to the group photo image sequence.
13. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 6
The step of multimedia file producting method described in one.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence realizes that multimedia file described in any one of claims 1 to 6 such as generates when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910458112.4A CN110198428A (en) | 2019-05-29 | 2019-05-29 | A kind of multimedia file producting method and first terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910458112.4A CN110198428A (en) | 2019-05-29 | 2019-05-29 | A kind of multimedia file producting method and first terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110198428A true CN110198428A (en) | 2019-09-03 |
Family
ID=67753448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910458112.4A Pending CN110198428A (en) | 2019-05-29 | 2019-05-29 | A kind of multimedia file producting method and first terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110198428A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111669662A (en) * | 2020-07-03 | 2020-09-15 | 海信视像科技股份有限公司 | Display device, video call method and server |
CN113873080A (en) * | 2021-09-27 | 2021-12-31 | 维沃移动通信有限公司 | Multimedia file acquisition method and device |
CN114915722A (en) * | 2021-02-09 | 2022-08-16 | 华为技术有限公司 | Method and device for processing video |
WO2022226745A1 (en) * | 2021-04-26 | 2022-11-03 | 深圳市大疆创新科技有限公司 | Photographing method, control apparatus, photographing device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1835578A (en) * | 2005-03-16 | 2006-09-20 | Lg电子株式会社 | Method and apparatus for composing images during video communications |
CN101616295A (en) * | 2009-07-15 | 2009-12-30 | 中兴通讯股份有限公司 | The generation method and apparatus of video file in the video calling |
CN103607554A (en) * | 2013-10-21 | 2014-02-26 | 无锡易视腾科技有限公司 | Fully-automatic face seamless synthesis-based video synthesis method |
CN104410923A (en) * | 2013-11-14 | 2015-03-11 | 贵阳朗玛信息技术股份有限公司 | Animation presentation method and device based on video chat room |
CN106067960A (en) * | 2016-06-20 | 2016-11-02 | 努比亚技术有限公司 | A kind of mobile terminal processing video data and method |
CN107995420A (en) * | 2017-11-30 | 2018-05-04 | 努比亚技术有限公司 | Remote group photo control method, double-sided screen terminal and computer-readable recording medium |
CN109040643A (en) * | 2018-07-18 | 2018-12-18 | 奇酷互联网络科技(深圳)有限公司 | The method, apparatus of mobile terminal and remote group photo |
-
2019
- 2019-05-29 CN CN201910458112.4A patent/CN110198428A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1835578A (en) * | 2005-03-16 | 2006-09-20 | Lg电子株式会社 | Method and apparatus for composing images during video communications |
CN101616295A (en) * | 2009-07-15 | 2009-12-30 | 中兴通讯股份有限公司 | The generation method and apparatus of video file in the video calling |
CN103607554A (en) * | 2013-10-21 | 2014-02-26 | 无锡易视腾科技有限公司 | Fully-automatic face seamless synthesis-based video synthesis method |
CN104410923A (en) * | 2013-11-14 | 2015-03-11 | 贵阳朗玛信息技术股份有限公司 | Animation presentation method and device based on video chat room |
CN106067960A (en) * | 2016-06-20 | 2016-11-02 | 努比亚技术有限公司 | A kind of mobile terminal processing video data and method |
CN107995420A (en) * | 2017-11-30 | 2018-05-04 | 努比亚技术有限公司 | Remote group photo control method, double-sided screen terminal and computer-readable recording medium |
CN109040643A (en) * | 2018-07-18 | 2018-12-18 | 奇酷互联网络科技(深圳)有限公司 | The method, apparatus of mobile terminal and remote group photo |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111669662A (en) * | 2020-07-03 | 2020-09-15 | 海信视像科技股份有限公司 | Display device, video call method and server |
CN114915722A (en) * | 2021-02-09 | 2022-08-16 | 华为技术有限公司 | Method and device for processing video |
CN114915722B (en) * | 2021-02-09 | 2023-08-22 | 华为技术有限公司 | Method and device for processing video |
WO2022226745A1 (en) * | 2021-04-26 | 2022-11-03 | 深圳市大疆创新科技有限公司 | Photographing method, control apparatus, photographing device, and storage medium |
CN113873080A (en) * | 2021-09-27 | 2021-12-31 | 维沃移动通信有限公司 | Multimedia file acquisition method and device |
CN113873080B (en) * | 2021-09-27 | 2022-12-13 | 维沃移动通信有限公司 | Multimedia file acquisition method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107734378B (en) | A kind of audio and video synchronization method, device and mobile terminal | |
CN108958684A (en) | Throw screen method and mobile terminal | |
CN110198428A (en) | A kind of multimedia file producting method and first terminal | |
CN107809598B (en) | A kind of image pickup method, mobile terminal and server | |
CN110109593A (en) | A kind of screenshotss method and terminal device | |
CN109743498A (en) | A kind of shooting parameter adjustment method and terminal device | |
CN109408168A (en) | A kind of remote interaction method and terminal device | |
CN109491738A (en) | A kind of control method and terminal device of terminal device | |
CN107864336B (en) | A kind of image processing method, mobile terminal | |
CN109194899A (en) | A kind of method and terminal of audio-visual synchronization | |
CN110058836A (en) | A kind of output method and terminal device of audio signal | |
CN108881617A (en) | A kind of display changeover method and mobile terminal | |
CN109830248A (en) | A kind of audio recording method and terminal device | |
CN109144703A (en) | A kind of processing method and its terminal device of multitask | |
CN108366221A (en) | A kind of video call method and terminal | |
CN109889757A (en) | A kind of video call method and terminal device | |
CN108124061A (en) | The storage method and device of voice data | |
CN109803110A (en) | A kind of image processing method, terminal device and server | |
CN109862172A (en) | A kind of adjusting method and terminal of screen parameter | |
CN109144393A (en) | A kind of image display method and mobile terminal | |
CN108600079A (en) | A kind of chat record methods of exhibiting and mobile terminal | |
CN108881723A (en) | A kind of image preview method and terminal | |
CN108510266A (en) | A kind of Digital Object Unique Identifier recognition methods and mobile terminal | |
CN107959755A (en) | A kind of photographic method and mobile terminal | |
CN108009031A (en) | The control method and mobile terminal of a kind of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190903 |
|
RJ01 | Rejection of invention patent application after publication |