Screen recording method and apparatus

By using an independent display chip to enhance the video stream during the screen recording process, the problem of low frame rate of existing screen recording videos is solved, high frame rate and high-resolution recording files are achieved, and the display effect is significantly improved.

WO2024212874A1PCT designated stage expired Publication Date: 2024-10-17VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/086291
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-10
Filing Date
2024-04-07
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

The frame rate of existing screen recording videos is low, resulting in poor display results.

Method used

The recorded video stream is enhanced through an independent display chip to increase the frame rate and generate high frame rate recording files.

Benefits of technology

Improved the display effect of screen recording videos, ensuring high frame rate and high resolution of recorded files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024086291_17102024_PF_FP_ABST
    Figure CN2024086291_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a screen recording method and apparatus. The screen recording method comprises: when a first instruction is received, recording at least part of display content displayed on a screen interface to obtain a first video stream; performing enhancement processing on the first video stream by means of an independent display chip to obtain a second video stream, the frame rate of the second video stream being higher than the frame rate of the first video stream; and when a second instruction is received, generating a recorded file according to the second video stream.
Need to check novelty before this filing date? Find Prior Art

Description

Screen recording method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310371890.6 filed on April 10, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of communication technology, and specifically relates to a screen recording method and device thereof. Background Art

[0004] Screen recording, also known as screen recording, refers to recording the content displayed on electronic devices such as mobile phones and tablets, as well as changes in the displayed content, to obtain a recording file in video format.

[0005] In the related art, when performing screen recording, the display content of the electronic device display screen is recorded to obtain a screen recording video. However, the frame rate of the screen recording video is low, resulting in poor display effect of the screen recording video.

[0006] Summary of the Invention

[0007] The purpose of the embodiments of the present application is to provide a screen recording method and device thereof, which can solve the problem of poor display effect of screen recording videos.

[0008] In a first aspect, an embodiment of the present application provides a screen recording method, the method comprising:

[0009] Upon receiving the first instruction, recording at least a portion of the display content displayed on the screen interface to obtain a first video stream;

[0010] Performing enhancement processing on the first video stream through an independent display chip to obtain a second video stream; the frame rate of the second video stream is higher than the frame rate of the first video stream;

[0011] Upon receiving the second instruction, a recording file is generated according to the second video stream.

[0012] In a second aspect, an embodiment of the present application provides a screen recording device, the device comprising:

[0013] a virtual display module, configured to record at least a portion of the display content displayed on the screen interface to obtain a first video stream upon receiving the first instruction;

[0014] an independent display chip, configured to perform enhancement processing on the first video stream to obtain a second video stream; the frame rate of the second video stream being higher than the frame rate of the first video stream;

[0015] A processing module is used to generate a recording file according to the second video stream when a second instruction is received.

[0016] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0017] A processor having a first data interface, a second data interface, and a first signal interface, wherein the processor records at least a portion of the display content displayed on the screen interface to obtain a first video stream;

[0018] An independent display chip having a third data interface, a fourth data interface, a fifth data interface, and a second signal interface, wherein the third data interface is communicatively connected to the first data interface, the fourth data interface is communicatively connected to the second data interface, and the second signal interface is communicatively connected to the first signal interface; wherein the independent display chip receives the first video stream through the first data interface, performs enhancement processing on the first video stream, and obtains a second video stream, wherein the frame rate of the second video stream is higher than the frame rate of the first video stream;

[0019] a display panel, the display panel being communicatively connected to the independent display chip via the fifth data interface to receive the second video stream;

[0020] The processor receives the second video stream sent by the independent display chip through the second data interface, and generates a recording file according to the second video stream.

[0021] In an embodiment of the present application, upon receiving a first instruction, at least a portion of the display content displayed on the screen interface is recorded to obtain a first video stream; the first video stream is enhanced by an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In an embodiment of the present application, the second video stream is obtained by enhancing the first video stream, that is, the frame rate of the second video stream is higher than the frame rate of the first video stream, and the frame rate of the screen recording video represented by the recording file generated based on the second video stream is higher, thereby improving the display effect of the screen recording video. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1 is a flow chart of a screen recording method provided in an embodiment of the present application;

[0023] FIG2 is a schematic diagram of the application architecture of the screen recording method provided in an embodiment of the present application;

