Division and frame extraction method for video stream

A video stream and image frame technology, applied in the video field, to achieve the effect of improving reuse, increasing viewing volume, and increasing versatility

Inactive Publication Date: 2018-08-07
中国广播电视网络集团有限公司
View PDF12 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method needs to add the android.permission.READ_FRAME_BUFFER permission, and the normal execution of this permission requires system permissions
Therefore, this method can only be applied to system-level apps

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
  • Division and frame extraction method for video stream
  • Division and frame extraction method for video stream

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Preferred embodiments of the present invention will be specifically described below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and are used together with the embodiments of the present invention to explain the principles of the present invention.

[0047] A specific embodiment of the present invention discloses a video stream splitting and frame extraction method;

[0048]This method is based on the HLS protocol and can provide on-demand and live broadcast in ordinary HTTP. The basic principle of this technology is to divide video files or video streams into small pieces (TS) and create index files (m3u8). The supported video stream is encoded as H.264, and the audio stream is encoded as AAC. The transmission content of HLS includes two parts, one is the m3u8 description file, the other is the TS media file, the m3u8 description file and the TS media file are independent of each other, and the in...

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 relates to a division and frame extraction method for a video stream. The method comprises the steps of S1, obtaining an m3u8 file comprising TS slice information; S2, dividing a video into TS slices for downloading or playing according to the obtained TS slice information; S3, obtaining and updating a TS slice list, judging whether a division or frame extraction instruction exists or not, entering a step S4 if the division instruction exists, and entering a step S5 if the frame extraction instruction exists; S4, positioning and extracting a TS list corresponding to a division video, carrying out recombination to obtain a new m3u8 file; and S5, positioning time points of the image frames in the TS slices, and extracting the image frames. According to the method, an HLS (HTTPLive Streaming) live broadcast and on-demand video frame extraction and video division function is realized; the reuse of a live broadcast program is greatly improved; the viewership of users is increased; video screenshots are shared to friends through social platforms such as wechat; and the experience of watching the program is improved.

Description

technical field [0001] The invention relates to the field of video technology, in particular to a method for stripping and extracting frames of a video stream. Background technique [0002] HTTP Live Streaming (abbreviated as HLS) is an HTTP-based streaming media network transmission protocol. It works by breaking the entire stream into small HTTP-based files for download, only a few at a time. While a media stream is playing, the client can choose to download the same resource at different rates from many different alternate sources, allowing the streaming session to accommodate different data rates. When starting a streaming media session, the client will download an extended M3U (m3u8) playlist file containing metadata to find available media streams. [0003] Currently available video capture methods include: [0004] 1. By obtaining the root View of the playback page, call the getDrawingCache() method to obtain the view cache of the View to achieve the screenshot eff...

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): H04N21/845H04N21/858H04N21/44H04N21/438
CPCH04N21/438H04N21/44H04N21/8456H04N21/8586
Inventor 杨旭傅力军李爽白鹤谌颖贾兴华刘江
Owner 中国广播电视网络集团有限公司
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