CN112165584A - Video recording method, video recording device, electronic equipment and readable storage medium - Google Patents

Video recording method, video recording device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112165584A
CN112165584A CN202011030906.XA CN202011030906A CN112165584A CN 112165584 A CN112165584 A CN 112165584A CN 202011030906 A CN202011030906 A CN 202011030906A CN 112165584 A CN112165584 A CN 112165584A
Authority
CN
China
Prior art keywords
frame
picture
subject
displayed
finder
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
Application number
CN202011030906.XA
Other languages
Chinese (zh)
Inventor
王恭群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011030906.XA priority Critical patent/CN112165584A/en
Publication of CN112165584A publication Critical patent/CN112165584A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio 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
    • H04N5/2624Studio 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 for obtaining an image which is composed of whole input images, e.g. splitscreen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application discloses a video recording method, a video recording device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The specific implementation scheme comprises the following steps: during the picture recording process in the picture-in-picture mode, identifying a main body object in a picture displayed in a first view frame; determining a target position of a second viewing frame associated with the subject object according to the position of the subject object within the first viewing frame; the display size of the second viewing frame is smaller than that of the first viewing frame; and displaying the second viewing frame at the target position. According to the scheme in the embodiment of the application, the effect that the second viewing frame follows the main body object in the picture displayed in the first viewing frame in real time can be achieved, and the occurrence of unnecessary shielding caused by the second viewing frame is reduced, so that the video recording effect is improved, and the interestingness in the recording process is increased.

Description

