Screen recording method and device, storage medium and electronic device

By creating a virtual monitor and adjusting display parameters, the problem of limited screen recording resolution was solved, enabling high-resolution recording and display of screen recording data.

CN115617288BActive Publication Date: 2026-04-17GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Filing Date
2021-07-16
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

During screen recording, the resolution of the recorded screen image is limited by the resolution of the original monitor, resulting in a blurry image when the screen image recorded on a monitor with a lower resolution is displayed on a monitor with a higher resolution.

Method used

By creating a virtual monitor, second display parameters that support different resolution standards and specifications are obtained, and the display parameters of the first monitor are adjusted to the second display parameters. When recording the screen, a copying method is used, resulting in screen recording data with a resolution higher than that of the first monitor.

Benefits of technology

It improves the resolution of screen recordings, making the resolution of the recorded data higher than that of the original monitor, thus enhancing the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115617288B_ABST
    Figure CN115617288B_ABST
Patent Text Reader

Abstract

This application provides a screen recording method, apparatus, storage medium, and electronic device. The method includes: acquiring first display parameters of a first display, the first display parameters including a first resolution of the first display; creating a virtual display according to a driver, and acquiring second display parameters corresponding to the virtual display according to the first display parameters, the second display parameters including a second resolution, and the second resolution being higher than the first resolution; recording the screen according to the second display parameters to obtain screen recording data, wherein the resolution of the screen recording data is the second resolution. This improves the resolution of the screen recording.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal control technology, and in particular to a screen recording method, apparatus, storage medium and electronic device. Background Technology

[0002] Screen recording refers to the process of recording the screen through the system interface. The screen data obtained through screen recording can be saved as a video file or transmitted to other devices for display.

[0003] During screen recording, the resolution of the recorded screen image is limited by the resolution of the original monitor and cannot exceed it. Therefore, screen images recorded on a lower-resolution monitor will result in a very blurry display when shown on a higher-resolution monitor. Summary of the Invention

[0004] This application provides a screen recording method, apparatus, storage medium, and electronic device, which can improve the resolution of the recorded screen. The technical solution is as follows:

[0005] In a first aspect, embodiments of this application provide a screen recording method, including:

[0006] Obtain the first display parameters of the first display, wherein the first display parameters include the first resolution of the first display;

[0007] A virtual display is created based on the driver, and a second display parameter corresponding to the virtual display is obtained based on the first display parameter. The second display parameter includes a second resolution, and the second resolution is higher than the first resolution.

[0008] Screen recording is performed based on the second display parameters to obtain screen recording data, and the resolution of the screen recording data is the second resolution.

[0009] In one possible implementation, obtaining the second display parameter corresponding to the virtual display based on the first display parameter includes:

[0010] Obtain a target resolution standard, which is used to indicate the number of pixels included in each line of the desired screen recording;

[0011] The second display parameter is obtained based on the first display parameter and the target resolution standard.

[0012] In one possible implementation, the first display parameter further includes a first scaling factor, and the second display parameter further includes a second scaling factor; obtaining the second display parameter based on the first display parameter and the target resolution standard includes:

[0013] The second resolution is obtained based on the first resolution and the target resolution standard;

[0014] The second scaling factor is obtained based on the first scaling factor, the first resolution, and the second resolution, wherein the first scaling factor is the ratio between the third resolution of the original screen corresponding to the screen recording data and the first resolution, and the second scaling factor is the ratio between the third resolution and the second resolution.

[0015] In one possible implementation, obtaining the second resolution based on the first resolution and the target resolution standard includes:

[0016] The virtual display has multiple preset resolutions obtained according to the target resolution standard;

[0017] Based on the first resolution, the second resolution is determined from among the plurality of preset resolutions.

[0018] In one possible implementation, determining the second resolution from among the plurality of preset resolutions based on the first resolution includes:

[0019] Obtain the first aspect ratio of the first resolution, where the first aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the first resolution;

[0020] Obtain the second aspect ratio of each preset resolution, where the second aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the preset resolution;

[0021] Based on the first aspect ratio and each of the second aspect ratios, the second resolution is determined among the plurality of preset resolutions.

[0022] In one possible implementation, determining the second resolution among the plurality of preset resolutions based on the first aspect ratio and each of the second aspect ratios includes:

[0023] Obtain the difference between each of the second aspect ratios and the first aspect ratio;

[0024] The preset resolution corresponding to the second aspect ratio with the smallest difference is determined as the second resolution.

[0025] In one possible implementation, obtaining the second scaling ratio based on the first scaling ratio, the first resolution, and the second resolution includes:

[0026] The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per row corresponding to the first resolution, and the number of pixels per row corresponding to the second resolution; or...

[0027] The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per column corresponding to the first resolution, and the number of pixels per column corresponding to the second resolution.

[0028] In one possible implementation, the step of recording the screen according to the second display parameters to obtain screen recording data includes:

[0029] Adjust the first display parameter of the first display to the second display parameter;

[0030] Obtain adjustment instructions, and adjust the display mode between the first display and the virtual display to a copy mode according to the adjustment instructions;

[0031] The screen is recorded according to the second display parameters in the copy mode to obtain the screen recording data.

[0032] In one possible implementation, the screen recording method further includes:

[0033] Obtain the stop command;

[0034] The screen recording is stopped according to the stop command, and the display parameters of the first display are adjusted to the first display parameters.

[0035] In one possible implementation, the screen recording method further includes:

