CN110012255A - The seamless record screen method of video - Google Patents
The seamless record screen method of video Download PDFInfo
- Publication number
- CN110012255A CN110012255A CN201910295034.0A CN201910295034A CN110012255A CN 110012255 A CN110012255 A CN 110012255A CN 201910295034 A CN201910295034 A CN 201910295034A CN 110012255 A CN110012255 A CN 110012255A
- Authority
- CN
- China
- Prior art keywords
- video
- file
- record screen
- screen method
- memory
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention discloses a kind of seamless record screen method of video, includes the following steps: to choose and record object, and obj ect file is decoded;Decoding data is stored in memory;Processor carries out hierarchical coding to data flow decoded in memory;Format encapsulation is carried out to coding file;Package file compression is stored in disk.The present invention is by carrying out inner decoding to recording object, and it is rendered to painting canvas mode in memory, and it is encoded by CPU or GPU, to obtain high quality, stable video flowing, so that it is clean, salubrious to include the video pictures to get off, Wu Heichang, without Hua Ping, without pause the phenomenon that, realize the seamless record screen of video.
Description
Technical field
The present invention relates to record screen method more particularly to the seamless record screen methods of video.
Background technique
Multi-party interactive is usually needed in remote teaching, the network teleconference.In interaction, everybody shares an electronic picture
Plate, multiple IP streams mutually pass in real time, mutually visible.Entire interactive process needs to record screen, as later study reference.Currently, traditional
Record screen method it is very much, can accomplish it is full frame record, region is recorded, image quality is also satisfactory.But these record screens are all to use
The method of direct capture screen will show that all information of screen all grabs, including the information unrelated with theme.Such as: application
Software operating process, system operatio process, advertisement, the game of website push etc..These extra information cause picture unclean,
Only handled by the Video editing software of later period complexity, it is time-consuming, laborious.
Summary of the invention
It is an object of the present invention in view of the above-mentioned problems, propose the seamless record screen method of video.
Specifically, the seamless record screen method of video, includes the following steps:
S1. it chooses and records object, and obj ect file is decoded;
S2. decoding data is stored in memory;
S3. processor carries out hierarchical coding to data flow decoded in memory;
S4. format encapsulation is carried out to coding file;
S5. package file compression is stored in disk.
Specifically, the seamless record screen method of video, the step S3 further includes following sub-step:
S31. it renders painting canvas: decoded data flow being rendered to painting canvas mode in memory;
S32. coded frame bitmap: on the basis of painting canvas, encoding data stream, forms framing bit figure;
S33. grab successive frame: the frame number needed according to video calculates the interval time for grabbing framing bit figure twice, stores crawl
Each framing bit figure and corresponding temporal information.
Specifically, the seamless record screen method of video, the rendering painting canvas, coded frame bitmap and crawl successive frame pass through multithreading
Progress is handled simultaneously.
Specifically, the seamless record screen method of video, the step S4 further includes following sub-step:
S41. it constructs frame list: the successive frame bitmap of storage is built by tabular form according to the temporal information of framing bit figure;
S42. construct file header: application builder constructs File header information;
S43. format is converted: corresponding format conversion dynamic link library is called, video file is converted to the video format of needs,
Complete file format encapsulation.
Specifically, the seamless record screen method of video, the compressing file storage will be sealed by multithreading asynchronous process in memory
The video file installed is stored to disk.
Specifically, the seamless record screen method of video, the process of the hierarchical coding be one kind by calling GPU and CPU or
It is a variety of to realize.
Beneficial effects of the present invention: the present invention is rendered to picture by carrying out inner decoding to recording object in memory
Cloth mode, and it is encoded by GPU, to obtain high quality, stable video flowing, so that including the video pictures to get off
Completely, clearly, Wu Heichang, without Hua Ping, without pause the phenomenon that, realize the seamless record screen of video.
Detailed description of the invention
Fig. 1 is the seamless record screen method flow schematic diagram of video.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, this hair of Detailed description of the invention is now compareed
Bright specific embodiment.
In the present embodiment, the seamless record screen method of video includes the following steps:
S1. it chooses and records object, and obj ect file is decoded;
S2. decoding data is stored in memory;
S3. processor carries out hierarchical coding to data flow decoded in memory;
S4. format encapsulation is carried out to coding file;
S5. package file compression is stored in disk.
The seamless record screen method of video, the step S3 further includes following sub-step:
S31. it renders painting canvas: decoded data flow being rendered to painting canvas mode in memory;
S32. coded frame bitmap: on the basis of painting canvas, encoding data stream, forms framing bit figure;
S33. grab successive frame: the frame number needed according to video calculates the interval time for grabbing framing bit figure twice, stores crawl
Each framing bit figure and corresponding temporal information usually set 50 for frame number, therefore its interval time is 20ms.
The seamless record screen method of video, the rendering painting canvas, coded frame bitmap and crawl successive frame are located simultaneously by multithreading
Reason carries out.
The seamless record screen method of video, the step S4 further includes following sub-step:
S41. it constructs frame list: the successive frame bitmap of storage is built by tabular form according to the temporal information of framing bit figure;
S42. construct file header: application builder constructs File header information;
S43. format is converted: corresponding format conversion dynamic link library is called, video file is converted to the video format of needs,
Complete file format encapsulation.
In the present embodiment, by writing a constructor, File header information is constructed for it, and calls corresponding format conversion
The File header information construction of multiple formats can be realized, without writing a constructor for every kind of format in dynamic link library (DLL).
The seamless record screen method of video, the compressing file storage are completed by multithreading asynchronous process by encapsulating in memory
Video file storage to disk.
The seamless record screen method of video, the process of the hierarchical coding are by the one or more come real of calling GPU and CPU
Existing.
The present invention is rendered to painting canvas mode, and pass through GPU pairs by carrying out inner decoding to recording object in memory
It is encoded, to obtain high quality, stable video flowing, so that include the video pictures to get off completely, clearly, Wu Heichang,
No Hua Ping, without pause the phenomenon that, realize the seamless record screen of video.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this
The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.
Claims (6)
1. the seamless record screen method of video, which comprises the steps of:
S1. it chooses and records object, and obj ect file is decoded;
S2. decoding data is stored in memory;
S3. processor carries out hierarchical coding to data flow decoded in memory;
S4. format encapsulation is carried out to coding file;
S5. package file compression is stored in disk.
2. the seamless record screen method of video according to claim 1, which is characterized in that the step S3 further includes following sub-step
It is rapid:
S31. it renders painting canvas: decoded data flow being rendered to painting canvas mode in memory;
S32. coded frame bitmap: on the basis of painting canvas, encoding data stream, forms framing bit figure;
S33. grab successive frame: the frame number needed according to video calculates the interval time for grabbing framing bit figure twice, stores crawl
Each framing bit figure and corresponding temporal information.
3. the seamless record screen method of video according to claim 2, which is characterized in that the rendering painting canvas, coded frame bitmap
Progress is handled by multithreading simultaneously with crawl successive frame.
4. the seamless record screen method of video according to claim 1, which is characterized in that the step S4 further includes following sub-step
It is rapid:
S41. it constructs frame list: the successive frame bitmap of storage is built by tabular form according to the temporal information of framing bit figure;
S42. construct file header: application builder constructs File header information;
S43. format is converted: corresponding format conversion dynamic link library is called, video file is converted to the video format of needs,
Complete file format encapsulation.
5. the seamless record screen method of video according to claim 1, which is characterized in that the compressing file storage passes through multi-thread
Journey asynchronous process stores the video file that completion is encapsulated in memory to disk.
6. the seamless record screen method of video according to claim 1, which is characterized in that the process of the hierarchical coding is to pass through
The one or more of GPU and CPU are called to realize.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910295034.0A CN110012255A (en) | 2019-04-12 | 2019-04-12 | The seamless record screen method of video |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910295034.0A CN110012255A (en) | 2019-04-12 | 2019-04-12 | The seamless record screen method of video |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110012255A true CN110012255A (en) | 2019-07-12 |
Family
ID=67171435
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910295034.0A Pending CN110012255A (en) | 2019-04-12 | 2019-04-12 | The seamless record screen method of video |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110012255A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8639086B2 (en) * | 2009-01-06 | 2014-01-28 | Adobe Systems Incorporated | Rendering of video based on overlaying of bitmapped images |
| CN104853132A (en) * | 2015-05-13 | 2015-08-19 | 北京掌中经纬技术有限公司 | Delay video recording method and system |
| CN105306861A (en) * | 2015-10-15 | 2016-02-03 | 深圳市时尚德源文化传播有限公司 | Online teaching recording and playing method and system |
| CN106713972A (en) * | 2016-12-27 | 2017-05-24 | Ut斯达康(深圳)技术有限公司 | Integrated broadcast control platform video content screen capturing method and integrated broadcast control platform video content screen capturing device |
| CN108563382A (en) * | 2018-02-26 | 2018-09-21 | 挖财网络技术有限公司 | Screenshotss method and device based on android system |
| CN109145248A (en) * | 2017-09-19 | 2019-01-04 | 屏幕分享科技有限公司 | Method for recording, editing and reproducing computer talk |
-
2019
- 2019-04-12 CN CN201910295034.0A patent/CN110012255A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8639086B2 (en) * | 2009-01-06 | 2014-01-28 | Adobe Systems Incorporated | Rendering of video based on overlaying of bitmapped images |
| CN104853132A (en) * | 2015-05-13 | 2015-08-19 | 北京掌中经纬技术有限公司 | Delay video recording method and system |
| CN105306861A (en) * | 2015-10-15 | 2016-02-03 | 深圳市时尚德源文化传播有限公司 | Online teaching recording and playing method and system |
| CN106713972A (en) * | 2016-12-27 | 2017-05-24 | Ut斯达康(深圳)技术有限公司 | Integrated broadcast control platform video content screen capturing method and integrated broadcast control platform video content screen capturing device |
| CN109145248A (en) * | 2017-09-19 | 2019-01-04 | 屏幕分享科技有限公司 | Method for recording, editing and reproducing computer talk |
| CN108563382A (en) * | 2018-02-26 | 2018-09-21 | 挖财网络技术有限公司 | Screenshotss method and device based on android system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8270493B2 (en) | Capture, editing and encoding of motion pictures encoded with repeating fields or frames | |
| CN102026017B (en) | Efficient test method for video decoding | |
| CN101516031B (en) | Image processing apparatus, image processing method | |
| EP1871098A2 (en) | Processing of removable media that stores full frame video & sub-frame metadata | |
| CN111901603B (en) | Coding method and decoding method for static background video | |
| JP2015165714A (en) | Processing of images in imaging system | |
| JP2003087785A (en) | Method and apparatus for format conversion of encoded video data | |
| CN113473126B (en) | Video stream processing method and device, electronic equipment and computer readable medium | |
| JP2009506606A (en) | Image data processing method | |
| CN103248797A (en) | Video resolution enhancing method and module based on FPGA (field programmable gate array) | |
| CN110809173A (en) | Virtual live broadcast method and system based on AR augmented reality of smart phone | |
| CN100466711C (en) | Information processing device, method, program, and recording medium | |
| JP2010527482A5 (en) | ||
| CN115278226B (en) | Real-time compression and remote monitoring method and system based on 3D point cloud | |
| CN101681193A (en) | Video motion menu generation in a low memory environment | |
| CN111406404B (en) | Compression method, decompression method, system and storage medium for obtaining video file | |
| CN110012255A (en) | The seamless record screen method of video | |
| CN114513675A (en) | Construction method of panoramic video live broadcast system | |
| CN115278313A (en) | A high-rate and multi-channel video concurrent double-speed method | |
| CN107205158A (en) | A kind of multichannel audio-video frequency stream synchronous decoding method based on timestamp | |
| CN107580228A (en) | A monitoring video processing method, device and equipment | |
| CN118353883A (en) | Implementation method of adaptive encoding streaming media service for security video surveillance | |
| CN119299706A (en) | Key frame semantics-based video transmission method, device, electronic device, storage medium and program product | |
| CN109982067B (en) | Video processing method and device | |
| CN118158420A (en) | Image encoding method, image decoding device, and computer storage medium |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190712 |