Video recording method, video recording device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video recording method, a video recording device, electronic equipment and a readable storage medium.
Background
At present, for picture-in-picture video recording, namely picture-in-picture video recording, a front camera and a rear camera usually record video simultaneously, the rear camera corresponds to a large-size view frame, the front camera corresponds to a small-size view frame, and video information collected by the two cameras is recorded simultaneously in one video. In general, the position of the small-sized finder frame corresponding to the front camera is fixed. Therefore, the small-sized view finder frame can easily block the main subject in the screen displayed in the large-sized view finder frame, and the video recording effect is poor.
Disclosure of Invention
An embodiment of the present invention provides a video recording method, a video recording apparatus, an electronic device, and a readable storage medium, so as to solve the problem that the current picture-in-picture video recording method has a poor video recording effect.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video recording method, including:
during the picture recording process in the picture-in-picture mode, identifying a main body object in a picture displayed in a first view frame;
determining a target position of a second viewing frame associated with the subject object according to the position of the subject object within the first viewing frame; the display size of the second view frame is smaller than that of the first view frame;
and displaying the second viewing frame at the target position.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including:
the identification module is used for identifying a main body object in a picture displayed in the first view-finding frame in the picture recording process in the picture-in-picture mode;
a first determination module, configured to determine a target position of a second finder frame associated with the subject according to a position of the subject within the first finder frame; the display size of the second view frame is smaller than that of the first view frame;
and the first display module is used for displaying the second viewing frame at the target position.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, during the picture recording in the picture-in-picture mode, a main body object in a picture displayed in a first view frame can be identified, a target position of a second view frame associated with the main body object is determined according to the position of the main body object in the first view frame, and the second view frame is displayed at the target position, wherein the display size of the second view frame is smaller than that of the first view frame. Therefore, the effect that the second viewing frame follows the main body object in the picture displayed in the first viewing frame in real time can be achieved, the occurrence of unnecessary shielding conditions caused by the second viewing frame is reduced, the video recording effect is improved, and the interestingness in the recording process is increased.
Drawings
Fig. 1 is a flowchart of a video recording method according to an embodiment of the present application;
FIG. 2 is a flow diagram of a video recording process in an embodiment of the present application;
FIG. 3A is one of the schematic diagrams of a cell phone interface in an embodiment of the present application;
FIG. 3B is a second schematic diagram of a handset interface in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the video recording method provided by the embodiment of the present application in detail through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a video recording method provided in an embodiment of the present application, where the method is applied to an electronic device, and as shown in fig. 1, the method may include the following steps:
step 101: during picture-in-picture recording, a subject object in a picture displayed in a first finder frame is identified.
In this embodiment, the electronic device is, for example, a smart phone, a tablet computer, a digital camera, or the like. The electronic device may include, but is not limited to, a front camera, a rear camera, and the like. The picture-in-picture recording in step 101 may also be called picture-in-picture recording, and may be implemented by simultaneously recording through front and rear cameras in the electronic device. The first view frame may be a view frame of a front camera in the electronic device, or may be a view frame of a rear camera in the electronic device, which is not limited thereto.
The above-mentioned identification of the subject object in the picture displayed in the first viewfinder may be realized by an image recognition function in the electronic device, and the correspondingly identified information includes, but is not limited to, the size, position, and other relevant information of the subject object. The subject object may be selected as a static object such as a plant, a building, etc., or may be selected as a dynamic object such as a pedestrian, a running pet, etc.
Step 102: and determining the target position of a second viewing frame associated with the main object according to the position of the main object in the first viewing frame.
In this embodiment, the display size of the second view frame is smaller than the display size of the first view frame, that is, the size of the second view frame is smaller than the size of the first view frame. For example, the first frame may be referred to as a large frame, while the second frame is referred to as a small frame.
In one embodiment, in a scene for realizing picture-in-picture recording by simultaneously recording front and back cameras, a first view frame is a view frame of the front camera, and a second view frame is a view frame of the back camera; or the first view frame is a view frame of the rear camera, and the second view frame is a view frame of the front camera.
Optionally, when the target position of the second view frame is determined, in addition to determining according to the position of the subject in the first view frame in the picture displayed in the first view frame, the target position may be further determined by combining information such as the size of the subject, so as to improve accuracy.
Step 103: and displaying the second viewing frame at the target position.
Understandably, after the target position of the second view frame is determined, the second view frame can be displayed at the target position, that is, the second view frame is moved to the target position, so that the effect that the second view frame follows the main object in the picture displayed in the first view frame in real time is achieved.
It should be noted that the video recording method in the embodiment of the present application may be implemented after selecting a preset function, such as a function named "one-key-follow" in the picture-in-picture video recording mode of the electronic device, that is, after the "one-key-follow" function is started, during the picture recording in the picture-in-picture mode, the electronic device may update the position of the second finder frame associated with the subject object in real time according to the position of the subject object in the picture displayed in the first finder frame.
In the video recording method according to the embodiment of the application, in the process of recording in the picture-in-picture mode, a main body object in a picture displayed in a first view frame can be identified, a target position of a second view frame associated with the main body object is determined according to the position of the main body object in the first view frame, the second view frame is displayed at the target position, and the display size of the second view frame is smaller than that of the first view frame. Therefore, the effect that the second viewing frame follows the main body object in the picture displayed in the first viewing frame in real time can be achieved, the occurrence of unnecessary shielding conditions caused by the second viewing frame is reduced, the video recording effect is improved, and the interestingness in the recording process is increased.
In the embodiment of the application, in order to achieve an effect that the second view frame follows the main object in the picture displayed in the first view frame in real time in the picture-in-picture recording process, a target following mode of the second view frame relative to the main object in the picture displayed in the first view frame may be firstly determined, and thus the second view frame follows the main object in the picture displayed in the first view frame in real time.
Optionally, before the step 102, the electronic device may determine a target following manner of the second viewfinder with respect to the subject. Then, the electronic device may determine a target position of a second finder frame associated with the subject object according to the position of the subject object within the first finder frame and the target following manner. Therefore, in the process of recording in the form of picture-in-picture, the effect that the second view frame follows the main body object in the picture displayed in the first view frame in real time can be achieved.
Further, the process of determining the target following manner of the second viewfinder with respect to the subject object may include: the electronic device determines a target following manner of the second viewfinder relative to the subject object according to at least one of the following: and presetting operation information and the detected current video scene by a user. Here, the user preset operation information may be understood as user selection operation information on a following manner of the second finder frame with respect to the subject object, such as a user's click operation on a virtual button (e.g., buttons at positions B1, B2, B3, B4, B5 in fig. 3A) for indicating a specific following manner, and the like. Based on the user preset operation information, a target following mode of the second viewfinder selected by the user relative to the main object can be determined. For the situation of recording scenes, the electronic device may default to store the corresponding target following mode after each recording, so as to assist in automatically determining the corresponding target following mode in subsequent similar scenes. For example, in a scene in which picture-in-picture recording is implemented by simultaneously recording videos through front and rear cameras, the recording scene is: the pet in the first view frame of the rear camera runs, and the owner's head portrait is displayed in the second view frame of the front camera, and the corresponding target following manner stored in advance may be that the second view frame moves in the same or opposite direction relative to the pet in the first view frame, and the moving speed may be a preset fixed speed, or a speed adjusted in real time according to the running speed of the pet, and is not limited thereto.
In one embodiment, the electronic device may pre-store a corresponding relationship between a recording scene and a following mode, so that when picture-in-picture recording is performed, according to a detected current video scene, a target following mode of a corresponding second view frame with respect to a main object in a first view frame is determined, and thus the second view frame can follow the main object in a picture displayed in the first view frame in real time.
Optionally, in this embodiment, the target following manner of the second view frame with respect to the subject object in the picture displayed in the first view frame may include any one of the following:
the second view frame covers the main object in the picture displayed in the first view frame;
the second finder frame is displayed above the subject in the screen displayed within the first finder frame;
the second finder frame is displayed below the subject in the screen displayed within the first finder frame;
the second finder frame is displayed on the left side of the subject in the screen displayed within the first finder frame;
the second finder frame is displayed on the right side of the subject in the screen displayed within the first finder frame.
It is noted that the above-mentioned covering can be understood as occlusion, replacement, etc. For example, in a scene of picture-in-picture video recording realized by front and back cameras, the back camera acquires a dancing video of the dancer E and displays the dancing video in the first view finder, the front camera acquires an avatar of the user F and displays the avatar in the second view finder, and at this time, if the target following mode is that the second view finder covers a main object in a picture displayed in the first view finder, the target position of the second view finder, namely the avatar position of the dancer E, can be determined according to the size and the position of the avatar of the dancer E, and the second view finder is moved so that the avatar of the user F covers the avatar of the dancer E, thereby achieving the visual effect of the dancing of the user F.
The second viewfinder is displayed above, below, on the left side or on the right side of the main object, and the display position of the second viewfinder and the display position of the main object are within a preset distance range, so that the effect that the second viewfinder follows the main object is achieved. The preset distance range may be preset based on actual requirements, which is not limited.
Therefore, by means of the various target following modes, various picture-in-picture video recording modes can be obtained, and various requirements of users on video recording effects are met.
In the embodiment of the application, in order to reduce unnecessary shielding of the second view frame, the size of the second view frame can be optimized. Optionally, the electronic device may adjust the size of the second view frame according to the size of the target object in the picture displayed in the second view frame. For example, in the case of displaying a head portrait by using the second finder frame, the second finder frame may be adjusted to a circular frame adapted to a human face, so as to reduce unnecessary occlusion while ensuring that a person can be recorded.
Alternatively, the electronic apparatus may adjust the size of the second finder frame in accordance with an input operation by the user, such as a stretching operation or a zooming operation on the second finder frame.
Optionally, in order to meet various requirements of the user, the electronic device may further receive an input operation for the second finder frame, and in response to the input operation, display the second finder frame at the fixed position. This can cancel the automatic following of the second finder frame.
Note that the input operation may be an input operation of the user for the second finder frame, and may be a drag operation, a click operation, or the like for the second finder frame. The fixed position may be a preset fixed position in the terminal, such as a lower right area position of a terminal screen, or an end position of a corresponding input operation.
For example, when the input operation for the second finder frame is a drag operation of the second finder frame by the user, the corresponding fixed position may be an end position of the drag operation. For another example, when the input operation for the second finder frame is a click operation of the user on the second finder frame, the corresponding fixed position may be a fixed position preset in the terminal.
The following describes the recording process in the embodiment of the present application in detail with reference to fig. 2.
In the specific example of the application, taking the case of simultaneously recording pictures to realize picture-in-picture recording through front and back cameras of a mobile phone, a viewing frame of the back camera is a first viewing frame, namely a large viewing frame (hereinafter referred to as a frame 1), and the back camera acquires video information of a main person C; the viewfinder of the front camera is a second viewfinder, namely a small viewfinder (hereinafter referred to as a frame 2), and the front camera acquires the face of the mobile phone user D. As shown in fig. 2, the corresponding video recording process may include:
step 21: the user opens the mobile phone camera, selects the video recording mode and selects the picture-in-picture mode, and at the moment, the front camera and the rear camera of the mobile phone are simultaneously opened.
Step 22: when detecting that the user clicks the "follow" button in the pip menu (as at position a in fig. 3A), the mobile phone starts the "one-key follow" function, and starts the pip recording follow mode.
Step 23: through a user input operation, the mobile phone determines a target following manner of the frame 2 with respect to the subject object in the screen displayed within the frame 1.
For example, if the user presses the button at the position B3 in fig. 3A, the mobile phone may determine that the target following manner is that the frame 2 covers the subject object in the frame 1, and at this time, the position information of the frame 2 may be determined according to the size and the position information of the face in the frame 1C, and the frame 2 is moved to the specified position to cover the face in the frame 1C, so that the effect that the frame 2 automatically covers the corresponding subject is achieved. For another example, if the user presses a button at a position B1, B2, B4, or B5 in fig. 3A, the cellular phone determines that the target following manner is that frame 2 is displayed above, below, to the left, or to the right of the subject object within frame 1. For another example, if the user does not want the frame 2 to follow automatically, as shown in fig. 3B, the frame 2, i.e., the face circle frame, can be manually dragged to any fixed position to cancel the automatic following.
Step 24: when the mobile phone faces the main person C to be recorded and the click operation of the user on the video recording key is detected, the mobile phone executes the picture-in-picture video recording process. Optionally, in the process of recording in the form of picture-in-picture, an Artificial Intelligence (AI) face recognition function in the mobile phone camera may automatically recognize the face of the main person C in the picture in the frame 1, and feed back relevant information such as the position, size, five-sense ratio, and the like of the face to the mobile phone system in real time. The mobile phone can determine the position information of the frame 2 following the C in the frame 1 according to the size and the position information of the C in the frame 1 and the determined target following mode, and move the frame 2 to a specified position, so as to achieve the effect that the frame 2 automatically follows the C in the frame 1 in real time, as shown in fig. 3A. As shown, frame 2 may be automatically displayed to the right of C within frame 1.
Step 25: when the clicking operation of the user on the video recording key is detected again, the mobile phone stops picture-in-picture video recording, and then the video is optionally stored in an album.
It should be noted that, in the video recording method provided in the embodiment of the present application, the execution main body may be a video recording device, or a control module in the video recording device for executing the video recording method. The embodiment of the present application describes a video recording device provided in the embodiment of the present application by taking a video recording device as an example to execute a video recording method.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application, where the video recording apparatus is applied to an electronic device, and as shown in fig. 4, the video recording apparatus 40 includes:
an identifying module 41, configured to identify a subject object in a picture displayed in the first view frame during picture-in-picture recording;
a first determining module 42, configured to determine a target position of a second frame associated with the subject according to the position of the subject within the first frame; the display size of the second view frame is smaller than that of the first view frame;
a first display module 43, configured to display the second viewfinder at the target position.
In the video recording device according to the embodiment of the application, during the video recording in the pip mode, the main object in the picture displayed in the first finder frame can be identified, the target position of the second finder frame associated with the main object is determined according to the position of the main object in the first finder frame, and the second finder frame is displayed at the target position. Therefore, the effect that the second viewing frame follows the main body object in the picture displayed in the first viewing frame in real time can be achieved, the occurrence of unnecessary shielding conditions caused by the second viewing frame is reduced, the video recording effect is improved, and the interestingness in the recording process is increased.
Optionally, the video recording apparatus 40 further includes: a second determination module for determining a target following manner of the second finder frame with respect to the subject object;
the first determining module 42 is specifically configured to: and determining the target position of the second viewing frame according to the position of the main object in the first viewing frame and the target following mode.
Optionally, the second determining module is specifically configured to: determining a target following manner of the second viewfinder with respect to the subject object based on at least one of:
and presetting operation information and the detected current video scene by a user.
Optionally, the target following manner of the second viewfinder relative to the subject object includes any one of:
the second viewfinder covers the subject;
the second finder frame is displayed above the subject object;
the second finder frame is displayed below the subject object;
the second finder frame is displayed on the left side of the subject;
the second finder frame is displayed on the right side of the subject object.
Optionally, the video recording apparatus 40 further includes:
and the adjusting module is used for adjusting the size of the second viewing frame according to the size of the target object in the picture displayed in the second viewing frame.
Optionally, the video recording apparatus 40 further includes:
a receiving module, configured to receive an input operation for the second finder frame;
and the second display module is used for responding to the input operation and displaying the second view-finding frame at a fixed position.
The video recording device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video recording device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video recording device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 50 is further provided in this embodiment of the present application, and includes a processor 51, a memory 52, and a program or an instruction stored in the memory 52 and executable on the processor 51, where the program or the instruction is executed by the processor 51 to implement each process of the above-mentioned video recording method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the processor 610 is configured to identify a subject object in a frame displayed in the first view frame during the picture-in-picture recording; determining a target position of a second viewing frame associated with the subject object according to the position of the subject object within the first viewing frame; the display size of the second viewing frame is smaller than that of the first viewing frame; the display unit 606 is controlled to display the second finder frame at the target position. Therefore, the effect that the second viewing frame follows the main body object in the picture displayed in the first viewing frame in real time can be achieved, the occurrence of unnecessary shielding conditions caused by the second viewing frame is reduced, the video recording effect is improved, and the interestingness in the recording process is increased.
Optionally, the processor 610 is further configured to determine a target following manner of the second view frame with respect to the subject, and determine a target position of the second view frame according to a position of the subject in the first view frame and the target following manner.
Optionally, the processor 610 is further configured to determine a target following manner of the second finder frame with respect to the subject according to at least one of:
and presetting operation information and the detected current video scene by a user.
Optionally, the target following manner of the second viewfinder relative to the subject object includes any one of:
the second viewfinder covers the subject;
the second finder frame is displayed above the subject object;
the second finder frame is displayed below the subject object;
the second finder frame is displayed on the left side of the subject;
the second finder frame is displayed on the right side of the subject object.
Optionally, the processor 610 is further configured to adjust the size of the second view frame according to the size of the target object in the image displayed in the second view frame.
Optionally, the user input unit 607 is configured to receive an input operation of the user for the second finder frame; the processor 610 is further configured to control the display unit 606 to display the second finder frame at a fixed position in response to the input operation.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A method for recording, comprising:
during the picture recording in the picture-in-picture mode, identifying a main body object in a picture displayed in a first view frame;
determining a target position of a second viewing frame associated with the subject object according to the position of the subject object within the first viewing frame; the display size of the second view frame is smaller than that of the first view frame;
and displaying the second viewing frame at the target position.
2. The method of claim 1, wherein prior to determining a target position of a second frame associated with the subject object based on the position of the subject object within the first frame, the method further comprises:
determining a target following manner of the second viewfinder relative to the subject object;
the determining a target position of a second view frame associated with the subject object according to the position of the subject object within the first view frame includes:
and determining the target position of the second viewing frame according to the position of the main object in the first viewing frame and the target following mode.
3. The method of claim 2, wherein determining a target-following manner of the second viewfinder relative to the subject object comprises:
determining a target following manner of the second viewfinder with respect to the subject object based on at least one of:
and presetting operation information and the detected current video scene by a user.
4. The method of claim 2, wherein the target-following manner of the second viewfinder relative to the subject object includes any of:
the second viewfinder covers the subject;
the second finder frame is displayed above the subject object;
the second finder frame is displayed below the subject object;
the second finder frame is displayed on the left side of the subject;
the second finder frame is displayed on the right side of the subject object.
5. The method of claim 1, further comprising:
and adjusting the size of the second viewing frame according to the size of the target object in the picture displayed in the second viewing frame.
6. The method of claim 1, further comprising:
receiving an input operation for the second viewfinder;
in response to the input operation, the second finder frame is displayed at a fixed position.
7. A video recording apparatus, comprising:
the identification module is used for identifying a main body object in a picture displayed in the first view-finding frame in the picture recording process in the picture-in-picture mode;
a first determination module, configured to determine a target position of a second finder frame associated with the subject according to a position of the subject within the first finder frame; the display size of the second view frame is smaller than that of the first view frame;
and the first display module is used for displaying the second viewing frame at the target position.
8. The apparatus of claim 7, further comprising:
a second determination module for determining a target following manner of the second finder frame with respect to the subject object;
the first determining module is specifically configured to: and determining the target position of the second viewing frame according to the position of the main object in the first viewing frame and the target following mode.
9. The apparatus of claim 8,
the second determining module is specifically configured to: determining a target following manner of the second viewfinder with respect to the subject object based on at least one of:
and presetting operation information and the detected current video scene by a user.
10. The apparatus of claim 8, wherein the target following manner of the second viewfinder relative to the subject object includes any one of:
the second viewfinder covers the subject;
the second finder frame is displayed above the subject object;
the second finder frame is displayed below the subject object;
the second finder frame is displayed on the left side of the subject;
the second finder frame is displayed on the right side of the subject object.
11. The apparatus of claim 7, further comprising:
and the adjusting module is used for adjusting the size of the second viewing frame according to the size of the target object in the picture displayed in the second viewing frame.
12. The apparatus of claim 7, further comprising:
a receiving module, configured to receive an input operation for the second finder frame;
and the second display module is used for responding to the input operation and displaying the second view-finding frame at a fixed position.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the video recording method according to any one of claims 1 to 6.
14. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the video recording method according to any one of claims 1 to 6.
CN202011030906.XA 2020-09-27 2020-09-27 Video recording method, video recording device, electronic equipment and readable storage medium Pending CN112165584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011030906.XA CN112165584A (en) 2020-09-27 2020-09-27 Video recording method, video recording device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011030906.XA CN112165584A (en) 2020-09-27 2020-09-27 Video recording method, video recording device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112165584A true CN112165584A (en) 2021-01-01