[0036] A video file is generated based on the screen recording data.

[0037] Secondly, embodiments of this application provide a screen recording device, comprising:

[0038] The acquisition module is used to acquire the first display parameters of the first display, wherein the first display parameters include the first resolution of the first display;

[0039] The processing module is configured to create a virtual display based on the driver, and obtain a second display parameter corresponding to the virtual display based on the first display parameter, wherein the second display parameter includes a second resolution, and the second resolution is higher than the first resolution;

[0040] The screen recording module is used to record the screen according to the second display parameters to obtain screen recording data, wherein the resolution of the screen recording data is the second resolution.

[0041] In one possible implementation, the processing module is specifically used for:

[0042] Obtain a target resolution standard, which is used to indicate the number of pixels included in each line of the desired screen recording;

[0043] The second display parameter is obtained based on the first display parameter and the target resolution standard.

[0044] In one possible implementation, the first display parameter further includes a first scaling ratio, and the second display parameter further includes a second scaling ratio; the processing module is specifically used for:

[0045] The second resolution is obtained based on the first resolution and the target resolution standard;

[0046] The second scaling factor is obtained based on the first scaling factor, the first resolution, and the second resolution, wherein the first scaling factor is the ratio between the third resolution of the original screen corresponding to the screen recording data and the first resolution, and the second scaling factor is the ratio between the third resolution and the second resolution.

[0047] In one possible implementation, the processing module is specifically used for:

[0048] The virtual display has multiple preset resolutions obtained according to the target resolution standard;

[0049] Based on the first resolution, the second resolution is determined from among the plurality of preset resolutions.

[0050] In one possible implementation, the processing module is specifically used for:

[0051] Obtain the first aspect ratio of the first resolution, where the first aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the first resolution;

[0052] Obtain the second aspect ratio of each preset resolution, where the second aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the preset resolution;

[0053] Based on the first aspect ratio and each of the second aspect ratios, the second resolution is determined among the plurality of preset resolutions.

[0054] In one possible implementation, the processing module is specifically used for:

[0055] Obtain the difference between each of the second aspect ratios and the first aspect ratio;

[0056] The preset resolution corresponding to the second aspect ratio with the smallest difference is determined as the second resolution.

[0057] In one possible implementation, the processing module is specifically used for:

[0058] The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per row corresponding to the first resolution, and the number of pixels per row corresponding to the second resolution; or...

[0059] The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per column corresponding to the first resolution, and the number of pixels per column corresponding to the second resolution.

[0060] In one possible implementation, the screen recording module is specifically used for:

[0061] Adjust the first display parameter of the first display to the second display parameter;

[0062] Obtain adjustment instructions, and adjust the display mode between the first display and the virtual display to a copy mode according to the adjustment instructions;

[0063] The screen is recorded according to the second display parameters in the copy mode to obtain the screen recording data.

[0064] In one possible implementation, the processing module is further configured to:

[0065] Obtain the stop command;

[0066] The screen recording is stopped according to the stop command, and the display parameters of the first display are adjusted to the first display parameters.

[0067] In one possible implementation, the processing module is further configured to:

[0068] A video file is generated based on the screen recording data.

[0069] Thirdly, embodiments of this application provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the screen recording method as described in any one of the first aspects.

[0070] Fourthly, embodiments of this application provide an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed as described in any one of the first aspects.

[0071] Fifthly, embodiments of this application provide a computer program product comprising a plurality of instructions adapted to be loaded by a processor and executed as described in any one of the first aspects.

[0072] The screen recording method, apparatus, storage medium, and electronic device provided in this application first obtain first display parameters of a first display, including the first resolution of the first display. Then, a virtual display is created according to a driver, and second display parameters corresponding to the virtual display are obtained according to the first display parameters. By creating a virtual display, and since the virtual display supports different resolution standards and specifications, it is unaffected by the first resolution of the first display. The screen recording data obtained by recording according to the second display parameters has a second resolution that is higher than the first resolution. Therefore, the solution provided in this application can obtain screen recording data with a resolution higher than the first resolution, thus improving the resolution of the screen recording image. Attached Figure Description

[0073] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0074] Figure 1 A schematic diagram illustrating the display of an image on different display resolutions, provided as an embodiment of this application;

[0075] Figure 2 This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0076] Figure 3 A schematic flowchart illustrating a screen recording method provided in an embodiment of this application;

[0077] Figure 4 A schematic diagram illustrating a screen recording scheme provided in an embodiment of this application;

[0078] Figure 5 A schematic diagram of the process for obtaining the second display parameter provided in an embodiment of this application;

[0079] Figure 6 These are schematic diagrams showing different aspect ratios in the embodiments of this application;

[0080] Figure 7 A schematic diagram of the screen recording process provided in an embodiment of this application;

[0081] Figure 8 This is a schematic diagram illustrating different display methods under multiple monitors provided in the embodiments of this application;

[0082] Figure 9 This is a schematic diagram of scaling transformation provided in an embodiment of this application;

[0083] Figure 10 This is a schematic diagram illustrating the adjustment of display parameters provided in an embodiment of this application;

[0084] Figure 11 This is a schematic diagram of the screen recording device provided in the embodiments of this application;

[0085] Figure 12 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0086] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0087] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0088] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0089] In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0090] First, the concepts involved in this application will be introduced.

