CN116320238A - Screen recording method and device - Google Patents
Screen recording method and device Download PDFInfo
- Publication number
- CN116320238A CN116320238A CN202310371890.6A CN202310371890A CN116320238A CN 116320238 A CN116320238 A CN 116320238A CN 202310371890 A CN202310371890 A CN 202310371890A CN 116320238 A CN116320238 A CN 116320238A
- Authority
- CN
- China
- Prior art keywords
- video stream
- screen
- virtual
- interface
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 239000000872 buffer Substances 0.000 claims description 40
- 238000012545 processing Methods 0.000 claims description 27
- 238000004891 communication Methods 0.000 claims description 17
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 230000002708 enhancing effect Effects 0.000 claims description 7
- 230000000694 effects Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The application provides a screen recording method and a device thereof, wherein the screen recording method comprises the following steps: recording at least part of display content displayed on a screen interface under the condition of receiving a first instruction, and obtaining a first video stream; the first video stream is enhanced through an independent display chip, and a second video stream is obtained; the frame rate of the second video stream is higher than the frame rate of the first video stream; and generating a recording file according to the second video stream under the condition that the second instruction is received.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screen recording method and a device thereof.
Background
Screen recording, also called as screen recording, refers to recording contents displayed by electronic devices such as mobile phones and tablet computers and changes of the displayed contents to obtain a recording file in a video form.
In the related art, when screen recording is performed, recording is performed on display content of a display screen of an electronic device, so as to obtain a screen recording video. However, the frame rate of the screen recorded video is low, resulting in poor display effect of the screen recorded video.
Disclosure of Invention
The embodiment of the application aims to provide a screen recording method and a device thereof, which can solve the problem of poor display effect of screen recorded video.
In a first aspect, an embodiment of the present application provides a screen recording method, where the method includes:
recording at least part of display content displayed on a screen interface under the condition of receiving a first instruction, and obtaining a first video stream;
the first video stream is enhanced through an independent display chip, and a second video stream is obtained; the frame rate of the second video stream is higher than the frame rate of the first video stream;
and generating a recording file according to the second video stream under the condition that a second instruction is received.
In a second aspect, an embodiment of the present application provides a screen recording apparatus, including:
the virtual display module is used for recording at least part of display contents displayed on the screen interface under the condition of receiving a first instruction to obtain a first video stream;
the independent display chip is used for carrying out 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;
and the processing module is used for generating a recording file according to the second video stream under the condition of receiving a second instruction.
In a third aspect, an embodiment of the present application provides an electronic device, including:
the processor is provided with a first data interface, a second data interface and a first signal interface, and records at least part of display content displayed on the screen interface to obtain a first video stream;
the independent display chip is provided with a third data interface, a fourth data interface, a fifth data interface and a second signal interface, wherein the third data interface is in communication connection with the first data interface, the fourth data interface is in communication connection with the second data interface, and the second signal interface is in communication connection with the first signal interface; the independent display chip receives the first video stream through the first data interface, and performs enhancement processing on the first video stream to obtain a second video stream, wherein the frame rate of the second video stream is higher than that of the first video stream;
the display panel is in communication connection with the independent display chip through the fifth data interface so as to receive the second video stream;
and 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.
In the embodiment of the application, under the condition that a first instruction is received, recording at least part of display content displayed on a screen interface to obtain a first video stream; the first video stream is enhanced through an independent display chip, and a second video stream is obtained; and generating a recording file according to the second video stream under the condition that the second instruction is received. In this embodiment of the present invention, 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 that of the first video stream, so that the frame rate of the screen recorded video represented by the recorded file generated by the second video stream is higher, thereby improving the display effect of the screen recorded video.
Drawings
Fig. 1 is a flowchart of a screen recording method provided in an embodiment of the present application;
fig. 2 is an application architecture schematic diagram of a screen recording method according to an embodiment of the present application;
fig. 3 is a block diagram of a screen recording apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is another structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The embodiment of the application provides a screen recording method, and the screen recording method provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof by combining with the attached drawings.
An embodiment of the present application provides a screen recording method, please refer to fig. 1, and fig. 1 is a flowchart of the screen recording method provided in the embodiment of the present application. The screen recording method provided by the embodiment of the application comprises the following steps:
and S101, recording at least part of display content displayed on a screen interface under the condition that a first instruction is received, and obtaining a first video stream.
It should be understood that the screen recording method provided in the embodiment of the present application may be applied to an electronic device. The first instruction may be an instruction generated based on a touch operation, an instruction generated based on a sliding operation, an instruction generated based on a voice input, or an instruction generated based on other operations, which are not particularly limited herein.
Optionally, the first instruction is an instruction generated based on a touch operation performed on a virtual control displayed on the screen interface.
In this step, in an optional implementation manner, under the condition that the first instruction is received, recording, by a processor in the electronic device, a part of display content of the screen interface, so as to obtain a data stream; in another alternative implementation manner, under the condition that the first instruction is received, recording display content of a screen interface by a processor in the electronic equipment to obtain a data stream; the data stream is a video data stream, also called a first video stream.
In this embodiment, the processor may be a System on Chip (SoC).
S102, enhancing the first video stream through an independent display chip to obtain a second video stream.
It should be understood that an electronic device applying the screen recording method provided in the embodiments of the present application includes an independent display chip, and the independent display chip is communicatively connected to the processor.
In this step, after the first video stream is obtained, enhancement processing is performed on the first video stream through an independent display chip, so as to obtain a first video stream after the enhancement processing, where the first video stream after the enhancement processing is referred to as a second video stream, and the frame rate of the second video stream is higher than that of the first video stream.
And S103, under the condition that a second instruction is received, generating a recording file according to the second video stream.
The second instruction may be an instruction generated based on a touch operation, an instruction generated based on a sliding operation, an instruction generated based on a voice input, or an instruction generated based on other operations, which are not particularly limited herein.
Optionally, the second instruction is an instruction generated based on a touch operation performed on a virtual control displayed on the screen interface.
In this step, after receiving the second instruction, a recording file is generated according to the second video stream generated by the recorded content.
Optionally, after receiving the second instruction, recording of the video is stopped, and a recording file is generated according to a second video stream generated by the recorded content.
Wherein the recorded file is a video file, optionally, the video file is video data adopting a mobile industrial processor interface (Mobile Industry Processor Interface, MIPI) protocol.
In the embodiment of the application, under the condition that a first instruction is received, recording at least part of display content of a screen interface to obtain a first video stream; the first video stream is enhanced through an independent display chip, and a second video stream is obtained; and generating a recording file according to the second video stream under the condition that the second instruction is received. In this embodiment of the present invention, 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 that of the first video stream, so that the frame rate of the screen recorded video represented by the recorded file generated by the second video stream is higher, thereby improving the display effect of the screen recorded video.
Optionally, before the recording file is generated according to the second video stream in the case of receiving the second instruction, the method further includes:
transmitting the second video stream sent by the independent display chip to a virtual display module for caching;
and storing the second video stream cached by the virtual display module to a storage module.
It should be appreciated that the electronic device further comprises a memory module in communication with the processor, and that the processor of the electronic device further comprises a virtual display module. In this embodiment, after the second video stream is obtained through the independent display chip, the second video stream sent by the independent display chip is transmitted to the virtual display module for caching, and the virtual display module stores the cached second video stream in the storage module.
In this embodiment, the second video stream processed by the independent display chip is stored in the storage module, so as to realize the storage of the video stream data processed by the independent display chip.
Optionally, the virtual display module includes a virtual screen and a buffer, and the transmitting the second video stream sent by the independent display chip to the virtual display module buffer includes:
caching the second video stream sent by the independent display chip to the buffer through the virtual screen;
the storing the second video stream cached by the virtual display module to a storage module includes:
and storing the second video stream cached by the cache to the storage module.
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. In this case, the second video stream sent by the independent display chip may be sent to the buffer through the virtual screen.
An alternative implementation manner is that the second video stream cached by the virtual screen is transmitted to the storage module in real time, and the second video stream is stored in the storage module; in another alternative implementation manner, the second video stream cached by the virtual screen is transmitted to the storage module every preset time interval. Optionally, the processor transfers the second video stream buffered in the buffer to the storage module by invoking a media recorder (media recorder) service.
In this embodiment, the second video stream buffered by the virtual screen is transmitted to the storage module for storage, so as to reduce the storage pressure of the processor.
Optionally, the generating the recording file according to the second video stream when receiving the second instruction includes:
under the condition of receiving a second instruction, acquiring the second video stream from the storage module;
and carrying out data conversion on the second video stream to generate the recording file.
In this embodiment, under the condition that the second instruction is received, the second video stream is obtained from the memory, and the second video stream is subjected to data conversion to generate the recording file, where the data conversion modes include, but are not limited to, conversion of a data format and encoding of video stream data.
The recorded file in the embodiment is obtained by performing data conversion based on the video stream processed by the independent display chip, so that the recorded file is ensured to have higher resolution, and the display effect of the recorded file is improved.
Optionally, under the condition that the first instruction is received, recording at least part of display content displayed on the screen interface to obtain a first video stream, including:
creating a virtual screen under the condition that a first instruction is received; the virtual screen is used for recording at least part of display content displayed on the screen interface;
compiling video data cached by a buffer in communication connection with the virtual screen to obtain the first video stream, wherein the video data characterizes at least part of display content displayed on the screen interface recorded by the virtual screen.
In this embodiment, a virtual screen is created under the condition that the first instruction is received, and at least part of the display content displayed through the screen interface is recorded through the virtual screen. Alternatively, an application program interface (Application Programming Interface, API) may be created by calling a Media projection service, and further, a virtual screen may be created through the created application program interface, and the data source of the virtual screen may be set as a separate display chip.
As described above, the virtual screen is communicatively connected to the buffer, and the buffer buffers video data recorded by the virtual screen. In this embodiment, the first video stream may be obtained by compiling the buffered data buffered in the buffer, or alternatively, the first video stream may be obtained by compiling the buffered data by a video encoder built in the processor.
Optionally, the enhancing the first video stream through the independent display chip to obtain a second video stream includes:
and sending the first video stream and the enhancement instruction to the independent display chip so that the independent display chip carries out frame inserting processing on the first video stream to obtain the second video stream.
In this embodiment, after the first video stream is obtained, the first video stream may be sent to the independent display chip, and an enhancement instruction may be synchronously sent to the independent display chip, where the enhancement instruction is used to instruct the independent display chip to perform enhancement processing on the first video stream.
In this embodiment, after receiving the first video stream and the enhancement instruction, the independent display chip invokes the internal functional module to perform frame insertion processing on the first video stream to obtain the second video stream, or invokes the internal functional module to perform frame insertion processing, super-division processing and other video enhancement processing on the first video stream to obtain the second video stream.
In this embodiment, the first video stream is enhanced by calling a functional module in the independent display chip, so as to obtain a second video stream with a higher frame rate, and further, a recording file with a higher frame rate is generated according to the second video stream, so that the display effect of the screen recorded video is improved.
For easy understanding of the overall technical solution provided in the embodiments of the present application, please refer to fig. 2, as shown in fig. 2, in which, in the case of receiving the first instruction, the processor creates a virtual screen; the method comprises the steps of sending a first video stream cached by a virtual screen to an independent display chip, and sending 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 to obtain a second video stream, and sends the second video stream to the virtual screen; and transmitting the second video stream to the buffer through the virtual screen. And then, storing the second video stream buffered by the buffer into a storage module.
In other embodiments, after the first video stream is obtained, the recording file may be directly generated according to the first video stream without performing enhancement processing on the first video stream. Specifically, referring to fig. 2, after creating the virtual screen, the processor records at least part of the display content displayed on the screen interface through the virtual screen to obtain a first video stream, and then directly transmits the first video stream to the buffer, and then stores the second video stream buffered by the buffer to the storage module.
The screen recording device provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 3, the screen recording apparatus 300 includes:
the virtual display module 301 is configured to record at least part of display content displayed on the screen interface under the condition that a first instruction is received, so as to obtain a first video stream;
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;
and the processing module 303 is configured to generate a recording file according to the second video stream when receiving the second instruction.
Optionally, the independent display chip 302 is further configured to transmit the second video stream to the virtual display module 301;
the screen recording apparatus 300 further comprises a storage module;
the virtual display module 301 is further configured to store the buffered second video stream to the storage module.
Optionally, the virtual display module 301 includes a virtual screen and a buffer, where the virtual screen is communicatively connected to the buffer;
the virtual screen is used for caching the second video stream sent by the independent display chip to the buffer;
and the buffer is used for storing the buffered second video stream to the storage module.
Optionally, the processing module 303 is specifically configured to obtain, when receiving a second instruction, the second video stream from the storage module;
and carrying out data conversion on the second video stream to generate the recording file.
Optionally, the processing module 303 is further configured to create a virtual screen if the first instruction is received; the virtual screen is used for recording at least part of display content displayed on the screen interface;
compiling video data cached by a buffer in communication connection with the virtual screen to obtain the first video stream, wherein the video data characterizes at least part of display content displayed on the screen interface recorded by the virtual screen.
In the embodiment of the application, under the condition that a first instruction is received, recording at least part of display content displayed on a screen interface to obtain a first video stream; the first video stream is enhanced through an independent display chip, and a second video stream is obtained; and generating a recording file according to the second video stream under the condition that the second instruction is received. In this embodiment of the present invention, 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 that of the first video stream, so that the frame rate of the screen recorded video represented by the recorded file generated by the second video stream is higher, thereby improving the display effect of the screen recorded video.
The screen recording device in the embodiment of the application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The screen recording device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The embodiment of the present application provides a screen recording apparatus capable of implementing each process implemented by the embodiment of the method of fig. 1, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 4, an embodiment of the present application further provides an electronic device 400, including:
the processor 401 is provided with a first data interface D1, a second data interface G1 and a first signal interface C1, and the processor 401 records at least part of display content displayed on a screen interface to obtain a first video stream;
an independent display chip 402 having a third data interface D2, a fourth data interface G2, a fifth data interface D3, and a second signal interface C2, wherein 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, and performs enhancement processing on the first video stream to obtain a second video stream, where a frame rate of the second video stream is higher than that of the first video stream;
a display panel 403, where the display panel 403 is communicatively connected to the independent display chip 402 through the fifth data interface D3 to receive the second video stream;
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.
The processor 401 may be understood as a system-on-chip.
Optionally, the first data interface D1, the third data interface D2 and the fifth data interface D3 are display serial interfaces (Display Serial Interface, DSI), and are protocol interfaces specially used for displaying data under the mobile industry processing interface (Mobile Industry Processor Interface, MIPI) protocol, that is, the data transferred between the first data interface D1, the third data interface D2 and the fifth data interface D3 is based on MIPI protocol.
Optionally, the fourth data interface G2 and the second data interface G1 are general purpose input/Output (GPIO) interfaces for transmitting instructions.
Optionally, the first signal interface C1 and the second signal interface C2 are camera serial interfaces (Camera Serial Interface, CSI).
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 through the second data interface G1;
the independent display chip 402 sends the second video stream to the processor 401 through the fourth data interface G2;
the virtual display module 4011 caches the second video stream sent by the independent display chip 402 through the second data interface G1.
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;
the virtual screen 40111 buffers the second video stream transmitted from the independent display chip 402 to the buffer 40112.
Optionally, the electronic device 400 further comprises a memory 404, the memory 404 being communicatively connected to the processor 401 for storing the second video stream buffered by the processor 401. The memory 404 may be understood as a memory module.
In the embodiment of the application, under the condition that a first instruction is received, recording at least part of display content displayed on a screen interface to obtain a first video stream; the first video stream is enhanced through an independent display chip, and a second video stream is obtained; and generating a recording file according to the second video stream under the condition that the second instruction is received. In this embodiment of the present invention, 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 that of the first video stream, so that the frame rate of the screen recorded video represented by the recorded file generated by the second video stream is higher, thereby improving the display effect of the screen recorded video.
In a specific embodiment of the present application, referring to fig. 5, the electronic device shown in fig. 5 includes a processor (i.e. SoC in fig. 5), an independent display chip and a memory, where the processor includes a virtual display module (not shown in fig. 5), a camera serial interface (CSI interface in fig. 5), a general purpose input/output interface (GPIO interface in fig. 5), and a display serial interface (DSI interface in fig. 5), the virtual display module includes a virtual screen and a buffer, the independent display chip includes a general purpose input/output interface (GPIO interface in fig. 5), and an internal functional module, and the internal functional module is used to perform enhancement processing on a video stream.
The processor comprises a universal input/output interface which is in communication connection with the universal input/output interface which is arranged on the independent display chip, a camera serial interface which is arranged on the processor is in communication connection with an internal functional module of the independent display chip, and a display serial interface which is arranged on the processor is in communication connection with the internal functional module of the independent display chip.
In this embodiment, under the condition that a screen recording instruction is received, a media projection management service is called to create a media projection service, a first API is created based on the media projection service, a virtual screen is created through the first API, and a data source of the virtual screen is set as an independent display chip. Further, at least part of display content of a screen interface is recorded through the virtual screen to obtain a first video stream, the first video stream is transmitted to an internal function module of an independent display chip through a DSI interface, and enhancement processing is performed on the first video stream 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 second video stream in the buffer. The processor transfers the second video stream buffered by the buffer to the memory for storage by invoking the media recording service. In this embodiment, the recording file is generated based on the second video stream.
Optionally, the data source of the virtual screen may be further set to a second API, in this case, under the condition that a screen recording instruction is received, at least part of the display content of the screen interface is recorded through the virtual screen, so as to obtain a first video stream, and further, a recording file is directly generated based on the first video stream.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (15)
1. A screen recording method, comprising:
recording at least part of display content displayed on a screen interface under the condition of receiving a first instruction, and obtaining a first video stream;
the first video stream is enhanced through an independent display chip, and a second video stream is obtained; the frame rate of the second video stream is higher than the frame rate of the first video stream;
and generating a recording file according to the second video stream under the condition that a second instruction is received.
2. The method of claim 1, wherein upon receiving a second instruction, before generating a recording file from the second video stream, the method further comprises:
transmitting the second video stream sent by the independent display chip to a virtual display module for caching;
and storing the second video stream cached by the virtual display module to a storage module.
3. The method of claim 2, wherein the virtual display module includes a virtual screen and a buffer, and the transmitting the second video stream sent by the independent display chip to the virtual display module buffer includes:
caching the second video stream sent by the independent display chip to the buffer through the virtual screen;
the storing the second video stream cached by the virtual display module to a storage module includes:
and storing the second video stream cached by the cache to the storage module.
4. The method of claim 2, wherein generating a recording file from the second video stream upon receiving a second instruction comprises:
under the condition of receiving a second instruction, acquiring the second video stream from the storage module;
and carrying out data conversion on the second video stream to generate the recording file.
5. The method according to claim 1, wherein recording at least part of the display content displayed on the screen interface in case of receiving the first instruction, to obtain the first video stream, includes:
creating a virtual screen under the condition that a first instruction is received; the virtual screen is used for recording at least part of display content displayed on the screen interface;
compiling video data cached by a buffer in communication connection with the virtual screen to obtain the first video stream, wherein the video data characterizes at least part of display content displayed on the screen interface recorded by the virtual screen.
6. The method according to any one of claims 1-5, wherein the enhancing the first video stream by the independent display chip to obtain a second video stream comprises:
and sending the first video stream and the enhancement instruction to the independent display chip so that the independent display chip carries out frame inserting processing on the first video stream to obtain the second video stream.
7. A screen recording apparatus, comprising:
the virtual display module is used for recording at least part of display contents displayed on the screen interface under the condition of receiving a first instruction to obtain a first video stream;
the independent display chip is used for carrying out 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;
and the processing module is used for generating a recording file according to the second video stream under the condition of receiving a second instruction.
8. The apparatus of claim 7, wherein the independent display chip is further configured to transmit the second video stream to the virtual display module;
the screen recording device further comprises a storage module;
the virtual display module is further configured to store the cached second video stream to the storage module.
9. The apparatus of claim 8, wherein the virtual display module comprises a virtual screen and a buffer, the virtual screen being communicatively coupled to the buffer;
the virtual screen is used for caching the second video stream sent by the independent display chip to the buffer;
and the buffer is used for storing the buffered second video stream to the storage module.
10. The apparatus according to claim 8, wherein the processing module is configured to obtain the second video stream from the storage module, in particular when a second instruction is received;
and carrying out data conversion on the second video stream to generate the recording file.
11. The apparatus of claim 7, wherein the processing module is further configured to create a virtual screen if the first instruction is received; the virtual screen is used for recording at least part of display content displayed on the screen interface;
compiling video data cached by a buffer in communication connection with the virtual screen to obtain the first video stream, wherein the video data characterizes at least part of display content displayed on the screen interface recorded by the virtual screen.
12. An electronic device, comprising:
the processor is provided with a first data interface, a second data interface and a first signal interface, and records at least part of display content displayed on the screen interface to obtain a first video stream;
the independent display chip is provided with a third data interface, a fourth data interface, a fifth data interface and a second signal interface, wherein the third data interface is in communication connection with the first data interface, the fourth data interface is in communication connection with the second data interface, and the second signal interface is in communication connection with the first signal interface; the independent display chip receives the first video stream through the first data interface, and performs enhancement processing on the first video stream to obtain a second video stream, wherein the frame rate of the second video stream is higher than that of the first video stream;
the display panel is in communication connection with the independent display chip through the fifth data interface so as to receive the second video stream;
and 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 of claim 12, wherein the processor comprises a virtual display module communicatively coupled to the independent display chip via the second data interface;
the independent display chip sends the second video stream to the processor through the fourth data interface;
and the virtual display module caches the second video stream sent by the independent display chip through the second data interface.
14. The electronic device of claim 13, wherein the virtual display module comprises a virtual screen and a buffer, the virtual screen being communicatively coupled to the buffer;
and the virtual screen caches the second video stream sent by the independent display chip to the buffer.
15. The electronic device of claim 12, further comprising a memory communicatively coupled to the processor for storing the second video stream buffered by the processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310371890.6A CN116320238A (en) | 2023-04-10 | 2023-04-10 | Screen recording method and device |
PCT/CN2024/086291 WO2024212874A1 (en) | 2023-04-10 | 2024-04-07 | Screen recording method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310371890.6A CN116320238A (en) | 2023-04-10 | 2023-04-10 | Screen recording method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116320238A true CN116320238A (en) | 2023-06-23 |
Family
ID=86779934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310371890.6A Pending CN116320238A (en) | 2023-04-10 | 2023-04-10 | Screen recording method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116320238A (en) |
WO (1) | WO2024212874A1 (en) |
-
2023
- 2023-04-10 CN CN202310371890.6A patent/CN116320238A/en active Pending
-
2024
- 2024-04-07 WO PCT/CN2024/086291 patent/WO2024212874A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2024212874A1 (en) | 2024-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11711441B2 (en) | Method and apparatus for publishing video synchronously, electronic device, and readable storage medium | |
US8736617B2 (en) | Hybrid graphic display | |
US11861381B2 (en) | Icon updating method and apparatus, and electronic device | |
CN107509051A (en) | Long-range control method, device, terminal and computer-readable recording medium | |
CN110290398B (en) | Video issuing method and device, storage medium and electronic equipment | |
CN109168027B (en) | Instant video display method and device, terminal equipment and storage medium | |
CN112269770B (en) | Document sharing method, device and system and electronic equipment | |
CN115665342B (en) | Image processing method, image processing circuit, electronic device, and readable storage medium | |
CN101326513B (en) | Method for utilizing alternative graphics pipe | |
CN114285957A (en) | Image processing circuit and data transmission method | |
CN107589979A (en) | A kind of terminal screenshot method and device based on virtual desktop | |
CN109063079B (en) | Webpage labeling method and electronic equipment | |
CN116419049A (en) | Image processing method, image processing system, device and electronic equipment | |
CN114153362A (en) | Information processing method and device | |
CN106775690B (en) | Recording method and device based on gdi/gdi + window coverage | |
CN116320238A (en) | Screen recording method and device | |
CN107315970B (en) | Sensitive data interaction method and device | |
CN113035246A (en) | Audio data synchronous processing method and device, computer equipment and storage medium | |
CN111835804A (en) | Method, device and system for data transmission between internal network and external network | |
US20230153137A1 (en) | Remote rendering system, method and device based on virtual mobile architecture | |
CA2627064C (en) | Multiplexing video using a dsp | |
CN114760309A (en) | Business interaction method, device, equipment and medium of terminal based on cloud service | |
CN109640023B (en) | Video recording method, device, server and storage medium | |
CN103777993A (en) | Multiuser computer system | |
KR20060035186A (en) | Real-time game broadcasting service system and method for mobile communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |