Video playing method and device and electronic equipment

A video playback and video frame technology, applied in the field of streaming media, can solve problems such as time difference and client playback speed slowdown, and achieve the effect of improving fluency

Inactive Publication Date: 2020-06-23
HANGZHOU HIKVISION SYST TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, there is a certain delay in sending data from the server to the client, resulting in a certain time difference between the video frame played by the client and the video frame sent by the server. For example, it should play 60 frames per minute. Due to the delay in sending, the server will Only 59 video frames are sent to the client within 1 minute, and the client actually only plays 59 frames within 1 minute, that is, the playback rate of the client is slowed down
The slowdown problem is further magnified when there are multiple cascaded servers between the server and the client

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 playing method and device and electronic equipment
  • Video playing method and device and electronic equipment
  • Video playing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0042] see figure 1 , figure 1 Shown is a schematic flow chart of the video playback method provided by the embodiment of the present invention, the method can be applied to the client in the video on demand system, the client can be set on any electronic device with video playback function, the video on demand system Also includes the server, the method can include:

[0043] S101. Determine whether there is an unplayed video frame in the cached video data a...

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 embodiment of the invention provides a video playing method and device and electronic equipment. The method comprises the following steps: determining whether an unplayed video frame exists in cached video data or not at preset awakening time intervals; if the unplayed video frame does not exist, pausing playing and sending at least one first data acquisition request to the server, caching thevideo data sent by the server until the playing duration corresponding to the cached video data is not less than the preset first caching duration, and recovering playing; if the video frames which are not played exist, determining whether the current playing state is playing pause or not, and if the current playing state is not playing pause, judging whether the playing time corresponding to thevideo frame with the earliest timestamp arrives or not; and if the playing time corresponding to the video frame with the earliest timestamp in the cached video data arrives, playing the video framewith the earliest timestamp. The fluency of playing the video by the client can be effectively improved.

Description

technical field [0001] The present invention relates to the technical field of streaming media, in particular to a video playing method, device and electronic equipment. Background technique [0002] The client can send a video-on-demand request to the server, and the server sends video data to the client in the form of a video stream according to the video-on-demand request, and the client receives and plays the video stream to realize video on-demand. In order to avoid freezing when the client plays video, it is necessary to control the transmitted video stream. This process is called flow control. [0003] In related technologies, flow control is often implemented by a server. The server can read multiple video frames from the video file for analysis, and after the analysis is completed, according to the time stamp of each video frame, when the playing time of the video frame arrives, the video frame is sent to the client. Whenever the client receives a video frame, it ...

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/472H04N21/643H04N21/8547H04N21/44H04N21/239
CPCH04N21/2393H04N21/44004H04N21/47202H04N21/643H04N21/8547
Inventor 陈璐
Owner HANGZHOU HIKVISION SYST TECH
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