[0024] FIG3 is a structural diagram of a screen recording device provided in an embodiment of the present application;

[0025] FIG4 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0026] FIG5 is another structural diagram of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0028] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0029] An embodiment of the present application provides a screen recording method. The screen recording method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0030] The present invention provides a screen recording method. Please refer to Figure 1, which is a flow chart of the screen recording method provided by the present invention. The screen recording method provided by the present invention includes the following steps:

[0031] S101: Upon receiving a first instruction, record at least a portion of content displayed on a screen interface to obtain a first video stream.

[0032] It should be understood that the screen recording method provided in the embodiments of the present application can be applied to electronic devices. The above-mentioned first instruction can be an instruction generated based on a touch operation, an instruction generated based on a sliding operation, an instruction generated based on voice input, or an instruction generated based on other operations, which is not specifically limited here.

[0033] Optionally, the first instruction is an instruction generated based on a touch operation performed on a virtual control displayed on the screen interface.

[0034] In this step, an optional implementation method is that when a first instruction is received, a processor in the electronic device records part of the display content of the screen interface to obtain a data stream; another optional implementation method is that when a first instruction is received, a processor in the electronic device records the display content of the screen interface to obtain a data stream; the above-mentioned data stream is a video data stream, also called a first video stream.

[0035] In this embodiment, the processor may be a system on chip (SoC).

[0036] S102: Perform enhancement processing on the first video stream through an independent display chip to obtain a second video stream.

[0037] It should be understood that the electronic device using the screen recording method provided in the embodiment of the present application includes an independent display chip, and the independent display chip is communicatively connected to the processor.

[0038] In this step, after obtaining the first video stream, the first video stream is enhanced through an independent display chip to obtain the enhanced first video stream. The enhanced first video stream is called the second video stream, wherein the frame rate of the second video stream is higher than the frame rate of the first video stream.

[0039] S103: Upon receiving the second instruction, generate a recording file according to the second video stream.

[0040] The above-mentioned second instruction can be an instruction generated based on a touch operation, an instruction generated based on a sliding operation, an instruction generated based on voice input, or an instruction generated based on other operations, and is not specifically limited here.

[0041] Optionally, the second instruction is an instruction generated based on a touch operation performed on a virtual control displayed on the screen interface.

[0042] In this step, after receiving the second instruction, a recording file is generated based on the second video stream generated by the recorded content.

[0043] Optionally, after receiving the second instruction, the recording of the video is stopped, and a recording file is generated according to the second video stream generated by the recorded content.

[0044] The recorded file is a video file. Optionally, the video file is video data using a Mobile Industry Processor Interface (MIPI) protocol.

[0045] In an embodiment of the present application, upon receiving a first instruction, at least a portion of the display content of the screen interface is recorded to obtain a first video stream; the first video stream is enhanced by an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In an embodiment of the present application, the second video stream is obtained by enhancing the first video stream, that is, the frame rate of the second video stream is higher than the frame rate of the first video stream, and the frame rate of the screen recording video represented by the recording file generated based on the second video stream is higher, thereby improving the display effect of the screen recording video.

[0046] Optionally, when the second instruction is received, before generating the recording file according to the second video stream, the method further includes:

[0047] Transmitting the second video stream sent by the independent display chip to a virtual display module cache;

[0048] The second video stream buffered by the virtual display module is stored in a storage module.

[0049] It should be understood that the electronic device further includes a storage module that is communicatively coupled to the processor, and the processor of the electronic device further includes a virtual display module. In this embodiment, after obtaining the second video stream via the independent display chip, the second video stream sent by the independent display chip is transmitted to a cache of the virtual display module, and the virtual display module stores the cached second video stream in the storage module.

[0050] In this embodiment, the second video stream processed by the independent display chip is stored in the storage module, thereby realizing the preservation of the video stream data processed by the independent display chip.

[0051] Optionally, the virtual display module includes a virtual screen and a buffer, and transmitting the second video stream sent by the independent display chip to the virtual display module buffer includes:

[0052] Buffering the second video stream sent by the independent display chip into the buffer through the virtual screen;

[0053] The step of storing the second video stream buffered by the virtual display module in a storage module includes:

[0054] The second video stream buffered by the buffer is stored in the storage module.