[0091] Resolution: Also known as resolution, resolution can be divided into display resolution and image resolution. Image resolution refers to the information stream stored in an image, representing the number of pixels per inch. Display resolution refers to the resolution of a monitor when displaying an image, measured in dots. The numerical value of display resolution refers to the number of horizontal and vertical pixels across the entire viewable area of ​​the monitor.

[0092] Resolution standard: refers to the approximate number of pixels in a row. Common values ​​for describing resolution standards include 2K, 4K, 8K, etc. When the resolution standard is 2K, it means that the number of pixels in each row at the corresponding resolution is around 2000. It can be larger or smaller than 2000. When the resolution standard is other values, the value of the number of pixels in each row at the corresponding resolution is the same.

[0093] Aspect ratio: refers to the ratio of the number of pixels in the horizontal direction to the number of pixels in the vertical direction.

[0094] Resolution specification: This refers to the number of pixels in the actual displayed image in both the horizontal and vertical directions. Resolution standards only specify the number of horizontal pixels; the same resolution standard will result in different resolution specifications under different aspect ratios. For example, when the resolution standard is 2K, different aspect ratios can result in resolution specifications such as 2560*1440 and 2560*1600, corresponding to aspect ratios of 16:9 and 16:10 respectively.

[0095] Screen recording refers to the process of recording screen images through system interfaces under the operating system. The recorded screen data can be saved as a video file or transmitted to other devices for display.

[0096] Scaling ratio: This parameter addresses the issue of a screen recording application's window appearing too small when the monitor's resolution is too high and the screen size is too small. After setting the scaling ratio, the operating system will scale the screen recording application's window accordingly. For example, when the scaling ratio is 200%, an 800*600 pixel window will actually display as 1600*1200 pixels. The scaling ratio is explained below with an accompanying diagram.

[0097] Figure 1 This application provides an embodiment of an image displayed on different display resolutions, as shown in the diagram. Figure 1 As shown, the display includes a display 11 and a display 12, wherein the display 11 and the display 12 are the same size, but have different resolutions.

[0098] The resolution of monitor 11 is 1920*1080, and the resolution of monitor 12 is 3840*2160. The original image has a resolution of 1920*1080. Therefore, when the original image is displayed without scaling (i.e., at a scaling ratio of 100%), it fills the entire screen of monitor 11. However, when displayed on monitor 12, it only occupies one-quarter of the screen. In other words, because monitor 12 has a higher resolution and a smaller size, the original image appears too small on monitor 12. To make the original image fill the entire screen of monitor 12, it needs to be scaled, and the scaling ratio can be set to 200%.

[0099] The following section will first introduce one applicable application scenario of this application.

[0100] Figure 2 This is a schematic diagram of an application scenario provided in an embodiment of this application, such as... Figure 2 As shown, it includes a terminal device 20 and a display 21, wherein the terminal device 20 also has a built-in display 22.

[0101] When the terminal device 20 displays an image on the monitor 22, the screen displayed on the monitor 22 can be recorded to obtain screen recording data. The screen recording data can be processed and saved as a video file, or played on other monitors, for example... Figure 2 Example monitor 21.

[0102] Each monitor has its own resolution, which indicates the maximum number of pixels the monitor can display horizontally and vertically. Different monitors may have the same resolution or different resolutions.

[0103] When recording the screen displayed on monitor 22, the resulting screen recording data describes information such as the pixel values ​​of each pixel on monitor 22. Therefore, based on this screen recording data, the pixel values ​​of each pixel on monitor 22 can be obtained, and the corresponding screen recording can be displayed on other monitors. However, because directly recording the screen displayed on monitor 22 is limited by the resolution of monitor 22, the resolution of the resulting screen recording data will not exceed the resolution of monitor 22.

[0104] In some scenarios, such as Figure 2The example display 21 is a large display used in meetings, and its resolution is higher than that of the display 22 that comes with the terminal device 20. If the screen displayed on the display 22 needs to be recorded and displayed on the display 21, the resolution of the screen recording data will not exceed the resolution of the display 22, and will be lower than the resolution of the display 21, resulting in a very blurry image displayed on the display 21.

[0105] One method to improve resolution is through super-resolution, which uses algorithms to convert low-resolution video into high-resolution video, thus improving image quality. This approach involves processing the low-resolution video to map one pixel to multiple pixels, thereby increasing resolution. However, because super-resolution increases the number of pixels, and the values ​​of these additional pixels can be determined by combining the values ​​of surrounding pixels, some image details may be lost. Furthermore, this method relies on specific hardware and requires significant hardware resources.

[0106] To address the aforementioned problems, this application provides a screen recording solution that can improve the resolution of the recorded screen without relying on a specific device and while minimizing the loss of image details. The solution will be described below with reference to the accompanying drawings.

[0107] Figure 3 This is a flowchart illustrating a screen recording method provided in an embodiment of this application, as shown below. Figure 3 As shown, the method may include:

[0108] S31, obtain the first display parameters of the first display, the first display parameters including the first resolution of the first display.

[0109] The first display is the original display screen. The screen recording operation in this embodiment requires recording the display screen of the first display. The first display has corresponding first display parameters, which are parameters related to the display effect of the first display. Among them, the first display parameters include the first resolution of the first display.

[0110] The first resolution indicates the maximum number of pixels that the first display can achieve in both the horizontal and vertical directions. For example, a first resolution of 1920*1080 means that the first display has 1920 pixels in the horizontal direction and 1080 pixels in the vertical direction.

[0111] S32, create a virtual display according to the driver, and obtain the second display parameters corresponding to the virtual display according to the first display parameters. The second display parameters include a second resolution, and the second resolution is higher than the first resolution.