Family

ID=73864246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011030906.XA Pending CN112165584A (en) 2020-09-27 2020-09-27 Video recording method, video recording device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112165584A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873151A (en) * 2021-09-18 2021-12-31 维沃移动通信有限公司 Video recording method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639735A (en) * 2013-11-06 2015-05-20 Lg电子株式会社 Mobile terminal and control method thereof
CN108289167A (en) * 2017-12-27 2018-07-17 努比亚技术有限公司 A kind of the shooting interface adjusting method and mobile terminal of mobile terminal
CN110210276A (en) * 2018-05-15 2019-09-06 腾讯科技(深圳)有限公司 A kind of motion track acquisition methods and its equipment, storage medium, terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639735A (en) * 2013-11-06 2015-05-20 Lg电子株式会社 Mobile terminal and control method thereof
CN108289167A (en) * 2017-12-27 2018-07-17 努比亚技术有限公司 A kind of the shooting interface adjusting method and mobile terminal of mobile terminal
CN110210276A (en) * 2018-05-15 2019-09-06 腾讯科技(深圳)有限公司 A kind of motion track acquisition methods and its equipment, storage medium, terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873151A (en) * 2021-09-18 2021-12-31 维沃移动通信有限公司 Video recording method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN112135049B (en) Image processing method and device and electronic equipment
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN112738402B (en) Shooting method, shooting device, electronic equipment and medium
CN112911147B (en) Display control method, display control device and electronic equipment
CN110602565A (en) Image processing method and electronic equipment
CN113093968A (en) Shooting interface display method and device, electronic equipment and medium
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112099707A (en) Display method and device and electronic equipment
CN113794829B (en) Shooting method and device and electronic equipment
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112492201B (en) Photographing method and device and electronic equipment
CN113873151A (en) Video recording method and device and electronic equipment
CN111050109B (en) Electronic equipment control method and electronic equipment
CN113655929A (en) Interface display adaptation processing method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN110086998B (en) Shooting method and terminal
CN113286085B (en) Display control method and device and electronic equipment
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN112954209A (en) Photographing method and device, electronic equipment and medium
CN112165584A (en) Video recording method, video recording device, electronic equipment and readable storage medium
CN114245017B (en) Shooting method and device and electronic equipment
CN113873168A (en) Shooting method, shooting device, electronic equipment and medium
CN113923392A (en) Video recording method, video recording device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210101