[0055] It should be noted that the virtual display module includes a virtual screen and a buffer, and the virtual screen is communicatively connected to the buffer. The data source of the virtual screen in this embodiment is an independent display chip. In this case, the second video stream sent by the independent display chip can be sent to the buffer through the virtual screen.

[0056] In one embodiment, the second video stream cached by the virtual screen is transmitted in real time to a storage module, where the second video stream is stored. In another embodiment, the second video stream cached by the virtual screen is transmitted to the storage module at predetermined intervals. Alternatively, the processor transmits the second video stream cached by the buffer to the storage module by invoking a media recoder service.

[0057] In this embodiment, the second video stream buffered by the virtual screen is transmitted to the storage module for storage, thereby alleviating the storage pressure of the processor.

[0058] Optionally, upon receiving the second instruction, generating a recording file according to the second video stream includes:

[0059] Upon receiving the second instruction, obtaining the second video stream from the storage module;

[0060] Perform data conversion on the second video stream to generate the recording file.

[0061] In this embodiment, when the second instruction is received, the second video stream is obtained from the memory, and data conversion is performed on the second video stream to generate a recording file, wherein the above-mentioned data conversion method includes but is not limited to data format conversion and encoding video stream data.

[0062] The recording file in this embodiment is obtained by performing data conversion based on the video stream processed by the independent display chip, thereby ensuring that the recording file has a higher resolution and improving the display effect of the recording file.

[0063] Optionally, upon receiving the first instruction, recording at least a portion of the display content displayed on the screen interface to obtain a first video stream includes:

[0064] When the first instruction is received, a virtual screen is created; the virtual screen is used to record at least part of the display content displayed on the screen interface;

[0065] Video data cached in a buffer in communication with the virtual screen is compiled to obtain the first video stream, where the video data represents at least a portion of display content displayed on the screen interface recorded by the virtual screen.

[0066] In this embodiment, upon receiving the first instruction, a virtual screen is created, and at least a portion of the display content displayed on the screen interface is recorded through the virtual screen. Optionally, an application programming interface (API) can be created by calling a media projection service, and the virtual screen can be created through the created API, and the data source of the virtual screen can be set to the independent display chip.

[0067] As described above, the virtual screen is in communication with the buffer, and the buffer caches the video data recorded by the virtual screen. In this embodiment, the buffered data cached by the buffer can be compiled to obtain a first video stream. Optionally, the buffered data can be compiled using a video encoder built into the processor to obtain the first video stream.

[0068] Optionally, performing enhancement processing on the first video stream by using an independent display chip to obtain a second video stream includes:

[0069] The first video stream and the enhancement instruction are sent to the independent display chip, so that the independent display chip performs frame insertion processing on the first video stream to obtain the second video stream.

[0070] In this embodiment, after obtaining the first video stream, the first video stream may be sent to an independent display chip, and an enhancement instruction may be simultaneously sent to the independent display chip. The enhancement instruction is used to instruct the independent display chip to perform enhancement processing on the first video stream.

[0071] In this embodiment, after receiving the first video stream and the enhancement instruction, the independent display chip calls the internal functional module to perform frame interpolation processing on the first video stream to obtain the second video stream, or calls the internal functional module to perform frame interpolation processing, super-resolution processing and other video enhancement processing on the first video stream to obtain the second video stream.

[0072] In this embodiment, the first video stream is enhanced by calling the functional module inside the independent display chip to obtain a second video stream with a higher frame rate, and then a recording file with a higher frame rate is generated based on the second video stream to improve the display effect of the screen recording video.

[0073] To facilitate understanding of the overall technical solution provided by the embodiments of this application, please refer to Figure 2. As shown in Figure 2, upon receiving a first instruction, the processor creates a virtual screen; sends a first video stream buffered by the virtual screen to an independent display chip, and sends an enhancement instruction to the independent display chip; after receiving the first video stream and the enhancement instruction, the independent display chip invokes an internal functional module to enhance the first video stream, obtaining a second video stream, and sends this second video stream to the virtual screen; the second video stream is transmitted to the buffer via the virtual screen. Subsequently, the second video stream buffered in the buffer is stored in the storage module.

[0074] In other embodiments, after obtaining the first video stream, the first video stream may not be enhanced, and a recording file may be directly generated based on the first video stream. Specifically, referring to FIG2 , after creating a virtual screen, the processor records at least a portion of the display content displayed on the screen interface through the virtual screen to obtain the first video stream, and then directly transmits the first video stream to the buffer. Subsequently, the second video stream cached in the buffer is stored in the storage module.