[0112] A virtual display is relative to an actual display. An actual display refers to a real, existing screen; it's a hardware device, such as the first display in an S31 microcontroller. A virtual display, however, is not a real, existing screen; it's created by a driver, and such a hardware device doesn't actually exist.

[0113] In this embodiment of the application, it is necessary to install and start the corresponding hardware driver on the operating system of the screen recording. At this time, the operating system will recognize that a new display has been connected, namely the virtual display.

[0114] The reason for setting up a virtual monitor is that real monitors have their own resolutions, such as the first resolution of the first monitor. If you directly record the screen of the real monitor, the resolution of the screen recording data will be affected by the resolution of the real monitor. It is impossible to obtain screen recording data that exceeds the original resolution of the real monitor. However, a virtual monitor can support different resolution standards and resolution specifications.

[0115] After creating a virtual display, the corresponding second display parameters can be obtained based on the first display parameters. The second display parameters are related to the display effect of the virtual display, and include a second resolution, which is higher than the first resolution. It should be noted that since a virtual display is not an actual hardware device, the image displayed on it cannot be actually seen.

[0116] S33, screen recording is performed according to the second display parameters to obtain screen recording data, and the resolution of the screen recording data is the second resolution.

[0117] After obtaining the second display parameters, screen recording can be performed based on these parameters to obtain corresponding screen recording data. This data describes information such as the pixel values ​​of each pixel on the recorded screen. The resolution of the screen recording data obtained from the second display parameters corresponds to the second resolution, which is higher than the first resolution.

[0118] The screen recording method provided in this application first obtains first display parameters of a first display, including the first resolution of the first display. Then, a virtual display is created according to a driver, and second display parameters corresponding to the virtual display are obtained according to the first display parameters. By creating a virtual display, and since the virtual display supports different resolution standards and specifications, it is unaffected by the first resolution of the first display. The screen recording data obtained by recording according to the second display parameters has a second resolution that is higher than the first resolution. Therefore, the solution provided in this application can obtain screen recording data with a resolution higher than the first resolution, thus improving the resolution of the screen recording.

[0119] The following section will provide a detailed description of the scheme of this application in conjunction with the accompanying drawings.

[0120] Figure 4 This is a schematic diagram of a screen recording scheme provided in an embodiment of this application, as shown below. Figure 4 As shown, it includes a processor 40, a first display 41, and a virtual display 42. The processor 40 and the first display 41 can be two different components of the same terminal device, such as the host and the display on a computer, respectively. The processor 40 and the first display 41 can also belong to different devices, such as the first display 41 being an external display connected to the processor 40.

[0121] The first display 41 displays a screen image. To record the screen image displayed on the first display 41, it is first necessary to obtain the first display parameters of the first display 41. The first display parameters include the first resolution of the first display 41, and optionally, the first display parameters may also include the first scaling ratio.

[0122] The first display parameters can be obtained through the system interface. For example, information such as the name and number of displays can be obtained through EnumDisplayDevices, and the display settings parameters can be obtained through EnumDisplaySettings. The first display parameters of the first display can be obtained through this system interface.

[0123] Virtual display 42 is a display created based on a hardware driver. Specifically, a virtual display driver can be developed based on the driver framework under the operating system (such as the Windows operating system) of processor 40, thereby enabling the creation of virtual display 42.

[0124] Since a higher resolution than the first resolution is required for recording, a target resolution standard is first obtained. Then, based on the first display parameters and the target resolution standard, the second display parameters corresponding to the virtual display 42 are obtained. The target resolution standard indicates the number of pixels in each line of the desired screen recording.

[0125] The second display parameter includes the second resolution. The resolution of the screen recording data obtained after recording based on the second display parameter is the resolution of the image. The second resolution represents the maximum number of pixels that can be achieved in the horizontal and vertical directions of the image corresponding to the screen recording data.

[0126] The target resolution standard can be determined according to actual needs, such as 2K, 4K, 8K, etc. There is a certain correlation between the target resolution standard and the maximum number of pixels that can be achieved horizontally in the second resolution, but they are not necessarily equal.

[0127] Taking a target resolution standard of 2K as an example, the maximum number of pixels that can be achieved horizontally in the final second resolution is around 2000. It can be greater than 2000, equal to 2000, or less than 2000, but its final value is close to 2000. For example, it can be 2560, 2100, etc.

[0128] The second display parameters include the second resolution and the second scaling ratio. The method for obtaining the second display parameters will be described in detail below. Figure 5 This is a schematic diagram of the process for obtaining the second display parameter provided in an embodiment of this application, as shown below. Figure 5 As shown, it includes:

[0129] S51, obtain the second resolution based on the first resolution and the target resolution standard.

[0130] Specifically, when creating a virtual monitor 42, multiple resolutions with different aspect ratios are preset according to the target resolution standard. Therefore, multiple preset resolutions of the virtual monitor 42 can be obtained based on the target resolution standard. Among them, resolutions with common aspect ratios can be used as multiple preset resolutions, such as 4:3, 16:9, 16:10, etc.

[0131] After obtaining multiple preset resolutions, the second resolution can be determined from among the multiple preset resolutions based on the first resolution.

