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

Method for downloading video stream and electronic equipment

A technology of electronic equipment and video streaming, applied in the field of multimedia, can solve the problems that electronic equipment cannot be downloaded and played, etc.

Active Publication Date: 2014-04-02
乐视新生代(北京)文化传媒有限公司
View PDF5 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For TS, if the download method in the prior art is used, what can be downloaded is an M3U8 file containing multiple slice addresses of TS, that is, the M3U8 file can be understood as a list file containing slice addresses of multiple slice files, rather than A complete video stream that can be played directly, the electronic device cannot play the TS according to the multiple slice addresses contained in the M3U8 file
Therefore, downloading TS using the downloading method in the prior art will cause the electronic device to fail to play the TS normally according to the downloaded M3U8 file.

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
  • Method for downloading video stream and electronic equipment
  • Method for downloading video stream and electronic equipment
  • Method for downloading video stream and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Embodiments of the present invention provide a method for downloading video streams, such as figure 1 shown, including:

[0049] S101. The electronic device acquires an M3U8 file constituting a transport stream TS.

[0050]Exemplarily, the electronic device may be an electronic terminal capable of downloading and playing video data streams, such as any one of electronic terminals such as a mobile phone, an ipad, a personal computer, and a smart TV.

[0051] Among them, the transport stream (Transport Stream, TS) is a data stream defined by MPEG-2, and its purpose is to transmit and store encoded data of one or more programs in an environment where serious errors may occur. Such errors appear as bit value errors or loss of Transport Stream packets. An MPEG-2 Transport Stream consists of consecutive Transport Stream packets. These transport stream packets carry two types of information: coded and compressed original stream data and a program specific information (PSI) ...

Embodiment 2

[0064] Embodiments of the present invention provide a method for downloading video streams, such as figure 2 shown, including:

[0065] S201. The electronic device detects a TS download instruction, and the download instruction includes a TS identifier to be downloaded.

[0066] Wherein, the electronic device receives the user's trigger on the icon of any video file in the video recommendation window, and generates a TS download instruction including the TS identifier corresponding to the video file.

[0067] S202. After detecting the download instruction, the electronic device downloads the M3U8 file constituting the TS from the server according to the TS identifier included in the download instruction.

[0068] Specifically, after the electronic device detects the download instruction, it can send a TS download request message containing the TS identifier to be downloaded to the server, so that the server obtains the M3U8 file corresponding to the TS identifier, and sends ...

Embodiment 3

[0092] An embodiment of the present invention provides an electronic device, such as image 3 shown, including:

[0093] The first acquiring unit 31 is configured to acquire the M3U8 files composing the transport stream TS.

[0094] The parsing unit 32 is configured to parse the M3U8 file obtained by the first obtaining unit, so as to obtain slice addresses of all slice files of the TS corresponding to the M3U8 file.

[0095] The downloading unit 33 is configured to download each slice file respectively according to the slice address obtained by the parsing unit, and store each downloaded slice file locally.

[0096] Further, the parsing unit 32 is further configured to parse the M3U8 file to obtain the slice addresses of all slice files of the TS corresponding to the M3U8 file and the playing sequence of the slice files corresponding to the slice addresses.

[0097] Wherein, the playing sequence is: when playing the TS, the playing sequence of the slice files in the TS.

...

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 discloses a method for downloading a video stream and electronic equipment and relates to the technical field of multimedia. A TS (transport stream) can be normally played according to M3U8 files which are downloaded. According to the specific scheme, the electronic equipment acquires the M3U8 files constituting the TS, analyzes the M3U8 files to acquire the section addresses of all section files of the TS corresponding to the M3U8 files, downloads each section file according to the acquired section addresses, and locally stores each section file which is downloaded. The method and the electronic equipment are used in the downloading process of the video stream namely the TS.

Description

technical field [0001] The invention relates to the field of multimedia technologies, in particular to a video stream downloading method and electronic equipment. Background technique [0002] With the development of multimedia technology, there are more and more electronic devices capable of providing users with functions of downloading and playing video streams. [0003] In the prior art, for a video stream in mp4 format, the electronic device can receive the search keyword input by the user on the search interface, and download the corresponding complete video stream according to the received search keyword, and then the electronic device can directly Play the downloaded video stream. [0004] However, a transport stream (Transport Stream, TS) played on a webpage is composed of multiple slice files in M3U8 format, wherein TS is a video stream. For TS, if the download method in the prior art is used, what can be downloaded is an M3U8 file containing multiple slice addres...

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/434H04N21/435H04N21/438H04N21/845
Inventor 陈浩袁斌李志纲张力文赵春艳
Owner 乐视新生代(北京)文化传媒有限公司
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