Video processing method and device, electronic equipment and readable storage medium

A video processing and video technology, applied in the computer field, can solve the problems of not getting better results, high rendering pressure, high development cost, etc., and achieve the effect of improving dynamic performance, high compression rate, and good compatibility

Pending Publication Date: 2022-05-31
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has high rendering pressure and high development costs. Many effects that are easy to create on the designer side cannot be easily realized, and it is time-consuming and laborious and cannot be obtained without interaction. Poor solution with better results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video processing method and device, electronic equipment and readable storage medium
  • Video processing method and device, electronic equipment and readable storage medium
  • Video processing method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0094] The above embodiment does not make any limitation on how to execute S101. In order to improve the compatibility of the entire background culling operation and reduce its impact on performance, this embodiment also provides an optional implementation of this step. May include the following:

[0095] Call the canvas2d api to capture the current frame to the initial canvas;

[0096] According to the display size of the video to be processed, generate a webgl canvas with the same size as the display size, and open the alpha channel of the webgl canvas, and turn off the premultiplication setting function of the webgl canvas;

[0097] Draw the target container in the webgl canvas in response to the target container drawing command;

[0098] Use the current frame picture in the initial canvas as the texture feature of the target container, and attach it to the target container.

[0099]In this embodiment, when the video is played, the content will be updated according to a s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a video processing method and device, electronic equipment and a readable storage medium. The method comprises the following steps: when a transparency processing request is received, attaching a current frame picture of a captured to-be-processed video as a texture feature to a target container of a canvas with the same size as a to-be-displayed size of the video; the canvas supports transparency information and does not process pixel colors in advance. According to the position of the pixel point of the current frame of picture in the target container, mapping to obtain a pixel color corresponding to each pixel point in the to-be-processed video; for each pixel point of the current frame of picture, determining transparency information of the current pixel point according to the transparency elimination range and the correlation between the pixel color of the current pixel point and the corresponding background color; and according to the transparency information of each pixel point of each frame of picture, transparency operation is performed on the video to be processed pixel by pixel point, so that the video background color is conveniently removed at low cost on the basis of relatively low influence on system performance and compatibility.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a video processing method, device, electronic equipment and readable storage medium. Background technique [0002] With the gradual application and popularization of the media playback function on the web platform, video has been widely used in decoration and content on web pages due to its high compression rate and ease of use. But, because the video playback of web does not support transparency, that is, the web platform does not support video with transparency, this just causes the decorative content of some video formats to be unable to organically combine with web content well. In order to ensure the perfect combination of video and web content, it is necessary to specify the background color or video transparency for the video with a pure color background, so that the content behind the video material will not be blocked, such as adding rain special effects to t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/90G06T11/00H04N21/431H04N21/485H04N21/81
CPCG06T7/90G06T11/001H04N21/4318H04N21/4854H04N21/8153
Inventor 刘学峰范渊
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products