[0075] The screen recording device provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0076] As shown in FIG3 , the screen recording device 300 includes:

[0077] The virtual display module 301 is configured to record at least a portion of the display content displayed on the screen interface to obtain a first video stream when receiving the first instruction;

[0078] The independent display chip 302 is configured to perform enhancement processing on the first video stream to obtain a second video stream; the frame rate of the second video stream is higher than the frame rate of the first video stream;

[0079] The processing module 303 is configured to generate a recording file according to the second video stream upon receiving the second instruction.

[0080] Optionally, the independent display chip 302 is further configured to transmit the second video stream to the virtual display module 301;

[0081] The screen recording device 300 further includes a storage module;

[0082] The virtual display module 301 is further configured to store the cached second video stream in the storage module.

[0083] Optionally, the virtual display module 301 includes a virtual screen and a buffer, and the virtual screen is communicatively connected to the buffer;

[0084] The virtual screen is used to buffer the second video stream sent by the independent display chip into the buffer;

[0085] The buffer is used to store the cached second video stream in the storage module.

[0086] Optionally, the processing module 303 is specifically configured to obtain the second video stream from the storage module when receiving the second instruction;

[0087] Perform data conversion on the second video stream to generate the recording file.

[0088] Optionally, the processing module 303 is further configured to create a virtual screen upon receiving the first instruction; the virtual screen is configured to record at least a portion of the display content displayed on the screen interface;

[0089] Video data cached in a buffer in communication with the virtual screen is compiled to obtain the first video stream, where the video data represents at least a portion of display content displayed on the screen interface recorded by the virtual screen.

[0090] In an embodiment of the present application, upon receiving a first instruction, at least a portion of the display content displayed on the screen interface is recorded to obtain a first video stream; the first video stream is enhanced by an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In an embodiment of the present application, the second video stream is obtained by enhancing the first video stream, that is, the frame rate of the second video stream is higher than the frame rate of the first video stream, and the frame rate of the screen recording video represented by the recording file generated based on the second video stream is higher, thereby improving the display effect of the screen recording video.

[0091] The screen recording device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or chip. The electronic device can be a terminal, or a device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or an Automated Machine, etc., and the embodiment of the present application does not specifically limit it.

[0092] The screen recording device in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0093] The embodiment of the present application provides a screen recording device that can implement each process implemented by the method embodiment of Figure 1. To avoid repetition, they will not be described here.

[0094] Optionally, as shown in FIG4 , an embodiment of the present application further provides an electronic device 400, including:

[0095] The processor 401 has a first data interface D1, a second data interface G1 and a first signal interface C1. The processor 401 records at least part of the display content displayed on the screen interface to obtain a first video stream;

[0096] The independent display chip 402 has a third data interface D2, a fourth data interface G2, a fifth data interface D3, and a second signal interface C2. The third data interface D2 is communicatively connected to the first data interface D1, the fourth data interface G2 is communicatively connected to the second data interface G1, and the second signal interface C2 is communicatively connected to the first signal interface C1. The independent display chip 402 receives the first video stream through the first data interface D1, performs enhancement processing on the first video stream, and obtains a second video stream. The frame rate of the second video stream is higher than the frame rate of the first video stream.

[0097] a display panel 403, wherein the display panel 403 is communicatively connected to the independent display chip 402 via the fifth data interface D3 to receive the second video stream;

[0098] The processor 401 receives the second video stream sent by the independent display chip 402 through the second data interface G1, and generates a recording file according to the second video stream.

[0099] The processor 401 can be understood as a system-on-chip.

[0100] Optionally, the above-mentioned first data interface D1, third data interface D2 and fifth data interface D3 are display serial interfaces (DSI), which are protocol interfaces specifically used for displaying data under the mobile industry processor interface (MIPI) protocol. That is, the data transmitted between the above-mentioned first data interface D1, third data interface D2 and fifth data interface D3 is based on the MIPI protocol.

[0101] Optionally, the fourth data interface G2 and the second data interface G1 are general purpose input / output (GPIO) interfaces for transmitting instructions.

