Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Streaming media processing method and device

A processing method and streaming media technology, which is applied in the field of streaming media, can solve problems such as time shifting scheme errors and inability to achieve accurate time shifting, and achieve the effect of improving time shifting accuracy and decoding efficiency

Inactive Publication Date: 2016-09-28
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF6 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a streaming media processing method and device, which is used to solve the defect that the existing time-shifting scheme has certain errors and cannot achieve accurate time-shifting, so as to improve the accuracy of time-shifting

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
  • Streaming media processing method and device
  • Streaming media processing method and device
  • Streaming media processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a streaming media processing method of the present invention, which may specifically include:

[0025] Step 101, during the process of playing the streaming media file, receive a time-shift instruction from the user; wherein, the time-shift instruction includes a target time point;

[0026] The embodiment of the present invention is applicable to any terminal equipment that can play streaming media files, and the terminal equipment may include cellular phones, smart phones, laptop computers, PCs (personal computers, personal computers), e-book terminals, digital broadcast terminals, PDA (Personal Digital Assistant, personal electronic assistant), smart TV, portable multimedia player or navigation system, etc. It can be understood that the embodiments of the present invention do not limit specific terminal devices. Wherein, the streaming media refers to media formats such as audio / video played ...

Embodiment 2

[0068] refer to figure 2 , which shows a flow chart of steps in Embodiment 2 of a streaming media processing method of the present invention, which may specifically include:

[0069] Step 201, during the process of playing the streaming media file, receive a time-shift instruction from the user; wherein, the time-shift instruction includes a target time point;

[0070] Step 202: Determine the transport stream TS slice corresponding to the target time point according to the slice index file corresponding to the streaming media file;

[0071] Step 203: Parse the slice index file to obtain start time information and offset information of all key frames in the TS slice;

[0072] Step 204, determine the start time information and offset information corresponding to the key frame closest to the target time point;

[0073] In an application example of the present invention, the terminal device decodes and plays the streaming media file, and in the process of parsing the m3u8 index...

Embodiment 3

[0077] The first and second embodiments above are described from the perspective of terminal equipment. In order to more clearly describe the streaming media processing method of the present invention, the specific implementation process of the present invention will be described from the server side in combination with actual application scenarios.

[0078] On the server side, the embodiment of the present invention realizes the transcoding and encapsulation of the streaming media file, and in the process, adds the description information of the I frame according to the self-defined protocol, including the start time information and the offset of the I frame Information, so that the client can improve the accuracy of time shift when playing streaming media files.

[0079] refer to image 3 , which shows a flow chart of steps in Embodiment 3 of a streaming media processing method of the present invention, which is applied to a server, and may specifically include:

[0080] St...

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 streaming media processing method and device. The method comprises: in the process of playing a streaming media file, receiving a time shifting instruction from a user, wherein the time shifting instruction includes a target time point; determining the transmission stream (TS) slice corresponding to the target time point according to the slice index file corresponding to the streaming media file; determining the position information of a key frame which is located at the nearest position to the target time point in the TS slice; and playing the TS slice from the position information of the key frame. According to the embodiment of the invention, the streaming media processing method and device are able to directly start to play the TS slice from the key frame located at the nearest position to the time shifting target time point, and therefore, the time shifting accuracy in the process of playing the streaming media file may be improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of streaming media, and in particular, to a method and device for processing streaming media. Background technique [0002] With the continuous development of streaming media technology and network technology, users can watch various online videos on terminal devices through the network, and online videos have become an indispensable part of people's daily life. [0003] At present, video websites usually use the HLS (HTTP Live Streaming, dynamic bit rate adaptive technology) streaming media transmission protocol to transmit network video files. Segment the huge network video file on the server side through the HLS protocol, divide it into a large number of TS (TransportStream, transport stream) slices for transmission in the Internet, and generate an m3u8 index file to record the sequence and sequence of each TS slice Duration, through the index file to control the download and pl...

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/61H04N21/845H04L29/06H04L29/08
CPCH04L67/02H04N21/6125H04N21/8456H04L65/65H04N21/61
Inventor 苍鹏
Owner LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products