Encoding, index storage and access methods for video encoding code stream and corresponding apparatus

A technology of video coding and coding method, applied in the field of video surveillance, can solve the problems of high decoding consumption, high bit rate of video coding stream and low efficiency, etc.

Inactive Publication Date: 2016-08-10
HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF8 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] An object of the present invention is to provide a method and device for accessing video coded streams, so as to solve the problems of high code rate of video coded streams caused by the reference relationship of traditional video coding, high decoding consumption and low efficiency during access technical problem

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
  • Encoding, index storage and access methods for video encoding code stream and corresponding apparatus
  • Encoding, index storage and access methods for video encoding code stream and corresponding apparatus
  • Encoding, index storage and access methods for video encoding code stream and corresponding apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] Such as image 3 As shown, in order to quickly realize the access of the video coded stream, this embodiment provides an embodiment of the encoding method of the video coded stream according to the present invention. From the description of this example, it is explained that the encoding method of the present invention changes video data encoding (coded frame) and code stream generation, thereby reducing the code rate of the video code stream to be accessed and reducing decoding consumption.

[0081] Step S310, encode video data based on a preset encoding algorithm to obtain a video encoding stream including a plurality of encoding frames.

[0082] Specifically, at the video encoding layer, a preset encoding algorithm is used to encode video data to obtain a video encoding stream including a plurality of encoded frames. Further, the video encoding code stream includes a plurality of image groups, and each image group includes an image set composed of an I frame and sub...

Embodiment 2

[0093] In order to quickly locate the target frame in the video coded stream, before accessing the coded stream or accessing the target frame, an index is established for the video coded stream, so as to locate the target frame by means of the index. This simplifies code stream access and speeds up access and even decoding speed, further reducing decoding consumption and improving decoding efficiency. Such as Figure 4 Shown is an embodiment of the index storage method of the video coded stream according to the present invention.

[0094] Step S410, acquire the coded video stream to be accessed, to determine whether the coded stream includes a coded stream mark.

[0095] Among them, the video coded stream (that is, the video coded stream to be accessed or to be accessed) can be obtained from a remote or local or real-time device or other access requests (such as: play, playback, etc.).

[0096] Wherein, judging whether the encapsulation layer of the video coded stream includ...

Embodiment 3

[0118] After the index is established, if a request for accessing the target frame in the video coded stream is received, in the index, query the target frame and the node information of the coded frame referenced by the target frame according to the target frame information (frame related information) . In order to describe the method for accessing the video coded stream of the present invention more clearly, in one embodiment, the video coded stream and the index are stored together on the server side, and the terminal as the data decoding end can access the server as an example.

[0119] Such as Figure 5 The flow of a more specific embodiment of the method for accessing video coded streams according to the present invention is shown.

[0120] Step S510, based on the target frame information in the received access request, locate the target frame indicated in the target frame information and the coded frame referenced by the target frame in the index corresponding to the c...

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 encoding, index storage and access methods for a video encoding code stream and corresponding apparatus. Each method comprises the steps of based on video data acquired by encoding of a preset encoding algorithm, acquiring the video encoding code stream comprising a plurality of encoded frames such as I frames, refreshed P frames and the like, and adding a code stream marker for the code stream and / or adding a frame marker comprising type information of the corresponding encoded frame for each encoded frame in the code stream; and in the index storage process, according to types of the encoded frames, using information of the corresponding I frames and refreshed P frames as index records to form indexes so as to complete access to the code stream under low consumption. According to the encoding, index storage and access methods for the video encoding code stream and the corresponding apparatus which are disclosed by the invention, in manners of changes of the encoded frames of the code stream, the marker of the code stream and / or the markers of the encoded frames, establishment of index storage of the code stream and the like, a target frame can be rapidly and directly positioned by the index and the marker in the process of accessing the video encoding code stream, and only the target frame and the encoded frames to which the target frame refers are extracted, so that decoding consumption is reduced to a great degree.

Description

technical field [0001] The invention relates to the technical field of video monitoring, in particular to a method for encoding, index storage and accessing a video encoding code stream and a corresponding device. Background technique [0002] Video coding is the process of encoding dynamic images and digitizing analog image signals. This process can realize image frequency band compression, reduce or eliminate information redundancy between digital images, and make the channel capacity of video transmission smaller than that of analog transmission. . [0003] Video encoding is generally implemented by a video encoder. Traditional video encoders generally divide encoded frames into three types: I frames, P frames, and B frames. [0004] I frame is a frame type stipulated by video encoding and decoding standards. I frame adopts intra-frame predictive coding method, which completely retains the data of a frame image. It is an independent frame with all data of the image. Whe...

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/46H04N19/105
CPCH04N19/46H04N19/503
Inventor 陈杰浦世亮俞海
Owner HANGZHOU HIKVISION DIGITAL TECHNOLOGY 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