[0102] Optionally, the first signal interface C1 and the second signal interface C2 are camera serial interfaces (CSI).

[0103] Optionally, the processor 401 includes a virtual display module 4011, and the virtual display module 4011 is communicatively connected to the independent display chip 402 via the second data interface G1;

[0104] The independent display chip 402 sends the second video stream to the processor 401 through the fourth data interface G2;

[0105] The virtual display module 4011 buffers the second video stream sent by the independent display chip 402 through the second data interface G1.

[0106] Optionally, the virtual display module 4011 includes a virtual screen 40111 and a buffer 40112, and the virtual screen 40111 is communicatively connected to the buffer 40112;

[0107] The virtual screen 40111 buffers the second video stream sent by the independent display chip 402 into the buffer 40112 .

[0108] Optionally, the electronic device 400 further includes a memory 404, which is communicatively connected to the processor 401 and is used to store the second video stream cached by the processor 401. The memory 404 can be understood as a storage module.

[0109] In an embodiment of the present application, upon receiving a first instruction, at least a portion of the display content displayed on the screen interface is recorded to obtain a first video stream; the first video stream is enhanced by an independent display chip to obtain a second video stream; and upon receiving a second instruction, a recording file is generated based on the second video stream. In an embodiment of the present application, the second video stream is obtained by enhancing the first video stream, that is, the frame rate of the second video stream is higher than the frame rate of the first video stream, and the frame rate of the screen recording video represented by the recording file generated based on the second video stream is higher, thereby improving the display effect of the screen recording video.

[0110] In a specific embodiment of the present application, please refer to Figure 5. The electronic device shown in Figure 5 includes a processor (i.e., the SoC in Figure 5), an independent display chip and a memory. The above-mentioned processor includes a virtual display module (not shown in Figure 5), a camera serial interface (CSI interface in Figure 5), a general input and output interface (GPIO interface in Figure 5) and a display serial interface (DSI interface in Figure 5). The above-mentioned virtual display module includes a virtual screen and a buffer. The above-mentioned independent display chip includes a general input and output interface (GPIO interface in Figure 5) and an internal functional module. The above-mentioned internal functional module is used to perform enhanced processing on the video stream.

[0111] Among them, the universal input and output interface included in the processor is communicatively connected to the universal input and output interface included in the independent display chip, the camera serial interface included in the processor is communicatively connected to the internal functional module of the independent display chip, and the display serial interface included in the processor is communicatively connected to the internal functional module of the independent display chip.

[0112] In this embodiment, when a screen recording instruction is received, the media projection management service is called to create a media projection service, and a first API is created based on the media projection service, and then a virtual screen is created through the first API, and the data source of the virtual screen is set to an independent display chip. Furthermore, at least part of the display content of the screen interface is recorded through the virtual screen to obtain a first video stream, and the above-mentioned first video stream is transmitted to the internal functional module of the independent display chip through the DSI interface, and the first video stream is enhanced to obtain a second video stream. It should be noted that the independent display chip transmits the second video stream to the virtual screen of the SoC through the CSI interface, and stores the above-mentioned second video stream in the cache. The processor transfers the second video stream cached in the cache to the memory for storage by calling the media recording service. In this embodiment, a recording file is generated based on the second video stream.

[0113] Optionally, the data source of the virtual screen can also be set to a second API. In this case, when a screen recording instruction is received, at least part of the display content of the screen interface is recorded through the virtual screen to obtain a first video stream, and then a recording file is generated directly based on the first video stream.

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

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

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

Claims

1. A screen recording method, comprising: When receiving the first instruction, recording at least a portion of the display content displayed on the screen interface to obtain a first video stream; Performing enhancement processing on the first video stream through an independent display chip to obtain a second video stream; The frame rate of the second video stream is higher than the frame rate of the first video stream; When the second instruction is received, a recording file is generated according to the second video stream.

2. The method according to claim 1, wherein: In the case where the second instruction is received, before generating a recording file according to the second video stream, the method further includes: Transmitting the second video stream sent by the independent display chip to a virtual display module cache; The second video stream buffered by the virtual display module is stored in a storage module.

3. The method according to claim 2, wherein: The virtual display module includes a virtual screen and a buffer, and the step of transmitting the second video stream sent by the independent display chip to the virtual display module buffer includes: Buffering the second video stream sent by the independent display chip into the buffer through the virtual screen; The step of storing the second video stream cached by the virtual display module in a storage module includes: The second video stream cached by the buffer is stored in the storage module.

