Video traceless screen recording method
Abstract
The invention discloses a video traceless screen recording method which comprises the following steps: selecting a recording object, and decoding an object file; storing the decoded data in a memory;wherein the processor performs hierarchical coding on the decoded data stream in the memory; performing format encapsulation on the coded file; and compressing and storing the packaged file in a disk.According to the method, the recorded object is internally decoded and rendered into the canvas mode in the memory, and the canvas mode is encoded through the CPU or the GPU to obtain the high-quality and stable video stream, so that the recorded video image is clean, refreshing, and free of black field, blurred screen and pause, and traceless screen recording of the video is realized.

Term
12.5 yearsto projected expiry
Projected expiry 12 April 2039, counted from filing; an application has no term until it is granted.
- Priority and filed
- Published
- Today
- Projected expiry
6 claims: 1 independent, 5 dependent
- 1A method for seamless video screen recording, characterized in that it includes the following steps:1.视频无痕录屏方法,其特征在于,包括如下步骤: S1 .选取录制对象,并对对象文件进行解码; S1. Select the recording object and decode the object file;S2 .将解码数据存储于内存; S2. Store the decoded data in the memory;S3 .处理器对内存中解码后的数据流进行分层编码; S3. The processor performs hierarchical coding on the decoded data stream in the memory;S4 .对编码文件进行格式封装; S4. Encapsulate the format of the encoded file;S5 .将封装文件压缩存储于磁盘。 S5. Compress and store the packaged file on the disk.
50 paragraphs, as filed
Technical field of video seamless recording method
[0001] The present invention relates to a screen recording method, and in particular to a method for seamless video screen recording.
Background technique
[0002] Multi-party interaction is often required in remote teaching and network video conferences. In the interaction, everyone shares an electronic drawing board, and multiple IP streams are transmitted to each other in real time and can be seen by each other. The entire interactive process needs to be recorded as a reference for future learning. At present, there are many traditional screen recording methods, which can achieve full-screen recording and regional recording, and the picture quality is also satisfactory. However, these screen recordings all use the method of directly capturing the screen, capturing all the information on the display screen, including information that has nothing to do with the subject. Such as: application software operation process, system operation process, website advertisements, games, etc. This extra information causes the picture to be unclean, and it can only be processed with the help of complex video editing software in the later stage, which is time-consuming and laborious.
Summary of the invention
[0003] The purpose of the present invention is to provide a method for seamless video screen recording in view of the above-mentioned problems.
[0004] Specifically, the method for seamless video screen recording includes the following steps:
S1. Select the recording object and decode the object file;
S2. Store the decoded data in the memory;
S3. The processor performs hierarchical coding on the decoded data stream in the memory;
S4. Encapsulate the format of the encoded file;
S5. Compress and store the packaged file on the disk.
[0005] Specifically, in the method for seamless video screen recording, the step S3 further includes the following sub-steps:
S31. Render canvas: render the decoded data stream into canvas mode in memory;
S32. Encoded frame bitmap: on the basis of the canvas, encode the data stream to form a frame bitmap;
S33. Grabbing continuous frames: According to the number of frames required by the video, calculate the interval time between two grabbing frame bitmaps, and store each grabbed frame bitmap and corresponding time information.
[0006] Specifically, in the method for seamless video screen recording, the rendering of the canvas, encoding the frame bitmap, and capturing continuous frames are performed by multiple threads at the same time.
[0007] Specifically, in the method for seamless video screen recording, the step S4 further includes the following sub-steps:
S41. Build a frame list: construct the stored continuous frame bitmap into a list form according to the time information of the frame bitmap;
S42. Construct the file header: use the constructor to construct the file header information;
S43. Format conversion: call the corresponding format conversion dynamic link library, convert the video file into the required video format, and complete the file format encapsulation.
[0008] Specifically, in the method for seamless video screen recording, the file compression storage is processed through multi-threaded asynchronous processing, and the video file encapsulated in the memory is stored to the disk.
[0009] Specifically, in the method for seamless video screen recording, the layered encoding process is implemented by calling one or more of GPU and CPU.
[0010] The beneficial effects of the present invention: the present invention decodes the recorded object internally and renders it into a picture in the memory.
In order to obtain a high-quality and stable video stream, the recorded video images are clean and refreshing, without black fields, blurry screens, and no pauses, so as to achieve seamless video recording. .
Description of the drawings
[0011] FIG. 1 is a schematic flowchart of a method for seamless video recording.
Detailed ways
[0012] In order to have a clearer understanding of the technical features, objectives and effects of the present invention, specific embodiments of the present invention will now be described with reference to the accompanying drawings.
[0013] In this embodiment, the method for seamless video screen recording includes the following steps:
S1. Select the recording object and decode the object file;
S2. Store the decoded data in the memory;
S3. The processor performs hierarchical coding on the decoded data stream in the memory;
S4. Encapsulate the format of the encoded file;
S5. Compress and store the packaged file on the disk.
[0014] In the method for seamless video screen recording, the step S3 further includes the following sub-steps:
S31. Render canvas: render the decoded data stream into canvas mode in memory;
S32. Encoded frame bitmap: on the basis of the canvas, encode the data stream to form a frame bitmap;
S33. Grabbing continuous frames: According to the number of frames required by the video, calculate the interval time between capturing the frame bitmap twice, and store each captured frame bitmap and the corresponding time information. Usually the number of frames is set to 50, so The interval time is 20ms.
[0015] In the method for seamless video screen recording, the rendering of the canvas, encoding the frame bitmap, and capturing continuous frames are performed by multi-thread simultaneous processing.
[0016] In the method for seamless video screen recording, the step S4 further includes the following sub-steps:
S41. Build a frame list: construct the stored continuous frame bitmap into a list form according to the time information of the frame bitmap;
S42. Construct the file header: use the constructor to construct the file header information;
S43. Format conversion: call the corresponding format conversion dynamic link library, convert the video file into the required video format, and complete the file format encapsulation.
[0017] In this embodiment, by writing a constructor, constructing the file header information for it, and calling the corresponding format conversion dynamic link library DLL, the file header information structure of multiple formats can be realized, and there is no need to construct the file header information for each format. Write a constructor.
[0018] In a seamless video screen recording method, the file compression and storage uses multithreaded asynchronous processing to store the encapsulated video file in the memory to the disk.
[0019] In the method for seamless video screen recording, the layered encoding process is implemented by calling one or more of GPU and CPU.
[0020] The present invention decodes the recording object internally, renders it into a canvas mode in the memory, and encodes it through the GPU to obtain a high-quality and stable video stream, so that the recorded video images are clean and refreshing. There is no black field, no blurry screen, no pause phenomenon, to achieve seamless video recording.
[0021] The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above. Those skilled in the art should understand that the present invention is not limited by the above-mentioned embodiments. The above-mentioned embodiments and the descriptions only illustrate the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various aspects. Kinds of changes and improvements, these changes
Changes and improvements fall within the scope of the claimed invention. The scope of protection claimed by the present invention is defined by the appended claims and their equivalents.
1 sheet
Sheet 1
Every citation, both ways
| Document | Relation | Office | Category | Cited during | Relevant claims |
|---|---|---|---|---|---|
| CN104853132A | Cites | China | A | Search report | 1-6 |
| CN105306861A | Cites | China | A | Search report | 1-6 |
| CN106713972A | Cites | China | Y | Search report | 1-6 |
| CN108563382A | Cites | China | Y | Search report | 1-6 |
| CN109145248A | Cites | China | A | Search report | 1-6 |
| US8639086B2 | Cites | United States of America | A | Search report | 1-6 |
2 priority claims, no other members on record
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 201910295034 | China | A | |
| CN20191295034 | – | – | – |
3 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Rejection of invention patent application after publicationRJ01 | RJ01 | |
| Entry into force of request for substantive examinationSE01 | SE01 | |
| PublicationPB01 | PB01 |
Numbers
- Publication
- 110012255
- Publication, DOCDB
- 110012255
- Publication, EPODOC
- CN110012255
- Application
- 102950340
- Application, DOCDB
- 201910295034
- Application, EPODOC
- CN201910295034
Titles2
- Chinese
- 视频无痕录屏方法
- English
- Video recording method without trace
Classification
- CPC, 4
- H04N5/781
- H04N21/4334
- H04N21/44008
- H04N21/440218
- IPC, 4
- H04N5 781
- H04N21 433
- H04N21 44
- H04N21 4402