[0132] One possible implementation is to first obtain a first aspect ratio for a first resolution, and then obtain a second aspect ratio for each preset resolution. The first aspect ratio is the ratio of the number of pixels per row to the number of pixels per column corresponding to the first resolution, and the second aspect ratio is the ratio of the number of pixels per row to the number of pixels per column corresponding to each preset resolution. Then, based on the first aspect ratio and each of the second aspect ratios, a second resolution is determined from among the multiple preset resolutions.

[0133] For example, let the first resolution of the first display be A.w *A h A w A represents the number of pixels per row corresponding to the first resolution. h Let A be the number of pixels per column corresponding to the first resolution. Then the first aspect ratio is A. w / A h .

[0134] For example, the second aspect ratio closest to the first aspect ratio can be found among multiple second aspect ratios, and the preset resolution corresponding to this closest second aspect ratio can be determined as the second resolution. Alternatively, the preset resolution corresponding to the minimum value among all second aspect ratios greater than or equal to the first aspect ratio can be determined as the second resolution, or the preset resolution corresponding to the maximum value among all second aspect ratios less than or equal to the first aspect ratio can be determined as the second resolution.

[0135] One possible implementation is to first obtain the difference between each second aspect ratio and the first aspect ratio, and then determine the preset resolution corresponding to the second aspect ratio with the smallest difference as the second resolution.

[0136] Figure 6 These are display illustrations for different aspect ratios provided in the embodiments of this application, such as... Figure 6 The image shows the display screen under three different aspect ratios.

[0137] Figure 6 In the original image, the aspect ratio between the horizontal and vertical lengths is 4:3. The aspect ratio of the resolution of monitor 61 is 4:3, the aspect ratio of the resolution of monitor 62 is 16:9, and the aspect ratio of the resolution of monitor 63 is 2:1.

[0138] from Figure 6 As can be seen in the illustration, the ratio between the horizontal and vertical lengths of the original image is the same as the aspect ratio of the resolution of display 61, so the original image will not be distorted when displayed on display 61. However, the ratio between the horizontal and vertical lengths of the original image is different from the aspect ratio of the resolutions of display 62 and display 63, so the original image will be distorted to varying degrees when displayed on display 62 and display 63.

[0139] Therefore, in this embodiment of the application, by finding the resolution with the aspect ratio closest to the first resolution among multiple preset resolutions as the second resolution, when screen recording is performed according to the second display parameters, the aspect ratio of the screen recording data will be closer to the first aspect ratio, thereby minimizing the generation of screen distortion corresponding to the screen recording data.

[0140] S52, obtain the second scaling ratio based on the first scaling ratio, the first resolution, and the second resolution.

[0141] After determining the second resolution, the second scaling factor can be obtained based on the first scaling factor, the first resolution, and the second resolution. The first scaling factor is the ratio between the third resolution of the original screen corresponding to the screen recording data and the first resolution, and the second scaling factor is the ratio between the third resolution and the second resolution.

[0142] One possible implementation is to obtain the second scaling factor based on the first scaling factor, the number of pixels per row corresponding to the first resolution, and the number of pixels per row corresponding to the second resolution.

[0143] With the first resolution as A w *A h The second resolution is R w *R h For example, the second scaling factor can be obtained using the following equation:

[0144] k2=k1R w / A w ,

[0145] Where k1 is the first scaling factor, k2 is the second scaling factor, and A w R represents the number of pixels per row corresponding to the first resolution. w This represents the number of pixels per row corresponding to the second resolution.

[0146] One possible implementation is to obtain the second scaling factor based on the first scaling factor, the number of pixels per column corresponding to the first resolution, and the number of pixels per column corresponding to the second resolution.

[0147] Still using the first resolution as A w *A h The second resolution is R w *R h For example, the second scaling factor can be obtained using the following equation:

[0148] k2=k1R h / A h ,

[0149] Where k1 is the first scaling factor, k2 is the second scaling factor, and A h R represents the number of pixels per column corresponding to the first resolution. h This represents the number of pixels per column corresponding to the second resolution.

[0150] The above embodiments detail how to obtain the second display parameter based on the first display parameter. After obtaining the second display parameter, screen recording can be performed.

[0151] Figure 7 This is a schematic diagram of the screen recording process provided in the embodiments of this application, such as... Figure 7 As shown, it includes:

[0152] S71, adjust the first display parameter of the first display to the second display parameter.

[0153] After obtaining the second display parameters, the process of screen recording based on the second display parameters first requires adjusting the first display parameters of the first display.

[0154] Display parameters include resolution and scaling. Adjusting the first display parameter to the second display parameter means adjusting the first resolution of the first monitor to the second resolution and the first scaling of the first monitor to the second scaling. The steps to adjust the display parameters of the first monitor can be achieved through API interfaces provided by the operating system, such as the ChangeDisplaySettingsEx system interface, which is used to modify the monitor's display parameters.

[0155] S72, obtain adjustment instructions, and adjust the display mode between the first display and the virtual display to copy mode according to the adjustment instructions.

[0156] After adjusting the display parameters of the first display to the second display parameters, an adjustment command is obtained. This command is used to adjust the display mode between the first display and the virtual display. Adjusting the display mode between the first display and the virtual display can be achieved through system interfaces in the operating system, such as the SetDisplayConfig system interface, which is used to modify the display mode.

[0157] As two side-by-side monitors, there are many different display options available, such as duplicate or extended display. Figure 8 This is a schematic diagram illustrating different display methods under multiple monitors provided in the embodiments of this application, such as... Figure 8 As shown, the display mode between monitors 81 and 82 is a copy mode, in which the content displayed on monitors 81 and 82 is identical. The display mode between monitors 83 and 84 is an extension mode, in which the content displayed on monitors 83 and 84 is different, and both monitors jointly display the corresponding image.

[0158] In this embodiment, the display mode between the first display and the virtual display is adjusted to a copy mode, so the image data of the original image obtained by the first display and the virtual display are exactly the same. Since the display parameters of the first display are adjusted to the second display parameters, the images displayed by the first display and the virtual display are also the same.

[0159] S73, screen recording is performed according to the second display parameters in the copy mode to obtain the screen recording data.

[0160] Since the display method between the first monitor and the virtual monitor is a copy mode, screen recording can be performed based on the second display parameters to obtain screen recording data. Because the screen recording data is obtained based on the second display parameters, the resolution of the screen recording data is the second resolution; that is, the resolution of the screen image captured through the system interface is the second resolution. Since the second resolution is higher than the first resolution, the final resolution of the screen recording data is higher than the original first resolution of the first monitor, achieving higher resolution screen recording.

[0161] In one implementation, after screen recording is complete, the operating system can receive a stop command and stop the recording accordingly. This stop command can be issued by the user operating the terminal device. The stop command can take different forms; for example, a pre-set recording period can be used to stop recording once that period is reached; or, to end recording, a click of an end button can be made, and so on.

[0162] After stopping screen recording, you also need to turn off the virtual monitor, restore the display parameters of the first monitor, and readjust the second display parameters of the first monitor to the first display parameters.

[0163] Optionally, after screen recording is complete and the recorded data is obtained, a video file can be generated from the recorded data. The generated video file can be played on other different devices. The screen recording data can also be directly transmitted to other monitors, processed, and then displayed and played on other monitors, and so on.

[0164] The solution of this application will be further illustrated below through a specific embodiment.

[0165] Suppose the screen recording application is running on a terminal device with a screen resolution of 1920*1080, and the desired screen recording resolution is 4K. Based on the above information, the first resolution of the first screen is 1920*1080, and the target resolution standard is 4K.

[0166] Based on the target resolution standard, the set of resolution specifications supported by the virtual monitor created by the virtual monitor driver is set to {3840*2160, 3840*2400, 3840*3072}, which includes multiple preset resolutions.

[0167] First, the first resolution of the first display is 1920*1080, and the first scaling ratio is 100%. This gives us a resolution aspect ratio of 16:9. In the resolution specification set, the resolution aspect ratio of 3840*2160 is also 16:9. Therefore, 3840*2160 can be used as the final second resolution.

[0168] Figure 9 This is a schematic diagram of scaling transformation provided in the embodiments of this application, such as... Figure 9 As shown, screen 91 is a display at a resolution of 1920*1080 and a scaling factor of 100%, where the original image occupies only a quarter of the screen area. If only the first resolution is adjusted to the second resolution without adjusting the scaling factor, the resulting display is screen 92, where the original image occupies the entire screen. To make the final display identical to the image on the first monitor, the scaling factor needs to be adjusted, and the second scaling factor can be determined using the formula k2 = k1R. w / A w Set the scaling factor to 200%. After adjusting the second scaling factor to 200%, the resulting display image is 93%.

[0169] Figure 10 This is a schematic diagram of adjusting display parameters provided in an embodiment of this application, such as... Figure 10 As shown, interface 101 is the interface before adjusting the first display parameters, where the display resolution of the first monitor is 1920*1080, the first scaling ratio is 100%, and the display orientation is horizontal. Interface 102 is the interface after adjusting the first display parameters, where the display resolution of the first monitor is 3840*2160, the scaling ratio is 200%, and the display orientation is horizontal.

[0170] Interface 103 is a schematic diagram before adjusting the display method between the first display and the virtual display, illustrating two display methods: copy mode and expand mode. Interface 104 is a schematic diagram after adjusting the display method between the first display and the virtual display, as shown below. Figure 10 As shown, the selected display method is copy mode.

[0171] After the above settings are completed, screen recording can be performed through the system interface to obtain the corresponding screen recording data. The resolution of the screen recording data is the second resolution of 3840*2160, which is higher than the resolution of the first monitor of 1920*1080.

[0172] The screen recording method provided in this application first obtains first display parameters of a first display, including the first resolution of the first display. Then, a virtual display is created according to a driver, and second display parameters corresponding to the virtual display are obtained according to the first display parameters. By creating a virtual display, and since the virtual display supports different resolution standards and specifications, it is unaffected by the first resolution of the first display. The screen recording data obtained by recording according to the second display parameters has a second resolution that is higher than the first resolution. Therefore, the solution provided in this application can obtain screen recording data with a resolution higher than the first resolution, thus improving the resolution of the screen recording.

[0173] Figure 11 This is a schematic diagram of the screen recording device provided in the embodiments of this application, as shown below. Figure 11 As shown, it includes:

[0174] The acquisition module 111 is used to acquire the first display parameters of the first display, wherein the first display parameters include the first resolution of the first display;

[0175] The processing module 112 is configured to create a virtual display according to the driver, and obtain a second display parameter corresponding to the virtual display according to the first display parameter, wherein the second display parameter includes a second resolution, and the second resolution is higher than the first resolution;

[0176] The screen recording module 113 is used to record the screen according to the second display parameters to obtain screen recording data, wherein the resolution of the screen recording data is the second resolution.

[0177] In one possible implementation, the processing module 112 is specifically used for:

[0178] Obtain a target resolution standard, which is used to indicate the number of pixels included in each line of the desired screen recording;

[0179] The second display parameter is obtained based on the first display parameter and the target resolution standard.

[0180] In one possible implementation, the first display parameter further includes a first scaling ratio, and the second display parameter further includes a second scaling ratio; the processing module 112 is specifically used for:

[0181] The second resolution is obtained based on the first resolution and the target resolution standard;

[0182] The second scaling factor is obtained based on the first scaling factor, the first resolution, and the second resolution, wherein the first scaling factor is the ratio between the third resolution of the original screen corresponding to the screen recording data and the first resolution, and the second scaling factor is the ratio between the third resolution and the second resolution.

[0183] In one possible implementation, the processing module 112 is specifically used for:

[0184] The virtual display has multiple preset resolutions obtained according to the target resolution standard;

[0185] Based on the first resolution, the second resolution is determined from among the plurality of preset resolutions.

[0186] In one possible implementation, the processing module 112 is specifically used for:

[0187] Obtain the first aspect ratio of the first resolution, where the first aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the first resolution;

[0188] Obtain the second aspect ratio of each preset resolution, where the second aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the preset resolution;

[0189] Based on the first aspect ratio and each of the second aspect ratios, the second resolution is determined among the plurality of preset resolutions.

[0190] In one possible implementation, the processing module 112 is specifically used for:

[0191] Obtain the difference between each of the second aspect ratios and the first aspect ratio;

[0192] The preset resolution corresponding to the second aspect ratio with the smallest difference is determined as the second resolution.

[0193] In one possible implementation, the processing module 112 is specifically used for:

[0194] The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per row corresponding to the first resolution, and the number of pixels per row corresponding to the second resolution; or...

[0195] The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per column corresponding to the first resolution, and the number of pixels per column corresponding to the second resolution.

[0196] In one possible implementation, the screen recording module 113 is specifically used for:

[0197] Adjust the first display parameter of the first display to the second display parameter;

[0198] Obtain adjustment instructions, and adjust the display mode between the first display and the virtual display to a copy mode according to the adjustment instructions;

[0199] The screen is recorded according to the second display parameters in the copy mode to obtain the screen recording data.

[0200] In one possible implementation, the processing module 112 is further configured to:

[0201] Obtain the stop command;

[0202] The screen recording is stopped according to the stop command, and the display parameters of the first display are adjusted to the first display parameters.

[0203] In one possible implementation, the processing module 112 is further configured to:

[0204] A video file is generated based on the screen recording data.

[0205] It should be noted that the screen recording device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the screen recording method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the screen recording device and screen recording method embodiments provided in the above embodiments belong to the same concept, and the implementation process can be found in the method embodiments, which will not be repeated here.

[0206] The screen recording device provided in this application first acquires first display parameters of a first display, including the first resolution of the first display. Then, a processing module creates a virtual display based on a driver and acquires second display parameters corresponding to the virtual display based on the first display parameters. By creating a virtual display, which supports different resolution standards and specifications, the device is unaffected by the first resolution of the first display. The screen recording data obtained by the screen recording module based on the second display parameters has a second resolution that is higher than the first resolution. Therefore, the solution provided in this application can obtain screen recording data with a resolution higher than the first resolution, thus improving the resolution of the screen recording image.

[0207] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0208] This application also provides a computer storage medium that can store multiple instructions. These instructions are adapted to be loaded by a processor and executed as described in the above method embodiments. For details of the execution process, please refer to the specific description of the method embodiments, which will not be repeated here.

[0209] Figure 12 A schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application, such as... Figure 12 As shown, the electronic device includes at least one processor 121 and a memory 122. The processor 121 and the memory 122 are connected via a bus 123.

[0210] Optionally, the model may also include communication components. For example, the communication components may include a receiver and / or a transmitter.

[0211] In the specific implementation process, at least one processor 121 executes the computer execution instructions stored in the memory 122, causing at least one processor 121 to execute the screen recording method described above.

[0212] The specific implementation process of processor 121 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0213] In the above Figure 12 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0214] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.

[0215] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0216] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0217] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0218] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0219] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0220] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0221] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0222] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0223] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0224] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A screen recording method, characterized in that, include: Obtain the first display parameters of the first display, the first display parameters including the first resolution and the first scaling ratio of the first display; The first resolution is the maximum display resolution that the physical hardware of the first display can support; A virtual display is created based on the driver, and a target resolution standard is obtained. The target resolution standard is used to indicate the number of pixels included in each line of the desired screen recording. Based on the first display parameters and the target resolution standard, obtain the second display parameters; The second display parameters include a second resolution and a second scaling ratio, wherein the second resolution is higher than the first resolution; wherein the virtual display supports different resolution standards and resolution specifications; the second resolution is the resolution used by the virtual display for screen recording. Adjust the first display parameter of the first display to the second display parameter; Obtain adjustment instructions, and adjust the display mode between the first display and the virtual display to a copy mode according to the adjustment instructions; In the copying mode, screen recording is performed according to a second resolution higher than the first resolution and a second scaling ratio to obtain screen recording data; The resolution of the screen recording data is the second resolution; The step of obtaining the second display parameter based on the first display parameter and the target resolution standard includes: The second resolution is obtained based on the first resolution and the target resolution standard; The second scaling ratio is obtained based on the first scaling ratio, the first resolution, and the second resolution, wherein the first scaling ratio is the ratio between the third resolution of the original screen corresponding to the screen recording data and the first resolution, and the second scaling ratio is the ratio between the third resolution and the second resolution; The screen recording method also includes: Obtain the stop command; The screen recording is stopped according to the stop command, and the display parameters of the first display are adjusted to the first display parameters.

