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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com