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
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000010422 painting Methods 0.000 claims abstract description 14
- 238000005538 encapsulation Methods 0.000 claims abstract description 7
- 230000006835 compression Effects 0.000 claims abstract description 4
- 238000007906 compression Methods 0.000 claims abstract description 4
- 238000009432 framing Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 9
- 230000002123 temporal effect Effects 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000009877 rendering Methods 0.000 claims description 3
- 230000001835 salubrious effect Effects 0.000 abstract 1
- 230000006872 improvement Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
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 |
---|---|---|
TWI624804B (en) | A method and system for providing high resolution image through super-resolution reconstrucion | |
US8023568B2 (en) | Capture, editing and encoding of motion pictures encoded with repeating fields or frames | |
JP7072645B2 (en) | How to generate media files, how to process media files, devices, programs, and computer-readable storage media | |
CN101516031B (en) | Image processing apparatus, image processing method | |
CN102026017A (en) | Efficient test method for video decoding | |
EP1871098A2 (en) | Processing of removable media that stores full frame video & sub-frame metadata | |
JP2015165714A (en) | Processing of images in imaging system | |
JP2003087785A (en) | Method of converting format of encoded video data and apparatus therefor | |
CN109891893A (en) | It is derived in Streaming Media and with signal sending zone and viewport | |
CN107683607A (en) | Message processing device and information processing method | |
CN103369301B (en) | Data management apparatus and data managing method | |
CN112511896A (en) | Video rendering method and device | |
CN101827202A (en) | Image processing equipment, image processing method and program | |
CN111901603A (en) | Encoding method and decoding method for static background video | |
CN110012255A (en) | The seamless record screen method of video | |
EP1447981A1 (en) | Information processing device and method, program, and recording medium | |
US10142646B2 (en) | System and method for improved video operations | |
CN111464812A (en) | Method, system, device, storage medium and processor for encoding and decoding | |
CN100461866C (en) | Image device, image processing system and method thereof | |
JP5161589B2 (en) | Image reproducing apparatus, image reproducing method, program, and integrated circuit | |
JP2004201010A (en) | Image processing apparatus and method, image processing program and recording medium | |
CN114640882A (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
JP5395621B2 (en) | Image generation method and image reproduction method | |
CN109495793B (en) | Bullet screen writing method, device, equipment and medium | |
JPH10257499A (en) | Device and method for encoding moving image |
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 |