Video conversion method and device, equipment and medium

A video and target video technology, applied in the computer field, can solve problems such as large amount of calculation and slow processing speed, and achieve the effects of improving efficiency, reducing calculation amount, reducing calculation amount and calculation time

Active Publication Date: 2019-01-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a video conversion method, device, equipment and medium to solve the technical problems of large amount of calculation and slow processing speed in video analysis in the prior art

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 conversion method and device, equipment and medium
  • Video conversion method and device, equipment and medium
  • Video conversion method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] This embodiment provides a video conversion method, such as figure 1 shown, including:

[0036] Step S101, downloading the target video and decoding the target video;

[0037] Step S102, after determining that the key information area of ​​the target video is a scene with a single color, according to the formulas R=Y, G=Y and B=Y, the format of the frame in the target video is converted from YUV format to RGB format; among them, R is the R channel parameter value in RGB format, G is the G channel parameter value in RGB format, B is the B channel parameter value in RGB format; Y is the Y channel parameter value in YUV format, U is the U in YUV format Channel parameter value, V is the V channel parameter value in YUV format;

[0038] Step S103, performing video analysis on the format-converted target video, wherein the video analysis includes: acquiring key information in the key information area with a single color, and analyzing the key information.

[0039] It shoul...

Embodiment 2

[0089] This embodiment provides a video conversion device, such as figure 2 As shown, the device includes:

[0090] Download module 201, for downloading target video and decoding described target video;

[0091] The processing module 202 is used to change the format of the frames in the target video from YUV format according to the formulas R=Y, G=Y and B=Y after determining that the key information area of ​​the target video is a single-color scene. Convert to RGB format; among them, R is the R channel parameter value in RGB format, G is the G channel parameter value in RGB format, B is the B channel parameter value in RGB format; Y is the Y channel parameter value in YUV format, and U is YUV The U channel parameter value in the format, V is the V channel parameter value in the YUV format;

[0092] The analysis module 203 is configured to perform video analysis on the format-converted target video, wherein the video analysis includes: acquiring key information in the key i...

Embodiment 3

[0099] This embodiment provides an electronic device, such as image 3 As shown, it includes a memory 310 , a processor 320 , and a computer program 311 stored in the memory 310 and operable on the processor 320 . When the processor 320 executes the computer program 311 , any implementation manner in the first embodiment can be realized.

[0100] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the specific details of the electronic device in this embodiment. Embodiments and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the pr...

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 conversion method and device, equipment and a medium. The video conversion method comprises the steps of downloading target video, and decoding the target video; converting the format of frames in the target video from a YUV format into an RGB format according to the following formulas: R=Y, G=Y and B=Y, wherein R is an R-channel parameter value of the RGB format, Gis a G-channel parameter value of the RGB format, B is a B-channel parameter value of the RGB format, Y is a Y-channel parameter value of the YUV format, U is a U-channel parameter value of the YUV format, and V is a V-channel parameter value of the YUV format; and performing video analysis on the target format with the format being converted. The method and device provided by the invention can solve a technical problem that video analysis in the prior art is great in calculation amount and slow in processing speed, and realizes the technical effect of improving the efficiency and speed of video analysis.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a video conversion method, device, equipment and medium. Background technique [0002] At present, with the advancement of network communication technology and the speed-up of broadband network, webcasting has been more and more developed and applied. In order to ensure the healthy development of the live broadcast and obtain the data information of the live broadcast process, it is often necessary to monitor whether there are unqualified video images in the live video, or to analyze and obtain key data in the live video, so that the live broadcast platform can take improvement measures. All of this needs to be carried out through video analysis during the live broadcast or after the video is obtained. [0003] However, whether it is synchronous video analysis during live broadcast or analysis of existing video, it needs to consume more resources for decoding, conversi...

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
IPC IPC(8): H04N9/64H04N21/44
CPCH04N9/64H04N21/44008
Inventor 郑伟陈少杰张文明
Owner WUHAN DOUYU NETWORK 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