2. The screen recording method according to claim 1, characterized in that, The step of obtaining the second resolution based on the first resolution and the target resolution standard includes: The virtual display has multiple preset resolutions obtained according to the target resolution standard; Based on the first resolution, the second resolution is determined from among the plurality of preset resolutions.

3. The screen recording method according to claim 2, characterized in that, The step of determining the second resolution from among the plurality of preset resolutions based on the first resolution includes: Obtain the first aspect ratio of the first resolution, where the first aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the first resolution; Obtain the second aspect ratio of each preset resolution, where the second aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the preset resolution; Based on the first aspect ratio and each of the second aspect ratios, the second resolution is determined among the plurality of preset resolutions.

4. The screen recording method according to claim 3, characterized in that, The step of determining the second resolution from among the plurality of preset resolutions based on the first aspect ratio and each of the second aspect ratios includes: Obtain the difference between each of the second aspect ratios and the first aspect ratio; The preset resolution corresponding to the second aspect ratio with the smallest difference is determined as the second resolution.

5. The screen recording method according to any one of claims 1-4, characterized in that, Obtaining the second scaling ratio based on the first scaling ratio, the first resolution, and the second resolution includes: The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per row corresponding to the first resolution, and the number of pixels per row corresponding to the second resolution; or... The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per column corresponding to the first resolution, and the number of pixels per column corresponding to the second resolution.

6. The screen recording method according to any one of claims 1-4, characterized in that, The screen recording method also includes: A video file is generated based on the screen recording data.

7. A screen recording device, characterized in that, include: The acquisition module is used to acquire the first display parameters of the first display, the first display parameters including the first resolution and the first scaling ratio of the first display; The first resolution is the maximum display resolution that the physical hardware of the first display can support; The processing module is configured to create a virtual display based on a driver, and obtain a second display parameter corresponding to the virtual display based on the first display parameter. The second display parameter includes a second resolution and a second scaling ratio, and the second resolution is higher than the first resolution. The virtual display supports different resolution standards and resolution specifications. The second resolution is the resolution of the virtual display used for screen recording. The screen recording module is used to record the screen according to the second display parameters to obtain screen recording data, wherein the resolution of the screen recording data is the second resolution; The processing module is specifically used for: Obtain a target resolution standard, which is used to indicate the number of pixels included in each line of the desired screen recording; The second display parameter is obtained based on the first display parameter and the target resolution standard; The screen recording module is specifically used for: Adjust the first display parameter of the first display to the second display parameter; Obtain adjustment instructions, and adjust the display mode between the first display and the virtual display to a copy mode according to the adjustment instructions; In the copying mode, screen recording is performed according to a second resolution higher than the first resolution and a second scaling ratio to obtain the screen recording data; The processing module is specifically used for: The second resolution is obtained based on the first resolution and the target resolution standard; The second scaling ratio is obtained based on the first scaling ratio, the first resolution, and the second resolution, wherein the first scaling ratio is the ratio between the third resolution of the original screen corresponding to the screen recording data and the first resolution, and the second scaling ratio is the ratio between the third resolution and the second resolution; The processing module is also used for: Obtain the stop command; The screen recording is stopped according to the stop command, and the display parameters of the first display are adjusted to the first display parameters.

8. The screen recording device according to claim 7, characterized in that, The processing module is specifically used for: The virtual display has multiple preset resolutions obtained according to the target resolution standard; Based on the first resolution, the second resolution is determined from among the plurality of preset resolutions.

9. The screen recording device according to claim 8, characterized in that, The processing module is specifically used for: Obtain the first aspect ratio of the first resolution, where the first aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the first resolution; Obtain the second aspect ratio of each preset resolution, where the second aspect ratio is the ratio of the number of pixels in each row to the number of pixels in each column corresponding to the preset resolution; Based on the first aspect ratio and each of the second aspect ratios, the second resolution is determined among the plurality of preset resolutions.

10. The screen recording device according to claim 9, characterized in that, The processing module is specifically used for: Obtain the difference between each of the second aspect ratios and the first aspect ratio; The preset resolution corresponding to the second aspect ratio with the smallest difference is determined as the second resolution.

11. The screen recording device according to any one of claims 7-10, characterized in that, The processing module is specifically used for: The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per row corresponding to the first resolution, and the number of pixels per row corresponding to the second resolution; or... The second scaling ratio is obtained based on the first scaling ratio, the number of pixels per column corresponding to the first resolution, and the number of pixels per column corresponding to the second resolution.

12. The screen recording device according to any one of claims 7-10, characterized in that, The processing module is also used for: A video file is generated based on the screen recording data.

13. A computer storage medium, characterized in that, The computer storage medium stores multiple instructions, which are adapted to be loaded by a processor and executed using the screen recording method as described in any one of claims 1 to 6.

14. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed as described in any one of claims 1 to 6.

15. A computer program product, characterized in that, The computer program product contains multiple instructions adapted for loading by a processor and executing the screen recording method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Self-adaptive display method and device of display resolutions

    CN106648511A

  • Video information sending method and apparatus, video information receiving method and apparatus, and mobile terminal

    CN108600681A

  • Application picture display method and device, terminal, screen projection system and medium

    CN112905289A