Teaching video compressing and playing methods, and compressing and playing devices

A video compression and video coding technology, applied in the field of Html5, can solve problems such as disadvantage, reduce storage space and transmission bandwidth, and low video compression rate, and achieve the effect of reducing data volume, saving transmission bandwidth, and saving storage space.

Active Publication Date: 2016-07-27
SHENZHEN CHENRUI TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a teaching video compression method, which aims to solve the problem that in the current Html5 webpage, the Canvas-based video does not encode the action content of the canvas, and the video compression rate is low, which is not conducive to reducing storage space. and transmission bandwidth issues

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
  • Teaching video compressing and playing methods, and compressing and playing devices
  • Teaching video compressing and playing methods, and compressing and playing devices
  • Teaching video compressing and playing methods, and compressing and playing devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It is an implementation flowchart of the teaching video compression method provided by the embodiment of the present invention, and is described in detail as follows:

[0045] In step S101, in the Html5 web page, the event generated by the input device on the drawing board of the lecture video is acquired;

[0046] Before step S101, it also includes:

[0047] Events generated by input devices on the predefined drawing board;

[0048] Configure the event category corresponding to the event.

[0049] Wherein, the event includes at least one of a moving event, a handwriting event, an entry event, and a deletion event.

[0050] Wherein, the event category includes at least one of handwriting, text, picture, eraser and extended input content types.

[0051] In step S102, record the rendering space of the event on the drawing board, establish a correspondence between the event and the rendering space, and generate a rendering table;

[0052] In step S103, record...

Embodiment 2

[0062] figure 2 It is an implementation flowchart of step S105 of the teaching video compression method provided by the embodiment of the present invention, and is described in detail as follows:

[0063] In step S201, configure the behavior identifier corresponding to the action content data;

[0064] In step S202, generate a time-series behavior code according to the behavior identifier, the event category and time information of the event;

[0065] In step S203, the action content data and time-sequence action codes are packaged to generate video codes.

Embodiment 3

[0067] image 3 It is a flow chart of realizing the configuration action content recovery kinetic energy provided by the embodiment of the present invention, and is described in detail as follows:

[0068] In step S301, detecting whether a deletion operation occurs on the action content;

[0069] In step S302, when a deletion operation occurs, hide the action content and mark the action content as deleted action content;

[0070] In step S303, it is detected whether a restoration operation occurs on the action content, and whether a restoration operation occurs is detected, and when a restoration operation is detected, the deleted action content is restored.

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 is applied to the technical field of Html5, and provides a teaching video compressing method, a teaching video playing method, a teaching video compressing device and a teaching video playing device. The teaching video compressing method comprises the following steps: obtaining an event generated by an input device on a drawing board of a teaching video in an Html5 webpage; recording a rendering space of the event on the drawing board, and establishing a corresponding relation between the event and the rendering space to generate a rendering table; recording an action content of the event to generate action content data; obtaining an event category and time information of the event; according to the action content data, the event category and the time information of the event, generating a video code of the event; and uploading the video code of the event and the rendering table to a server. The teaching video compressing method, the teaching video playing method, the teaching video compressing device and the teaching video plying device disclosed by the invention have the following beneficial effects: 1) the compression ratio is high, and the storage space and the transmission bandwidth are saved; 2) the definition is high, and on the basis of the high compression ratio, the video based on Canvas can reproduce high-definition action playback of a vector, thereby improving the playing effect; and 3) a text in the video has replicability and derivability so as to carry out semantic analysis on the video.

Description

technical field [0001] The invention belongs to the technical field of Html5, and in particular relates to a teaching video compression and playback method and a compression and playback device. Background technique [0002] The HTML5 specification defines the Html5 canvas and its corresponding application programming interface (Application Programming Interface, Canvas API). CanvasAPI is used to generate images in real time on web pages, and can manipulate image content, basically it is a bitmap (bitmap) that can be manipulated by JavaScript. Although Canvas has no behavior itself, it presents a drawing API to client-side JavaScript so that the script can draw everything it wants to draw on a canvas. [0003] However, in the current Html5 webpage, Canvas-based video does not encode the action content of the canvas, and the video compression rate is low, which is not conducive to reducing storage space and transmission bandwidth. The reason is that on the online education ...

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): H04N19/42H04N21/44
CPCH04N19/42H04N21/44
Inventor 张嘉宸
Owner SHENZHEN CHENRUI 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