Video preview method and device

A video and video coding technology, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as large delay, large delay in video preview, and different, and achieve the effect of small video delay

Active Publication Date: 2018-07-27
ZHEJIANG DAHUA TECH CO LTD
View PDF5 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, different browsers may support different plug-ins, and even some browsers do not support a certain plug-in. For example, the safari browser does not support the Flash plug-in, which makes it impossible to live broadcast video through plug-ins.
[0003] Therefore, in order not to rely on plug-ins, in the prior art, based on the streaming media on-demand (HTTP LiveStreaming, HLS) protoco

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 preview method and device
  • Video preview method and device
  • Video preview method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] In order to make the purpose, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0075] At present, to perform video preview on a web page, a plug-in can be installed in a browser, and the parsing, decoding, and final rendering and display of the video streaming protocol can be realized through the plug-in. However, the installation of plug-ins in browsers is one of the main causes of abnormal browser crashes and security holes. For this reason, some browsers do not support third-party plug-ins. For example, the safari browser does not support the Flash plug-in.

[0076] Therefore, the existing technology can also be based on the HLS protocol, through HTML5 or tags to play, but these two tags are currently mainly used for playback rather than real-tim...

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 preview method and device for reducing the delay of a video and improving the user experience. The video preview method comprises the following steps: a client sends ahypertext transfer protocol HTTP request to a server, wherein the HTTP request is used for requesting to acquire a video; and the client receives a video encoded stream sent by the server according toa WebSocket protocol; the client parses the received video encoded stream by using a literal translation script language JavaScript to obtain video image data; the client calls an application programming interface API of a multimedia extension source MSE supported by a Web browser, and uses the video image data as a data source of a multimedia native tag supported by the Web browser for renderingso as to display a real-time video image.

Description

technical field [0001] The invention relates to the technical field of video playback, in particular to a method and device for previewing video. Background technique [0002] At present, to perform live video broadcasting on a web page, a plug-in, such as a Flash plug-in, needs to be installed in a browser, and the live video broadcasting is realized through the plug-in. However, different browsers may support different plug-ins, and even some browsers do not support a certain plug-in. For example, the safari browser does not support the Flash plug-in, so the live broadcast of the video cannot be realized through the plug-in. [0003] Therefore, in order not to rely on plug-ins, in the prior art, based on the streaming media on-demand (HTTP LiveStreaming, HLS) protocol, through the Hypertext Markup Language (Hypertext Markup Language, HTML), such as HTML5 <video>or <audio>tags to play, but these two tags are currently mainly used for playback rather than real-...

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): H04N21/2187H04N21/44H04N21/443H04N21/472H04N21/643H04L29/06H04L29/08
CPCH04L67/02H04N21/2187H04N21/44008H04N21/4431H04N21/47202H04N21/643H04L65/75
Inventor 康宇宏
Owner ZHEJIANG DAHUA 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