Video recording method and device, medium and terminal
By separating the two windows that display the video preview content and target assistive function information in the video recording interface, the problem of interface chaos is solved and the user experience is improved.
Patent Information
- Application Number
- CN202311404409.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
AI Technical Summary
During the video recording process, the display of multiple indicators causes confusion in the interface, affecting the user's view of the preview data, and the user experience is poor.
By displaying two independent windows in the video recording interface, one for displaying preview content during the video recording process, and the other for displaying relevant information of the target auxiliary function, the video data stream is dynamically adjusted and processed according to the user's operations to generate display data.
It effectively separates the preview content and target auxiliary functions during video recording, avoiding the problem of overly complex and confusing interface, and improving the user experience.
Smart Images

Figure CN119906797A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a video recording method, device, medium and terminal. Background Art
[0002] In the related art, when a user records a video through a mobile terminal, a preview of the video recording is displayed in a video recording window, and various indicators are also displayed in the video recording window for the user to adjust and refer to. If there are too many indicators, the display interface will be cluttered, affecting the user's viewing of the preview data, resulting in a poor user experience. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a video recording method, device, medium and terminal.
[0004] According to a first aspect of an embodiment of the present disclosure, a video recording method is provided, the method comprising:
[0005] In response to the video recording operation, displaying a first window on the video recording interface, wherein the first window is used to display preview content during the video recording process;
[0006] In response to a triggering operation on a target assist function, a second window is displayed on the video recording interface, the second window being used to display information corresponding to the target assist function, and the target assist function being used to display or control data during the video recording process.
[0007] Optionally, in response to a triggering operation on a target auxiliary function, displaying a second window on the video recording interface includes:
[0008] In response to a triggering operation on a target auxiliary function, obtaining a video data stream during a video recording process;
[0009] Processing the video data stream according to the target auxiliary function to obtain display data;
[0010] A second window including the display data is displayed on the video recording interface.
[0011] Optionally, the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0012] In response to the area selection operation in the first window, determining a designated area of a target image in the video data stream, wherein the target image is any frame image in the video data stream;
[0013] Determining a focus area in the designated area;
[0014] The designated area and the focus area are processed according to the target auxiliary function to obtain the display data.
[0015] Optionally, the target auxiliary function is a focus area magnification function, and the designated area and the focus area are processed according to the target auxiliary function to obtain the display data, including:
[0016] Amplifying the focus area to obtain an enlarged focus area;
[0017] The enlarged focus area and the designated area are synthesized to obtain the display data.
[0018] Optionally, the target auxiliary function is a focus marking function, and the designated area and the focus area are processed according to the target auxiliary function to obtain the display data, including:
[0019] generating a focus mark according to a focus subject in the focus area;
[0020] The focus mark is synthesized with the designated area to obtain the display data.
[0021] Optionally, the target auxiliary function is a data display function, and the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0022] Acquire shooting parameters of a target image in the video data stream, where the target image is any frame image in the video data stream, and the shooting parameters include brightness data and / or color channel data;
[0023] Processing the shooting parameters to obtain a histogram;
[0024] The histogram is used as the display data.
[0025] Optionally, the target auxiliary function is a target tracking function, and the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0026] Determine an object of interest of a target image in the video data stream, wherein the target image is any frame image in the video data stream;
[0027] The target parameter of the target of interest is used as the display data. Optionally, the target auxiliary function is a focus conversion function, and the video data stream is processed according to the target auxiliary function to obtain the display data, including:
[0028] Determining a current focused subject in the video data stream;
[0029] When the object of interest in the video data stream is converted from the current focus subject to the target focus subject, moving the focus from the position of the current focus subject to the position of the target focus subject;
[0030] The focus area corresponding to the target focus subject is used as the display data.
[0031] Optionally, the target auxiliary function is a focus compensation function, and a first adjustment control for adjusting focus data is displayed in the second window, and the method further includes:
[0032] Get the video data stream during video recording;
[0033] determining focus compensation data in response to an adjustment operation on the first adjustment control;
[0034] The focus data of the video data stream is adjusted according to the focus compensation data, and the video data stream after the focus data is adjusted is displayed on the video recording interface.
[0035] Optionally, the method further comprises:
[0036] In response to a call operation on the target focus data in the historical parameter record, the focus data of the video data stream is adjusted to the target focus data, and the video data stream with adjusted focus data is displayed on the video recording interface. The historical parameter record includes multiple focus data saved during the historical recording of the video.
[0037] Optionally, the target auxiliary function is a blur data adjustment function, and a second adjustment control for adjusting blur data is displayed in the second window, and the method further includes:
[0038] Get the video data stream during video recording;
[0039] In response to an adjustment operation on the second adjustment control, determining target blurring data;
[0040] The video data stream adjusted to the target blurred data is displayed on the video recording interface.
[0041] Optionally, a display area of the first window is larger than a display area of the second window.
[0042] Optionally, displaying a second window on the video recording interface includes:
[0043] In the video recording interface, the second window is floated on the first window for display.
[0044] Optionally, the method further comprises:
[0045] In response to a drag operation on the second window, the second window is moved to a target position corresponding to the drag operation.
[0046] Optionally, the method further comprises:
[0047] When the brightness of a frame image in the recorded video exceeds a brightness threshold, an exposure warning message is displayed in the second window.
[0048] Optionally, the method further comprises:
[0049] In response to the brightness control operation, displaying a third adjustment control in the second window for adjusting the brightness of the frame image in the recorded video;
[0050] In response to an adjustment operation on the third adjustment control, a target brightness corresponding to the adjustment operation is determined, and video recording is performed according to the target brightness.
[0051] According to a second aspect of an embodiment of the present disclosure, a video recording device is provided, including:
[0052] A first display module is configured to display a first window on the video recording interface in response to a video recording operation, wherein the first window is used to display preview content during the video recording process;
[0053] The second display module is configured to display a second window on the video recording interface in response to a triggering operation on the target auxiliary function, wherein the second window is used to display information corresponding to the target auxiliary function.
[0054] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the video recording method provided by the first aspect of the embodiment of the present disclosure is implemented.
[0055] According to a fourth aspect of an embodiment of the present disclosure, a terminal is provided, including:
[0056] a storage device including a computer program;
[0057] A processing device is used to execute the computer program to implement the video recording method provided in the first aspect of the embodiment of the present disclosure.
[0058] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0059] In the disclosed embodiment, based on the video recording operation, a first window is displayed in the video recording interface to display the preview content during the video recording process, and based on the triggering operation of the target auxiliary function, a second window is displayed in the video recording interface to display the information corresponding to the target auxiliary function. In this way, the preview content during the video recording process and the information corresponding to the target auxiliary function are displayed separately through the first window and the second window, and based on the triggering operation of the target auxiliary function, the information corresponding to the target auxiliary function is displayed in the second window instead of displaying multiple indicators, which takes into account the actual needs of users and avoids the problem of a cluttered display interface.
[0060] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0062] Figure 1 The figure is a flowchart of a video recording method according to an exemplary embodiment.
[0063] Figure 2 It is a schematic diagram of a histogram in a video recording method according to an exemplary embodiment.
[0064] Figure 3 It is a schematic diagram showing a target tracking function in a video recording method according to an exemplary embodiment.
[0065] Figure 4 It is a schematic diagram showing a method for recording a video in which a second window is displayed on a first window in a floating manner according to an exemplary embodiment.
[0066] Figure 5 It is a schematic diagram showing a first window and a second window displayed side by side in a video recording interface in a video recording method according to an exemplary embodiment.
[0067] Figure 6 The diagram is a schematic diagram showing a focus area magnification function and a focus marking function in a video recording method according to an exemplary embodiment.
[0068] Figure 7 The invention is a block diagram of a video recording device according to an exemplary embodiment.
[0069] Figure 8 It is a block diagram of a terminal according to an exemplary embodiment.
[0070] Fig. 9The invention is a block diagram of a device for video recording according to an exemplary embodiment. DETAILED DESCRIPTION
[0071] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0072] At present, most mobile phones, tablets, cameras and other terminals with shooting functions only have one display screen to display the preview content during the shooting process. During the video recording process, a real-time focus indicator is added to the display screen to display the current focus status. The real-time focus indicator can be a focus frame, focus point or other forms of indicators. The indicator and the preview data stream of the video recording are displayed in one window. The indicator may distract the user's attention, and the relevant data information and pictures in the indicator cannot provide a complete reference for the user.
[0073] Reference Figure 1 , Figure 1 is a flow chart of a video recording method according to an exemplary embodiment. Figure 1 As shown, the video recording method is used in a terminal and includes the following steps.
[0074] In step S101, in response to a video recording operation, a first window is displayed on a video recording interface, where the first window is used to display preview content during the video recording process.
[0075] For example, the video recording operation may be an operation such as a user clicking or sliding a video recording function on a display screen of a terminal. Based on the video recording operation, a first window is displayed on a video recording interface of the display screen of the terminal, and a preview content during the video recording process may be displayed through the first window, wherein the preview content includes a video data stream based on a time series.
[0076] In step S102, in response to a triggering operation on the target auxiliary function, a second window is displayed on the video recording interface, and the second window is used to display information corresponding to the target auxiliary function, and the target auxiliary function is used to display or control data during the video recording process.
[0077] For example, a selection control may be provided in the video recording interface, and the user may select a target auxiliary function by clicking, sliding, voice control, or other control methods according to the multiple auxiliary functions listed in the selection control, thereby triggering the target auxiliary function. Based on the triggering operation of the target auxiliary function, a second window for displaying information corresponding to the target auxiliary function may be displayed in the video recording interface, wherein the arrangement of the first window and the second window may include parallel display, floating display of the second window on the first window, and the like.
[0078] For example, the target assist function can be used to display data during video recording, such as displaying recording parameters during video recording, previewing the video data stream after adjusting the shooting parameters, displaying the video data stream after adding auxiliary marks, displaying adjustment controls for adjusting shooting parameters, etc. The target assist function can also be used to control data during video recording, such as adjusting shooting parameters using adjustment controls, selecting a designated area to be enlarged according to user operations, adding or selecting marks for auxiliary shooting according to user operations, etc. Among them, shooting parameters can be, for example, brightness data, color channel data, blur data, focus data, highlight or shadow data, etc.
[0079] The present disclosure is based on a video recording operation, and displays a first window in the video recording interface for displaying preview content during the video recording process, and based on a triggering operation of a target auxiliary function, displays a second window in the video recording interface for displaying information corresponding to the target auxiliary function. In this way, the preview content during the video recording process and the information corresponding to the target auxiliary function are displayed separately through the first window and the second window, and based on the triggering operation of the target auxiliary function, the information corresponding to the target auxiliary function is displayed in the second window instead of displaying multiple indicators, which takes into account the actual needs of users and avoids the problem of a cluttered display interface.
[0080] As an optional embodiment, in response to a triggering operation of the target auxiliary function, a second window is displayed on the video recording interface, including:
[0081] In response to a triggering operation on a target auxiliary function, obtaining a video data stream during a video recording process;
[0082] Processing the video data stream according to the target auxiliary function to obtain display data;
[0083] A second window including display data is displayed on the video recording interface.
[0084] For example, the video data stream during the video recording process can be obtained from the image sensor or image cache through the camera software interface (API) or the image processing library. When the terminal receives a trigger operation for the target auxiliary function, the video data stream during the video recording process can be processed using the processing flow corresponding to the target auxiliary function. It can be understood that different auxiliary functions correspond to different processing flows. After the processing is completed, the display data for display on the second window is obtained, and the second window including the display data is displayed on the video recording interface to provide a reference for the user's video recording process.
[0085] As an optional embodiment, the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0086] In response to the area selection operation in the first window, determining a designated area of a target image in the video data stream, where the target image is any frame image in the video data stream;
[0087] determining a focus area in a specified area;
[0088] The designated area and the focus area are processed according to the target auxiliary function to obtain display data.
[0089] For example, the area selection operation is, for example, a click, a slide, or the like operation mode, and the user can determine the designated area in the target image in the video data stream based on the area selection operation in the first window. It can be understood that the position point on the image data when the area selection operation is triggered can be a focus. The designated area can be an area within the first range that triggers the focus, such as a circular area centered on the focus and 20 pixels away from the focus range. Or the designated area can be within a preset shape range centered on the focus, such as a rectangular area of 20 pixels × 40 pixels centered on the focus. Generally, the shape of the designated area is consistent with the shape of the second window. The focus area can be determined based on the focus subject near the focus. When the area selection operation is triggered, the focus subject in the designated area can be identified by an image recognition algorithm, such as computer vision technology or a deep learning model, and the corresponding focus area can be selected. Or the focus area can also be an area within the second range of the focus, and the first range is larger than the second range.
[0090] As an optional embodiment, the target auxiliary function is a focus area magnification function, and the designated area and the focus area are processed according to the target auxiliary function to obtain display data, including:
[0091] A focus area is enlarged to obtain an enlarged focus area;
[0092] The magnified focus area and the specified area are synthesized to obtain display data.
[0093] For example, when the target auxiliary function is a focus area magnification function, an image interpolation algorithm, such as bilinear interpolation or bicubic interpolation, can be used to increase the number of pixels and image details in the focus area to achieve magnification of the focus area. The enlarged focus area can be synthesized with the designated area through image synthesis technology to obtain an image of the designated area after the focus is enlarged, and the image of the designated area can be displayed in the second window. In order to improve the performance and user experience of the focus area magnification function, technical means such as parallel computing, hardware acceleration and optimization algorithms can also be considered to improve the speed and quality of image processing and reduce delay time.
[0094] For example, when the target auxiliary function is the focus area magnification function, a second window is displayed in the video recording interface. When the user performs a focus operation, by acquiring the video data stream and using an algorithm to analyze the focus subject of the target image in the video data stream, the center position of the focus subject or the area selected by the user can be determined as the focus area to be magnified. After the focus area is magnified, the original designated area and the focus area are synthesized and displayed in the second window. This provides more intuitive visual feedback to the user. The user can more accurately determine the focus area and check the clarity of the focus area in real time through the magnified focus area in the second window.
[0095] As an optional embodiment, the target auxiliary function is a focus marking function, and the designated area and the focus area are processed according to the target auxiliary function to obtain display data, including:
[0096] Generate a focus mark according to the focus subject in the focus area;
[0097] The focus mark is combined with the specified area to obtain display data.
[0098] For example, a focus mark can be added to the video recording interface so that the user can align and adjust the focus position more accurately. The focus mark can be a grid line, a focus reference line, an auxiliary pattern, or other forms of marks. Here, when the target auxiliary function is a focus mark function, a second window is displayed on the video recording interface. When the user performs a focus operation, by acquiring a video data stream, a preprocessing operation is performed on the target image in the video data stream, such as image enhancement, denoising, and color correction, etc., the image quality and the accuracy of identifying the focus subject can be improved. Then, the focus subject analysis of the target image in the video data stream is performed using an algorithm to determine the position of the focus subject, and according to the focus subject identified in the focus area and the original designated area, an image of the designated area with a focus mark can be obtained by image synthesis or image superposition and displayed in the second window. In this way, the focus mark is superimposed on the focus subject in the designated area, and the user can align and adjust the focus position faster through the focus mark.
[0099] For example, Figure 6 As shown, when the user clicks on the designated area 500 including the focus subject in the first window 400, for the focus area magnification function, the focus area in the designated area 500 of the image displayed in the first window 400 is magnified, and the enlarged focus area is synthesized with the designated area and displayed in the second window 301; for the focus mark function, the preview content during the video recording process is displayed in the first window 400, and the blur effect can be displayed, but the focus mark, focus frame, etc. are not displayed, and the currently focused focus subject can be displayed in the second window 301, the focus mark 303 can be displayed in the second window 301, or the second window 301 can also display information such as the blurred object and the degree of blur.
[0100] As an optional embodiment, the target auxiliary function is a data display function, and the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0101] Acquire shooting parameters of a target image in a video data stream, where the target image is any frame image in the video data stream, and the shooting parameters include brightness data and / or color channel data;
[0102] Processing the shooting parameters to obtain a histogram;
[0103] Use a histogram as display data.
[0104] For example, when the target auxiliary function is a data display function, the histogram obtained by processing the brightness data and / or color channel data of the target image in the video data stream is displayed, so that the user can intuitively view the brightness data and / or color channel data during the video recording process according to the histogram. Figure 2 As shown, the horizontal axis of the histogram represents the brightness level, and the vertical axis represents the number of pixels occupied by the color. The number of pixels at each brightness level of the image is graphically represented to show the distribution of pixels in the image. Specifically, the histogram shows details in the shadows (shown in the left part of the histogram), midtones (shown in the middle), and highlights (shown in the right part). The histogram can help users determine whether an image has enough details for good correction. It can be understood that the details of low-key images are concentrated in the shadows, the details of high-key images are concentrated in the highlights, and the details of average-key images are concentrated in the midtones. Images with a full tonal range have a large number of pixels in all areas.
[0105] For example, different styles of histogram displays, such as linear graphs, bar graphs, or color distribution graphs, may be provided to meet the personalized needs and preferences of users.
[0106] As an optional embodiment, the target auxiliary function is a target tracking function, and the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0107] Determine an object of interest of a target image in a video data stream, where the target image is any frame image in the video data stream;
[0108] The target parameters of the target of interest are used as display data.
[0109] For example, when the target assist function is a target tracking function, by acquiring the video data stream, computer vision technology, such as target detection and tracking algorithms, can be used to identify and track the target of interest in the target image in the video data stream to determine the position, motion trajectory and other features of the target of interest. Then, by synthesizing the information window displaying the relevant information of the target of interest with the target image and displaying it in the second window, intelligent mirror display can be achieved. During the video recording process, the operation of determining the target of interest can be continuously repeated, and the display content in the second window can be updated by continuously acquiring, analyzing and processing the latest image data to ensure that the display content and position are consistent with the target of interest.
[0110] For example, see Figure 3 When following the target for shooting, the target parameters of the target of interest can be displayed in the second window 301 through the target tracking function. The target parameters can be, for example, the distance, speed, direction, camera movement speed, camera direction, camera effect, etc. of the target of interest. A bounding box 302 for selecting the target of interest can also be displayed on the video recording interface. The bounding box 302 is used to indicate the current target of interest. The size of this bounding box 302 can be adjusted by the user. During the recording process, the user can specify a new target of interest, and can also re-identify the new target of interest according to the image recognition algorithm when the picture changes. When determining the target of interest in the target image in the video data stream, the target detection algorithm can be used to identify and track the target of interest in the target image to determine the position, motion trajectory and other characteristics of the target, etc., which can be set according to actual needs.
[0111] In addition, an interactive interface can be provided for users, and target parameters for display can be selected in the interactive interface through interactive elements such as menus, sliders, and buttons, so that users can customize and adjust the content and style displayed in the interactive interface.
[0112] As an optional embodiment, the target auxiliary function is a focus conversion function, and the video data stream is processed according to the target auxiliary function to obtain display data, including:
[0113] Determining a current focused subject in a video data stream;
[0114] When the object of interest in the video data stream is converted from the current focus subject to the target focus subject, the focus is moved from the position of the current focus subject to the position of the target focus subject;
[0115] The focus area corresponding to the target focus subject is used as display data.
[0116] For example, during video recording, the focus position can be automatically moved through the focus conversion function. Here, the target of interest can be identified based on the image recognition algorithm, for example, an object or animal in motion, a person in a speaking state, etc. can be used as a target of interest. In the case where the person's speaking state switches, or one object is still and another object starts to move, the focus can be moved from the position of the current focus subject to the position of the target focus subject to realize the focus conversion function. After the focus is moved, the focus area corresponding to the focus position can be used as display data. In this process, the focus subject in the second window display screen is switched from the current focus subject to the target focus subject.
[0117] As an optional embodiment, the target auxiliary function is a focus compensation function, and a first adjustment control for adjusting focus data is displayed in the second window. The method further includes:
[0118] Get the video data stream during video recording;
[0119] determining focus compensation data in response to an adjustment operation on the first adjustment control;
[0120] The focus data of the video data stream is adjusted according to the focus compensation data, and the video data stream after the focus data is adjusted is displayed on the video recording interface.
[0121] For example, when the target auxiliary function is a focus compensation function, a first adjustment control for adjusting focus data is displayed in the second window, and the user can adjust the focus data in the video data stream by performing an adjustment operation on the first adjustment control.
[0122] For example, the focus data can be obtained by a focus sensor of the camera, phase focus technology or other focus measurement methods. The interactive element of the first adjustment control can be, for example, a sliding bar, plus or minus buttons or other interactive elements, etc. The focus compensation data required by the user to compensate the focus data can be determined by sliding the first adjustment control or clicking the corresponding button, and the focus compensation data can be increased or decreased by using the focus data to determine the adjusted focus data.
[0123] In addition, in order to improve the performance and stability of the focus compensation adjustment function, appropriate focus sensors, optimization algorithms and feedback mechanisms can be used to ensure that the user's adjusted diagonal data can be accurately applied to the actual focusing process and obtain a better focusing effect.
[0124] For example, when the target auxiliary function is a focus compensation function, the user can be provided with interactive controls for focus compensation adjustment in the second window, such as a slider, plus or minus buttons, etc., so that the user can intuitively adjust the focus compensation parameters. After the user performs an adjustment operation on the interactive control, the focus data is obtained through a focus sensor, phase focus technology or other focus measurement methods, and based on the focus compensation algorithm, the focus position can be fine-tuned according to the focus compensation data adjusted by the user to achieve an over-focus or slightly under-focus effect, so as to apply the focus compensation data adjusted by the user to the actual focusing process. Specifically, in response to the user's sliding or clicking operation on the first adjustment control, the focus position is adjusted accordingly according to the focus compensation data set by the user, and the picture after the focus compensation adjustment can be displayed in real time in the video recording interface or the second window, so that the user can intuitively observe and confirm the adjusted focus result.
[0125] As an optional embodiment, the method further includes:
[0126] In response to the call operation of the target focus data in the historical parameter record, the focus data of the video data stream is adjusted to the target focus data, and the video data stream with adjusted focus data is displayed on the video recording interface. The historical parameter record includes multiple focus data saved during the historical recording of the video.
[0127] For example, in order to facilitate users to adjust focus compensation in different scenes, a function of saving and restoring diagonal data can be provided. In response to the operation of saving the adjusted focus data, the adjusted focus data is saved in the historical parameter record, and in response to the operation of calling the target focus data in the historical parameter record, the focus data of the video data stream is adjusted to the target focus data. In this way, users can easily switch between different shooting scenes and automatically restore the previously set focus data.
[0128] As an optional embodiment, the target auxiliary function is a blur data adjustment function, and a second adjustment control for adjusting the blur data is displayed in the second window. The method further includes:
[0129] Get the video data stream during video recording;
[0130] In response to an adjustment operation on the second adjustment control, determining target blurring data;
[0131] The video data stream adjusted to the target blurred data is displayed on the video recording interface.
[0132] For example, the target assist function can also adjust the blurred data. A second adjustment control for adjusting the blurred data is displayed in the second window. The user can adjust the blurred data in the video data stream by performing an adjustment operation on the second adjustment control.
[0133] By way of example, the interactive elements of the second adjustment control may be, for example, a sliding bar, plus or minus buttons, or other interactive elements, etc. The target blur data adjusted by the user may be determined by the user sliding the second adjustment control or clicking a corresponding button, and the target blur data may be applied to the video data stream, so that the blur data of the video data stream is adjusted to the target blur data and displayed in the second window.
[0134] As an optional embodiment, a display area of the first window is larger than a display area of the second window.
[0135] For example, in the video recording interface, the first window is used to display the preview content during the video recording process, and the second window is used to display the information corresponding to the target auxiliary function. In order to ensure that the user's attention is more focused on the preview content during the video recording process, the display area of the first window is set to be larger than the display area of the second window.
[0136] As an optional embodiment, displaying a second window on the video recording interface includes:
[0137] In the video recording interface, the second window is floated on the first window for display.
[0138] For example, see Figure 4 and Figure 5 In the video recording interface, the second window 301 can be Figure 4 The floating mode shown is displayed on the first window 400, and can also be displayed in Figure 5 The parallel arrangement shown is displayed in parallel with the first window 400 in the video recording interface.
[0139] As an optional embodiment, the method further includes:
[0140] In response to the drag operation on the second window, the second window is moved to a target position corresponding to the drag operation.
[0141] For example, the second window may be moved to a target position corresponding to the dragging operation by the user dragging the second window on the terminal screen. The dragging operation may be, for example, long pressing the second window and then sliding it to the target position.
[0142] As an optional embodiment, the method further includes:
[0143] When the brightness of a frame image in the recorded video exceeds a brightness threshold, an exposure warning message is displayed in the second window.
[0144] For example, an exposure warning function is added. When the brightness of a frame image in a recorded video exceeds a brightness threshold, an exposure warning message is displayed in the second window, which can help users evaluate the exposure of the image during recording. Avoid overexposure or underexposure as much as possible to ensure that the recorded video has good exposure quality. Users can also be provided with a function to set an exposure warning threshold. Users can set the exposure warning threshold according to their needs and shooting scenes to adapt to different exposure requirements and environmental conditions.
[0145] As an optional embodiment, the method further includes:
[0146] In response to the brightness control operation, displaying a third adjustment control in the second window for adjusting the brightness of the frame image in the recorded video;
[0147] In response to an adjustment operation on the third adjustment control, a target brightness corresponding to the adjustment operation is determined, and video recording is performed according to the target brightness.
[0148] For example, a second adjustment control for adjusting the brightness of frame images in the recorded video can be provided in the second window, and a real-time brightness adjustment function can be provided to the user, so that the user can adjust the brightness data of the camera according to the exposure warning information to obtain a more suitable shooting effect.
[0149] Figure 7 is a block diagram of a video recording device according to an exemplary embodiment. Figure 7 , the device includes a first display module 601 and a second display module 602.
[0150] The first display module 601 is configured to display a first window on the video recording interface in response to the video recording operation, where the first window is used to display the preview content during the video recording process;
[0151] The second display module 602 is configured to display a second window in the video recording interface in response to a triggering operation on the target auxiliary function, and the second window is used to display information corresponding to the target auxiliary function, and the target auxiliary function is used to display or control data during the video recording process.
[0152] As an optional embodiment, the second display module 602 includes:
[0153] An acquisition submodule, configured to acquire a video data stream during a video recording process in response to a triggering operation on a target auxiliary function;
[0154] an acquisition submodule, configured to process the video data stream according to the target auxiliary function to obtain display data;
[0155] The display submodule is configured to display a second window including display data on the video recording interface.
[0156] As an optional embodiment, obtaining the submodule includes:
[0157] A first determination submodule is configured to determine a designated area of a target image in the video data stream in response to an area selection operation in the first window, where the target image is any frame image in the video data stream;
[0158] A second determination submodule is configured to determine a focus area in a designated area;
[0159] The processing submodule is configured to process the designated area and the focus area according to the target auxiliary function to obtain display data.
[0160] As an optional embodiment, the target auxiliary function is a focus area magnification function, and the processing submodule is specifically configured as follows:
[0161] A focus area is enlarged to obtain an enlarged focus area;
[0162] The magnified focus area and the specified area are synthesized to obtain display data.
[0163] As an optional embodiment, the target auxiliary function is a focus marking function, and the processing submodule is specifically configured as follows:
[0164] Generate a focus mark according to the focus subject in the focus area;
[0165] The focus mark is combined with the specified area to obtain display data.
[0166] As an optional embodiment, the target auxiliary function is a data display function, and the acquisition submodule is specifically configured as follows:
[0167] Acquire shooting parameters of a target image in a video data stream, where the target image is any frame image in the video data stream, and the shooting parameters include brightness data and / or color channel data;
[0168] Processing the shooting parameters to obtain a histogram;
[0169] Use a histogram as display data.
[0170] As an optional embodiment, the target auxiliary function is a target tracking function, and the acquisition submodule is specifically configured as follows:
[0171] Determine an object of interest of a target image in a video data stream, where the target image is any frame image in the video data stream;
[0172] The target parameters of the target of interest are used as display data.
[0173] As an optional embodiment, the target auxiliary function is a focus conversion function, and the acquisition submodule is specifically configured as follows:
[0174] Determining a current focused subject in a video data stream;
[0175] When the object of interest in the video data stream is converted from the current focus subject to the target focus subject, the focus is moved from the position of the current focus subject to the position of the target focus subject;
[0176] The focus area corresponding to the target focus subject is used as display data.
[0177] As an optional embodiment, the target auxiliary function is a focus compensation function, and a first adjustment control for adjusting focus data is displayed in the second window. The video recording device also includes:
[0178] An acquisition module is configured to acquire a video data stream during video recording;
[0179] a determination module configured to determine focus compensation data in response to an adjustment operation on the first adjustment control;
[0180] The first adjustment module is configured to adjust the focus data of the video data stream according to the focus compensation data, and display the video data stream after the focus data is adjusted on the video recording interface.
[0181] As an optional embodiment, the video recording device further includes:
[0182] The second adjustment module is configured to adjust the focus data of the video data stream to the target focus data in response to a call operation on the target focus data in the historical parameter record, and display the video data stream after the focus data is adjusted on the video recording interface. The historical parameter record includes multiple focus data saved during the historical recording of the video.
[0183] As an optional embodiment, the target auxiliary function is a blur data adjustment function, and a second adjustment control for adjusting blur data is displayed in the second window. The video recording device is further configured as follows:
[0184] Get the video data stream during video recording;
[0185] In response to an adjustment operation on the second adjustment control, determining target blurring data;
[0186] The video data stream adjusted to the target blurred data is displayed on the video recording interface.
[0187] As an optional embodiment, a display area of the first window is larger than a display area of the second window.
[0188] As an optional embodiment, the second display module 602 is specifically configured as follows:
[0189] In the video recording interface, the second window is floated on the first window for display.
[0190] As an optional embodiment, the video recording device further includes:
[0191] The moving module is configured to move the second window to a target position corresponding to the dragging operation in response to the dragging operation on the second window.
[0192] As an optional embodiment, the video recording device further includes:
[0193] The third display module is configured to display exposure warning information in the second window when the brightness of the frame image in the recorded video exceeds the brightness threshold.
[0194] As an optional embodiment, the video recording device further includes:
[0195] a fourth display module, configured to display, in response to a brightness control operation, a third adjustment control for adjusting the brightness of a frame image in the recorded video in the second window;
[0196] The video recording module is configured to determine a target brightness corresponding to the adjustment operation in response to an adjustment operation on the third adjustment control, and perform video recording according to the target brightness.
[0197] Regarding the video recording device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the video recording method, and will not be elaborated here.
[0198] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the video recording method provided by the present disclosure is implemented.
[0199] The present disclosure also provides a terminal, including:
[0200] a storage device including a computer program;
[0201] The processing device is used to execute a computer program to implement the video recording method provided by the present disclosure.
[0202] Figure 81 is a block diagram of a terminal according to an exemplary embodiment. For example, the terminal may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0203] Reference Figure 8 The terminal may include one or more of the following components: a first processing component 702 , a first memory 704 , a first power component 706 , a multimedia component 708 , an audio component 710 , a first input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0204] The first processing component 702 generally controls the overall operation of the terminal, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 702 may include one or more first processors 720 to execute instructions to complete all or part of the steps of the above-mentioned video recording method. In addition, the first processing component 702 may include one or more modules to facilitate the interaction between the first processing component 702 and other components. For example, the first processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the first processing component 702.
[0205] The first memory 704 is configured to store various types of data to support operations on the terminal. Examples of these data include instructions for any application or method operating on the terminal, contact data, phone book data, messages, pictures, videos, etc. The first memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0206] The first power supply component 706 provides power to various components of the terminal. The first power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal.
[0207] The multimedia component 708 includes a screen that provides an output interface between the terminal and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the terminal is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0208] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the terminal is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0209] The first input / output interface 712 provides an interface between the first processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0210] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the terminal. For example, the sensor assembly 714 can detect the open / closed state of the terminal, the relative positioning of components, such as the display and keypad of the terminal, and the sensor assembly 714 can also detect the position change of the terminal or a component of the terminal, the presence or absence of user contact with the terminal, the terminal orientation or acceleration / deceleration and the temperature change of the terminal. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0211] The communication component 716 is configured to facilitate wired or wireless communication between the terminal and other devices. The terminal can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0212] In an exemplary embodiment, the terminal may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned video recording method.
[0213] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 704 including instructions, and the instructions can be executed by a first processor 720 of the terminal to complete the above-mentioned video recording method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0214] In addition to being an independent electronic device, the above-mentioned video recording device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned video recording method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned video recording method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned video recording method.
[0215] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned video recording method when executed by the programmable device.
[0216] Fig. 9 8 is a block diagram of a device 800 for video recording according to an exemplary embodiment. For example, the device 800 may be provided as a server. Fig. 9 The apparatus 800 includes a second processing component 822, which further includes one or more second processors, and a memory resource represented by a second memory 832 for storing instructions executable by the second processing component 822, such as an application. The application stored in the second memory 832 may include one or more modules, each corresponding to a set of instructions. In addition, the second processing component 822 is configured to execute instructions to perform the above-mentioned video recording method.
[0217] The device 800 may further include a second power supply component 826 configured to perform power management of the device 800, a wired or wireless network interface 850 configured to connect the device 800 to a network, and a second input / output interface 858. The device 800 may operate based on an operating system stored in the second memory 832, such as Windows Server 2000. TM , MacOS X TM , Unix TM , Linux TM , FreeBSD TM or similar.
[0218] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0219] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A video recording method, characterized in that: The method comprises: In response to the video recording operation, displaying a first window on the video recording interface, wherein the first window is used to display preview content during the video recording process; In response to a triggering operation on a target assist function, a second window is displayed on the video recording interface, the second window being used to display information corresponding to the target assist function, and the target assist function being used to display or control data during the video recording process.
2. The method according to claim 1, characterized in that In response to a triggering operation on the target assist function, displaying a second window on the video recording interface includes: In response to a triggering operation on a target auxiliary function, obtaining a video data stream during a video recording process; Processing the video data stream according to the target auxiliary function to obtain display data; A second window including the display data is displayed on the video recording interface.
3. The method according to claim 2, characterized in that Processing the video data stream according to the target auxiliary function to obtain display data includes: In response to the area selection operation in the first window, determining a designated area of a target image in the video data stream, wherein the target image is any frame image in the video data stream; Determining a focus area in the designated area; The designated area and the focus area are processed according to the target auxiliary function to obtain the display data.
4. The method according to claim 3, characterized in that The target auxiliary function is a focus area magnification function, and the designated area and the focus area are processed according to the target auxiliary function to obtain the display data, including: Amplifying the focus area to obtain an enlarged focus area; The enlarged focus area and the designated area are synthesized to obtain the display data.
5. The method according to claim 3, characterized in that: The target auxiliary function is a focus marking function, and the designated area and the focus area are processed according to the target auxiliary function to obtain the display data, including: generating a focus mark according to a focus subject in the focus area; The focus mark is synthesized with the designated area to obtain the display data.
6. The method according to claim 2, characterized in that The target auxiliary function is a data display function, and the video data stream is processed according to the target auxiliary function to obtain display data, including: Acquire shooting parameters of a target image in the video data stream, where the target image is any frame image in the video data stream, and the shooting parameters include brightness data and / or color channel data; Processing the shooting parameters to obtain a histogram; The histogram is used as the display data.
7. The method according to claim 2, characterized in that The target auxiliary function is a target tracking function, and the video data stream is processed according to the target auxiliary function to obtain display data, including: Determine an object of interest of a target image in the video data stream, wherein the target image is any frame image in the video data stream; The target parameters of the target of interest are used as the display data.
8. The method according to claim 2, characterized in that: The target auxiliary function is a focus conversion function, and the video data stream is processed according to the target auxiliary function to obtain display data, including: Determining a current focused subject in the video data stream; When the object of interest in the video data stream is converted from the current focus subject to the target focus subject, moving the focus from the position of the current focus subject to the position of the target focus subject; The focus area corresponding to the target focus subject is used as the display data.
9. The method according to claim 1, characterized in that: The target auxiliary function is a focus compensation function, and a first adjustment control for adjusting focus data is displayed in the second window. The method further includes: Get the video data stream during video recording; determining focus compensation data in response to an adjustment operation on the first adjustment control; The focus data of the video data stream is adjusted according to the focus compensation data, and the video data stream after the focus data is adjusted is displayed on the video recording interface.
10. The method according to claim 9, characterized in that The method further comprises: In response to a call operation on the target focus data in the historical parameter record, the focus data of the video data stream is adjusted to the target focus data, and the video data stream with adjusted focus data is displayed on the video recording interface. The historical parameter record includes multiple focus data saved during the historical recording of the video.
11. The method according to claim 1, characterized in that The target auxiliary function is a blur data adjustment function, and a second adjustment control for adjusting blur data is displayed in the second window. The method further includes: Get the video data stream during video recording; In response to an adjustment operation on the second adjustment control, determining target blurring data; The video data stream adjusted to the target blurred data is displayed on the video recording interface.
12. The method according to any one of claims 1 to 11, characterized in that: The display area of the first window is larger than the display area of the second window.
13. The method according to any one of claims 1 to 11, characterized in that: Displaying a second window on the video recording interface includes: In the video recording interface, the second window is floated on the first window for display.
14. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: In response to a drag operation on the second window, the second window is moved to a target position corresponding to the drag operation.
15. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: When the brightness of a frame image in the recorded video exceeds a brightness threshold, an exposure warning message is displayed in the second window.
16. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: In response to the brightness control operation, displaying a third adjustment control in the second window for adjusting the brightness of the frame image in the recorded video; In response to an adjustment operation on the third adjustment control, a target brightness corresponding to the adjustment operation is determined, and video recording is performed according to the target brightness.
17. A video recording device, characterized in that: include: A first display module is configured to display a first window on the video recording interface in response to a video recording operation, wherein the first window is used to display preview content during the video recording process; The second display module is configured to display a second window on the video recording interface in response to a triggering operation on the target auxiliary function, wherein the second window is used to display information corresponding to the target auxiliary function.
18. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the video recording method described in any one of claims 1-16 is implemented.
19. A terminal, characterized in that: include: a storage device including a computer program; A processing device, used to execute the computer program to implement the video recording method described in any one of claims 1-16.