4. The method according to claim 2, wherein: The step of generating a recording file according to the second video stream upon receiving the second instruction includes: Upon receiving the second instruction, acquiring the second video stream from the storage module; Perform data conversion on the second video stream to generate the recording file.

5. The method according to claim 1, wherein: The step of recording at least a portion of the display content displayed on the screen interface to obtain a first video stream upon receiving the first instruction includes: In case of receiving the first instruction, creating a virtual screen; the virtual screen is used to record at least part of the display content displayed on the screen interface; The first video stream is obtained by compiling video data cached by a buffer in communication connection with the virtual screen, wherein the video data represents at least a portion of display content displayed on the screen interface recorded by the virtual screen.

6. The method according to any one of claims 1 to 5, wherein: The step of performing enhancement processing on the first video stream by using an independent display chip to obtain a second video stream includes: The first video stream and the enhancement instruction are sent to the independent display chip, so that the independent display chip performs frame insertion processing on the first video stream to obtain the second video stream.

7. A screen recording device, comprising: A virtual display module, configured to record at least a portion of the display content displayed on the screen interface to obtain a first video stream when receiving the first instruction; An independent display chip, used for performing enhancement processing on the first video stream to obtain a second video stream; The frame rate of the second video stream is higher than the frame rate of the first video stream; A processing module is used to generate a recording file according to the second video stream when a second instruction is received.

8. The device according to claim 7, wherein: The independent display chip is further used to transmit the second video stream to the virtual display module; The screen recording device also includes a storage module; The virtual display module is further used to store the cached second video stream in the storage module.

9. The device according to claim 8, wherein: The virtual display module includes a virtual screen and a buffer, and the virtual screen is communicatively connected with the buffer; The virtual screen is used to cache the second video stream sent by the independent display chip into the buffer; The buffer is used to store the cached second video stream in the storage module.

10. The device according to claim 8, wherein: The processing module is specifically configured to obtain the second video stream from the storage module when receiving the second instruction; Perform data conversion on the second video stream to generate the recording file.

11. The device according to claim 7, wherein: The processing module is further configured to create a virtual screen upon receiving the first instruction; the virtual screen is configured to record at least a portion of the display content displayed on the screen interface; The first video stream is obtained by compiling video data cached by a buffer in communication connection with the virtual screen, wherein the video data represents at least a portion of display content displayed on the screen interface recorded by the virtual screen.

12. An electronic device comprising: A processor having a first data interface, a second data interface and a first signal interface, wherein the processor records at least a portion of the display content displayed on the screen interface to obtain a first video stream; An independent display chip has a third data interface, a fourth data interface, a fifth data interface and a second signal interface, wherein the third data interface is communicatively connected to the first data interface, the fourth data interface is communicatively connected to the second data interface, and the second signal interface is communicatively connected to the first signal interface; wherein the independent display chip receives the first video stream through the first data interface, performs enhancement processing on the first video stream, and obtains a second video stream, wherein the frame rate of the second video stream is higher than the frame rate of the first video stream; a display panel, wherein the display panel is communicatively connected with the independent display chip through the fifth data interface to receive the second video stream; The processor receives the second video stream sent by the independent display chip through the second data interface, and generates a recording file according to the second video stream.

13. The electronic device according to claim 12, wherein: The processor includes a virtual display module, and the virtual display module is communicatively connected with the independent display chip through the second data interface; The independent display chip sends the second video stream to the processor through the fourth data interface; The virtual display module buffers the second video stream sent by the independent display chip through the second data interface.

14. The electronic device according to claim 13, wherein: The virtual display module includes a virtual screen and a buffer, and the virtual screen is communicatively connected with the buffer; The virtual screen buffers the second video stream sent by the independent display chip into the buffer.

15. The electronic device according to claim 12, wherein: The electronic device also includes a memory, which is communicatively connected to the processor and is used to store the second video stream cached by the processor.

Citation Information

Patent Citations

  • Video file playing method and related equipment

    CN110996170A

  • Image processing method and device and electronic equipment

    CN112565865A

  • Screen recording method and electronic equipment

    CN114095776A

  • Screen recording method and device

    CN116320238A